stdClass Object
(
    [resourceType] => Bundle
    [id] => 2019-08-13T23:17:33.678+00:00
    [type] => transaction
    [entry] => Array
        (
            [0] => stdClass Object
                (
                    [fullUrl] => Patient/gregoryId-1.2.3.10
                    [resource] => stdClass Object
                        (
                            [resourceType] => Patient
                            [id] => gregoryId-1.2.3.10
                            [meta] => stdClass Object
                                (
                                    [profile] => Array
                                        (
                                            [0] => http://hl7.org/fhir/uv/phd/StructureDefinition/PhdPatient
                                        )

                                )

                            [contained] => Array
                                (
                                    [0] => stdClass Object
                                        (
                                            [resourceType] => AuditEvent
                                            [id] => Patient-Auth
                                            [type] => stdClass Object
                                                (
                                                    [system] => http://terminology.hl7.org/CodeSystem/security-source-type
                                                    [code] => 110114
                                                    [display] => User Authentication
                                                )

                                            [recorded] => 2019-08-13T23:17:33.678+00:00
                                            [agent] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [requestor] => 1
                                                        )

                                                )

                                            [source] => stdClass Object
                                                (
                                                    [site] => text^CONFIRMED^A^PASS: 100
                                                    [type] => Array
                                                        (
                                                            [0] => stdClass Object
                                                                (
                                                                    [system] => http://terminology.hl7.org/CodeSystem/security-source-type
                                                                    [code] => 1
                                                                    [display] => User Device
                                                                )

                                                        )

                                                )

                                        )

                                )

                            [extension] => Array
                                (
                                    [0] => stdClass Object
                                        (
                                            [url] => http://lampreynetworks.com/fhir/extensions/audit-reference
                                            [valueReference] => stdClass Object
                                                (
                                                    [reference] => #Patient-Auth
                                                )

                                        )

                                )

                            [identifier] => Array
                                (
                                    [0] => stdClass Object
                                        (
                                            [type] => stdClass Object
                                                (
                                                    [coding] => Array
                                                        (
                                                            [0] => stdClass Object
                                                                (
                                                                    [system] => http://terminology.hl7.org/CodeSystem/v2-0203
                                                                    [code] => MR
                                                                )

                                                        )

                                                )

                                            [system] => urn:oid:1.2.3.10
                                            [value] => gregoryId
                                        )

                                )

                            [name] => Array
                                (
                                    [0] => stdClass Object
                                        (
                                            [family] => Lewis
                                            [given] => Array
                                                (
                                                    [0] => Gregory
                                                )

                                        )

                                )

                        )

                    [request] => stdClass Object
                        (
                            [method] => PUT
                            [url] => Patient/gregoryId-1.2.3.10
                        )

                )

            [1] => stdClass Object
                (
                    [fullUrl] => Device/4C4E49123456FFFF.000000000000
                    [resource] => stdClass Object
                        (
                            [resourceType] => Device
                            [id] => 4C4E49123456FFFF.000000000000
                            [meta] => stdClass Object
                                (
                                    [profile] => Array
                                        (
                                            [0] => http://hl7.org/fhir/uv/phd/StructureDefinition/PhgDevice
                                        )

                                )

                            [identifier] => Array
                                (
                                    [0] => stdClass Object
                                        (
                                            [type] => stdClass Object
                                                (
                                                    [coding] => Array
                                                        (
                                                            [0] => stdClass Object
                                                                (
                                                                    [system] => http://hl7.org/fhir/uv/phd/CodeSystem/ContinuaDeviceIdentifiers
                                                                    [code] => SYSID
                                                                )

                                                        )

                                                    [text] => IEEE EUI-64 System Identifier
                                                )

                                            [system] => urn:oid:1.2.840.10004.1.1.1.0.0.1.0.0.1.2680
                                            [value] => 4C-4E-49-12-34-56-FF-FF
                                        )

                                )

                            [type] => stdClass Object
                                (
                                    [coding] => Array
                                        (
                                            [0] => stdClass Object
                                                (
                                                    [system] => urn:iso:std:iso:11073:10101
                                                    [code] => 531981
                                                )

                                        )

                                    [text] =>  Personal Health Gateway
                                )

                            [version] => Array
                                (
                                    [0] => stdClass Object
                                        (
                                            [type] => stdClass Object
                                                (
                                                    [coding] => Array
                                                        (
                                                            [0] => stdClass Object
                                                                (
                                                                    [system] => urn:iso:std:iso:11073:10101
                                                                    [code] => 532352
                                                                )

                                                        )

                                                    [text] => Continua version
                                                )

                                            [value] => 6.0
                                        )

                                )

                            [property] => Array
                                (
                                    [0] => stdClass Object
                                        (
                                            [type] => stdClass Object
                                                (
                                                    [coding] => Array
                                                        (
                                                            [0] => stdClass Object
                                                                (
                                                                    [system] => urn:iso:std:iso:11073:10101
                                                                    [code] => 532353
                                                                )

                                                        )

                                                    [text] => MDC_REG_CERT_DATA_CONTINUA_CERT_DEV_LIST: certified device list as transport-specialization combo
                                                )

                                            [valueCode] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [coding] => Array
                                                                (
                                                                    [0] => stdClass Object
                                                                        (
                                                                            [system] => http://hl7.org/fhir/uv/phd/CodeSystem/ContinuaPAN
                                                                            [code] => 4
                                                                        )

                                                                )

                                                        )

                                                )

                                        )

                                    [1] => stdClass Object
                                        (
                                            [type] => stdClass Object
                                                (
                                                    [coding] => Array
                                                        (
                                                            [0] => stdClass Object
                                                                (
                                                                    [system] => http://hl7.org/fhir/uv/phd/CodeSystem/ASN1ToHL7
                                                                    [code] => 532354.0
                                                                )

                                                        )

                                                    [text] => regulation-status
                                                )

                                            [valueCode] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [coding] => Array
                                                                (
                                                                    [0] => stdClass Object
                                                                        (
                                                                            [system] => http://terminology.hl7.org/CodeSystem/v2-0136
                                                                            [code] => Y
                                                                        )

                                                                )

                                                            [text] => Device is not regulated
                                                        )

                                                )

                                        )

                                    [2] => stdClass Object
                                        (
                                            [type] => stdClass Object
                                                (
                                                    [coding] => Array
                                                        (
                                                            [0] => stdClass Object
                                                                (
                                                                    [system] => urn:iso:std:iso:11073:10101
                                                                    [code] => 532355
                                                                )

                                                        )

                                                    [text] => MDC_REG_CERT_DATA_CONTINUA_AHD_CERT_LIST: certified Upload classes
                                                )

                                            [valueCode] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [coding] => Array
                                                                (
                                                                    [0] => stdClass Object
                                                                        (
                                                                            [system] => http://hl7.org/fhir/uv/phd/CodeSystem/ContinuaHFS
                                                                            [code] => 0
                                                                        )

                                                                )

                                                        )

                                                    [1] => stdClass Object
                                                        (
                                                            [coding] => Array
                                                                (
                                                                    [0] => stdClass Object
                                                                        (
                                                                            [system] => http://hl7.org/fhir/uv/phd/CodeSystem/ContinuaHFS
                                                                            [code] => 3
                                                                        )

                                                                )

                                                        )

                                                    [2] => stdClass Object
                                                        (
                                                            [coding] => Array
                                                                (
                                                                    [0] => stdClass Object
                                                                        (
                                                                            [system] => http://hl7.org/fhir/uv/phd/CodeSystem/ContinuaHFS
                                                                            [code] => 7
                                                                        )

                                                                )

                                                        )

                                                    [3] => stdClass Object
                                                        (
                                                            [coding] => Array
                                                                (
                                                                    [0] => stdClass Object
                                                                        (
                                                                            [system] => http://hl7.org/fhir/uv/phd/CodeSystem/ContinuaHFS
                                                                            [code] => 2
                                                                        )

                                                                )

                                                        )

                                                    [4] => stdClass Object
                                                        (
                                                            [coding] => Array
                                                                (
                                                                    [0] => stdClass Object
                                                                        (
                                                                            [system] => http://hl7.org/fhir/uv/phd/CodeSystem/ContinuaHFS
                                                                            [code] => 6
                                                                        )

                                                                )

                                                        )

                                                )

                                        )

                                    [3] => stdClass Object
                                        (
                                            [type] => stdClass Object
                                                (
                                                    [coding] => Array
                                                        (
                                                            [0] => stdClass Object
                                                                (
                                                                    [system] => urn:iso:std:iso:11073:10101
                                                                    [code] => 68220
                                                                )

                                                        )

                                                    [text] => MDC_TIME_SYNC_PROTOCOL: Time synchronization state
                                                )

                                            [valueCode] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [coding] => Array
                                                                (
                                                                    [0] => stdClass Object
                                                                        (
                                                                            [system] => urn:iso:std:iso:11073:10101
                                                                            [code] => 532226
                                                                        )

                                                                )

                                                            [text] => MDC_TIME_SYNC_NTPV4: Time synchronization method
                                                        )

                                                )

                                        )

                                )

                        )

                    [request] => stdClass Object
                        (
                            [method] => PUT
                            [url] => Device/4C4E49123456FFFF.000000000000
                        )

                )

            [2] => stdClass Object
                (
                    [fullUrl] => Device/0000000000000000.000000000000
                    [resource] => stdClass Object
                        (
                            [resourceType] => Device
                            [id] => 0000000000000000.000000000000
                            [meta] => stdClass Object
                                (
                                    [profile] => Array
                                        (
                                            [0] => http://hl7.org/fhir/uv/phd/StructureDefinition/PhdDevice
                                        )

                                )

                            [identifier] => Array
                                (
                                    [0] => stdClass Object
                                        (
                                            [type] => stdClass Object
                                                (
                                                    [coding] => Array
                                                        (
                                                            [0] => stdClass Object
                                                                (
                                                                    [system] => http://hl7.org/fhir/uv/phd/CodeSystem/ContinuaDeviceIdentifiers
                                                                    [code] => SYSID
                                                                )

                                                        )

                                                    [text] => IEEE EUI-64 System Identifier
                                                )

                                            [system] => urn:oid:1.2.840.10004.1.1.1.0.0.1.0.0.1.2680
                                            [value] => 00-00-00-00-00-00-00-00
                                        )

                                )

                            [manufacturer] => Blood Pressure data
                            [modelNumber] => BP-1
                            [type] => stdClass Object
                                (
                                    [coding] => Array
                                        (
                                            [0] => stdClass Object
                                                (
                                                    [system] => urn:iso:std:iso:11073:10101
                                                    [code] => 65573
                                                )

                                        )

                                    [text] =>  Personal Health Device
                                )

                            [specialization] => Array
                                (
                                    [0] => stdClass Object
                                        (
                                            [systemType] => stdClass Object
                                                (
                                                    [coding] => Array
                                                        (
                                                            [0] => stdClass Object
                                                                (
                                                                    [system] => urn:iso:std:iso:11073:10101
                                                                    [code] => 528391
                                                                )

                                                        )

                                                    [text] => Blood Pressure meter
                                                )

                                        )

                                )

                            [property] => Array
                                (
                                    [0] => stdClass Object
                                        (
                                            [type] => stdClass Object
                                                (
                                                    [coding] => Array
                                                        (
                                                            [0] => stdClass Object
                                                                (
                                                                    [system] => urn:iso:std:iso:11073:10101
                                                                    [code] => 68220
                                                                )

                                                        )

                                                    [text] => MDC_TIME_SYNC_PROTOCOL: Time synchronization state
                                                )

                                            [valueCode] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [coding] => Array
                                                                (
                                                                    [0] => stdClass Object
                                                                        (
                                                                            [system] => urn:iso:std:iso:11073:10101
                                                                            [code] => 532224
                                                                        )

                                                                )

                                                            [text] => MDC_TIME_SYNC_NONE: Time synchronization method
                                                        )

                                                )

                                        )

                                )

                        )

                    [request] => stdClass Object
                        (
                            [method] => PUT
                            [url] => Device/0000000000000000.000000000000
                        )

                )

            [3] => stdClass Object
                (
                    [fullUrl] => urn:oid:3.141591565738253678
                    [resource] => stdClass Object
                        (
                            [resourceType] => Observation
                            [meta] => stdClass Object
                                (
                                    [profile] => Array
                                        (
                                            [0] => http://hl7.org/fhir/uv/phd/StructureDefinition/PhdCoincidentTimeStampObservation
                                        )

                                )

                            [extension] => Array
                                (
                                    [0] => stdClass Object
                                        (
                                            [url] => http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice
                                            [valueReference] => stdClass Object
                                                (
                                                    [reference] => Device/4C4E49123456FFFF.000000000000
                                                )

                                        )

                                )

                            [status] => final
                            [code] => stdClass Object
                                (
                                    [coding] => Array
                                        (
                                            [0] => stdClass Object
                                                (
                                                    [system] => urn:iso:std:iso:11073:10101
                                                    [code] => 67975
                                                )

                                        )

                                    [text] => MDC_ATTR_TIME_ABS
                                )

                            [subject] => stdClass Object
                                (
                                    [reference] => Patient/gregoryId-1.2.3.10
                                )

                            [effectiveDateTime] => 2019-08-13T19:17:27.559-04:00
                            [dataAbsentReason] => stdClass Object
                                (
                                    [coding] => Array
                                        (
                                            [0] => stdClass Object
                                                (
                                                    [system] => http://terminology.hl7.org/CodeSystem/data-absent-reason
                                                    [code] => unknown
                                                )

                                        )

                                    [text] => Sensor Time Fault
                                )

                            [device] => stdClass Object
                                (
                                    [reference] => Device/0000000000000000.000000000000
                                )

                        )

                    [request] => stdClass Object
                        (
                            [method] => POST
                            [url] => Observation
                        )

                )

            [4] => stdClass Object
                (
                    [fullUrl] => urn:oid:1.0.0.5
                    [resource] => stdClass Object
                        (
                            [resourceType] => Observation
                            [meta] => stdClass Object
                                (
                                    [profile] => Array
                                        (
                                            [0] => http://hl7.org/fhir/uv/phd/StructureDefinition/PhdNumericObservation
                                        )

                                )

                            [extension] => Array
                                (
                                    [0] => stdClass Object
                                        (
                                            [url] => http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice
                                            [valueReference] => stdClass Object
                                                (
                                                    [reference] => Device/4C4E49123456FFFF.000000000000
                                                )

                                        )

                                )

                            [identifier] => Array
                                (
                                    [0] => stdClass Object
                                        (
                                            [value] => gregoryId-urn:oid:1.2.3.10-00-00-00-00-00-00-00-00-149546-20190813191727.568-0400-60-264864
                                        )

                                )

                            [status] => final
                            [category] => Array
                                (
                                    [0] => stdClass Object
                                        (
                                            [coding] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [system] => http://terminology.hl7.org/CodeSystem/observation-category
                                                            [code] => vital-signs
                                                        )

                                                )

                                            [text] => Vital Signs
                                        )

                                )

                            [code] => stdClass Object
                                (
                                    [coding] => Array
                                        (
                                            [0] => stdClass Object
                                                (
                                                    [system] => urn:iso:std:iso:11073:10101
                                                    [code] => 149546
                                                )

                                            [1] => stdClass Object
                                                (
                                                    [system] => http://loinc.org
                                                    [code] => 8867-4
                                                    [display] => Blood Pressure cuff heart rate
                                                )

                                        )

                                    [text] => MDC_PULS_RATE_NON_INV
                                )

                            [subject] => stdClass Object
                                (
                                    [reference] => Patient/gregoryId-1.2.3.10
                                )

                            [effectiveDateTime] => 2019-08-13T19:17:27.568-04:00
                            [valueQuantity] => stdClass Object
                                (
                                    [value] => 60
                                    [unit] => MDC_DIM_BEAT_PER_MIN
                                    [system] => http://unitsofmeasure.org
                                    [code] => {beat}/min
                                )

                            [device] => stdClass Object
                                (
                                    [reference] => Device/0000000000000000.000000000000
                                )

                            [derivedFrom] => Array
                                (
                                    [0] => stdClass Object
                                        (
                                            [reference] => urn:oid:3.141591565738253678
                                        )

                                )

                        )

                    [request] => stdClass Object
                        (
                            [method] => POST
                            [url] => Observation
                            [ifNoneExist] => identifier=gregoryId-urn:oid:1.2.3.10-00-00-00-00-00-00-00-00-149546-20190813191727.568-0400-60-264864
                        )

                )

            [5] => stdClass Object
                (
                    [fullUrl] => urn:oid:1.0.1
                    [resource] => stdClass Object
                        (
                            [resourceType] => Observation
                            [meta] => stdClass Object
                                (
                                    [profile] => Array
                                        (
                                            [0] => http://hl7.org/fhir/uv/phd/StructureDefinition/PhdCompoundNumericObservation
                                        )

                                )

                            [extension] => Array
                                (
                                    [0] => stdClass Object
                                        (
                                            [url] => http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice
                                            [valueReference] => stdClass Object
                                                (
                                                    [reference] => Device/4C4E49123456FFFF.000000000000
                                                )

                                        )

                                )

                            [identifier] => Array
                                (
                                    [0] => stdClass Object
                                        (
                                            [value] => gregoryId-urn:oid:1.2.3.10-00-00-00-00-00-00-00-00-149546-20190813191727.568-0400-60-266016-80-266016-70-266016
                                        )

                                )

                            [status] => final
                            [category] => Array
                                (
                                    [0] => stdClass Object
                                        (
                                            [coding] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [system] => http://terminology.hl7.org/CodeSystem/observation-category
                                                            [code] => vital-signs
                                                        )

                                                )

                                            [text] => Vital Signs
                                        )

                                )

                            [code] => stdClass Object
                                (
                                    [coding] => Array
                                        (
                                            [0] => stdClass Object
                                                (
                                                    [system] => urn:iso:std:iso:11073:10101
                                                    [code] => 149546
                                                )

                                            [1] => stdClass Object
                                                (
                                                    [system] => http://loinc.org
                                                    [code] => 8867-4
                                                    [display] => Blood Pressure cuff heart rate
                                                )

                                        )

                                    [text] => MDC_PULS_RATE_NON_INV
                                )

                            [subject] => stdClass Object
                                (
                                    [reference] => Patient/gregoryId-1.2.3.10
                                )

                            [effectiveDateTime] => 2019-08-13T19:17:27.568-04:00
                            [device] => stdClass Object
                                (
                                    [reference] => Device/0000000000000000.000000000000
                                )

                            [derivedFrom] => Array
                                (
                                    [0] => stdClass Object
                                        (
                                            [reference] => urn:oid:3.141591565738253678
                                        )

                                )

                            [component] => Array
                                (
                                    [0] => stdClass Object
                                        (
                                            [code] => stdClass Object
                                                (
                                                    [coding] => Array
                                                        (
                                                            [0] => stdClass Object
                                                                (
                                                                    [system] => urn:iso:std:iso:11073:10101
                                                                    [code] => 150021
                                                                )

                                                            [1] => stdClass Object
                                                                (
                                                                    [system] => http://loinc.org
                                                                    [code] => 8480-6
                                                                    [display] => Systolic blood pressure
                                                                )

                                                        )

                                                    [text] => MDC_PRESS_BLD_NONINV_SYS
                                                )

                                            [valueQuantity] => stdClass Object
                                                (
                                                    [value] => 60
                                                    [unit] => MDC_DIM_MMHG
                                                    [system] => http://unitsofmeasure.org
                                                    [code] => mm[Hg]
                                                )

                                        )

                                    [1] => stdClass Object
                                        (
                                            [code] => stdClass Object
                                                (
                                                    [coding] => Array
                                                        (
                                                            [0] => stdClass Object
                                                                (
                                                                    [system] => urn:iso:std:iso:11073:10101
                                                                    [code] => 150021
                                                                )

                                                            [1] => stdClass Object
                                                                (
                                                                    [system] => http://loinc.org
                                                                    [code] => 8480-6
                                                                    [display] => Systolic blood pressure
                                                                )

                                                        )

                                                    [text] => MDC_PRESS_BLD_NONINV_SYS
                                                )

                                            [valueQuantity] => stdClass Object
                                                (
                                                    [value] => 80
                                                    [unit] => MDC_DIM_MMHG
                                                    [system] => http://unitsofmeasure.org
                                                    [code] => mm[Hg]
                                                )

                                        )

                                    [2] => stdClass Object
                                        (
                                            [code] => stdClass Object
                                                (
                                                    [coding] => Array
                                                        (
                                                            [0] => stdClass Object
                                                                (
                                                                    [system] => urn:iso:std:iso:11073:10101
                                                                    [code] => 150021
                                                                )

                                                            [1] => stdClass Object
                                                                (
                                                                    [system] => http://loinc.org
                                                                    [code] => 8480-6
                                                                    [display] => Systolic blood pressure
                                                                )

                                                        )

                                                    [text] => MDC_PRESS_BLD_NONINV_SYS
                                                )

                                            [valueQuantity] => stdClass Object
                                                (
                                                    [value] => 70
                                                    [unit] => MDC_DIM_MMHG
                                                    [system] => http://unitsofmeasure.org
                                                    [code] => mm[Hg]
                                                )

                                        )

                                )

                        )

                    [request] => stdClass Object
                        (
                            [method] => POST
                            [url] => Observation
                            [ifNoneExist] => identifier=gregoryId-urn:oid:1.2.3.10-00-00-00-00-00-00-00-00-149546-20190813191727.568-0400-60-266016-80-266016-70-266016
                        )

                )

        )

)