Validation result

Information

File Name
default_2934_
OID :
1.3.6.1.4.1.12559.11.46.4.2934
Validation Date :
2/7/25 11:24:46 AM (EST GMT-0500)
Matchbox (3.9.10.1-Infoway)
http://hl7.org/fhir/StructureDefinition/Bundle (4.0.1)
Validation Results :
DONE_FAILED
Permanent link :
https://pancanadianio.ca/evs/report.seam?oid=1.3.6.1.4.1.12559.11.46.4.2934
Data Visibility :
Public

Validation Results

«
»

Matchbox Standard Report
Additional Metadata Matchbox
XML

«
»
Validation Summary
429
83
539

Validation of item #5868FAILED

Validation Summary
429
83
539
Constraint ID
BUNDLE_ENTRY_URL_MATCHES_TYPE_ID
Constraint Type
InstanceValidator
Constraint Description
The fullUrl 'http://apps.health/Patient/0c8edfb9-1dc5-4c19-a120-a6991dea18ff' looks like a RESTful server URL, so it must end with the correct type and id (/Patient/44)
Location in validated object
line 16, column 22, FHIRPath: Bundle.entry[0].resource/*Bundle/null*/.entry[0]
Constraint ID
Type_Specific_Checks_DT_Identifier_System
Constraint Type
InstanceValidator
Constraint Description
Identifier.system must be an absolute reference, not a local reference
Location in validated object
line 9, column 18, FHIRPath: Bundle.entry[0].resource/*Bundle/null*/.identifier
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Organization/18'
Location in validated object
line 250, column 38, FHIRPath: Bundle.entry[0].resource/*Bundle/null*/.entry[0].resource/*Patient/44*/.identifier[1].assigner
Constraint ID
INVALID
Constraint Type
TerminologyEngine
Constraint Description
The Coding references a value set, not a code system ('http://hl7.org/fhir/ValueSet/marital-status')
Location in validated object
line 306, column 30, FHIRPath: Bundle.entry[0].resource/*Bundle/null*/.entry[0].resource/*Patient/44*/.maritalStatus.coding[0].system
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference '#Practitioner/41'
Location in validated object
line 389, column 34, FHIRPath: Bundle.entry[0].resource/*Bundle/null*/.entry[0].resource/*Patient/44*/.generalPractitioner[0]
Constraint ID
http://hl7.org/fhir/StructureDefinition/Reference#ref-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: ref-1: 'SHALL have a contained resource if a local reference is provided' (url: Practitioner/41; ids: 41,43,1,2) (log: (url: Practitioner/41; ids: 41,43,1,2))
Location in validated object
line 389, column 34, FHIRPath: Bundle.entry[0].resource/*Bundle/null*/.entry[0].resource/*Patient/44*/.generalPractitioner[0]
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference '#Practitioner/43'
Location in validated object
line 399, column 34, FHIRPath: Bundle.entry[0].resource/*Bundle/null*/.entry[0].resource/*Patient/44*/.generalPractitioner[1]
Constraint ID
http://hl7.org/fhir/StructureDefinition/Reference#ref-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: ref-1: 'SHALL have a contained resource if a local reference is provided' (url: Practitioner/43; ids: 41,43,1,2) (log: (url: Practitioner/43; ids: 41,43,1,2))
Location in validated object
line 399, column 34, FHIRPath: Bundle.entry[0].resource/*Bundle/null*/.entry[0].resource/*Patient/44*/.generalPractitioner[1]
Constraint ID
CONTAINED_ORPHAN_DOM3
Constraint Type
InstanceValidator
Constraint Description
The contained resource '41' is not referenced to from elsewhere in the containing resource nor does it refer to the containing resource (dom-3)
Location in validated object
line 23, column 34, FHIRPath: Bundle.entry[0].resource/*Bundle/null*/.entry[0].resource/*Patient/44*/.contained[0]
Constraint ID
CONTAINED_ORPHAN_DOM3
Constraint Type
InstanceValidator
Constraint Description
The contained resource '43' is not referenced to from elsewhere in the containing resource nor does it refer to the containing resource (dom-3)
Location in validated object
line 99, column 34, FHIRPath: Bundle.entry[0].resource/*Bundle/null*/.entry[0].resource/*Patient/44*/.contained[1]
Constraint ID
http://hl7.org/fhir/StructureDefinition/Bundle#bdl-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: bdl-1: 'total only when a search or history'
Location in validated object
line 7, column 14, FHIRPath: Bundle.entry[0].resource/*Bundle/null*/
Constraint ID
BUNDLE_ENTRY_URL_MATCHES_TYPE_ID
Constraint Type
InstanceValidator
Constraint Description
The fullUrl 'http://apps.health/Practitioner/fe9c9bc2-91d1-40a5-b989-80bc3a088374' looks like a RESTful server URL, so it must end with the correct type and id (/Practitioner/41)
Location in validated object
line 443, column 22, FHIRPath: Bundle.entry[1].resource/*Bundle/null*/.entry[0]
Constraint ID
Type_Specific_Checks_DT_Identifier_System
Constraint Type
InstanceValidator
Constraint Description
Identifier.system must be an absolute reference, not a local reference
Location in validated object
line 436, column 18, FHIRPath: Bundle.entry[1].resource/*Bundle/null*/.identifier
Constraint ID
http://hl7.org/fhir/StructureDefinition/Bundle#bdl-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: bdl-1: 'total only when a search or history'
Location in validated object
line 434, column 14, FHIRPath: Bundle.entry[1].resource/*Bundle/null*/
Constraint ID
BUNDLE_ENTRY_URL_MATCHES_TYPE_ID
Constraint Type
InstanceValidator
Constraint Description
The fullUrl 'http://apps.health/AllergyIntolerance/d9f8c5e5-bbcc-4b54-888f-5addbfb52930' looks like a RESTful server URL, so it must end with the correct type and id (/AllergyIntolerance/96)
Location in validated object
line 536, column 22, FHIRPath: Bundle.entry[2].resource/*Bundle/null*/.entry[0]
Constraint ID
BUNDLE_ENTRY_URL_MATCHES_TYPE_ID
Constraint Type
InstanceValidator
Constraint Description
The fullUrl 'http://apps.health/AllergyIntolerance/644b7fe8-bff6-4fa6-8307-31d0c94c01fa' looks like a RESTful server URL, so it must end with the correct type and id (/AllergyIntolerance/106)
Location in validated object
line 588, column 22, FHIRPath: Bundle.entry[2].resource/*Bundle/null*/.entry[0]
Constraint ID
Type_Specific_Checks_DT_Identifier_System
Constraint Type
InstanceValidator
Constraint Description
Identifier.system must be an absolute reference, not a local reference
Location in validated object
line 529, column 18, FHIRPath: Bundle.entry[2].resource/*Bundle/null*/.identifier
Constraint ID
INVALID
Constraint Type
TerminologyEngine
Constraint Description
The Coding references a value set, not a code system ('http://hl7.org/fhir/ValueSet/allergyintolerance-clinical')
Location in validated object
line 551, column 30, FHIRPath: Bundle.entry[2].resource/*Bundle/null*/.entry[0].resource/*AllergyIntolerance/96*/.clinicalStatus.coding[0].system
Constraint ID
Terminology_TX_NoValid_1_CC
Constraint Type
TerminologyEngine
Constraint Description
None of the codings provided are in the value set 'AllergyIntolerance Clinical Status Codes' (http://hl7.org/fhir/ValueSet/allergyintolerance-clinical|4.0.1), and a coding from this value set is required) (codes = http://hl7.org/fhir/ValueSet/allergyintolerance-clinical#active)
Location in validated object
line 551, column 30, FHIRPath: Bundle.entry[2].resource/*Bundle/null*/.entry[0].resource/*AllergyIntolerance/96*/.clinicalStatus
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Patient/44'
Location in validated object
line 568, column 30, FHIRPath: Bundle.entry[2].resource/*Bundle/null*/.entry[0].resource/*AllergyIntolerance/96*/.patient
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Practitioner/41'
Location in validated object
line 573, column 30, FHIRPath: Bundle.entry[2].resource/*Bundle/null*/.entry[0].resource/*AllergyIntolerance/96*/.recorder
Constraint ID
Validation_VAL_Profile_Minimum
Constraint Type
InstanceValidator
Constraint Description
AllergyIntolerance.reaction.manifestation: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|4.0.1)
Location in validated object
line 582, column 34, FHIRPath: Bundle.entry[2].resource/*Bundle/null*/.entry[0].resource/*AllergyIntolerance/96*/.reaction[0]
Constraint ID
INVALID
Constraint Type
TerminologyEngine
Constraint Description
The Coding references a value set, not a code system ('http://hl7.org/fhir/ValueSet/allergyintolerance-clinical')
Location in validated object
line 603, column 30, FHIRPath: Bundle.entry[2].resource/*Bundle/null*/.entry[1].resource/*AllergyIntolerance/106*/.clinicalStatus.coding[0].system
Constraint ID
Terminology_TX_NoValid_1_CC
Constraint Type
TerminologyEngine
Constraint Description
None of the codings provided are in the value set 'AllergyIntolerance Clinical Status Codes' (http://hl7.org/fhir/ValueSet/allergyintolerance-clinical|4.0.1), and a coding from this value set is required) (codes = http://hl7.org/fhir/ValueSet/allergyintolerance-clinical#active)
Location in validated object
line 603, column 30, FHIRPath: Bundle.entry[2].resource/*Bundle/null*/.entry[1].resource/*AllergyIntolerance/106*/.clinicalStatus
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Patient/44'
Location in validated object
line 620, column 30, FHIRPath: Bundle.entry[2].resource/*Bundle/null*/.entry[1].resource/*AllergyIntolerance/106*/.patient
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Practitioner/84'
Location in validated object
line 625, column 30, FHIRPath: Bundle.entry[2].resource/*Bundle/null*/.entry[1].resource/*AllergyIntolerance/106*/.recorder
Constraint ID
http://hl7.org/fhir/StructureDefinition/Bundle#bdl-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: bdl-1: 'total only when a search or history'
Location in validated object
line 527, column 14, FHIRPath: Bundle.entry[2].resource/*Bundle/null*/
Constraint ID
BUNDLE_ENTRY_URL_MATCHES_TYPE_ID
Constraint Type
InstanceValidator
Constraint Description
The fullUrl 'http://apps.health/Observation/fa8fe1c0-a75a-4134-80ec-5b8753d75eb1' looks like a RESTful server URL, so it must end with the correct type and id (/Observation/258befbd-1dfb-4ef4-865b-1d3900b21d80)
Location in validated object
line 659, column 22, FHIRPath: Bundle.entry[3].resource/*Bundle/null*/.entry[0]
Constraint ID
BUNDLE_ENTRY_URL_MATCHES_TYPE_ID
Constraint Type
InstanceValidator
Constraint Description
The fullUrl 'http://apps.health/Observation/fadf84ca-3658-4416-98fb-2ac12236390e' looks like a RESTful server URL, so it must end with the correct type and id (/Observation/ae61d01e-1388-4a2f-9b4f-db64fb6e6c4a)
Location in validated object
line 703, column 22, FHIRPath: Bundle.entry[3].resource/*Bundle/null*/.entry[0]
Constraint ID
Type_Specific_Checks_DT_Identifier_System
Constraint Type
InstanceValidator
Constraint Description
Identifier.system must be an absolute reference, not a local reference
Location in validated object
line 652, column 18, FHIRPath: Bundle.entry[3].resource/*Bundle/null*/.identifier
Constraint ID
Type_Specific_Checks_DT_URL_Resolve
Constraint Type
InstanceValidator
Constraint Description
URL value 'http://hl7.org/fhir/observation-category' does not resolve
Location in validated object
line 675, column 97, FHIRPath: Bundle.entry[3].resource/*Bundle/null*/.entry[0].resource/*Observation/258befbd-1dfb-4ef4-865b-1d3900b21d80*/.category[0].coding[0].system
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Practitioner/999998'
Location in validated object
line 696, column 34, FHIRPath: Bundle.entry[3].resource/*Bundle/null*/.entry[0].resource/*Observation/258befbd-1dfb-4ef4-865b-1d3900b21d80*/.performer[0]
Constraint ID
Type_Specific_Checks_DT_URL_Resolve
Constraint Type
InstanceValidator
Constraint Description
URL value 'http://hl7.org/fhir/observation-category' does not resolve
Location in validated object
line 719, column 97, FHIRPath: Bundle.entry[3].resource/*Bundle/null*/.entry[1].resource/*Observation/ae61d01e-1388-4a2f-9b4f-db64fb6e6c4a*/.category[0].coding[0].system
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Encounter/29'
Location in validated object
line 737, column 30, FHIRPath: Bundle.entry[3].resource/*Bundle/null*/.entry[1].resource/*Observation/ae61d01e-1388-4a2f-9b4f-db64fb6e6c4a*/.encounter
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Practitioner/999998'
Location in validated object
line 743, column 34, FHIRPath: Bundle.entry[3].resource/*Bundle/null*/.entry[1].resource/*Observation/ae61d01e-1388-4a2f-9b4f-db64fb6e6c4a*/.performer[0]
Constraint ID
http://hl7.org/fhir/StructureDefinition/Bundle#bdl-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: bdl-1: 'total only when a search or history'
Location in validated object
line 650, column 14, FHIRPath: Bundle.entry[3].resource/*Bundle/null*/
Constraint ID
BUNDLE_ENTRY_URL_MATCHES_TYPE_ID
Constraint Type
InstanceValidator
Constraint Description
The fullUrl 'http://apps.health/DocumentReference/34face16-ac62-4a58-b1f3-126d6e73a5f6' looks like a RESTful server URL, so it must end with the correct type and id (/DocumentReference/88)
Location in validated object
line 764, column 22, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0]
Constraint ID
BUNDLE_ENTRY_URL_MATCHES_TYPE_ID
Constraint Type
InstanceValidator
Constraint Description
The fullUrl 'http://apps.health/DocumentReference/15cb74ab-1e33-4fff-a7b1-bd6026966384' looks like a RESTful server URL, so it must end with the correct type and id (/DocumentReference/89)
Location in validated object
line 1299, column 22, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0]
Constraint ID
BUNDLE_ENTRY_URL_MATCHES_TYPE_ID
Constraint Type
InstanceValidator
Constraint Description
The fullUrl 'http://apps.health/DocumentReference/1b5249e8-eac3-47b9-a9c4-63f85a7839ac' looks like a RESTful server URL, so it must end with the correct type and id (/DocumentReference/90)
Location in validated object
line 1834, column 22, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0]
Constraint ID
BUNDLE_ENTRY_URL_MATCHES_TYPE_ID
Constraint Type
InstanceValidator
Constraint Description
The fullUrl 'http://apps.health/DocumentReference/4097926a-3bc1-472c-bcae-f3c8583a34e1' looks like a RESTful server URL, so it must end with the correct type and id (/DocumentReference/91)
Location in validated object
line 2369, column 22, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0]
Constraint ID
BUNDLE_ENTRY_URL_MATCHES_TYPE_ID
Constraint Type
InstanceValidator
Constraint Description
The fullUrl 'http://apps.health/DocumentReference/50754f7a-5c77-4e8c-88d3-cd4e9e811e7f' looks like a RESTful server URL, so it must end with the correct type and id (/DocumentReference/92)
Location in validated object
line 2904, column 22, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0]
Constraint ID
BUNDLE_ENTRY_URL_MATCHES_TYPE_ID
Constraint Type
InstanceValidator
Constraint Description
The fullUrl 'http://apps.health/DocumentReference/072311ec-7c53-4e37-8a88-bd254bb7e5f2' looks like a RESTful server URL, so it must end with the correct type and id (/DocumentReference/93)
Location in validated object
line 3518, column 22, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0]
Constraint ID
BUNDLE_ENTRY_URL_MATCHES_TYPE_ID
Constraint Type
InstanceValidator
Constraint Description
The fullUrl 'http://apps.health/DocumentReference/97c96165-a253-44b6-9dfa-c4ff4276bd46' looks like a RESTful server URL, so it must end with the correct type and id (/DocumentReference/94)
Location in validated object
line 4132, column 22, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0]
Constraint ID
BUNDLE_ENTRY_URL_MATCHES_TYPE_ID
Constraint Type
InstanceValidator
Constraint Description
The fullUrl 'http://apps.health/DocumentReference/ff6d440f-b66c-4bfb-9b01-ffe620b45cd5' looks like a RESTful server URL, so it must end with the correct type and id (/DocumentReference/95)
Location in validated object
line 4746, column 22, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0]
Constraint ID
BUNDLE_ENTRY_URL_MATCHES_TYPE_ID
Constraint Type
InstanceValidator
Constraint Description
The fullUrl 'http://apps.health/DocumentReference/de0c34d1-7656-470b-926c-5f067530aa94' looks like a RESTful server URL, so it must end with the correct type and id (/DocumentReference/160)
Location in validated object
line 5281, column 22, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0]
Constraint ID
BUNDLE_ENTRY_URL_MATCHES_TYPE_ID
Constraint Type
InstanceValidator
Constraint Description
The fullUrl 'http://apps.health/DocumentReference/6a82ca40-a8f7-4205-9ab6-43ae7e0be685' looks like a RESTful server URL, so it must end with the correct type and id (/DocumentReference/161)
Location in validated object
line 5796, column 22, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0]
Constraint ID
BUNDLE_ENTRY_URL_MATCHES_TYPE_ID
Constraint Type
InstanceValidator
Constraint Description
The fullUrl 'http://apps.health/DocumentReference/479dfea0-e1d3-4a0d-9868-19cda028fad5' looks like a RESTful server URL, so it must end with the correct type and id (/DocumentReference/520)
Location in validated object
line 6315, column 22, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0]
Constraint ID
BUNDLE_ENTRY_URL_MATCHES_TYPE_ID
Constraint Type
InstanceValidator
Constraint Description
The fullUrl 'http://apps.health/DocumentReference/fda4c58b-357f-46cb-b9f9-c2487cb943e3' looks like a RESTful server URL, so it must end with the correct type and id (/DocumentReference/544)
Location in validated object
line 6870, column 22, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0]
Constraint ID
BUNDLE_ENTRY_URL_MATCHES_TYPE_ID
Constraint Type
InstanceValidator
Constraint Description
The fullUrl 'http://apps.health/DocumentReference/b9db5611-7259-490d-beb6-163fecf1b4ff' looks like a RESTful server URL, so it must end with the correct type and id (/DocumentReference/545)
Location in validated object
line 7360, column 22, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0]
Constraint ID
Type_Specific_Checks_DT_Identifier_System
Constraint Type
InstanceValidator
Constraint Description
Identifier.system must be an absolute reference, not a local reference
Location in validated object
line 757, column 18, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.identifier
Constraint ID
Validation_VAL_Profile_Minimum
Constraint Type
InstanceValidator
Constraint Description
Encounter.status: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/Encounter|4.0.1)
Location in validated object
line 774, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0].resource/*DocumentReference/88*/.contained[0]/*Encounter/258befbd-1dfb-4ef4-865b-1d3900b21d80*/
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Organization/18'
Location in validated object
line 884, column 46, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0].resource/*DocumentReference/88*/.contained[1]/*Patient/1*/.identifier[1].assigner
Constraint ID
INVALID
Constraint Type
TerminologyEngine
Constraint Description
The Coding references a value set, not a code system ('http://hl7.org/fhir/ValueSet/marital-status')
Location in validated object
line 940, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0].resource/*DocumentReference/88*/.contained[1]/*Patient/1*/.maritalStatus.coding[0].system
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference '#Practitioner/41'
Location in validated object
line 1023, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0].resource/*DocumentReference/88*/.contained[1]/*Patient/1*/.generalPractitioner[0]
Constraint ID
http://hl7.org/fhir/StructureDefinition/Reference#ref-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: ref-1: 'SHALL have a contained resource if a local reference is provided' (url: Practitioner/41; ids: 258befbd-1dfb-4ef4-865b-1d3900b21d80,1,2,3,4) (log: (url: Practitioner/41; ids: 258befbd-1dfb-4ef4-865b-1d3900b21d80,1,2,3,4))
Location in validated object
line 1023, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0].resource/*DocumentReference/88*/.contained[1]/*Patient/1*/.generalPractitioner[0]
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference '#Practitioner/43'
Location in validated object
line 1033, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0].resource/*DocumentReference/88*/.contained[1]/*Patient/1*/.generalPractitioner[1]
Constraint ID
http://hl7.org/fhir/StructureDefinition/Reference#ref-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: ref-1: 'SHALL have a contained resource if a local reference is provided' (url: Practitioner/43; ids: 258befbd-1dfb-4ef4-865b-1d3900b21d80,1,2,3,4) (log: (url: Practitioner/43; ids: 258befbd-1dfb-4ef4-865b-1d3900b21d80,1,2,3,4))
Location in validated object
line 1033, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0].resource/*DocumentReference/88*/.contained[1]/*Patient/1*/.generalPractitioner[1]
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Organization/18'
Location in validated object
line 1190, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0].resource/*DocumentReference/88*/.identifier[0].assigner
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Patient/44'
Location in validated object
line 1251, column 30, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0].resource/*DocumentReference/88*/.subject
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Practitioner/999998'
Location in validated object
line 1269, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0].resource/*DocumentReference/88*/.author[0]
Constraint ID
UNKNOWN
Constraint Type
TerminologyEngine
Constraint Description
The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]
Location in validated object
line 1279, column 70, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0].resource/*DocumentReference/88*/.content[0].extension[0].value.ofType(Attachment).contentType
Constraint ID
Terminology_TX_NoValid_16
Constraint Type
TerminologyEngine
Constraint Description
The value provided ('text') was not found in the value set 'MimeType' (http://hl7.org/fhir/ValueSet/mimetypes|4.0.1), and a code is required from this value set (error message = The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]; The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1')
Location in validated object
line 1279, column 70, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0].resource/*DocumentReference/88*/.content[0].extension[0].value.ofType(Attachment).contentType
Constraint ID
UNKNOWN
Constraint Type
TerminologyEngine
Constraint Description
The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]
Location in validated object
line 1285, column 62, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0].resource/*DocumentReference/88*/.content[0].attachment.contentType
Constraint ID
Terminology_TX_NoValid_16
Constraint Type
TerminologyEngine
Constraint Description
The value provided ('text') was not found in the value set 'MimeType' (http://hl7.org/fhir/ValueSet/mimetypes|4.0.1), and a code is required from this value set (error message = The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]; The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1')
Location in validated object
line 1285, column 62, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0].resource/*DocumentReference/88*/.content[0].attachment.contentType
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference '#Encounter/258befbd-1dfb-4ef4-865b-1d3900b21d80'
Location in validated object
line 1292, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0].resource/*DocumentReference/88*/.context.encounter[0]
Constraint ID
http://hl7.org/fhir/StructureDefinition/Reference#ref-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: ref-1: 'SHALL have a contained resource if a local reference is provided' (url: Encounter/258befbd-1dfb-4ef4-865b-1d3900b21d80; ids: 258befbd-1dfb-4ef4-865b-1d3900b21d80,1,2,3,4) (log: (url: Encounter/258befbd-1dfb-4ef4-865b-1d3900b21d80; ids: 258befbd-1dfb-4ef4-865b-1d3900b21d80,1,2,3,4))
Location in validated object
line 1292, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0].resource/*DocumentReference/88*/.context.encounter[0]
Constraint ID
CONTAINED_ORPHAN_DOM3
Constraint Type
InstanceValidator
Constraint Description
The contained resource '258befbd-1dfb-4ef4-865b-1d3900b21d80' is not referenced to from elsewhere in the containing resource nor does it refer to the containing resource (dom-3)
Location in validated object
line 774, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0].resource/*DocumentReference/88*/.contained[0]
Constraint ID
CONTAINED_ORPHAN_DOM3
Constraint Type
InstanceValidator
Constraint Description
The contained resource '1' is not referenced to from elsewhere in the containing resource nor does it refer to the containing resource (dom-3)
Location in validated object
line 810, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0].resource/*DocumentReference/88*/.contained[1]
Constraint ID
CONTAINED_ORPHAN_DOM3
Constraint Type
InstanceValidator
Constraint Description
The contained resource '4' is not referenced to from elsewhere in the containing resource nor does it refer to the containing resource (dom-3)
Location in validated object
line 1091, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[0].resource/*DocumentReference/88*/.contained[4]
Constraint ID
Validation_VAL_Profile_Minimum
Constraint Type
InstanceValidator
Constraint Description
Encounter.status: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/Encounter|4.0.1)
Location in validated object
line 1309, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[1].resource/*DocumentReference/89*/.contained[0]/*Encounter/e52038f4-88e8-4dda-9def-5aa0eb4431d5*/
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Organization/18'
Location in validated object
line 1419, column 46, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[1].resource/*DocumentReference/89*/.contained[1]/*Patient/1*/.identifier[1].assigner
Constraint ID
INVALID
Constraint Type
TerminologyEngine
Constraint Description
The Coding references a value set, not a code system ('http://hl7.org/fhir/ValueSet/marital-status')
Location in validated object
line 1475, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[1].resource/*DocumentReference/89*/.contained[1]/*Patient/1*/.maritalStatus.coding[0].system
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference '#Practitioner/41'
Location in validated object
line 1558, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[1].resource/*DocumentReference/89*/.contained[1]/*Patient/1*/.generalPractitioner[0]
Constraint ID
http://hl7.org/fhir/StructureDefinition/Reference#ref-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: ref-1: 'SHALL have a contained resource if a local reference is provided' (url: Practitioner/41; ids: e52038f4-88e8-4dda-9def-5aa0eb4431d5,1,2,3,4) (log: (url: Practitioner/41; ids: e52038f4-88e8-4dda-9def-5aa0eb4431d5,1,2,3,4))
Location in validated object
line 1558, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[1].resource/*DocumentReference/89*/.contained[1]/*Patient/1*/.generalPractitioner[0]
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference '#Practitioner/43'
Location in validated object
line 1568, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[1].resource/*DocumentReference/89*/.contained[1]/*Patient/1*/.generalPractitioner[1]
Constraint ID
http://hl7.org/fhir/StructureDefinition/Reference#ref-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: ref-1: 'SHALL have a contained resource if a local reference is provided' (url: Practitioner/43; ids: e52038f4-88e8-4dda-9def-5aa0eb4431d5,1,2,3,4) (log: (url: Practitioner/43; ids: e52038f4-88e8-4dda-9def-5aa0eb4431d5,1,2,3,4))
Location in validated object
line 1568, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[1].resource/*DocumentReference/89*/.contained[1]/*Patient/1*/.generalPractitioner[1]
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Organization/18'
Location in validated object
line 1725, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[1].resource/*DocumentReference/89*/.identifier[0].assigner
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Patient/44'
Location in validated object
line 1786, column 30, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[1].resource/*DocumentReference/89*/.subject
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Practitioner/999998'
Location in validated object
line 1804, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[1].resource/*DocumentReference/89*/.author[0]
Constraint ID
UNKNOWN
Constraint Type
TerminologyEngine
Constraint Description
The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]
Location in validated object
line 1814, column 70, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[1].resource/*DocumentReference/89*/.content[0].extension[0].value.ofType(Attachment).contentType
Constraint ID
Terminology_TX_NoValid_16
Constraint Type
TerminologyEngine
Constraint Description
The value provided ('text') was not found in the value set 'MimeType' (http://hl7.org/fhir/ValueSet/mimetypes|4.0.1), and a code is required from this value set (error message = The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]; The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1')
Location in validated object
line 1814, column 70, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[1].resource/*DocumentReference/89*/.content[0].extension[0].value.ofType(Attachment).contentType
Constraint ID
UNKNOWN
Constraint Type
TerminologyEngine
Constraint Description
The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]
Location in validated object
line 1820, column 62, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[1].resource/*DocumentReference/89*/.content[0].attachment.contentType
Constraint ID
Terminology_TX_NoValid_16
Constraint Type
TerminologyEngine
Constraint Description
The value provided ('text') was not found in the value set 'MimeType' (http://hl7.org/fhir/ValueSet/mimetypes|4.0.1), and a code is required from this value set (error message = The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]; The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1')
Location in validated object
line 1820, column 62, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[1].resource/*DocumentReference/89*/.content[0].attachment.contentType
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference '#Encounter/e52038f4-88e8-4dda-9def-5aa0eb4431d5'
Location in validated object
line 1827, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[1].resource/*DocumentReference/89*/.context.encounter[0]
Constraint ID
http://hl7.org/fhir/StructureDefinition/Reference#ref-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: ref-1: 'SHALL have a contained resource if a local reference is provided' (url: Encounter/e52038f4-88e8-4dda-9def-5aa0eb4431d5; ids: e52038f4-88e8-4dda-9def-5aa0eb4431d5,1,2,3,4) (log: (url: Encounter/e52038f4-88e8-4dda-9def-5aa0eb4431d5; ids: e52038f4-88e8-4dda-9def-5aa0eb4431d5,1,2,3,4))
Location in validated object
line 1827, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[1].resource/*DocumentReference/89*/.context.encounter[0]
Constraint ID
CONTAINED_ORPHAN_DOM3
Constraint Type
InstanceValidator
Constraint Description
The contained resource 'e52038f4-88e8-4dda-9def-5aa0eb4431d5' is not referenced to from elsewhere in the containing resource nor does it refer to the containing resource (dom-3)
Location in validated object
line 1309, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[1].resource/*DocumentReference/89*/.contained[0]
Constraint ID
CONTAINED_ORPHAN_DOM3
Constraint Type
InstanceValidator
Constraint Description
The contained resource '1' is not referenced to from elsewhere in the containing resource nor does it refer to the containing resource (dom-3)
Location in validated object
line 1345, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[1].resource/*DocumentReference/89*/.contained[1]
Constraint ID
CONTAINED_ORPHAN_DOM3
Constraint Type
InstanceValidator
Constraint Description
The contained resource '4' is not referenced to from elsewhere in the containing resource nor does it refer to the containing resource (dom-3)
Location in validated object
line 1626, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[1].resource/*DocumentReference/89*/.contained[4]
Constraint ID
Validation_VAL_Profile_Minimum
Constraint Type
InstanceValidator
Constraint Description
Encounter.status: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/Encounter|4.0.1)
Location in validated object
line 1844, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[2].resource/*DocumentReference/90*/.contained[0]/*Encounter/2fa626c8-d10c-4447-8ac0-bf929922e6d1*/
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Organization/18'
Location in validated object
line 1954, column 46, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[2].resource/*DocumentReference/90*/.contained[1]/*Patient/1*/.identifier[1].assigner
Constraint ID
INVALID
Constraint Type
TerminologyEngine
Constraint Description
The Coding references a value set, not a code system ('http://hl7.org/fhir/ValueSet/marital-status')
Location in validated object
line 2010, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[2].resource/*DocumentReference/90*/.contained[1]/*Patient/1*/.maritalStatus.coding[0].system
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference '#Practitioner/41'
Location in validated object
line 2093, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[2].resource/*DocumentReference/90*/.contained[1]/*Patient/1*/.generalPractitioner[0]
Constraint ID
http://hl7.org/fhir/StructureDefinition/Reference#ref-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: ref-1: 'SHALL have a contained resource if a local reference is provided' (url: Practitioner/41; ids: 2fa626c8-d10c-4447-8ac0-bf929922e6d1,1,2,3,4) (log: (url: Practitioner/41; ids: 2fa626c8-d10c-4447-8ac0-bf929922e6d1,1,2,3,4))
Location in validated object
line 2093, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[2].resource/*DocumentReference/90*/.contained[1]/*Patient/1*/.generalPractitioner[0]
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference '#Practitioner/43'
Location in validated object
line 2103, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[2].resource/*DocumentReference/90*/.contained[1]/*Patient/1*/.generalPractitioner[1]
Constraint ID
http://hl7.org/fhir/StructureDefinition/Reference#ref-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: ref-1: 'SHALL have a contained resource if a local reference is provided' (url: Practitioner/43; ids: 2fa626c8-d10c-4447-8ac0-bf929922e6d1,1,2,3,4) (log: (url: Practitioner/43; ids: 2fa626c8-d10c-4447-8ac0-bf929922e6d1,1,2,3,4))
Location in validated object
line 2103, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[2].resource/*DocumentReference/90*/.contained[1]/*Patient/1*/.generalPractitioner[1]
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Organization/18'
Location in validated object
line 2260, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[2].resource/*DocumentReference/90*/.identifier[0].assigner
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Patient/44'
Location in validated object
line 2321, column 30, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[2].resource/*DocumentReference/90*/.subject
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Practitioner/999998'
Location in validated object
line 2339, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[2].resource/*DocumentReference/90*/.author[0]
Constraint ID
UNKNOWN
Constraint Type
TerminologyEngine
Constraint Description
The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]
Location in validated object
line 2349, column 70, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[2].resource/*DocumentReference/90*/.content[0].extension[0].value.ofType(Attachment).contentType
Constraint ID
Terminology_TX_NoValid_16
Constraint Type
TerminologyEngine
Constraint Description
The value provided ('text') was not found in the value set 'MimeType' (http://hl7.org/fhir/ValueSet/mimetypes|4.0.1), and a code is required from this value set (error message = The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]; The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1')
Location in validated object
line 2349, column 70, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[2].resource/*DocumentReference/90*/.content[0].extension[0].value.ofType(Attachment).contentType
Constraint ID
UNKNOWN
Constraint Type
TerminologyEngine
Constraint Description
The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]
Location in validated object
line 2355, column 62, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[2].resource/*DocumentReference/90*/.content[0].attachment.contentType
Constraint ID
Terminology_TX_NoValid_16
Constraint Type
TerminologyEngine
Constraint Description
The value provided ('text') was not found in the value set 'MimeType' (http://hl7.org/fhir/ValueSet/mimetypes|4.0.1), and a code is required from this value set (error message = The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]; The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1')
Location in validated object
line 2355, column 62, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[2].resource/*DocumentReference/90*/.content[0].attachment.contentType
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference '#Encounter/2fa626c8-d10c-4447-8ac0-bf929922e6d1'
Location in validated object
line 2362, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[2].resource/*DocumentReference/90*/.context.encounter[0]
Constraint ID
http://hl7.org/fhir/StructureDefinition/Reference#ref-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: ref-1: 'SHALL have a contained resource if a local reference is provided' (url: Encounter/2fa626c8-d10c-4447-8ac0-bf929922e6d1; ids: 2fa626c8-d10c-4447-8ac0-bf929922e6d1,1,2,3,4) (log: (url: Encounter/2fa626c8-d10c-4447-8ac0-bf929922e6d1; ids: 2fa626c8-d10c-4447-8ac0-bf929922e6d1,1,2,3,4))
Location in validated object
line 2362, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[2].resource/*DocumentReference/90*/.context.encounter[0]
Constraint ID
CONTAINED_ORPHAN_DOM3
Constraint Type
InstanceValidator
Constraint Description
The contained resource '2fa626c8-d10c-4447-8ac0-bf929922e6d1' is not referenced to from elsewhere in the containing resource nor does it refer to the containing resource (dom-3)
Location in validated object
line 1844, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[2].resource/*DocumentReference/90*/.contained[0]
Constraint ID
CONTAINED_ORPHAN_DOM3
Constraint Type
InstanceValidator
Constraint Description
The contained resource '1' is not referenced to from elsewhere in the containing resource nor does it refer to the containing resource (dom-3)
Location in validated object
line 1880, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[2].resource/*DocumentReference/90*/.contained[1]
Constraint ID
CONTAINED_ORPHAN_DOM3
Constraint Type
InstanceValidator
Constraint Description
The contained resource '4' is not referenced to from elsewhere in the containing resource nor does it refer to the containing resource (dom-3)
Location in validated object
line 2161, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[2].resource/*DocumentReference/90*/.contained[4]
Constraint ID
Validation_VAL_Profile_Minimum
Constraint Type
InstanceValidator
Constraint Description
Encounter.status: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/Encounter|4.0.1)
Location in validated object
line 2379, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[3].resource/*DocumentReference/91*/.contained[0]/*Encounter/d7837811-b7b8-4cbf-8eb7-0669c8e0cd3c*/
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Organization/18'
Location in validated object
line 2489, column 46, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[3].resource/*DocumentReference/91*/.contained[1]/*Patient/1*/.identifier[1].assigner
Constraint ID
INVALID
Constraint Type
TerminologyEngine
Constraint Description
The Coding references a value set, not a code system ('http://hl7.org/fhir/ValueSet/marital-status')
Location in validated object
line 2545, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[3].resource/*DocumentReference/91*/.contained[1]/*Patient/1*/.maritalStatus.coding[0].system
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference '#Practitioner/41'
Location in validated object
line 2628, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[3].resource/*DocumentReference/91*/.contained[1]/*Patient/1*/.generalPractitioner[0]
Constraint ID
http://hl7.org/fhir/StructureDefinition/Reference#ref-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: ref-1: 'SHALL have a contained resource if a local reference is provided' (url: Practitioner/41; ids: d7837811-b7b8-4cbf-8eb7-0669c8e0cd3c,1,2,3,4) (log: (url: Practitioner/41; ids: d7837811-b7b8-4cbf-8eb7-0669c8e0cd3c,1,2,3,4))
Location in validated object
line 2628, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[3].resource/*DocumentReference/91*/.contained[1]/*Patient/1*/.generalPractitioner[0]
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference '#Practitioner/43'
Location in validated object
line 2638, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[3].resource/*DocumentReference/91*/.contained[1]/*Patient/1*/.generalPractitioner[1]
Constraint ID
http://hl7.org/fhir/StructureDefinition/Reference#ref-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: ref-1: 'SHALL have a contained resource if a local reference is provided' (url: Practitioner/43; ids: d7837811-b7b8-4cbf-8eb7-0669c8e0cd3c,1,2,3,4) (log: (url: Practitioner/43; ids: d7837811-b7b8-4cbf-8eb7-0669c8e0cd3c,1,2,3,4))
Location in validated object
line 2638, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[3].resource/*DocumentReference/91*/.contained[1]/*Patient/1*/.generalPractitioner[1]
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Organization/18'
Location in validated object
line 2795, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[3].resource/*DocumentReference/91*/.identifier[0].assigner
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Patient/44'
Location in validated object
line 2856, column 30, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[3].resource/*DocumentReference/91*/.subject
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Practitioner/999998'
Location in validated object
line 2874, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[3].resource/*DocumentReference/91*/.author[0]
Constraint ID
UNKNOWN
Constraint Type
TerminologyEngine
Constraint Description
The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]
Location in validated object
line 2884, column 70, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[3].resource/*DocumentReference/91*/.content[0].extension[0].value.ofType(Attachment).contentType
Constraint ID
Terminology_TX_NoValid_16
Constraint Type
TerminologyEngine
Constraint Description
The value provided ('text') was not found in the value set 'MimeType' (http://hl7.org/fhir/ValueSet/mimetypes|4.0.1), and a code is required from this value set (error message = The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]; The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1')
Location in validated object
line 2884, column 70, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[3].resource/*DocumentReference/91*/.content[0].extension[0].value.ofType(Attachment).contentType
Constraint ID
UNKNOWN
Constraint Type
TerminologyEngine
Constraint Description
The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]
Location in validated object
line 2890, column 62, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[3].resource/*DocumentReference/91*/.content[0].attachment.contentType
Constraint ID
Terminology_TX_NoValid_16
Constraint Type
TerminologyEngine
Constraint Description
The value provided ('text') was not found in the value set 'MimeType' (http://hl7.org/fhir/ValueSet/mimetypes|4.0.1), and a code is required from this value set (error message = The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]; The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1')
Location in validated object
line 2890, column 62, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[3].resource/*DocumentReference/91*/.content[0].attachment.contentType
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference '#Encounter/d7837811-b7b8-4cbf-8eb7-0669c8e0cd3c'
Location in validated object
line 2897, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[3].resource/*DocumentReference/91*/.context.encounter[0]
Constraint ID
http://hl7.org/fhir/StructureDefinition/Reference#ref-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: ref-1: 'SHALL have a contained resource if a local reference is provided' (url: Encounter/d7837811-b7b8-4cbf-8eb7-0669c8e0cd3c; ids: d7837811-b7b8-4cbf-8eb7-0669c8e0cd3c,1,2,3,4) (log: (url: Encounter/d7837811-b7b8-4cbf-8eb7-0669c8e0cd3c; ids: d7837811-b7b8-4cbf-8eb7-0669c8e0cd3c,1,2,3,4))
Location in validated object
line 2897, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[3].resource/*DocumentReference/91*/.context.encounter[0]
Constraint ID
CONTAINED_ORPHAN_DOM3
Constraint Type
InstanceValidator
Constraint Description
The contained resource 'd7837811-b7b8-4cbf-8eb7-0669c8e0cd3c' is not referenced to from elsewhere in the containing resource nor does it refer to the containing resource (dom-3)
Location in validated object
line 2379, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[3].resource/*DocumentReference/91*/.contained[0]
Constraint ID
CONTAINED_ORPHAN_DOM3
Constraint Type
InstanceValidator
Constraint Description
The contained resource '1' is not referenced to from elsewhere in the containing resource nor does it refer to the containing resource (dom-3)
Location in validated object
line 2415, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[3].resource/*DocumentReference/91*/.contained[1]
Constraint ID
CONTAINED_ORPHAN_DOM3
Constraint Type
InstanceValidator
Constraint Description
The contained resource '4' is not referenced to from elsewhere in the containing resource nor does it refer to the containing resource (dom-3)
Location in validated object
line 2696, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[3].resource/*DocumentReference/91*/.contained[4]
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Organization/18'
Location in validated object
line 3030, column 46, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[4].resource/*DocumentReference/92*/.contained[1]/*Patient/1*/.identifier[1].assigner
Constraint ID
INVALID
Constraint Type
TerminologyEngine
Constraint Description
The Coding references a value set, not a code system ('http://hl7.org/fhir/ValueSet/marital-status')
Location in validated object
line 3086, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[4].resource/*DocumentReference/92*/.contained[1]/*Patient/1*/.maritalStatus.coding[0].system
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference '#Practitioner/41'
Location in validated object
line 3169, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[4].resource/*DocumentReference/92*/.contained[1]/*Patient/1*/.generalPractitioner[0]
Constraint ID
http://hl7.org/fhir/StructureDefinition/Reference#ref-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: ref-1: 'SHALL have a contained resource if a local reference is provided' (url: Practitioner/41; ids: 47af7fd2-d017-464e-a35c-06ef7e9f4b0d,1,2,3,4,5) (log: (url: Practitioner/41; ids: 47af7fd2-d017-464e-a35c-06ef7e9f4b0d,1,2,3,4,5))
Location in validated object
line 3169, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[4].resource/*DocumentReference/92*/.contained[1]/*Patient/1*/.generalPractitioner[0]
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference '#Practitioner/43'
Location in validated object
line 3179, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[4].resource/*DocumentReference/92*/.contained[1]/*Patient/1*/.generalPractitioner[1]
Constraint ID
http://hl7.org/fhir/StructureDefinition/Reference#ref-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: ref-1: 'SHALL have a contained resource if a local reference is provided' (url: Practitioner/43; ids: 47af7fd2-d017-464e-a35c-06ef7e9f4b0d,1,2,3,4,5) (log: (url: Practitioner/43; ids: 47af7fd2-d017-464e-a35c-06ef7e9f4b0d,1,2,3,4,5))
Location in validated object
line 3179, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[4].resource/*DocumentReference/92*/.contained[1]/*Patient/1*/.generalPractitioner[1]
Constraint ID
Validation_VAL_Profile_Minimum
Constraint Type
InstanceValidator
Constraint Description
Appointment.participant.status: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/Appointment|4.0.1)
Location in validated object
line 3353, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[4].resource/*DocumentReference/92*/.contained[5]/*Appointment/5*/.participant[0]
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Practitioner/999998'
Location in validated object
line 3354, column 46, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[4].resource/*DocumentReference/92*/.contained[5]/*Appointment/5*/.participant[0].actor
Constraint ID
Validation_VAL_Profile_Minimum
Constraint Type
InstanceValidator
Constraint Description
Appointment.participant.status: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/Appointment|4.0.1)
Location in validated object
line 3358, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[4].resource/*DocumentReference/92*/.contained[5]/*Appointment/5*/.participant[1]
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Patient/44'
Location in validated object
line 3359, column 46, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[4].resource/*DocumentReference/92*/.contained[5]/*Appointment/5*/.participant[1].actor
Constraint ID
Validation_VAL_Profile_Minimum
Constraint Type
InstanceValidator
Constraint Description
Appointment.participant.status: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/Appointment|4.0.1)
Location in validated object
line 3363, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[4].resource/*DocumentReference/92*/.contained[5]/*Appointment/5*/.participant[2]
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Location/Toronto'
Location in validated object
line 3364, column 46, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[4].resource/*DocumentReference/92*/.contained[5]/*Appointment/5*/.participant[2].actor
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Organization/18'
Location in validated object
line 3409, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[4].resource/*DocumentReference/92*/.identifier[0].assigner
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Patient/44'
Location in validated object
line 3470, column 30, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[4].resource/*DocumentReference/92*/.subject
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Practitioner/999998'
Location in validated object
line 3488, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[4].resource/*DocumentReference/92*/.author[0]
Constraint ID
UNKNOWN
Constraint Type
TerminologyEngine
Constraint Description
The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]
Location in validated object
line 3498, column 70, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[4].resource/*DocumentReference/92*/.content[0].extension[0].value.ofType(Attachment).contentType
Constraint ID
Terminology_TX_NoValid_16
Constraint Type
TerminologyEngine
Constraint Description
The value provided ('text') was not found in the value set 'MimeType' (http://hl7.org/fhir/ValueSet/mimetypes|4.0.1), and a code is required from this value set (error message = The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]; The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1')
Location in validated object
line 3498, column 70, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[4].resource/*DocumentReference/92*/.content[0].extension[0].value.ofType(Attachment).contentType
Constraint ID
UNKNOWN
Constraint Type
TerminologyEngine
Constraint Description
The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]
Location in validated object
line 3504, column 62, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[4].resource/*DocumentReference/92*/.content[0].attachment.contentType
Constraint ID
Terminology_TX_NoValid_16
Constraint Type
TerminologyEngine
Constraint Description
The value provided ('text') was not found in the value set 'MimeType' (http://hl7.org/fhir/ValueSet/mimetypes|4.0.1), and a code is required from this value set (error message = The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]; The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1')
Location in validated object
line 3504, column 62, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[4].resource/*DocumentReference/92*/.content[0].attachment.contentType
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference '#Encounter/47af7fd2-d017-464e-a35c-06ef7e9f4b0d'
Location in validated object
line 3511, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[4].resource/*DocumentReference/92*/.context.encounter[0]
Constraint ID
http://hl7.org/fhir/StructureDefinition/Reference#ref-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: ref-1: 'SHALL have a contained resource if a local reference is provided' (url: Encounter/47af7fd2-d017-464e-a35c-06ef7e9f4b0d; ids: 47af7fd2-d017-464e-a35c-06ef7e9f4b0d,1,2,3,4,5) (log: (url: Encounter/47af7fd2-d017-464e-a35c-06ef7e9f4b0d; ids: 47af7fd2-d017-464e-a35c-06ef7e9f4b0d,1,2,3,4,5))
Location in validated object
line 3511, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[4].resource/*DocumentReference/92*/.context.encounter[0]
Constraint ID
CONTAINED_ORPHAN_DOM3
Constraint Type
InstanceValidator
Constraint Description
The contained resource '47af7fd2-d017-464e-a35c-06ef7e9f4b0d' is not referenced to from elsewhere in the containing resource nor does it refer to the containing resource (dom-3)
Location in validated object
line 2914, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[4].resource/*DocumentReference/92*/.contained[0]
Constraint ID
CONTAINED_ORPHAN_DOM3
Constraint Type
InstanceValidator
Constraint Description
The contained resource '1' is not referenced to from elsewhere in the containing resource nor does it refer to the containing resource (dom-3)
Location in validated object
line 2956, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[4].resource/*DocumentReference/92*/.contained[1]
Constraint ID
CONTAINED_ORPHAN_DOM3
Constraint Type
InstanceValidator
Constraint Description
The contained resource '4' is not referenced to from elsewhere in the containing resource nor does it refer to the containing resource (dom-3)
Location in validated object
line 3237, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[4].resource/*DocumentReference/92*/.contained[4]
Constraint ID
CONTAINED_ORPHAN_DOM3
Constraint Type
InstanceValidator
Constraint Description
The contained resource '5' is not referenced to from elsewhere in the containing resource nor does it refer to the containing resource (dom-3)
Location in validated object
line 3297, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[4].resource/*DocumentReference/92*/.contained[5]
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Organization/18'
Location in validated object
line 3644, column 46, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[5].resource/*DocumentReference/93*/.contained[1]/*Patient/1*/.identifier[1].assigner
Constraint ID
INVALID
Constraint Type
TerminologyEngine
Constraint Description
The Coding references a value set, not a code system ('http://hl7.org/fhir/ValueSet/marital-status')
Location in validated object
line 3700, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[5].resource/*DocumentReference/93*/.contained[1]/*Patient/1*/.maritalStatus.coding[0].system
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference '#Practitioner/41'
Location in validated object
line 3783, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[5].resource/*DocumentReference/93*/.contained[1]/*Patient/1*/.generalPractitioner[0]
Constraint ID
http://hl7.org/fhir/StructureDefinition/Reference#ref-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: ref-1: 'SHALL have a contained resource if a local reference is provided' (url: Practitioner/41; ids: 0a9ad95f-4452-4302-9392-e80e49bb4ff8,1,2,3,4,5) (log: (url: Practitioner/41; ids: 0a9ad95f-4452-4302-9392-e80e49bb4ff8,1,2,3,4,5))
Location in validated object
line 3783, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[5].resource/*DocumentReference/93*/.contained[1]/*Patient/1*/.generalPractitioner[0]
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference '#Practitioner/43'
Location in validated object
line 3793, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[5].resource/*DocumentReference/93*/.contained[1]/*Patient/1*/.generalPractitioner[1]
Constraint ID
http://hl7.org/fhir/StructureDefinition/Reference#ref-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: ref-1: 'SHALL have a contained resource if a local reference is provided' (url: Practitioner/43; ids: 0a9ad95f-4452-4302-9392-e80e49bb4ff8,1,2,3,4,5) (log: (url: Practitioner/43; ids: 0a9ad95f-4452-4302-9392-e80e49bb4ff8,1,2,3,4,5))
Location in validated object
line 3793, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[5].resource/*DocumentReference/93*/.contained[1]/*Patient/1*/.generalPractitioner[1]
Constraint ID
Validation_VAL_Profile_Minimum
Constraint Type
InstanceValidator
Constraint Description
Appointment.participant.status: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/Appointment|4.0.1)
Location in validated object
line 3967, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[5].resource/*DocumentReference/93*/.contained[5]/*Appointment/5*/.participant[0]
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Practitioner/999998'
Location in validated object
line 3968, column 46, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[5].resource/*DocumentReference/93*/.contained[5]/*Appointment/5*/.participant[0].actor
Constraint ID
Validation_VAL_Profile_Minimum
Constraint Type
InstanceValidator
Constraint Description
Appointment.participant.status: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/Appointment|4.0.1)
Location in validated object
line 3972, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[5].resource/*DocumentReference/93*/.contained[5]/*Appointment/5*/.participant[1]
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Patient/44'
Location in validated object
line 3973, column 46, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[5].resource/*DocumentReference/93*/.contained[5]/*Appointment/5*/.participant[1].actor
Constraint ID
Validation_VAL_Profile_Minimum
Constraint Type
InstanceValidator
Constraint Description
Appointment.participant.status: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/Appointment|4.0.1)
Location in validated object
line 3977, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[5].resource/*DocumentReference/93*/.contained[5]/*Appointment/5*/.participant[2]
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Location/Toronto'
Location in validated object
line 3978, column 46, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[5].resource/*DocumentReference/93*/.contained[5]/*Appointment/5*/.participant[2].actor
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Organization/18'
Location in validated object
line 4023, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[5].resource/*DocumentReference/93*/.identifier[0].assigner
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Patient/44'
Location in validated object
line 4084, column 30, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[5].resource/*DocumentReference/93*/.subject
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Practitioner/999998'
Location in validated object
line 4102, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[5].resource/*DocumentReference/93*/.author[0]
Constraint ID
UNKNOWN
Constraint Type
TerminologyEngine
Constraint Description
The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]
Location in validated object
line 4112, column 70, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[5].resource/*DocumentReference/93*/.content[0].extension[0].value.ofType(Attachment).contentType
Constraint ID
Terminology_TX_NoValid_16
Constraint Type
TerminologyEngine
Constraint Description
The value provided ('text') was not found in the value set 'MimeType' (http://hl7.org/fhir/ValueSet/mimetypes|4.0.1), and a code is required from this value set (error message = The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]; The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1')
Location in validated object
line 4112, column 70, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[5].resource/*DocumentReference/93*/.content[0].extension[0].value.ofType(Attachment).contentType
Constraint ID
UNKNOWN
Constraint Type
TerminologyEngine
Constraint Description
The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]
Location in validated object
line 4118, column 62, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[5].resource/*DocumentReference/93*/.content[0].attachment.contentType
Constraint ID
Terminology_TX_NoValid_16
Constraint Type
TerminologyEngine
Constraint Description
The value provided ('text') was not found in the value set 'MimeType' (http://hl7.org/fhir/ValueSet/mimetypes|4.0.1), and a code is required from this value set (error message = The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]; The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1')
Location in validated object
line 4118, column 62, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[5].resource/*DocumentReference/93*/.content[0].attachment.contentType
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference '#Encounter/0a9ad95f-4452-4302-9392-e80e49bb4ff8'
Location in validated object
line 4125, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[5].resource/*DocumentReference/93*/.context.encounter[0]
Constraint ID
http://hl7.org/fhir/StructureDefinition/Reference#ref-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: ref-1: 'SHALL have a contained resource if a local reference is provided' (url: Encounter/0a9ad95f-4452-4302-9392-e80e49bb4ff8; ids: 0a9ad95f-4452-4302-9392-e80e49bb4ff8,1,2,3,4,5) (log: (url: Encounter/0a9ad95f-4452-4302-9392-e80e49bb4ff8; ids: 0a9ad95f-4452-4302-9392-e80e49bb4ff8,1,2,3,4,5))
Location in validated object
line 4125, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[5].resource/*DocumentReference/93*/.context.encounter[0]
Constraint ID
CONTAINED_ORPHAN_DOM3
Constraint Type
InstanceValidator
Constraint Description
The contained resource '0a9ad95f-4452-4302-9392-e80e49bb4ff8' is not referenced to from elsewhere in the containing resource nor does it refer to the containing resource (dom-3)
Location in validated object
line 3528, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[5].resource/*DocumentReference/93*/.contained[0]
Constraint ID
CONTAINED_ORPHAN_DOM3
Constraint Type
InstanceValidator
Constraint Description
The contained resource '1' is not referenced to from elsewhere in the containing resource nor does it refer to the containing resource (dom-3)
Location in validated object
line 3570, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[5].resource/*DocumentReference/93*/.contained[1]
Constraint ID
CONTAINED_ORPHAN_DOM3
Constraint Type
InstanceValidator
Constraint Description
The contained resource '4' is not referenced to from elsewhere in the containing resource nor does it refer to the containing resource (dom-3)
Location in validated object
line 3851, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[5].resource/*DocumentReference/93*/.contained[4]
Constraint ID
CONTAINED_ORPHAN_DOM3
Constraint Type
InstanceValidator
Constraint Description
The contained resource '5' is not referenced to from elsewhere in the containing resource nor does it refer to the containing resource (dom-3)
Location in validated object
line 3911, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[5].resource/*DocumentReference/93*/.contained[5]
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Organization/18'
Location in validated object
line 4258, column 46, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[6].resource/*DocumentReference/94*/.contained[1]/*Patient/1*/.identifier[1].assigner
Constraint ID
INVALID
Constraint Type
TerminologyEngine
Constraint Description
The Coding references a value set, not a code system ('http://hl7.org/fhir/ValueSet/marital-status')
Location in validated object
line 4314, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[6].resource/*DocumentReference/94*/.contained[1]/*Patient/1*/.maritalStatus.coding[0].system
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference '#Practitioner/41'
Location in validated object
line 4397, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[6].resource/*DocumentReference/94*/.contained[1]/*Patient/1*/.generalPractitioner[0]
Constraint ID
http://hl7.org/fhir/StructureDefinition/Reference#ref-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: ref-1: 'SHALL have a contained resource if a local reference is provided' (url: Practitioner/41; ids: ae61d01e-1388-4a2f-9b4f-db64fb6e6c4a,1,2,3,4,5) (log: (url: Practitioner/41; ids: ae61d01e-1388-4a2f-9b4f-db64fb6e6c4a,1,2,3,4,5))
Location in validated object
line 4397, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[6].resource/*DocumentReference/94*/.contained[1]/*Patient/1*/.generalPractitioner[0]
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference '#Practitioner/43'
Location in validated object
line 4407, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[6].resource/*DocumentReference/94*/.contained[1]/*Patient/1*/.generalPractitioner[1]
Constraint ID
http://hl7.org/fhir/StructureDefinition/Reference#ref-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: ref-1: 'SHALL have a contained resource if a local reference is provided' (url: Practitioner/43; ids: ae61d01e-1388-4a2f-9b4f-db64fb6e6c4a,1,2,3,4,5) (log: (url: Practitioner/43; ids: ae61d01e-1388-4a2f-9b4f-db64fb6e6c4a,1,2,3,4,5))
Location in validated object
line 4407, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[6].resource/*DocumentReference/94*/.contained[1]/*Patient/1*/.generalPractitioner[1]
Constraint ID
Validation_VAL_Profile_Minimum
Constraint Type
InstanceValidator
Constraint Description
Appointment.participant.status: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/Appointment|4.0.1)
Location in validated object
line 4581, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[6].resource/*DocumentReference/94*/.contained[5]/*Appointment/5*/.participant[0]
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Practitioner/999998'
Location in validated object
line 4582, column 46, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[6].resource/*DocumentReference/94*/.contained[5]/*Appointment/5*/.participant[0].actor
Constraint ID
Validation_VAL_Profile_Minimum
Constraint Type
InstanceValidator
Constraint Description
Appointment.participant.status: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/Appointment|4.0.1)
Location in validated object
line 4586, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[6].resource/*DocumentReference/94*/.contained[5]/*Appointment/5*/.participant[1]
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Patient/44'
Location in validated object
line 4587, column 46, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[6].resource/*DocumentReference/94*/.contained[5]/*Appointment/5*/.participant[1].actor
Constraint ID
Validation_VAL_Profile_Minimum
Constraint Type
InstanceValidator
Constraint Description
Appointment.participant.status: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/Appointment|4.0.1)
Location in validated object
line 4591, column 42, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[6].resource/*DocumentReference/94*/.contained[5]/*Appointment/5*/.participant[2]
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Location/Toronto'
Location in validated object
line 4592, column 46, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[6].resource/*DocumentReference/94*/.contained[5]/*Appointment/5*/.participant[2].actor
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Organization/18'
Location in validated object
line 4637, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[6].resource/*DocumentReference/94*/.identifier[0].assigner
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Patient/44'
Location in validated object
line 4698, column 30, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[6].resource/*DocumentReference/94*/.subject
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference 'Practitioner/999998'
Location in validated object
line 4716, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[6].resource/*DocumentReference/94*/.author[0]
Constraint ID
UNKNOWN
Constraint Type
TerminologyEngine
Constraint Description
The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]
Location in validated object
line 4726, column 70, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[6].resource/*DocumentReference/94*/.content[0].extension[0].value.ofType(Attachment).contentType
Constraint ID
Terminology_TX_NoValid_16
Constraint Type
TerminologyEngine
Constraint Description
The value provided ('text') was not found in the value set 'MimeType' (http://hl7.org/fhir/ValueSet/mimetypes|4.0.1), and a code is required from this value set (error message = The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]; The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1')
Location in validated object
line 4726, column 70, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[6].resource/*DocumentReference/94*/.content[0].extension[0].value.ofType(Attachment).contentType
Constraint ID
UNKNOWN
Constraint Type
TerminologyEngine
Constraint Description
The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]
Location in validated object
line 4732, column 62, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[6].resource/*DocumentReference/94*/.content[0].attachment.contentType
Constraint ID
Terminology_TX_NoValid_16
Constraint Type
TerminologyEngine
Constraint Description
The value provided ('text') was not found in the value set 'MimeType' (http://hl7.org/fhir/ValueSet/mimetypes|4.0.1), and a code is required from this value set (error message = The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1': include #0 has system urn:ietf:bcp:13 which could not be found, and the server returned error [Error from http://tx.fhir.org/r4: The code System "urn:ietf:bcp:13" has a grammar, and cannot be enumerated directly]; The System URI could not be determined for the code 'text' in the ValueSet 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1')
Location in validated object
line 4732, column 62, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[6].resource/*DocumentReference/94*/.content[0].attachment.contentType
Constraint ID
Reference_REF_CantResolve
Constraint Type
InstanceValidator
Constraint Description
Unable to resolve resource with reference '#Encounter/ae61d01e-1388-4a2f-9b4f-db64fb6e6c4a'
Location in validated object
line 4739, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[6].resource/*DocumentReference/94*/.context.encounter[0]
Constraint ID
http://hl7.org/fhir/StructureDefinition/Reference#ref-1
Constraint Type
InstanceValidator
Constraint Description
Constraint failed: ref-1: 'SHALL have a contained resource if a local reference is provided' (url: Encounter/ae61d01e-1388-4a2f-9b4f-db64fb6e6c4a; ids: ae61d01e-1388-4a2f-9b4f-db64fb6e6c4a,1,2,3,4,5) (log: (url: Encounter/ae61d01e-1388-4a2f-9b4f-db64fb6e6c4a; ids: ae61d01e-1388-4a2f-9b4f-db64fb6e6c4a,1,2,3,4,5))
Location in validated object
line 4739, column 38, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[6].resource/*DocumentReference/94*/.context.encounter[0]
Constraint ID
CONTAINED_ORPHAN_DOM3
Constraint Type
InstanceValidator
Constraint Description
The contained resource 'ae61d01e-1388-4a2f-9b4f-db64fb6e6c4a' is not referenced to from elsewhere in the containing resource nor does it refer to the containing resource (dom-3)
Location in validated object
line 4142, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[6].resource/*DocumentReference/94*/.contained[0]
Constraint ID
CONTAINED_ORPHAN_DOM3
Constraint Type
InstanceValidator
Constraint Description
The contained resource '1' is not referenced to from elsewhere in the containing resource nor does it refer to the containing resource (dom-3)
Location in validated object
line 4184, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[6].resource/*DocumentReference/94*/.contained[1]
Constraint ID
CONTAINED_ORPHAN_DOM3
Constraint Type
InstanceValidator
Constraint Description
The contained resource '4' is not referenced to from elsewhere in the containing resource nor does it refer to the containing resource (dom-3)
Location in validated object
line 4465, column 34, FHIRPath: Bundle.entry[4].resource/*Bundle/null*/.entry[6].resource/*DocumentReference/94*/.contained[4]
Only the first 200 reports are displayed, download the report to access the complete list

File Content



JSON
JSON Tree
Binary content

«
»

The following content has been modified for better visualization. Validation will be performed on original content
1 {
2   "resourceType" : "Bundle",
3   "type" : "document",
4   "entry" : [ {
5     "fullUrl" : "http://apps.health/Bundle/456e6206-6e7a-45cc-8ef9-72392cb28723",
6     "resource" : {
7       "resourceType" : "Bundle",
8       "identifier" : {
9         "system" : "patient-chart-bundle-identifier",
10         "value" : "Demographics"
11       },
12       "type" : "collection",
13       "total" : 1,
14       "entry" : [ {
15         "fullUrl" : "http://apps.health/Patient/0c8edfb9-1dc5-4c19-a120-a6991dea18ff",
16         "resource" : {
17           "resourceType" : "Patient",
18           "id" : "44",
19           "language" : "en-CA",
20           "contained" : [ {
21             "resourceType" : "Practitioner",
22             "id" : "41",
23             "language" : "en-CA",
24             "extension" : [ {
25               "url" : "https://apps.health/Pratitioner/provider-type",
26               "valueCodeableConcept" : {
27                 "coding" : [ {
28                   "system" : "http://unknown.code.system",
29                   "code" : "doctor",
30                   "display" : "doctor"
31                 } ],
32                 "text" : "doctor"
33               }
34             }, {
35               "url" : "https://apps.health/Pratitioner/comments",
36               "valueString" : "<xml_p_specialty_code>00</xml_p_specialty_code><xml_p_billinggroup_no>0000</xml_p_billinggroup_no>"
37             }, {
38               "url" : "https://apps.health/Pratitioner/last-updated-by",
39               "valueString" : "999998"
40             }, {
41               "url" : "https://apps.health/Pratitioner/last-updated-date-time",
42               "valueDateTime" : "2024-11-19T03:15:27+00:00"
43             }, {
44               "url" : "https://apps.health/Pratitioner/third-party-only",
45               "valueBoolean" : false
46             }, {
47               "url" : "https://apps.health/Pratitioner/has-schedule",
48               "valueBoolean" : true
49             }, {
50               "url" : "https://apps.health/Pratitioner/receives-ticklers",
51               "valueBoolean" : true
52             } ],
53             "identifier" : [ {
54               "type" : {
55                 "coding" : [ {
56                   "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
57                   "code" : "LN",
58                   "display" : "License number"
59                 } ],
60                 "text" : "CPSO"
61               },
62               "value" : "12345"
63             } ],
64             "active" : true,
65             "name" : [ {
66               "use" : "official",
67               "family" : "Provider",
68               "given" : [ "Test" ]
69             } ],
70             "telecom" : [ {
71               "system" : "email",
72               "value" : "rajs797979+25@gmail.com"
73             } ],
74             "gender" : "unknown"
75           }, {
76             "resourceType" : "Practitioner",
77             "id" : "43",
78             "language" : "en-CA",
79             "extension" : [ {
80               "url" : "https://apps.health/Pratitioner/provider-type",
81               "valueCodeableConcept" : {
82                 "coding" : [ {
83                   "system" : "http://unknown.code.system",
84                   "code" : "doctor",
85                   "display" : "doctor"
86                 } ],
87                 "text" : "doctor"
88               }
89             }, {
90               "url" : "https://apps.health/Pratitioner/last-updated-by",
91               "valueString" : "999998"
92             }, {
93               "url" : "https://apps.health/Pratitioner/last-updated-date-time",
94               "valueDateTime" : "2021-11-18T14:28:27+00:00"
95             }, {
96               "url" : "https://apps.health/Pratitioner/third-party-only",
97               "valueBoolean" : false
98             }, {
99               "url" : "https://apps.health/Pratitioner/has-schedule",
100               "valueBoolean" : true
101             }, {
102               "url" : "https://apps.health/Pratitioner/receives-ticklers",
103               "valueBoolean" : true
104             } ],
105             "active" : true,
106             "name" : [ {
107               "use" : "official",
108               "family" : "App",
109               "given" : [ "Hypercare" ]
110             } ],
111             "gender" : "unknown"
112           }, {
113             "resourceType" : "Organization",
114             "id" : "1",
115             "active" : true,
116             "name" : "Apps Health Medical",
117             "telecom" : [ {
118               "system" : "phone",
119               "value" : "555-555-5555"
120             }, {
121               "system" : "fax",
122               "value" : "555-555-5555"
123             } ],
124             "address" : [ {
125               "line" : [ "123 Vernon Road" ],
126               "city" : "Hamilton",
127               "state" : "Ontario"
128             } ]
129           }, {
130             "resourceType" : "Patient",
131             "id" : "2"
132           } ],
133           "extension" : [ {
134             "url" : "https://apps.health/Patient/rosterStatus",
135             "valueString" : "RO"
136           }, {
137             "url" : "https://apps.health/Patient/rosterDate",
138             "valueDateTime" : "2022-05-05T04:00:00+00:00"
139           }, {
140             "url" : "https://apps.health/Patient/statusDate",
141             "valueDateTime" : "2021-11-10T05:00:00+00:00"
142           }, {
143             "url" : "https://apps.health/Patient/dateJoined",
144             "valueDateTime" : "2021-11-10T05:00:00+00:00"
145           }, {
146             "url" : "https://apps.health/Patient/hcType",
147             "valueString" : "ON"
148           }, {
149             "url" : "https://apps.health/Patient/countryOfOrigin",
150             "valueString" : "-1"
151           }, {
152             "url" : "https://apps.health/Patient/newsletter",
153             "valueString" : "Unknown"
154           }, {
155             "url" : "https://apps.health/Patient/lastUpdateUser",
156             "valueString" : "56"
157           }, {
158             "url" : "https://apps.health/Patient/lastUpdateDate",
159             "valueDateTime" : "2023-01-12T21:02:36+00:00"
160           }, {
161             "url" : "https://apps.health/Patient/type",
162             "valueString" : "NotSet"
163           } ],
164           "identifier" : [ {
165             "type" : {
166               "coding" : [ {
167                 "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
168                 "code" : "JHN",
169                 "display" : "Jurisdictional Health Number"
170               } ],
171               "text" : "Jurisdictional Health Number"
172             },
173             "system" : "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-patient-hcn",
174             "value" : "6118103784::AY"
175           }, {
176             "type" : {
177               "coding" : [ {
178                 "system" : "http://apps.health.code.system",
179                 "code" : "link-guid",
180                 "display" : "link-guid"
181               } ],
182               "text" : "link-guid"
183             },
184             "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
185             "value" : "ec292a73-736f-492a-af39-c731e42fdc59",
186             "assigner" : {
187               "reference" : "Organization/18"
188             }
189           } ],
190           "active" : true,
191           "name" : [ {
192             "use" : "official",
193             "family" : "BERGMAN",
194             "given" : [ "BARRY" ],
195             "prefix" : [ "MR" ]
196           }, {
197             "use" : "usual",
198             "given" : [ "BARRY" ]
199           } ],
200           "telecom" : [ {
201             "system" : "phone",
202             "value" : "416-567-1111",
203             "use" : "home"
204           }, {
205             "system" : "phone",
206             "value" : "416-567-2222",
207             "use" : "work"
208           }, {
209             "system" : "phone",
210             "value" : "416-567-3333",
211             "use" : "mobile",
212             "rank" : 1
213           } ],
214           "gender" : "male",
215           "birthDate" : "1950-01-18",
216           "deceasedBoolean" : false,
217           "address" : [ {
218             "line" : [ "235 Lady Valentina Avenue" ],
219             "city" : "Toronto",
220             "state" : "ON",
221             "postalCode" : "L6A 4T8",
222             "country" : "Canada"
223           } ],
224           "maritalStatus" : {
225             "coding" : [ {
226               "system" : "http://hl7.org/fhir/ValueSet/marital-status",
227               "code" : "U",
228               "display" : "unmarried"
229             } ],
230             "text" : "unmarried"
231           },
232           "contact" : [ {
233             "extension" : [ {
234               "url" : "http://apps.health.code.system/Patient/contactDemographicId",
235               "valueInteger" : 8
236             } ],
237             "relationship" : [ {
238               "coding" : [ {
239                 "system" : "http://unknown.code.system",
240                 "code" : "Father",
241                 "display" : "Father"
242               } ],
243               "text" : "Father"
244             } ],
245             "name" : {
246               "text" : "MR Jeff Neary"
247             },
248             "telecom" : [ {
249               "system" : "phone",
250               "value" : "905-",
251               "use" : "home"
252             }, {
253               "system" : "phone",
254               "value" : "778-896-5994",
255               "use" : "mobile"
256             }, {
257               "system" : "email",
258               "value" : "nearj2@gmail.com",
259               "use" : "home"
260             } ],
261             "address" : {
262               "line" : [ "29 Moreau Dr" ],
263               "city" : "Charlottetown",
264               "state" : "PE",
265               "postalCode" : "c1a2y3",
266               "country" : "Canada"
267             },
268             "gender" : "male"
269           } ],
270           "communication" : [ {
271             "extension" : [ {
272               "url" : "https://apps.health/Patient/is-official-language",
273               "valueBoolean" : true
274             } ],
275             "language" : {
276               "coding" : [ {
277                 "system" : "http://unknown.code.system",
278                 "code" : "English",
279                 "display" : "English"
280               } ],
281               "text" : "English"
282             }
283           } ],
284           "generalPractitioner" : [ {
285             "extension" : [ {
286               "url" : "https://apps.health/Patient/isMrp",
287               "valueBoolean" : true
288             } ],
289             "reference" : "#Practitioner/41",
290             "display" : "Test/Provider"
291           }, {
292             "extension" : [ {
293               "url" : "https://apps.health/Patient/isEnrollmentProvider",
294               "valueBoolean" : true
295             } ],
296             "reference" : "#Practitioner/43",
297             "display" : "Hypercare/App"
298           } ],
299           "managingOrganization" : {
300             "reference" : "#1"
301           },
302           "link" : [ {
303             "modifierExtension" : [ {
304               "url" : "https://oscarpro.ca/fhir/StructureDefinition/link-status",
305               "valueString" : "NO_MATCH"
306             } ],
307             "other" : {
308               "reference" : "#2"
309             },
310             "type" : "seealso"
311           } ]
312         }
313       } ]
314     }
315   }, {
316     "fullUrl" : "http://apps.health/Bundle/8be520c4-5668-4941-b5c7-30a8516f2f7f",
317     "resource" : {
318       "resourceType" : "Bundle",
319       "identifier" : {
320         "system" : "patient-chart-bundle-identifier",
321         "value" : "doctors"
322       },
323       "type" : "collection",
324       "total" : 1,
325       "entry" : [ {
326         "fullUrl" : "http://apps.health/Practitioner/fe9c9bc2-91d1-40a5-b989-80bc3a088374",
327         "resource" : {
328           "resourceType" : "Practitioner",
329           "id" : "41",
330           "language" : "en-CA",
331           "extension" : [ {
332             "url" : "https://apps.health/Pratitioner/provider-type",
333             "valueCodeableConcept" : {
334               "coding" : [ {
335                 "system" : "http://unknown.code.system",
336                 "code" : "doctor",
337                 "display" : "doctor"
338               } ],
339               "text" : "doctor"
340             }
341           }, {
342             "url" : "https://apps.health/Pratitioner/comments",
343             "valueString" : "<xml_p_specialty_code>00</xml_p_specialty_code><xml_p_billinggroup_no>0000</xml_p_billinggroup_no>"
344           }, {
345             "url" : "https://apps.health/Pratitioner/last-updated-by",
346             "valueString" : "999998"
347           }, {
348             "url" : "https://apps.health/Pratitioner/last-updated-date-time",
349             "valueDateTime" : "2024-11-19T03:15:27+00:00"
350           }, {
351             "url" : "https://apps.health/Pratitioner/third-party-only",
352             "valueBoolean" : false
353           }, {
354             "url" : "https://apps.health/Pratitioner/has-schedule",
355             "valueBoolean" : true
356           }, {
357             "url" : "https://apps.health/Pratitioner/receives-ticklers",
358             "valueBoolean" : true
359           } ],
360           "identifier" : [ {
361             "type" : {
362               "coding" : [ {
363                 "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
364                 "code" : "LN",
365                 "display" : "License number"
366               } ],
367               "text" : "CPSO"
368             },
369             "value" : "12345"
370           } ],
371           "active" : true,
372           "name" : [ {
373             "use" : "official",
374             "family" : "Provider",
375             "given" : [ "Test" ]
376           } ],
377           "telecom" : [ {
378             "system" : "email",
379             "value" : "rajs797979+25@gmail.com"
380           } ],
381           "gender" : "unknown"
382         }
383       } ]
384     }
385   }, {
386     "fullUrl" : "http://apps.health/Bundle/a4f7ff12-d4fc-4f21-b7ad-d9bc6c1704bb",
387     "resource" : {
388       "resourceType" : "Bundle",
389       "identifier" : {
390         "system" : "patient-chart-bundle-identifier",
391         "value" : "allergies"
392       },
393       "type" : "collection",
394       "total" : 2,
395       "entry" : [ {
396         "fullUrl" : "http://apps.health/AllergyIntolerance/d9f8c5e5-bbcc-4b54-888f-5addbfb52930",
397         "resource" : {
398           "resourceType" : "AllergyIntolerance",
399           "id" : "96",
400           "extension" : [ {
401             "url" : "https://apps.health/AllergyIntolerance/onset-start-date",
402             "valueDateTime" : "2022-04-01T04:00:00+00:00"
403           }, {
404             "url" : "https://apps.health/AllergyIntolerance/life-stage",
405             "valueString" : "Newborn"
406           } ],
407           "clinicalStatus" : {
408             "coding" : [ {
409               "system" : "http://hl7.org/fhir/ValueSet/allergyintolerance-clinical",
410               "code" : "active"
411             } ]
412           },
413           "type" : "allergy",
414           "code" : {
415             "coding" : [ {
416               "code" : "Brand Name",
417               "display" : "Brand Name"
418             } ]
419           },
420           "patient" : {
421             "reference" : "Patient/44"
422           },
423           "onsetString" : "Gradual",
424           "recordedDate" : "2022-04-22T04:00:00+00:00",
425           "recorder" : {
426             "reference" : "Practitioner/41"
427           },
428           "note" : [ {
429             "text" : "AK-PENTOLATE"
430           } ],
431           "reaction" : [ {
432             "severity" : "mild"
433           } ]
434         }
435       }, {
436         "fullUrl" : "http://apps.health/AllergyIntolerance/644b7fe8-bff6-4fa6-8307-31d0c94c01fa",
437         "resource" : {
438           "resourceType" : "AllergyIntolerance",
439           "id" : "106",
440           "extension" : [ {
441             "url" : "https://apps.health/AllergyIntolerance/onset-start-date",
442             "valueDateTime" : "2024-12-04T05:00:00+00:00"
443           }, {
444             "url" : "https://apps.health/AllergyIntolerance/life-stage",
445             "valueString" : "Adult"
446           } ],
447           "clinicalStatus" : {
448             "coding" : [ {
449               "system" : "http://hl7.org/fhir/ValueSet/allergyintolerance-clinical",
450               "code" : "active"
451             } ]
452           },
453           "type" : "allergy",
454           "code" : {
455             "coding" : [ {
456               "code" : "Unknown",
457               "display" : "Unknown"
458             } ]
459           },
460           "patient" : {
461             "reference" : "Patient/44"
462           },
463           "onsetString" : "Slow",
464           "recordedDate" : "2024-12-12T05:00:00+00:00",
465           "recorder" : {
466             "reference" : "Practitioner/84"
467           },
468           "note" : [ {
469             "text" : "NKDA"
470           } ],
471           "reaction" : [ {
472             "manifestation" : [ {
473               "text" : "Allergy reaction test"
474             } ],
475             "severity" : "moderate"
476           } ]
477         }
478       } ]
479     }
480   }, {
481     "fullUrl" : "http://apps.health/Bundle/c5f35366-d750-4826-886a-c11adb56a5d4",
482     "resource" : {
483       "resourceType" : "Bundle",
484       "identifier" : {
485         "system" : "patient-chart-bundle-identifier",
486         "value" : "social-history"
487       },
488       "type" : "collection",
489       "total" : 2,
490       "entry" : [ {
491         "fullUrl" : "http://apps.health/Observation/fa8fe1c0-a75a-4134-80ec-5b8753d75eb1",
492         "resource" : {
493           "resourceType" : "Observation",
494           "id" : "258befbd-1dfb-4ef4-865b-1d3900b21d80",
495           "identifier" : [ {
496             "system" : "https://apps.health/ValueSet/oscar-pro-resource-type-case-management-note",
497             "value" : "88"
498           } ],
499           "status" : "final",
500           "category" : [ {
501             "coding" : [ {
502               "system" : "http://hl7.org/fhir/observation-category",
503               "code" : "social-history",
504               "display" : "Social History"
505             } ],
506             "text" : "Social History"
507           } ],
508           "code" : {
509             "coding" : [ {
510               "system" : "http://loinc.org",
511               "code" : "10166-7",
512               "display" : "History of Social function Narrative"
513             } ],
514             "text" : "History of Social function Narrative"
515           },
516           "effectiveDateTime" : "2021-11-12T15:01:28+00:00",
517           "issued" : "2021-11-12T15:01:28.000+00:00",
518           "performer" : [ {
519             "reference" : "Practitioner/999998"
520           } ],
521           "valueString" : "s hist"
522         }
523       }, {
524         "fullUrl" : "http://apps.health/Observation/fadf84ca-3658-4416-98fb-2ac12236390e",
525         "resource" : {
526           "resourceType" : "Observation",
527           "id" : "ae61d01e-1388-4a2f-9b4f-db64fb6e6c4a",
528           "identifier" : [ {
529             "system" : "https://apps.health/ValueSet/oscar-pro-resource-type-case-management-note",
530             "value" : "94"
531           } ],
532           "status" : "final",
533           "category" : [ {
534             "coding" : [ {
535               "system" : "http://hl7.org/fhir/observation-category",
536               "code" : "social-history",
537               "display" : "Social History"
538             } ],
539             "text" : "Social History"
540           } ],
541           "code" : {
542             "coding" : [ {
543               "system" : "http://loinc.org",
544               "code" : "10157-6",
545               "display" : "History of family member diseases Narrative"
546             } ],
547             "text" : "History of family member diseases Narrative"
548           },
549           "encounter" : {
550             "reference" : "Encounter/29"
551           },
552           "effectiveDateTime" : "2021-11-12T15:02:28+00:00",
553           "issued" : "2021-11-12T15:02:28.000+00:00",
554           "performer" : [ {
555             "reference" : "Practitioner/999998"
556           } ],
557           "valueString" : "f hist"
558         }
559       } ]
560     }
561   }, {
562     "fullUrl" : "http://apps.health/Bundle/3e5b8edf-5b70-4c08-9ae0-968e9f55df21",
563     "resource" : {
564       "resourceType" : "Bundle",
565       "identifier" : {
566         "system" : "patient-chart-bundle-identifier",
567         "value" : "notes"
568       },
569       "type" : "collection",
570       "total" : 13,
571       "entry" : [ {
572         "fullUrl" : "http://apps.health/DocumentReference/34face16-ac62-4a58-b1f3-126d6e73a5f6",
573         "resource" : {
574           "resourceType" : "DocumentReference",
575           "id" : "88",
576           "meta" : {
577             "lastUpdated" : "2021-11-12T15:01:28.000+00:00"
578           },
579           "language" : "en-CA",
580           "contained" : [ {
581             "resourceType" : "Encounter",
582             "id" : "258befbd-1dfb-4ef4-865b-1d3900b21d80",
583             "class" : {
584               "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
585               "code" : "VR",
586               "display" : "virtual",
587               "userSelected" : true
588             },
589             "subject" : {
590               "reference" : "#1"
591             },
592             "participant" : [ {
593               "type" : [ {
594                 "coding" : [ {
595                   "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
596                   "code" : "ATND",
597                   "display" : "attender",
598                   "userSelected" : false
599                 } ]
600               } ],
601               "individual" : {
602                 "reference" : "#4"
603               }
604             } ],
605             "period" : {
606               "start" : "2021-11-12T15:01:28+00:00",
607               "end" : "2021-11-12T15:01:28+00:00"
608             }
609           }, {
610             "resourceType" : "Patient",
611             "id" : "1",
612             "language" : "en-CA",
613             "extension" : [ {
614               "url" : "https://apps.health/Patient/rosterStatus",
615               "valueString" : "RO"
616             }, {
617               "url" : "https://apps.health/Patient/rosterDate",
618               "valueDateTime" : "2022-05-05T04:00:00+00:00"
619             }, {
620               "url" : "https://apps.health/Patient/statusDate",
621               "valueDateTime" : "2021-11-10T05:00:00+00:00"
622             }, {
623               "url" : "https://apps.health/Patient/dateJoined",
624               "valueDateTime" : "2021-11-10T05:00:00+00:00"
625             }, {
626               "url" : "https://apps.health/Patient/hcType",
627               "valueString" : "ON"
628             }, {
629               "url" : "https://apps.health/Patient/countryOfOrigin",
630               "valueString" : "-1"
631             }, {
632               "url" : "https://apps.health/Patient/newsletter",
633               "valueString" : "Unknown"
634             }, {
635               "url" : "https://apps.health/Patient/lastUpdateUser",
636               "valueString" : "56"
637             }, {
638               "url" : "https://apps.health/Patient/lastUpdateDate",
639               "valueDateTime" : "2023-01-12T21:02:36+00:00"
640             }, {
641               "url" : "https://apps.health/Patient/type",
642               "valueString" : "NotSet"
643             } ],
644             "identifier" : [ {
645               "type" : {
646                 "coding" : [ {
647                   "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
648                   "code" : "JHN",
649                   "display" : "Jurisdictional Health Number"
650                 } ],
651                 "text" : "Jurisdictional Health Number"
652               },
653               "system" : "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-patient-hcn",
654               "value" : "6118103784::AY"
655             }, {
656               "type" : {
657                 "coding" : [ {
658                   "system" : "http://apps.health.code.system",
659                   "code" : "link-guid",
660                   "display" : "link-guid"
661                 } ],
662                 "text" : "link-guid"
663               },
664               "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
665               "value" : "ec292a73-736f-492a-af39-c731e42fdc59",
666               "assigner" : {
667                 "reference" : "Organization/18"
668               }
669             } ],
670             "active" : true,
671             "name" : [ {
672               "use" : "official",
673               "family" : "BERGMAN",
674               "given" : [ "BARRY" ],
675               "prefix" : [ "MR" ]
676             }, {
677               "use" : "usual",
678               "given" : [ "BARRY" ]
679             } ],
680             "telecom" : [ {
681               "system" : "phone",
682               "value" : "416-567-1111",
683               "use" : "home"
684             }, {
685               "system" : "phone",
686               "value" : "416-567-2222",
687               "use" : "work"
688             }, {
689               "system" : "phone",
690               "value" : "416-567-3333",
691               "use" : "mobile",
692               "rank" : 1
693             } ],
694             "gender" : "male",
695             "birthDate" : "1950-01-18",
696             "deceasedBoolean" : false,
697             "address" : [ {
698               "line" : [ "235 Lady Valentina Avenue" ],
699               "city" : "Toronto",
700               "state" : "ON",
701               "postalCode" : "L6A 4T8",
702               "country" : "Canada"
703             } ],
704             "maritalStatus" : {
705               "coding" : [ {
706                 "system" : "http://hl7.org/fhir/ValueSet/marital-status",
707                 "code" : "U",
708                 "display" : "unmarried"
709               } ],
710               "text" : "unmarried"
711             },
712             "contact" : [ {
713               "extension" : [ {
714                 "url" : "http://apps.health.code.system/Patient/contactDemographicId",
715                 "valueInteger" : 8
716               } ],
717               "relationship" : [ {
718                 "coding" : [ {
719                   "system" : "http://unknown.code.system",
720                   "code" : "Father",
721                   "display" : "Father"
722                 } ],
723                 "text" : "Father"
724               } ],
725               "name" : {
726                 "text" : "MR Jeff Neary"
727               },
728               "telecom" : [ {
729                 "system" : "phone",
730                 "value" : "905-",
731                 "use" : "home"
732               }, {
733                 "system" : "phone",
734                 "value" : "778-896-5994",
735                 "use" : "mobile"
736               }, {
737                 "system" : "email",
738                 "value" : "nearj2@gmail.com",
739                 "use" : "home"
740               } ],
741               "address" : {
742                 "line" : [ "29 Moreau Dr" ],
743                 "city" : "Charlottetown",
744                 "state" : "PE",
745                 "postalCode" : "c1a2y3",
746                 "country" : "Canada"
747               },
748               "gender" : "male"
749             } ],
750             "communication" : [ {
751               "extension" : [ {
752                 "url" : "https://apps.health/Patient/is-official-language",
753                 "valueBoolean" : true
754               } ],
755               "language" : {
756                 "coding" : [ {
757                   "system" : "http://unknown.code.system",
758                   "code" : "English",
759                   "display" : "English"
760                 } ],
761                 "text" : "English"
762               }
763             } ],
764             "generalPractitioner" : [ {
765               "extension" : [ {
766                 "url" : "https://apps.health/Patient/isMrp",
767                 "valueBoolean" : true
768               } ],
769               "reference" : "#Practitioner/41",
770               "display" : "Test/Provider"
771             }, {
772               "extension" : [ {
773                 "url" : "https://apps.health/Patient/isEnrollmentProvider",
774                 "valueBoolean" : true
775               } ],
776               "reference" : "#Practitioner/43",
777               "display" : "Hypercare/App"
778             } ],
779             "managingOrganization" : {
780               "reference" : "#2"
781             },
782             "link" : [ {
783               "modifierExtension" : [ {
784                 "url" : "https://oscarpro.ca/fhir/StructureDefinition/link-status",
785                 "valueString" : "NO_MATCH"
786               } ],
787               "other" : {
788                 "reference" : "#3"
789               },
790               "type" : "seealso"
791             } ]
792           }, {
793             "resourceType" : "Organization",
794             "id" : "2",
795             "active" : true,
796             "name" : "Apps Health Medical",
797             "telecom" : [ {
798               "system" : "phone",
799               "value" : "555-555-5555"
800             }, {
801               "system" : "fax",
802               "value" : "555-555-5555"
803             } ],
804             "address" : [ {
805               "line" : [ "123 Vernon Road" ],
806               "city" : "Hamilton",
807               "state" : "Ontario"
808             } ]
809           }, {
810             "resourceType" : "Patient",
811             "id" : "3"
812           }, {
813             "resourceType" : "Practitioner",
814             "id" : "4",
815             "language" : "en-CA",
816             "extension" : [ {
817               "url" : "https://apps.health/Pratitioner/provider-type",
818               "valueCodeableConcept" : {
819                 "coding" : [ {
820                   "system" : "http://unknown.code.system",
821                   "code" : "doctor",
822                   "display" : "doctor"
823                 } ],
824                 "text" : "doctor"
825               }
826             }, {
827               "url" : "https://apps.health/Pratitioner/comments",
828               "valueString" : "<xml_p_billinggroup_no>1</xml_p_billinggroup_no>"
829             }, {
830               "url" : "https://apps.health/Pratitioner/last-updated-by",
831               "valueString" : "999998"
832             }, {
833               "url" : "https://apps.health/Pratitioner/last-updated-date-time",
834               "valueDateTime" : "2021-11-22T21:05:03+00:00"
835             }, {
836               "url" : "https://apps.health/Pratitioner/signed-confidentiality-date-time",
837               "valueDateTime" : "0001-01-01T05:00:00+00:00"
838             }, {
839               "url" : "https://apps.health/Pratitioner/third-party-only",
840               "valueBoolean" : false
841             }, {
842               "url" : "https://apps.health/Pratitioner/has-schedule",
843               "valueBoolean" : true
844             }, {
845               "url" : "https://apps.health/Pratitioner/receives-ticklers",
846               "valueBoolean" : true
847             } ],
848             "active" : true,
849             "name" : [ {
850               "use" : "official",
851               "family" : "oscardoc",
852               "given" : [ "doctor" ]
853             } ],
854             "gender" : "unknown",
855             "birthDate" : "0001-01-01"
856           } ],
857           "extension" : [ {
858             "url" : "https://apps.health/DocumentReference/appointment-no",
859             "valueInteger" : 0
860           }, {
861             "url" : "https://apps.health/DocumentReference/is-signed",
862             "valueBoolean" : true
863           }, {
864             "url" : "https://apps.health/DocumentReference/is-include-issue-in-note",
865             "valueBoolean" : true
866           }, {
867             "url" : "https://apps.health/DocumentReference/signing-provider-no",
868             "valueString" : "999998"
869           }, {
870             "url" : "https://apps.health/DocumentReference/observation-date",
871             "valueDateTime" : "2021-11-12T15:01:28+00:00"
872           }, {
873             "url" : "https://apps.health/DocumentReference/position",
874             "valueInteger" : 0
875           }, {
876             "url" : "https://apps.health/DocumentReference/program-id",
877             "valueString" : "10034"
878           }, {
879             "url" : "https://apps.health/DocumentReference/reporter-caisi-role",
880             "valueString" : "3"
881           } ],
882           "identifier" : [ {
883             "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
884             "value" : "258befbd-1dfb-4ef4-865b-1d3900b21d80",
885             "assigner" : {
886               "reference" : "Organization/18"
887             }
888           } ],
889           "status" : "current",
890           "docStatus" : "final",
891           "type" : {
892             "coding" : [ {
893               "system" : "http://loinc.org",
894               "code" : "11488-4",
895               "display" : "Consult note"
896             } ],
897             "text" : "Consult note"
898           },
899           "category" : [ {
900             "coding" : [ {
901               "system" : "https://apps.health/ValueSet/document-reference-category",
902               "code" : "note",
903               "display" : "note"
904             } ],
905             "text" : "note"
906           }, {
907             "extension" : [ {
908               "url" : "https://apps.health/DocumentReference/issue-is-acute",
909               "valueBoolean" : false
910             }, {
911               "url" : "https://apps.health/DocumentReference/issue-is-certain",
912               "valueBoolean" : false
913             }, {
914               "url" : "https://apps.health/DocumentReference/issue-is-major",
915               "valueBoolean" : false
916             }, {
917               "url" : "https://apps.health/DocumentReference/issue-is-resolved",
918               "valueBoolean" : false
919             }, {
920               "url" : "https://apps.health/DocumentReference/issue-type",
921               "valueString" : "nurse"
922             } ],
923             "coding" : [ {
924               "system" : "https://apps.health/ValueSet/document-reference-note-issue",
925               "code" : "SocHistory",
926               "display" : "SocHistory"
927             } ],
928             "text" : "SocHistory"
929           } ],
930           "subject" : {
931             "reference" : "Patient/44",
932             "identifier" : {
933               "type" : {
934                 "coding" : [ {
935                   "system" : "http://apps.health.code.system",
936                   "code" : "link-guid",
937                   "display" : "link-guid"
938                 } ],
939                 "text" : "link-guid"
940               },
941               "value" : "ec292a73-736f-492a-af39-c731e42fdc59"
942             }
943           },
944           "date" : "2021-11-12T15:01:28.000+00:00",
945           "author" : [ {
946             "reference" : "Practitioner/999998"
947           } ],
948           "content" : [ {
949             "extension" : [ {
950               "url" : "https://apps.health/DocumentReference/note-history",
951               "valueAttachment" : {
952                 "contentType" : "text",
953                 "data" : "cyBoaXN0"
954               }
955             } ],
956             "attachment" : {
957               "contentType" : "text",
958               "data" : "cyBoaXN0"
959             }
960           } ],
961           "context" : {
962             "encounter" : [ {
963               "reference" : "#Encounter/258befbd-1dfb-4ef4-865b-1d3900b21d80"
964             } ]
965           }
966         }
967       }, {
968         "fullUrl" : "http://apps.health/DocumentReference/15cb74ab-1e33-4fff-a7b1-bd6026966384",
969         "resource" : {
970           "resourceType" : "DocumentReference",
971           "id" : "89",
972           "meta" : {
973             "lastUpdated" : "2021-11-12T15:01:33.000+00:00"
974           },
975           "language" : "en-CA",
976           "contained" : [ {
977             "resourceType" : "Encounter",
978             "id" : "e52038f4-88e8-4dda-9def-5aa0eb4431d5",
979             "class" : {
980               "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
981               "code" : "VR",
982               "display" : "virtual",
983               "userSelected" : true
984             },
985             "subject" : {
986               "reference" : "#1"
987             },
988             "participant" : [ {
989               "type" : [ {
990                 "coding" : [ {
991                   "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
992                   "code" : "ATND",
993                   "display" : "attender",
994                   "userSelected" : false
995                 } ]
996               } ],
997               "individual" : {
998                 "reference" : "#4"
999               }
1000             } ],
1001             "period" : {
1002               "start" : "2021-11-12T15:01:33+00:00",
1003               "end" : "2021-11-12T15:01:33+00:00"
1004             }
1005           }, {
1006             "resourceType" : "Patient",
1007             "id" : "1",
1008             "language" : "en-CA",
1009             "extension" : [ {
1010               "url" : "https://apps.health/Patient/rosterStatus",
1011               "valueString" : "RO"
1012             }, {
1013               "url" : "https://apps.health/Patient/rosterDate",
1014               "valueDateTime" : "2022-05-05T04:00:00+00:00"
1015             }, {
1016               "url" : "https://apps.health/Patient/statusDate",
1017               "valueDateTime" : "2021-11-10T05:00:00+00:00"
1018             }, {
1019               "url" : "https://apps.health/Patient/dateJoined",
1020               "valueDateTime" : "2021-11-10T05:00:00+00:00"
1021             }, {
1022               "url" : "https://apps.health/Patient/hcType",
1023               "valueString" : "ON"
1024             }, {
1025               "url" : "https://apps.health/Patient/countryOfOrigin",
1026               "valueString" : "-1"
1027             }, {
1028               "url" : "https://apps.health/Patient/newsletter",
1029               "valueString" : "Unknown"
1030             }, {
1031               "url" : "https://apps.health/Patient/lastUpdateUser",
1032               "valueString" : "56"
1033             }, {
1034               "url" : "https://apps.health/Patient/lastUpdateDate",
1035               "valueDateTime" : "2023-01-12T21:02:36+00:00"
1036             }, {
1037               "url" : "https://apps.health/Patient/type",
1038               "valueString" : "NotSet"
1039             } ],
1040             "identifier" : [ {
1041               "type" : {
1042                 "coding" : [ {
1043                   "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
1044                   "code" : "JHN",
1045                   "display" : "Jurisdictional Health Number"
1046                 } ],
1047                 "text" : "Jurisdictional Health Number"
1048               },
1049               "system" : "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-patient-hcn",
1050               "value" : "6118103784::AY"
1051             }, {
1052               "type" : {
1053                 "coding" : [ {
1054                   "system" : "http://apps.health.code.system",
1055                   "code" : "link-guid",
1056                   "display" : "link-guid"
1057                 } ],
1058                 "text" : "link-guid"
1059               },
1060               "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
1061               "value" : "ec292a73-736f-492a-af39-c731e42fdc59",
1062               "assigner" : {
1063                 "reference" : "Organization/18"
1064               }
1065             } ],
1066             "active" : true,
1067             "name" : [ {
1068               "use" : "official",
1069               "family" : "BERGMAN",
1070               "given" : [ "BARRY" ],
1071               "prefix" : [ "MR" ]
1072             }, {
1073               "use" : "usual",
1074               "given" : [ "BARRY" ]
1075             } ],
1076             "telecom" : [ {
1077               "system" : "phone",
1078               "value" : "416-567-1111",
1079               "use" : "home"
1080             }, {
1081               "system" : "phone",
1082               "value" : "416-567-2222",
1083               "use" : "work"
1084             }, {
1085               "system" : "phone",
1086               "value" : "416-567-3333",
1087               "use" : "mobile",
1088               "rank" : 1
1089             } ],
1090             "gender" : "male",
1091             "birthDate" : "1950-01-18",
1092             "deceasedBoolean" : false,
1093             "address" : [ {
1094               "line" : [ "235 Lady Valentina Avenue" ],
1095               "city" : "Toronto",
1096               "state" : "ON",
1097               "postalCode" : "L6A 4T8",
1098               "country" : "Canada"
1099             } ],
1100             "maritalStatus" : {
1101               "coding" : [ {
1102                 "system" : "http://hl7.org/fhir/ValueSet/marital-status",
1103                 "code" : "U",
1104                 "display" : "unmarried"
1105               } ],
1106               "text" : "unmarried"
1107             },
1108             "contact" : [ {
1109               "extension" : [ {
1110                 "url" : "http://apps.health.code.system/Patient/contactDemographicId",
1111                 "valueInteger" : 8
1112               } ],
1113               "relationship" : [ {
1114                 "coding" : [ {
1115                   "system" : "http://unknown.code.system",
1116                   "code" : "Father",
1117                   "display" : "Father"
1118                 } ],
1119                 "text" : "Father"
1120               } ],
1121               "name" : {
1122                 "text" : "MR Jeff Neary"
1123               },
1124               "telecom" : [ {
1125                 "system" : "phone",
1126                 "value" : "905-",
1127                 "use" : "home"
1128               }, {
1129                 "system" : "phone",
1130                 "value" : "778-896-5994",
1131                 "use" : "mobile"
1132               }, {
1133                 "system" : "email",
1134                 "value" : "nearj2@gmail.com",
1135                 "use" : "home"
1136               } ],
1137               "address" : {
1138                 "line" : [ "29 Moreau Dr" ],
1139                 "city" : "Charlottetown",
1140                 "state" : "PE",
1141                 "postalCode" : "c1a2y3",
1142                 "country" : "Canada"
1143               },
1144               "gender" : "male"
1145             } ],
1146             "communication" : [ {
1147               "extension" : [ {
1148                 "url" : "https://apps.health/Patient/is-official-language",
1149                 "valueBoolean" : true
1150               } ],
1151               "language" : {
1152                 "coding" : [ {
1153                   "system" : "http://unknown.code.system",
1154                   "code" : "English",
1155                   "display" : "English"
1156                 } ],
1157                 "text" : "English"
1158               }
1159             } ],
1160             "generalPractitioner" : [ {
1161               "extension" : [ {
1162                 "url" : "https://apps.health/Patient/isMrp",
1163                 "valueBoolean" : true
1164               } ],
1165               "reference" : "#Practitioner/41",
1166               "display" : "Test/Provider"
1167             }, {
1168               "extension" : [ {
1169                 "url" : "https://apps.health/Patient/isEnrollmentProvider",
1170                 "valueBoolean" : true
1171               } ],
1172               "reference" : "#Practitioner/43",
1173               "display" : "Hypercare/App"
1174             } ],
1175             "managingOrganization" : {
1176               "reference" : "#2"
1177             },
1178             "link" : [ {
1179               "modifierExtension" : [ {
1180                 "url" : "https://oscarpro.ca/fhir/StructureDefinition/link-status",
1181                 "valueString" : "NO_MATCH"
1182               } ],
1183               "other" : {
1184                 "reference" : "#3"
1185               },
1186               "type" : "seealso"
1187             } ]
1188           }, {
1189             "resourceType" : "Organization",
1190             "id" : "2",
1191             "active" : true,
1192             "name" : "Apps Health Medical",
1193             "telecom" : [ {
1194               "system" : "phone",
1195               "value" : "555-555-5555"
1196             }, {
1197               "system" : "fax",
1198               "value" : "555-555-5555"
1199             } ],
1200             "address" : [ {
1201               "line" : [ "123 Vernon Road" ],
1202               "city" : "Hamilton",
1203               "state" : "Ontario"
1204             } ]
1205           }, {
1206             "resourceType" : "Patient",
1207             "id" : "3"
1208           }, {
1209             "resourceType" : "Practitioner",
1210             "id" : "4",
1211             "language" : "en-CA",
1212             "extension" : [ {
1213               "url" : "https://apps.health/Pratitioner/provider-type",
1214               "valueCodeableConcept" : {
1215                 "coding" : [ {
1216                   "system" : "http://unknown.code.system",
1217                   "code" : "doctor",
1218                   "display" : "doctor"
1219                 } ],
1220                 "text" : "doctor"
1221               }
1222             }, {
1223               "url" : "https://apps.health/Pratitioner/comments",
1224               "valueString" : "<xml_p_billinggroup_no>1</xml_p_billinggroup_no>"
1225             }, {
1226               "url" : "https://apps.health/Pratitioner/last-updated-by",
1227               "valueString" : "999998"
1228             }, {
1229               "url" : "https://apps.health/Pratitioner/last-updated-date-time",
1230               "valueDateTime" : "2021-11-22T21:05:03+00:00"
1231             }, {
1232               "url" : "https://apps.health/Pratitioner/signed-confidentiality-date-time",
1233               "valueDateTime" : "0001-01-01T05:00:00+00:00"
1234             }, {
1235               "url" : "https://apps.health/Pratitioner/third-party-only",
1236               "valueBoolean" : false
1237             }, {
1238               "url" : "https://apps.health/Pratitioner/has-schedule",
1239               "valueBoolean" : true
1240             }, {
1241               "url" : "https://apps.health/Pratitioner/receives-ticklers",
1242               "valueBoolean" : true
1243             } ],
1244             "active" : true,
1245             "name" : [ {
1246               "use" : "official",
1247               "family" : "oscardoc",
1248               "given" : [ "doctor" ]
1249             } ],
1250             "gender" : "unknown",
1251             "birthDate" : "0001-01-01"
1252           } ],
1253           "extension" : [ {
1254             "url" : "https://apps.health/DocumentReference/appointment-no",
1255             "valueInteger" : 0
1256           }, {
1257             "url" : "https://apps.health/DocumentReference/is-signed",
1258             "valueBoolean" : true
1259           }, {
1260             "url" : "https://apps.health/DocumentReference/is-include-issue-in-note",
1261             "valueBoolean" : true
1262           }, {
1263             "url" : "https://apps.health/DocumentReference/signing-provider-no",
1264             "valueString" : "999998"
1265           }, {
1266             "url" : "https://apps.health/DocumentReference/observation-date",
1267             "valueDateTime" : "2021-11-12T15:01:33+00:00"
1268           }, {
1269             "url" : "https://apps.health/DocumentReference/position",
1270             "valueInteger" : 0
1271           }, {
1272             "url" : "https://apps.health/DocumentReference/program-id",
1273             "valueString" : "10034"
1274           }, {
1275             "url" : "https://apps.health/DocumentReference/reporter-caisi-role",
1276             "valueString" : "3"
1277           } ],
1278           "identifier" : [ {
1279             "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
1280             "value" : "e52038f4-88e8-4dda-9def-5aa0eb4431d5",
1281             "assigner" : {
1282               "reference" : "Organization/18"
1283             }
1284           } ],
1285           "status" : "current",
1286           "docStatus" : "final",
1287           "type" : {
1288             "coding" : [ {
1289               "system" : "http://loinc.org",
1290               "code" : "11488-4",
1291               "display" : "Consult note"
1292             } ],
1293             "text" : "Consult note"
1294           },
1295           "category" : [ {
1296             "coding" : [ {
1297               "system" : "https://apps.health/ValueSet/document-reference-category",
1298               "code" : "note",
1299               "display" : "note"
1300             } ],
1301             "text" : "note"
1302           }, {
1303             "extension" : [ {
1304               "url" : "https://apps.health/DocumentReference/issue-is-acute",
1305               "valueBoolean" : false
1306             }, {
1307               "url" : "https://apps.health/DocumentReference/issue-is-certain",
1308               "valueBoolean" : false
1309             }, {
1310               "url" : "https://apps.health/DocumentReference/issue-is-major",
1311               "valueBoolean" : false
1312             }, {
1313               "url" : "https://apps.health/DocumentReference/issue-is-resolved",
1314               "valueBoolean" : false
1315             }, {
1316               "url" : "https://apps.health/DocumentReference/issue-type",
1317               "valueString" : "nurse"
1318             } ],
1319             "coding" : [ {
1320               "system" : "https://apps.health/ValueSet/document-reference-note-issue",
1321               "code" : "Concerns",
1322               "display" : "Concerns"
1323             } ],
1324             "text" : "Concerns"
1325           } ],
1326           "subject" : {
1327             "reference" : "Patient/44",
1328             "identifier" : {
1329               "type" : {
1330                 "coding" : [ {
1331                   "system" : "http://apps.health.code.system",
1332                   "code" : "link-guid",
1333                   "display" : "link-guid"
1334                 } ],
1335                 "text" : "link-guid"
1336               },
1337               "value" : "ec292a73-736f-492a-af39-c731e42fdc59"
1338             }
1339           },
1340           "date" : "2021-11-12T15:01:33.000+00:00",
1341           "author" : [ {
1342             "reference" : "Practitioner/999998"
1343           } ],
1344           "content" : [ {
1345             "extension" : [ {
1346               "url" : "https://apps.health/DocumentReference/note-history",
1347               "valueAttachment" : {
1348                 "contentType" : "text",
1349                 "data" : "byBjb25j"
1350               }
1351             } ],
1352             "attachment" : {
1353               "contentType" : "text",
1354               "data" : "byBjb25j"
1355             }
1356           } ],
1357           "context" : {
1358             "encounter" : [ {
1359               "reference" : "#Encounter/e52038f4-88e8-4dda-9def-5aa0eb4431d5"
1360             } ]
1361           }
1362         }
1363       }, {
1364         "fullUrl" : "http://apps.health/DocumentReference/1b5249e8-eac3-47b9-a9c4-63f85a7839ac",
1365         "resource" : {
1366           "resourceType" : "DocumentReference",
1367           "id" : "90",
1368           "meta" : {
1369             "lastUpdated" : "2021-11-12T15:01:38.000+00:00"
1370           },
1371           "language" : "en-CA",
1372           "contained" : [ {
1373             "resourceType" : "Encounter",
1374             "id" : "2fa626c8-d10c-4447-8ac0-bf929922e6d1",
1375             "class" : {
1376               "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
1377               "code" : "VR",
1378               "display" : "virtual",
1379               "userSelected" : true
1380             },
1381             "subject" : {
1382               "reference" : "#1"
1383             },
1384             "participant" : [ {
1385               "type" : [ {
1386                 "coding" : [ {
1387                   "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
1388                   "code" : "ATND",
1389                   "display" : "attender",
1390                   "userSelected" : false
1391                 } ]
1392               } ],
1393               "individual" : {
1394                 "reference" : "#4"
1395               }
1396             } ],
1397             "period" : {
1398               "start" : "2021-11-12T15:01:38+00:00",
1399               "end" : "2021-11-12T15:01:38+00:00"
1400             }
1401           }, {
1402             "resourceType" : "Patient",
1403             "id" : "1",
1404             "language" : "en-CA",
1405             "extension" : [ {
1406               "url" : "https://apps.health/Patient/rosterStatus",
1407               "valueString" : "RO"
1408             }, {
1409               "url" : "https://apps.health/Patient/rosterDate",
1410               "valueDateTime" : "2022-05-05T04:00:00+00:00"
1411             }, {
1412               "url" : "https://apps.health/Patient/statusDate",
1413               "valueDateTime" : "2021-11-10T05:00:00+00:00"
1414             }, {
1415               "url" : "https://apps.health/Patient/dateJoined",
1416               "valueDateTime" : "2021-11-10T05:00:00+00:00"
1417             }, {
1418               "url" : "https://apps.health/Patient/hcType",
1419               "valueString" : "ON"
1420             }, {
1421               "url" : "https://apps.health/Patient/countryOfOrigin",
1422               "valueString" : "-1"
1423             }, {
1424               "url" : "https://apps.health/Patient/newsletter",
1425               "valueString" : "Unknown"
1426             }, {
1427               "url" : "https://apps.health/Patient/lastUpdateUser",
1428               "valueString" : "56"
1429             }, {
1430               "url" : "https://apps.health/Patient/lastUpdateDate",
1431               "valueDateTime" : "2023-01-12T21:02:36+00:00"
1432             }, {
1433               "url" : "https://apps.health/Patient/type",
1434               "valueString" : "NotSet"
1435             } ],
1436             "identifier" : [ {
1437               "type" : {
1438                 "coding" : [ {
1439                   "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
1440                   "code" : "JHN",
1441                   "display" : "Jurisdictional Health Number"
1442                 } ],
1443                 "text" : "Jurisdictional Health Number"
1444               },
1445               "system" : "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-patient-hcn",
1446               "value" : "6118103784::AY"
1447             }, {
1448               "type" : {
1449                 "coding" : [ {
1450                   "system" : "http://apps.health.code.system",
1451                   "code" : "link-guid",
1452                   "display" : "link-guid"
1453                 } ],
1454                 "text" : "link-guid"
1455               },
1456               "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
1457               "value" : "ec292a73-736f-492a-af39-c731e42fdc59",
1458               "assigner" : {
1459                 "reference" : "Organization/18"
1460               }
1461             } ],
1462             "active" : true,
1463             "name" : [ {
1464               "use" : "official",
1465               "family" : "BERGMAN",
1466               "given" : [ "BARRY" ],
1467               "prefix" : [ "MR" ]
1468             }, {
1469               "use" : "usual",
1470               "given" : [ "BARRY" ]
1471             } ],
1472             "telecom" : [ {
1473               "system" : "phone",
1474               "value" : "416-567-1111",
1475               "use" : "home"
1476             }, {
1477               "system" : "phone",
1478               "value" : "416-567-2222",
1479               "use" : "work"
1480             }, {
1481               "system" : "phone",
1482               "value" : "416-567-3333",
1483               "use" : "mobile",
1484               "rank" : 1
1485             } ],
1486             "gender" : "male",
1487             "birthDate" : "1950-01-18",
1488             "deceasedBoolean" : false,
1489             "address" : [ {
1490               "line" : [ "235 Lady Valentina Avenue" ],
1491               "city" : "Toronto",
1492               "state" : "ON",
1493               "postalCode" : "L6A 4T8",
1494               "country" : "Canada"
1495             } ],
1496             "maritalStatus" : {
1497               "coding" : [ {
1498                 "system" : "http://hl7.org/fhir/ValueSet/marital-status",
1499                 "code" : "U",
1500                 "display" : "unmarried"
1501               } ],
1502               "text" : "unmarried"
1503             },
1504             "contact" : [ {
1505               "extension" : [ {
1506                 "url" : "http://apps.health.code.system/Patient/contactDemographicId",
1507                 "valueInteger" : 8
1508               } ],
1509               "relationship" : [ {
1510                 "coding" : [ {
1511                   "system" : "http://unknown.code.system",
1512                   "code" : "Father",
1513                   "display" : "Father"
1514                 } ],
1515                 "text" : "Father"
1516               } ],
1517               "name" : {
1518                 "text" : "MR Jeff Neary"
1519               },
1520               "telecom" : [ {
1521                 "system" : "phone",
1522                 "value" : "905-",
1523                 "use" : "home"
1524               }, {
1525                 "system" : "phone",
1526                 "value" : "778-896-5994",
1527                 "use" : "mobile"
1528               }, {
1529                 "system" : "email",
1530                 "value" : "nearj2@gmail.com",
1531                 "use" : "home"
1532               } ],
1533               "address" : {
1534                 "line" : [ "29 Moreau Dr" ],
1535                 "city" : "Charlottetown",
1536                 "state" : "PE",
1537                 "postalCode" : "c1a2y3",
1538                 "country" : "Canada"
1539               },
1540               "gender" : "male"
1541             } ],
1542             "communication" : [ {
1543               "extension" : [ {
1544                 "url" : "https://apps.health/Patient/is-official-language",
1545                 "valueBoolean" : true
1546               } ],
1547               "language" : {
1548                 "coding" : [ {
1549                   "system" : "http://unknown.code.system",
1550                   "code" : "English",
1551                   "display" : "English"
1552                 } ],
1553                 "text" : "English"
1554               }
1555             } ],
1556             "generalPractitioner" : [ {
1557               "extension" : [ {
1558                 "url" : "https://apps.health/Patient/isMrp",
1559                 "valueBoolean" : true
1560               } ],
1561               "reference" : "#Practitioner/41",
1562               "display" : "Test/Provider"
1563             }, {
1564               "extension" : [ {
1565                 "url" : "https://apps.health/Patient/isEnrollmentProvider",
1566                 "valueBoolean" : true
1567               } ],
1568               "reference" : "#Practitioner/43",
1569               "display" : "Hypercare/App"
1570             } ],
1571             "managingOrganization" : {
1572               "reference" : "#2"
1573             },
1574             "link" : [ {
1575               "modifierExtension" : [ {
1576                 "url" : "https://oscarpro.ca/fhir/StructureDefinition/link-status",
1577                 "valueString" : "NO_MATCH"
1578               } ],
1579               "other" : {
1580                 "reference" : "#3"
1581               },
1582               "type" : "seealso"
1583             } ]
1584           }, {
1585             "resourceType" : "Organization",
1586             "id" : "2",
1587             "active" : true,
1588             "name" : "Apps Health Medical",
1589             "telecom" : [ {
1590               "system" : "phone",
1591               "value" : "555-555-5555"
1592             }, {
1593               "system" : "fax",
1594               "value" : "555-555-5555"
1595             } ],
1596             "address" : [ {
1597               "line" : [ "123 Vernon Road" ],
1598               "city" : "Hamilton",
1599               "state" : "Ontario"
1600             } ]
1601           }, {
1602             "resourceType" : "Patient",
1603             "id" : "3"
1604           }, {
1605             "resourceType" : "Practitioner",
1606             "id" : "4",
1607             "language" : "en-CA",
1608             "extension" : [ {
1609               "url" : "https://apps.health/Pratitioner/provider-type",
1610               "valueCodeableConcept" : {
1611                 "coding" : [ {
1612                   "system" : "http://unknown.code.system",
1613                   "code" : "doctor",
1614                   "display" : "doctor"
1615                 } ],
1616                 "text" : "doctor"
1617               }
1618             }, {
1619               "url" : "https://apps.health/Pratitioner/comments",
1620               "valueString" : "<xml_p_billinggroup_no>1</xml_p_billinggroup_no>"
1621             }, {
1622               "url" : "https://apps.health/Pratitioner/last-updated-by",
1623               "valueString" : "999998"
1624             }, {
1625               "url" : "https://apps.health/Pratitioner/last-updated-date-time",
1626               "valueDateTime" : "2021-11-22T21:05:03+00:00"
1627             }, {
1628               "url" : "https://apps.health/Pratitioner/signed-confidentiality-date-time",
1629               "valueDateTime" : "0001-01-01T05:00:00+00:00"
1630             }, {
1631               "url" : "https://apps.health/Pratitioner/third-party-only",
1632               "valueBoolean" : false
1633             }, {
1634               "url" : "https://apps.health/Pratitioner/has-schedule",
1635               "valueBoolean" : true
1636             }, {
1637               "url" : "https://apps.health/Pratitioner/receives-ticklers",
1638               "valueBoolean" : true
1639             } ],
1640             "active" : true,
1641             "name" : [ {
1642               "use" : "official",
1643               "family" : "oscardoc",
1644               "given" : [ "doctor" ]
1645             } ],
1646             "gender" : "unknown",
1647             "birthDate" : "0001-01-01"
1648           } ],
1649           "extension" : [ {
1650             "url" : "https://apps.health/DocumentReference/appointment-no",
1651             "valueInteger" : 0
1652           }, {
1653             "url" : "https://apps.health/DocumentReference/is-signed",
1654             "valueBoolean" : true
1655           }, {
1656             "url" : "https://apps.health/DocumentReference/is-include-issue-in-note",
1657             "valueBoolean" : true
1658           }, {
1659             "url" : "https://apps.health/DocumentReference/signing-provider-no",
1660             "valueString" : "999998"
1661           }, {
1662             "url" : "https://apps.health/DocumentReference/observation-date",
1663             "valueDateTime" : "2021-11-12T15:01:38+00:00"
1664           }, {
1665             "url" : "https://apps.health/DocumentReference/position",
1666             "valueInteger" : 0
1667           }, {
1668             "url" : "https://apps.health/DocumentReference/program-id",
1669             "valueString" : "10034"
1670           }, {
1671             "url" : "https://apps.health/DocumentReference/reporter-caisi-role",
1672             "valueString" : "3"
1673           } ],
1674           "identifier" : [ {
1675             "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
1676             "value" : "2fa626c8-d10c-4447-8ac0-bf929922e6d1",
1677             "assigner" : {
1678               "reference" : "Organization/18"
1679             }
1680           } ],
1681           "status" : "current",
1682           "docStatus" : "final",
1683           "type" : {
1684             "coding" : [ {
1685               "system" : "http://loinc.org",
1686               "code" : "11488-4",
1687               "display" : "Consult note"
1688             } ],
1689             "text" : "Consult note"
1690           },
1691           "category" : [ {
1692             "coding" : [ {
1693               "system" : "https://apps.health/ValueSet/document-reference-category",
1694               "code" : "note",
1695               "display" : "note"
1696             } ],
1697             "text" : "note"
1698           }, {
1699             "extension" : [ {
1700               "url" : "https://apps.health/DocumentReference/issue-is-acute",
1701               "valueBoolean" : false
1702             }, {
1703               "url" : "https://apps.health/DocumentReference/issue-is-certain",
1704               "valueBoolean" : false
1705             }, {
1706               "url" : "https://apps.health/DocumentReference/issue-is-major",
1707               "valueBoolean" : false
1708             }, {
1709               "url" : "https://apps.health/DocumentReference/issue-is-resolved",
1710               "valueBoolean" : false
1711             }, {
1712               "url" : "https://apps.health/DocumentReference/issue-type",
1713               "valueString" : "nurse"
1714             } ],
1715             "coding" : [ {
1716               "system" : "https://apps.health/ValueSet/document-reference-note-issue",
1717               "code" : "MedHistory",
1718               "display" : "MedHistory"
1719             } ],
1720             "text" : "MedHistory"
1721           } ],
1722           "subject" : {
1723             "reference" : "Patient/44",
1724             "identifier" : {
1725               "type" : {
1726                 "coding" : [ {
1727                   "system" : "http://apps.health.code.system",
1728                   "code" : "link-guid",
1729                   "display" : "link-guid"
1730                 } ],
1731                 "text" : "link-guid"
1732               },
1733               "value" : "ec292a73-736f-492a-af39-c731e42fdc59"
1734             }
1735           },
1736           "date" : "2021-11-12T15:01:38.000+00:00",
1737           "author" : [ {
1738             "reference" : "Practitioner/999998"
1739           } ],
1740           "content" : [ {
1741             "extension" : [ {
1742               "url" : "https://apps.health/DocumentReference/note-history",
1743               "valueAttachment" : {
1744                 "contentType" : "text",
1745                 "data" : "bSBoaXN0"
1746               }
1747             } ],
1748             "attachment" : {
1749               "contentType" : "text",
1750               "data" : "bSBoaXN0"
1751             }
1752           } ],
1753           "context" : {
1754             "encounter" : [ {
1755               "reference" : "#Encounter/2fa626c8-d10c-4447-8ac0-bf929922e6d1"
1756             } ]
1757           }
1758         }
1759       }, {
1760         "fullUrl" : "http://apps.health/DocumentReference/4097926a-3bc1-472c-bcae-f3c8583a34e1",
1761         "resource" : {
1762           "resourceType" : "DocumentReference",
1763           "id" : "91",
1764           "meta" : {
1765             "lastUpdated" : "2021-11-12T15:01:48.000+00:00"
1766           },
1767           "language" : "en-CA",
1768           "contained" : [ {
1769             "resourceType" : "Encounter",
1770             "id" : "d7837811-b7b8-4cbf-8eb7-0669c8e0cd3c",
1771             "class" : {
1772               "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
1773               "code" : "VR",
1774               "display" : "virtual",
1775               "userSelected" : true
1776             },
1777             "subject" : {
1778               "reference" : "#1"
1779             },
1780             "participant" : [ {
1781               "type" : [ {
1782                 "coding" : [ {
1783                   "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
1784                   "code" : "ATND",
1785                   "display" : "attender",
1786                   "userSelected" : false
1787                 } ]
1788               } ],
1789               "individual" : {
1790                 "reference" : "#4"
1791               }
1792             } ],
1793             "period" : {
1794               "start" : "2021-11-12T15:01:48+00:00",
1795               "end" : "2021-11-12T15:01:48+00:00"
1796             }
1797           }, {
1798             "resourceType" : "Patient",
1799             "id" : "1",
1800             "language" : "en-CA",
1801             "extension" : [ {
1802               "url" : "https://apps.health/Patient/rosterStatus",
1803               "valueString" : "RO"
1804             }, {
1805               "url" : "https://apps.health/Patient/rosterDate",
1806               "valueDateTime" : "2022-05-05T04:00:00+00:00"
1807             }, {
1808               "url" : "https://apps.health/Patient/statusDate",
1809               "valueDateTime" : "2021-11-10T05:00:00+00:00"
1810             }, {
1811               "url" : "https://apps.health/Patient/dateJoined",
1812               "valueDateTime" : "2021-11-10T05:00:00+00:00"
1813             }, {
1814               "url" : "https://apps.health/Patient/hcType",
1815               "valueString" : "ON"
1816             }, {
1817               "url" : "https://apps.health/Patient/countryOfOrigin",
1818               "valueString" : "-1"
1819             }, {
1820               "url" : "https://apps.health/Patient/newsletter",
1821               "valueString" : "Unknown"
1822             }, {
1823               "url" : "https://apps.health/Patient/lastUpdateUser",
1824               "valueString" : "56"
1825             }, {
1826               "url" : "https://apps.health/Patient/lastUpdateDate",
1827               "valueDateTime" : "2023-01-12T21:02:36+00:00"
1828             }, {
1829               "url" : "https://apps.health/Patient/type",
1830               "valueString" : "NotSet"
1831             } ],
1832             "identifier" : [ {
1833               "type" : {
1834                 "coding" : [ {
1835                   "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
1836                   "code" : "JHN",
1837                   "display" : "Jurisdictional Health Number"
1838                 } ],
1839                 "text" : "Jurisdictional Health Number"
1840               },
1841               "system" : "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-patient-hcn",
1842               "value" : "6118103784::AY"
1843             }, {
1844               "type" : {
1845                 "coding" : [ {
1846                   "system" : "http://apps.health.code.system",
1847                   "code" : "link-guid",
1848                   "display" : "link-guid"
1849                 } ],
1850                 "text" : "link-guid"
1851               },
1852               "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
1853               "value" : "ec292a73-736f-492a-af39-c731e42fdc59",
1854               "assigner" : {
1855                 "reference" : "Organization/18"
1856               }
1857             } ],
1858             "active" : true,
1859             "name" : [ {
1860               "use" : "official",
1861               "family" : "BERGMAN",
1862               "given" : [ "BARRY" ],
1863               "prefix" : [ "MR" ]
1864             }, {
1865               "use" : "usual",
1866               "given" : [ "BARRY" ]
1867             } ],
1868             "telecom" : [ {
1869               "system" : "phone",
1870               "value" : "416-567-1111",
1871               "use" : "home"
1872             }, {
1873               "system" : "phone",
1874               "value" : "416-567-2222",
1875               "use" : "work"
1876             }, {
1877               "system" : "phone",
1878               "value" : "416-567-3333",
1879               "use" : "mobile",
1880               "rank" : 1
1881             } ],
1882             "gender" : "male",
1883             "birthDate" : "1950-01-18",
1884             "deceasedBoolean" : false,
1885             "address" : [ {
1886               "line" : [ "235 Lady Valentina Avenue" ],
1887               "city" : "Toronto",
1888               "state" : "ON",
1889               "postalCode" : "L6A 4T8",
1890               "country" : "Canada"
1891             } ],
1892             "maritalStatus" : {
1893               "coding" : [ {
1894                 "system" : "http://hl7.org/fhir/ValueSet/marital-status",
1895                 "code" : "U",
1896                 "display" : "unmarried"
1897               } ],
1898               "text" : "unmarried"
1899             },
1900             "contact" : [ {
1901               "extension" : [ {
1902                 "url" : "http://apps.health.code.system/Patient/contactDemographicId",
1903                 "valueInteger" : 8
1904               } ],
1905               "relationship" : [ {
1906                 "coding" : [ {
1907                   "system" : "http://unknown.code.system",
1908                   "code" : "Father",
1909                   "display" : "Father"
1910                 } ],
1911                 "text" : "Father"
1912               } ],
1913               "name" : {
1914                 "text" : "MR Jeff Neary"
1915               },
1916               "telecom" : [ {
1917                 "system" : "phone",
1918                 "value" : "905-",
1919                 "use" : "home"
1920               }, {
1921                 "system" : "phone",
1922                 "value" : "778-896-5994",
1923                 "use" : "mobile"
1924               }, {
1925                 "system" : "email",
1926                 "value" : "nearj2@gmail.com",
1927                 "use" : "home"
1928               } ],
1929               "address" : {
1930                 "line" : [ "29 Moreau Dr" ],
1931                 "city" : "Charlottetown",
1932                 "state" : "PE",
1933                 "postalCode" : "c1a2y3",
1934                 "country" : "Canada"
1935               },
1936               "gender" : "male"
1937             } ],
1938             "communication" : [ {
1939               "extension" : [ {
1940                 "url" : "https://apps.health/Patient/is-official-language",
1941                 "valueBoolean" : true
1942               } ],
1943               "language" : {
1944                 "coding" : [ {
1945                   "system" : "http://unknown.code.system",
1946                   "code" : "English",
1947                   "display" : "English"
1948                 } ],
1949                 "text" : "English"
1950               }
1951             } ],
1952             "generalPractitioner" : [ {
1953               "extension" : [ {
1954                 "url" : "https://apps.health/Patient/isMrp",
1955                 "valueBoolean" : true
1956               } ],
1957               "reference" : "#Practitioner/41",
1958               "display" : "Test/Provider"
1959             }, {
1960               "extension" : [ {
1961                 "url" : "https://apps.health/Patient/isEnrollmentProvider",
1962                 "valueBoolean" : true
1963               } ],
1964               "reference" : "#Practitioner/43",
1965               "display" : "Hypercare/App"
1966             } ],
1967             "managingOrganization" : {
1968               "reference" : "#2"
1969             },
1970             "link" : [ {
1971               "modifierExtension" : [ {
1972                 "url" : "https://oscarpro.ca/fhir/StructureDefinition/link-status",
1973                 "valueString" : "NO_MATCH"
1974               } ],
1975               "other" : {
1976                 "reference" : "#3"
1977               },
1978               "type" : "seealso"
1979             } ]
1980           }, {
1981             "resourceType" : "Organization",
1982             "id" : "2",
1983             "active" : true,
1984             "name" : "Apps Health Medical",
1985             "telecom" : [ {
1986               "system" : "phone",
1987               "value" : "555-555-5555"
1988             }, {
1989               "system" : "fax",
1990               "value" : "555-555-5555"
1991             } ],
1992             "address" : [ {
1993               "line" : [ "123 Vernon Road" ],
1994               "city" : "Hamilton",
1995               "state" : "Ontario"
1996             } ]
1997           }, {
1998             "resourceType" : "Patient",
1999             "id" : "3"
2000           }, {
2001             "resourceType" : "Practitioner",
2002             "id" : "4",
2003             "language" : "en-CA",
2004             "extension" : [ {
2005               "url" : "https://apps.health/Pratitioner/provider-type",
2006               "valueCodeableConcept" : {
2007                 "coding" : [ {
2008                   "system" : "http://unknown.code.system",
2009                   "code" : "doctor",
2010                   "display" : "doctor"
2011                 } ],
2012                 "text" : "doctor"
2013               }
2014             }, {
2015               "url" : "https://apps.health/Pratitioner/comments",
2016               "valueString" : "<xml_p_billinggroup_no>1</xml_p_billinggroup_no>"
2017             }, {
2018               "url" : "https://apps.health/Pratitioner/last-updated-by",
2019               "valueString" : "999998"
2020             }, {
2021               "url" : "https://apps.health/Pratitioner/last-updated-date-time",
2022               "valueDateTime" : "2021-11-22T21:05:03+00:00"
2023             }, {
2024               "url" : "https://apps.health/Pratitioner/signed-confidentiality-date-time",
2025               "valueDateTime" : "0001-01-01T05:00:00+00:00"
2026             }, {
2027               "url" : "https://apps.health/Pratitioner/third-party-only",
2028               "valueBoolean" : false
2029             }, {
2030               "url" : "https://apps.health/Pratitioner/has-schedule",
2031               "valueBoolean" : true
2032             }, {
2033               "url" : "https://apps.health/Pratitioner/receives-ticklers",
2034               "valueBoolean" : true
2035             } ],
2036             "active" : true,
2037             "name" : [ {
2038               "use" : "official",
2039               "family" : "oscardoc",
2040               "given" : [ "doctor" ]
2041             } ],
2042             "gender" : "unknown",
2043             "birthDate" : "0001-01-01"
2044           } ],
2045           "extension" : [ {
2046             "url" : "https://apps.health/DocumentReference/appointment-no",
2047             "valueInteger" : 0
2048           }, {
2049             "url" : "https://apps.health/DocumentReference/is-signed",
2050             "valueBoolean" : true
2051           }, {
2052             "url" : "https://apps.health/DocumentReference/is-include-issue-in-note",
2053             "valueBoolean" : true
2054           }, {
2055             "url" : "https://apps.health/DocumentReference/signing-provider-no",
2056             "valueString" : "999998"
2057           }, {
2058             "url" : "https://apps.health/DocumentReference/observation-date",
2059             "valueDateTime" : "2021-11-12T15:01:48+00:00"
2060           }, {
2061             "url" : "https://apps.health/DocumentReference/position",
2062             "valueInteger" : 0
2063           }, {
2064             "url" : "https://apps.health/DocumentReference/program-id",
2065             "valueString" : "10034"
2066           }, {
2067             "url" : "https://apps.health/DocumentReference/reporter-caisi-role",
2068             "valueString" : "3"
2069           } ],
2070           "identifier" : [ {
2071             "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
2072             "value" : "d7837811-b7b8-4cbf-8eb7-0669c8e0cd3c",
2073             "assigner" : {
2074               "reference" : "Organization/18"
2075             }
2076           } ],
2077           "status" : "current",
2078           "docStatus" : "final",
2079           "type" : {
2080             "coding" : [ {
2081               "system" : "http://loinc.org",
2082               "code" : "11488-4",
2083               "display" : "Consult note"
2084             } ],
2085             "text" : "Consult note"
2086           },
2087           "category" : [ {
2088             "coding" : [ {
2089               "system" : "https://apps.health/ValueSet/document-reference-category",
2090               "code" : "note",
2091               "display" : "note"
2092             } ],
2093             "text" : "note"
2094           }, {
2095             "extension" : [ {
2096               "url" : "https://apps.health/DocumentReference/issue-is-acute",
2097               "valueBoolean" : false
2098             }, {
2099               "url" : "https://apps.health/DocumentReference/issue-is-certain",
2100               "valueBoolean" : false
2101             }, {
2102               "url" : "https://apps.health/DocumentReference/issue-is-major",
2103               "valueBoolean" : false
2104             }, {
2105               "url" : "https://apps.health/DocumentReference/issue-is-resolved",
2106               "valueBoolean" : false
2107             }, {
2108               "url" : "https://apps.health/DocumentReference/issue-type",
2109               "valueString" : "nurse"
2110             } ],
2111             "coding" : [ {
2112               "system" : "https://apps.health/ValueSet/document-reference-note-issue",
2113               "code" : "Reminders",
2114               "display" : "Reminders"
2115             } ],
2116             "text" : "Reminders"
2117           } ],
2118           "subject" : {
2119             "reference" : "Patient/44",
2120             "identifier" : {
2121               "type" : {
2122                 "coding" : [ {
2123                   "system" : "http://apps.health.code.system",
2124                   "code" : "link-guid",
2125                   "display" : "link-guid"
2126                 } ],
2127                 "text" : "link-guid"
2128               },
2129               "value" : "ec292a73-736f-492a-af39-c731e42fdc59"
2130             }
2131           },
2132           "date" : "2021-11-12T15:01:48.000+00:00",
2133           "author" : [ {
2134             "reference" : "Practitioner/999998"
2135           } ],
2136           "content" : [ {
2137             "extension" : [ {
2138               "url" : "https://apps.health/DocumentReference/note-history",
2139               "valueAttachment" : {
2140                 "contentType" : "text",
2141                 "data" : "cmVtaQ=="
2142               }
2143             } ],
2144             "attachment" : {
2145               "contentType" : "text",
2146               "data" : "cmVtaQ=="
2147             }
2148           } ],
2149           "context" : {
2150             "encounter" : [ {
2151               "reference" : "#Encounter/d7837811-b7b8-4cbf-8eb7-0669c8e0cd3c"
2152             } ]
2153           }
2154         }
2155       }, {
2156         "fullUrl" : "http://apps.health/DocumentReference/50754f7a-5c77-4e8c-88d3-cd4e9e811e7f",
2157         "resource" : {
2158           "resourceType" : "DocumentReference",
2159           "id" : "92",
2160           "meta" : {
2161             "lastUpdated" : "2021-11-12T15:02:16.000+00:00"
2162           },
2163           "language" : "en-CA",
2164           "contained" : [ {
2165             "resourceType" : "Encounter",
2166             "id" : "47af7fd2-d017-464e-a35c-06ef7e9f4b0d",
2167             "status" : "planned",
2168             "class" : {
2169               "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
2170               "code" : "VR",
2171               "display" : "virtual",
2172               "userSelected" : true
2173             },
2174             "subject" : {
2175               "reference" : "#1"
2176             },
2177             "participant" : [ {
2178               "type" : [ {
2179                 "coding" : [ {
2180                   "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
2181                   "code" : "ATND",
2182                   "display" : "attender",
2183                   "userSelected" : false
2184                 } ]
2185               } ],
2186               "individual" : {
2187                 "reference" : "#4"
2188               }
2189             } ],
2190             "appointment" : [ {
2191               "reference" : "#5"
2192             } ],
2193             "period" : {
2194               "start" : "2021-11-12T15:02:16+00:00",
2195               "end" : "2021-11-12T15:02:16+00:00"
2196             }
2197           }, {
2198             "resourceType" : "Patient",
2199             "id" : "1",
2200             "language" : "en-CA",
2201             "extension" : [ {
2202               "url" : "https://apps.health/Patient/rosterStatus",
2203               "valueString" : "RO"
2204             }, {
2205               "url" : "https://apps.health/Patient/rosterDate",
2206               "valueDateTime" : "2022-05-05T04:00:00+00:00"
2207             }, {
2208               "url" : "https://apps.health/Patient/statusDate",
2209               "valueDateTime" : "2021-11-10T05:00:00+00:00"
2210             }, {
2211               "url" : "https://apps.health/Patient/dateJoined",
2212               "valueDateTime" : "2021-11-10T05:00:00+00:00"
2213             }, {
2214               "url" : "https://apps.health/Patient/hcType",
2215               "valueString" : "ON"
2216             }, {
2217               "url" : "https://apps.health/Patient/countryOfOrigin",
2218               "valueString" : "-1"
2219             }, {
2220               "url" : "https://apps.health/Patient/newsletter",
2221               "valueString" : "Unknown"
2222             }, {
2223               "url" : "https://apps.health/Patient/lastUpdateUser",
2224               "valueString" : "56"
2225             }, {
2226               "url" : "https://apps.health/Patient/lastUpdateDate",
2227               "valueDateTime" : "2023-01-12T21:02:36+00:00"
2228             }, {
2229               "url" : "https://apps.health/Patient/type",
2230               "valueString" : "NotSet"
2231             } ],
2232             "identifier" : [ {
2233               "type" : {
2234                 "coding" : [ {
2235                   "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
2236                   "code" : "JHN",
2237                   "display" : "Jurisdictional Health Number"
2238                 } ],
2239                 "text" : "Jurisdictional Health Number"
2240               },
2241               "system" : "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-patient-hcn",
2242               "value" : "6118103784::AY"
2243             }, {
2244               "type" : {
2245                 "coding" : [ {
2246                   "system" : "http://apps.health.code.system",
2247                   "code" : "link-guid",
2248                   "display" : "link-guid"
2249                 } ],
2250                 "text" : "link-guid"
2251               },
2252               "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
2253               "value" : "ec292a73-736f-492a-af39-c731e42fdc59",
2254               "assigner" : {
2255                 "reference" : "Organization/18"
2256               }
2257             } ],
2258             "active" : true,
2259             "name" : [ {
2260               "use" : "official",
2261               "family" : "BERGMAN",
2262               "given" : [ "BARRY" ],
2263               "prefix" : [ "MR" ]
2264             }, {
2265               "use" : "usual",
2266               "given" : [ "BARRY" ]
2267             } ],
2268             "telecom" : [ {
2269               "system" : "phone",
2270               "value" : "416-567-1111",
2271               "use" : "home"
2272             }, {
2273               "system" : "phone",
2274               "value" : "416-567-2222",
2275               "use" : "work"
2276             }, {
2277               "system" : "phone",
2278               "value" : "416-567-3333",
2279               "use" : "mobile",
2280               "rank" : 1
2281             } ],
2282             "gender" : "male",
2283             "birthDate" : "1950-01-18",
2284             "deceasedBoolean" : false,
2285             "address" : [ {
2286               "line" : [ "235 Lady Valentina Avenue" ],
2287               "city" : "Toronto",
2288               "state" : "ON",
2289               "postalCode" : "L6A 4T8",
2290               "country" : "Canada"
2291             } ],
2292             "maritalStatus" : {
2293               "coding" : [ {
2294                 "system" : "http://hl7.org/fhir/ValueSet/marital-status",
2295                 "code" : "U",
2296                 "display" : "unmarried"
2297               } ],
2298               "text" : "unmarried"
2299             },
2300             "contact" : [ {
2301               "extension" : [ {
2302                 "url" : "http://apps.health.code.system/Patient/contactDemographicId",
2303                 "valueInteger" : 8
2304               } ],
2305               "relationship" : [ {
2306                 "coding" : [ {
2307                   "system" : "http://unknown.code.system",
2308                   "code" : "Father",
2309                   "display" : "Father"
2310                 } ],
2311                 "text" : "Father"
2312               } ],
2313               "name" : {
2314                 "text" : "MR Jeff Neary"
2315               },
2316               "telecom" : [ {
2317                 "system" : "phone",
2318                 "value" : "905-",
2319                 "use" : "home"
2320               }, {
2321                 "system" : "phone",
2322                 "value" : "778-896-5994",
2323                 "use" : "mobile"
2324               }, {
2325                 "system" : "email",
2326                 "value" : "nearj2@gmail.com",
2327                 "use" : "home"
2328               } ],
2329               "address" : {
2330                 "line" : [ "29 Moreau Dr" ],
2331                 "city" : "Charlottetown",
2332                 "state" : "PE",
2333                 "postalCode" : "c1a2y3",
2334                 "country" : "Canada"
2335               },
2336               "gender" : "male"
2337             } ],
2338             "communication" : [ {
2339               "extension" : [ {
2340                 "url" : "https://apps.health/Patient/is-official-language",
2341                 "valueBoolean" : true
2342               } ],
2343               "language" : {
2344                 "coding" : [ {
2345                   "system" : "http://unknown.code.system",
2346                   "code" : "English",
2347                   "display" : "English"
2348                 } ],
2349                 "text" : "English"
2350               }
2351             } ],
2352             "generalPractitioner" : [ {
2353               "extension" : [ {
2354                 "url" : "https://apps.health/Patient/isMrp",
2355                 "valueBoolean" : true
2356               } ],
2357               "reference" : "#Practitioner/41",
2358               "display" : "Test/Provider"
2359             }, {
2360               "extension" : [ {
2361                 "url" : "https://apps.health/Patient/isEnrollmentProvider",
2362                 "valueBoolean" : true
2363               } ],
2364               "reference" : "#Practitioner/43",
2365               "display" : "Hypercare/App"
2366             } ],
2367             "managingOrganization" : {
2368               "reference" : "#2"
2369             },
2370             "link" : [ {
2371               "modifierExtension" : [ {
2372                 "url" : "https://oscarpro.ca/fhir/StructureDefinition/link-status",
2373                 "valueString" : "NO_MATCH"
2374               } ],
2375               "other" : {
2376                 "reference" : "#3"
2377               },
2378               "type" : "seealso"
2379             } ]
2380           }, {
2381             "resourceType" : "Organization",
2382             "id" : "2",
2383             "active" : true,
2384             "name" : "Apps Health Medical",
2385             "telecom" : [ {
2386               "system" : "phone",
2387               "value" : "555-555-5555"
2388             }, {
2389               "system" : "fax",
2390               "value" : "555-555-5555"
2391             } ],
2392             "address" : [ {
2393               "line" : [ "123 Vernon Road" ],
2394               "city" : "Hamilton",
2395               "state" : "Ontario"
2396             } ]
2397           }, {
2398             "resourceType" : "Patient",
2399             "id" : "3"
2400           }, {
2401             "resourceType" : "Practitioner",
2402             "id" : "4",
2403             "language" : "en-CA",
2404             "extension" : [ {
2405               "url" : "https://apps.health/Pratitioner/provider-type",
2406               "valueCodeableConcept" : {
2407                 "coding" : [ {
2408                   "system" : "http://unknown.code.system",
2409                   "code" : "doctor",
2410                   "display" : "doctor"
2411                 } ],
2412                 "text" : "doctor"
2413               }
2414             }, {
2415               "url" : "https://apps.health/Pratitioner/comments",
2416               "valueString" : "<xml_p_billinggroup_no>1</xml_p_billinggroup_no>"
2417             }, {
2418               "url" : "https://apps.health/Pratitioner/last-updated-by",
2419               "valueString" : "999998"
2420             }, {
2421               "url" : "https://apps.health/Pratitioner/last-updated-date-time",
2422               "valueDateTime" : "2021-11-22T21:05:03+00:00"
2423             }, {
2424               "url" : "https://apps.health/Pratitioner/signed-confidentiality-date-time",
2425               "valueDateTime" : "0001-01-01T05:00:00+00:00"
2426             }, {
2427               "url" : "https://apps.health/Pratitioner/third-party-only",
2428               "valueBoolean" : false
2429             }, {
2430               "url" : "https://apps.health/Pratitioner/has-schedule",
2431               "valueBoolean" : true
2432             }, {
2433               "url" : "https://apps.health/Pratitioner/receives-ticklers",
2434               "valueBoolean" : true
2435             } ],
2436             "active" : true,
2437             "name" : [ {
2438               "use" : "official",
2439               "family" : "oscardoc",
2440               "given" : [ "doctor" ]
2441             } ],
2442             "gender" : "unknown",
2443             "birthDate" : "0001-01-01"
2444           }, {
2445             "resourceType" : "Appointment",
2446             "id" : "5",
2447             "language" : "en-CA",
2448             "extension" : [ {
2449               "url" : "https://apps.health/Appointment/updated-date-time",
2450               "valueDateTime" : "2022-03-24T23:22:13+00:00"
2451             }, {
2452               "url" : "https://apps.health/Appointment/creator",
2453               "valueString" : "oscardoc, doctor"
2454             }, {
2455               "url" : "https://apps.health/Appointment/updated-by",
2456               "valueString" : "57"
2457             }, {
2458               "url" : "https://apps.health/Appointment/see-receptionist-at-checkin",
2459               "valueBoolean" : false
2460             }, {
2461               "url" : "https://apps.health/Appointment/reason",
2462               "valueString" : "Run a pregnancy test"
2463             } ],
2464             "status" : "booked",
2465             "appointmentType" : {
2466               "coding" : [ {
2467                 "system" : "http://unknown.code.system",
2468                 "code" : "Blood Lab",
2469                 "display" : "Blood Lab"
2470               } ],
2471               "text" : "Blood Lab"
2472             },
2473             "reasonCode" : [ {
2474               "coding" : [ {
2475                 "system" : "http://unknown.code.system",
2476                 "code" : "12",
2477                 "display" : "12"
2478               } ],
2479               "text" : "12"
2480             } ],
2481             "description" : "BERGMAN, BARRY",
2482             "start" : "2021-11-10T15:45:00.000+00:00",
2483             "end" : "2021-11-10T15:45:00.000+00:00",
2484             "minutesDuration" : 1,
2485             "created" : "2021-11-10T18:04:13+00:00",
2486             "comment" : "Take a note",
2487             "participant" : [ {
2488               "actor" : {
2489                 "reference" : "Practitioner/999998"
2490               }
2491             }, {
2492               "actor" : {
2493                 "reference" : "Patient/44"
2494               }
2495             }, {
2496               "actor" : {
2497                 "reference" : "Location/Toronto"
2498               }
2499             } ]
2500           } ],
2501           "extension" : [ {
2502             "url" : "https://apps.health/DocumentReference/appointment-no",
2503             "valueInteger" : 29
2504           }, {
2505             "url" : "https://apps.health/DocumentReference/is-signed",
2506             "valueBoolean" : true
2507           }, {
2508             "url" : "https://apps.health/DocumentReference/is-include-issue-in-note",
2509             "valueBoolean" : true
2510           }, {
2511             "url" : "https://apps.health/DocumentReference/signing-provider-no",
2512             "valueString" : "999998"
2513           }, {
2514             "url" : "https://apps.health/DocumentReference/observation-date",
2515             "valueDateTime" : "2021-11-12T15:02:16+00:00"
2516           }, {
2517             "url" : "https://apps.health/DocumentReference/position",
2518             "valueInteger" : 0
2519           }, {
2520             "url" : "https://apps.health/DocumentReference/program-id",
2521             "valueString" : "10034"
2522           }, {
2523             "url" : "https://apps.health/DocumentReference/reporter-caisi-role",
2524             "valueString" : "3"
2525           } ],
2526           "identifier" : [ {
2527             "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
2528             "value" : "47af7fd2-d017-464e-a35c-06ef7e9f4b0d",
2529             "assigner" : {
2530               "reference" : "Organization/18"
2531             }
2532           } ],
2533           "status" : "current",
2534           "docStatus" : "final",
2535           "type" : {
2536             "coding" : [ {
2537               "system" : "http://loinc.org",
2538               "code" : "11488-4",
2539               "display" : "Consult note"
2540             } ],
2541             "text" : "Consult note"
2542           },
2543           "category" : [ {
2544             "coding" : [ {
2545               "system" : "https://apps.health/ValueSet/document-reference-category",
2546               "code" : "note",
2547               "display" : "note"
2548             } ],
2549             "text" : "note"
2550           }, {
2551             "extension" : [ {
2552               "url" : "https://apps.health/DocumentReference/issue-is-acute",
2553               "valueBoolean" : false
2554             }, {
2555               "url" : "https://apps.health/DocumentReference/issue-is-certain",
2556               "valueBoolean" : false
2557             }, {
2558               "url" : "https://apps.health/DocumentReference/issue-is-major",
2559               "valueBoolean" : false
2560             }, {
2561               "url" : "https://apps.health/DocumentReference/issue-is-resolved",
2562               "valueBoolean" : false
2563             }, {
2564               "url" : "https://apps.health/DocumentReference/issue-type",
2565               "valueString" : "nurse"
2566             } ],
2567             "coding" : [ {
2568               "system" : "https://apps.health/ValueSet/document-reference-note-issue",
2569               "code" : "OMeds",
2570               "display" : "OMeds"
2571             } ],
2572             "text" : "OMeds"
2573           } ],
2574           "subject" : {
2575             "reference" : "Patient/44",
2576             "identifier" : {
2577               "type" : {
2578                 "coding" : [ {
2579                   "system" : "http://apps.health.code.system",
2580                   "code" : "link-guid",
2581                   "display" : "link-guid"
2582                 } ],
2583                 "text" : "link-guid"
2584               },
2585               "value" : "ec292a73-736f-492a-af39-c731e42fdc59"
2586             }
2587           },
2588           "date" : "2021-11-12T15:02:16.000+00:00",
2589           "author" : [ {
2590             "reference" : "Practitioner/999998"
2591           } ],
2592           "content" : [ {
2593             "extension" : [ {
2594               "url" : "https://apps.health/DocumentReference/note-history",
2595               "valueAttachment" : {
2596                 "contentType" : "text",
2597                 "data" : "byBtZWRz"
2598               }
2599             } ],
2600             "attachment" : {
2601               "contentType" : "text",
2602               "data" : "byBtZWRz"
2603             }
2604           } ],
2605           "context" : {
2606             "encounter" : [ {
2607               "reference" : "#Encounter/47af7fd2-d017-464e-a35c-06ef7e9f4b0d"
2608             } ]
2609           }
2610         }
2611       }, {
2612         "fullUrl" : "http://apps.health/DocumentReference/072311ec-7c53-4e37-8a88-bd254bb7e5f2",
2613         "resource" : {
2614           "resourceType" : "DocumentReference",
2615           "id" : "93",
2616           "meta" : {
2617             "lastUpdated" : "2021-11-12T15:02:24.000+00:00"
2618           },
2619           "language" : "en-CA",
2620           "contained" : [ {
2621             "resourceType" : "Encounter",
2622             "id" : "0a9ad95f-4452-4302-9392-e80e49bb4ff8",
2623             "status" : "planned",
2624             "class" : {
2625               "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
2626               "code" : "VR",
2627               "display" : "virtual",
2628               "userSelected" : true
2629             },
2630             "subject" : {
2631               "reference" : "#1"
2632             },
2633             "participant" : [ {
2634               "type" : [ {
2635                 "coding" : [ {
2636                   "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
2637                   "code" : "ATND",
2638                   "display" : "attender",
2639                   "userSelected" : false
2640                 } ]
2641               } ],
2642               "individual" : {
2643                 "reference" : "#4"
2644               }
2645             } ],
2646             "appointment" : [ {
2647               "reference" : "#5"
2648             } ],
2649             "period" : {
2650               "start" : "2021-11-12T15:02:24+00:00",
2651               "end" : "2021-11-12T15:02:24+00:00"
2652             }
2653           }, {
2654             "resourceType" : "Patient",
2655             "id" : "1",
2656             "language" : "en-CA",
2657             "extension" : [ {
2658               "url" : "https://apps.health/Patient/rosterStatus",
2659               "valueString" : "RO"
2660             }, {
2661               "url" : "https://apps.health/Patient/rosterDate",
2662               "valueDateTime" : "2022-05-05T04:00:00+00:00"
2663             }, {
2664               "url" : "https://apps.health/Patient/statusDate",
2665               "valueDateTime" : "2021-11-10T05:00:00+00:00"
2666             }, {
2667               "url" : "https://apps.health/Patient/dateJoined",
2668               "valueDateTime" : "2021-11-10T05:00:00+00:00"
2669             }, {
2670               "url" : "https://apps.health/Patient/hcType",
2671               "valueString" : "ON"
2672             }, {
2673               "url" : "https://apps.health/Patient/countryOfOrigin",
2674               "valueString" : "-1"
2675             }, {
2676               "url" : "https://apps.health/Patient/newsletter",
2677               "valueString" : "Unknown"
2678             }, {
2679               "url" : "https://apps.health/Patient/lastUpdateUser",
2680               "valueString" : "56"
2681             }, {
2682               "url" : "https://apps.health/Patient/lastUpdateDate",
2683               "valueDateTime" : "2023-01-12T21:02:36+00:00"
2684             }, {
2685               "url" : "https://apps.health/Patient/type",
2686               "valueString" : "NotSet"
2687             } ],
2688             "identifier" : [ {
2689               "type" : {
2690                 "coding" : [ {
2691                   "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
2692                   "code" : "JHN",
2693                   "display" : "Jurisdictional Health Number"
2694                 } ],
2695                 "text" : "Jurisdictional Health Number"
2696               },
2697               "system" : "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-patient-hcn",
2698               "value" : "6118103784::AY"
2699             }, {
2700               "type" : {
2701                 "coding" : [ {
2702                   "system" : "http://apps.health.code.system",
2703                   "code" : "link-guid",
2704                   "display" : "link-guid"
2705                 } ],
2706                 "text" : "link-guid"
2707               },
2708               "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
2709               "value" : "ec292a73-736f-492a-af39-c731e42fdc59",
2710               "assigner" : {
2711                 "reference" : "Organization/18"
2712               }
2713             } ],
2714             "active" : true,
2715             "name" : [ {
2716               "use" : "official",
2717               "family" : "BERGMAN",
2718               "given" : [ "BARRY" ],
2719               "prefix" : [ "MR" ]
2720             }, {
2721               "use" : "usual",
2722               "given" : [ "BARRY" ]
2723             } ],
2724             "telecom" : [ {
2725               "system" : "phone",
2726               "value" : "416-567-1111",
2727               "use" : "home"
2728             }, {
2729               "system" : "phone",
2730               "value" : "416-567-2222",
2731               "use" : "work"
2732             }, {
2733               "system" : "phone",
2734               "value" : "416-567-3333",
2735               "use" : "mobile",
2736               "rank" : 1
2737             } ],
2738             "gender" : "male",
2739             "birthDate" : "1950-01-18",
2740             "deceasedBoolean" : false,
2741             "address" : [ {
2742               "line" : [ "235 Lady Valentina Avenue" ],
2743               "city" : "Toronto",
2744               "state" : "ON",
2745               "postalCode" : "L6A 4T8",
2746               "country" : "Canada"
2747             } ],
2748             "maritalStatus" : {
2749               "coding" : [ {
2750                 "system" : "http://hl7.org/fhir/ValueSet/marital-status",
2751                 "code" : "U",
2752                 "display" : "unmarried"
2753               } ],
2754               "text" : "unmarried"
2755             },
2756             "contact" : [ {
2757               "extension" : [ {
2758                 "url" : "http://apps.health.code.system/Patient/contactDemographicId",
2759                 "valueInteger" : 8
2760               } ],
2761               "relationship" : [ {
2762                 "coding" : [ {
2763                   "system" : "http://unknown.code.system",
2764                   "code" : "Father",
2765                   "display" : "Father"
2766                 } ],
2767                 "text" : "Father"
2768               } ],
2769               "name" : {
2770                 "text" : "MR Jeff Neary"
2771               },
2772               "telecom" : [ {
2773                 "system" : "phone",
2774                 "value" : "905-",
2775                 "use" : "home"
2776               }, {
2777                 "system" : "phone",
2778                 "value" : "778-896-5994",
2779                 "use" : "mobile"
2780               }, {
2781                 "system" : "email",
2782                 "value" : "nearj2@gmail.com",
2783                 "use" : "home"
2784               } ],
2785               "address" : {
2786                 "line" : [ "29 Moreau Dr" ],
2787                 "city" : "Charlottetown",
2788                 "state" : "PE",
2789                 "postalCode" : "c1a2y3",
2790                 "country" : "Canada"
2791               },
2792               "gender" : "male"
2793             } ],
2794             "communication" : [ {
2795               "extension" : [ {
2796                 "url" : "https://apps.health/Patient/is-official-language",
2797                 "valueBoolean" : true
2798               } ],
2799               "language" : {
2800                 "coding" : [ {
2801                   "system" : "http://unknown.code.system",
2802                   "code" : "English",
2803                   "display" : "English"
2804                 } ],
2805                 "text" : "English"
2806               }
2807             } ],
2808             "generalPractitioner" : [ {
2809               "extension" : [ {
2810                 "url" : "https://apps.health/Patient/isMrp",
2811                 "valueBoolean" : true
2812               } ],
2813               "reference" : "#Practitioner/41",
2814               "display" : "Test/Provider"
2815             }, {
2816               "extension" : [ {
2817                 "url" : "https://apps.health/Patient/isEnrollmentProvider",
2818                 "valueBoolean" : true
2819               } ],
2820               "reference" : "#Practitioner/43",
2821               "display" : "Hypercare/App"
2822             } ],
2823             "managingOrganization" : {
2824               "reference" : "#2"
2825             },
2826             "link" : [ {
2827               "modifierExtension" : [ {
2828                 "url" : "https://oscarpro.ca/fhir/StructureDefinition/link-status",
2829                 "valueString" : "NO_MATCH"
2830               } ],
2831               "other" : {
2832                 "reference" : "#3"
2833               },
2834               "type" : "seealso"
2835             } ]
2836           }, {
2837             "resourceType" : "Organization",
2838             "id" : "2",
2839             "active" : true,
2840             "name" : "Apps Health Medical",
2841             "telecom" : [ {
2842               "system" : "phone",
2843               "value" : "555-555-5555"
2844             }, {
2845               "system" : "fax",
2846               "value" : "555-555-5555"
2847             } ],
2848             "address" : [ {
2849               "line" : [ "123 Vernon Road" ],
2850               "city" : "Hamilton",
2851               "state" : "Ontario"
2852             } ]
2853           }, {
2854             "resourceType" : "Patient",
2855             "id" : "3"
2856           }, {
2857             "resourceType" : "Practitioner",
2858             "id" : "4",
2859             "language" : "en-CA",
2860             "extension" : [ {
2861               "url" : "https://apps.health/Pratitioner/provider-type",
2862               "valueCodeableConcept" : {
2863                 "coding" : [ {
2864                   "system" : "http://unknown.code.system",
2865                   "code" : "doctor",
2866                   "display" : "doctor"
2867                 } ],
2868                 "text" : "doctor"
2869               }
2870             }, {
2871               "url" : "https://apps.health/Pratitioner/comments",
2872               "valueString" : "<xml_p_billinggroup_no>1</xml_p_billinggroup_no>"
2873             }, {
2874               "url" : "https://apps.health/Pratitioner/last-updated-by",
2875               "valueString" : "999998"
2876             }, {
2877               "url" : "https://apps.health/Pratitioner/last-updated-date-time",
2878               "valueDateTime" : "2021-11-22T21:05:03+00:00"
2879             }, {
2880               "url" : "https://apps.health/Pratitioner/signed-confidentiality-date-time",
2881               "valueDateTime" : "0001-01-01T05:00:00+00:00"
2882             }, {
2883               "url" : "https://apps.health/Pratitioner/third-party-only",
2884               "valueBoolean" : false
2885             }, {
2886               "url" : "https://apps.health/Pratitioner/has-schedule",
2887               "valueBoolean" : true
2888             }, {
2889               "url" : "https://apps.health/Pratitioner/receives-ticklers",
2890               "valueBoolean" : true
2891             } ],
2892             "active" : true,
2893             "name" : [ {
2894               "use" : "official",
2895               "family" : "oscardoc",
2896               "given" : [ "doctor" ]
2897             } ],
2898             "gender" : "unknown",
2899             "birthDate" : "0001-01-01"
2900           }, {
2901             "resourceType" : "Appointment",
2902             "id" : "5",
2903             "language" : "en-CA",
2904             "extension" : [ {
2905               "url" : "https://apps.health/Appointment/updated-date-time",
2906               "valueDateTime" : "2022-03-24T23:22:13+00:00"
2907             }, {
2908               "url" : "https://apps.health/Appointment/creator",
2909               "valueString" : "oscardoc, doctor"
2910             }, {
2911               "url" : "https://apps.health/Appointment/updated-by",
2912               "valueString" : "57"
2913             }, {
2914               "url" : "https://apps.health/Appointment/see-receptionist-at-checkin",
2915               "valueBoolean" : false
2916             }, {
2917               "url" : "https://apps.health/Appointment/reason",
2918               "valueString" : "Run a pregnancy test"
2919             } ],
2920             "status" : "booked",
2921             "appointmentType" : {
2922               "coding" : [ {
2923                 "system" : "http://unknown.code.system",
2924                 "code" : "Blood Lab",
2925                 "display" : "Blood Lab"
2926               } ],
2927               "text" : "Blood Lab"
2928             },
2929             "reasonCode" : [ {
2930               "coding" : [ {
2931                 "system" : "http://unknown.code.system",
2932                 "code" : "12",
2933                 "display" : "12"
2934               } ],
2935               "text" : "12"
2936             } ],
2937             "description" : "BERGMAN, BARRY",
2938             "start" : "2021-11-10T15:45:00.000+00:00",
2939             "end" : "2021-11-10T15:45:00.000+00:00",
2940             "minutesDuration" : 1,
2941             "created" : "2021-11-10T18:04:13+00:00",
2942             "comment" : "Take a note",
2943             "participant" : [ {
2944               "actor" : {
2945                 "reference" : "Practitioner/999998"
2946               }
2947             }, {
2948               "actor" : {
2949                 "reference" : "Patient/44"
2950               }
2951             }, {
2952               "actor" : {
2953                 "reference" : "Location/Toronto"
2954               }
2955             } ]
2956           } ],
2957           "extension" : [ {
2958             "url" : "https://apps.health/DocumentReference/appointment-no",
2959             "valueInteger" : 29
2960           }, {
2961             "url" : "https://apps.health/DocumentReference/is-signed",
2962             "valueBoolean" : true
2963           }, {
2964             "url" : "https://apps.health/DocumentReference/is-include-issue-in-note",
2965             "valueBoolean" : true
2966           }, {
2967             "url" : "https://apps.health/DocumentReference/signing-provider-no",
2968             "valueString" : "999998"
2969           }, {
2970             "url" : "https://apps.health/DocumentReference/observation-date",
2971             "valueDateTime" : "2021-11-12T15:02:24+00:00"
2972           }, {
2973             "url" : "https://apps.health/DocumentReference/position",
2974             "valueInteger" : 0
2975           }, {
2976             "url" : "https://apps.health/DocumentReference/program-id",
2977             "valueString" : "10034"
2978           }, {
2979             "url" : "https://apps.health/DocumentReference/reporter-caisi-role",
2980             "valueString" : "3"
2981           } ],
2982           "identifier" : [ {
2983             "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
2984             "value" : "0a9ad95f-4452-4302-9392-e80e49bb4ff8",
2985             "assigner" : {
2986               "reference" : "Organization/18"
2987             }
2988           } ],
2989           "status" : "current",
2990           "docStatus" : "final",
2991           "type" : {
2992             "coding" : [ {
2993               "system" : "http://loinc.org",
2994               "code" : "11488-4",
2995               "display" : "Consult note"
2996             } ],
2997             "text" : "Consult note"
2998           },
2999           "category" : [ {
3000             "coding" : [ {
3001               "system" : "https://apps.health/ValueSet/document-reference-category",
3002               "code" : "note",
3003               "display" : "note"
3004             } ],
3005             "text" : "note"
3006           }, {
3007             "extension" : [ {
3008               "url" : "https://apps.health/DocumentReference/issue-is-acute",
3009               "valueBoolean" : false
3010             }, {
3011               "url" : "https://apps.health/DocumentReference/issue-is-certain",
3012               "valueBoolean" : false
3013             }, {
3014               "url" : "https://apps.health/DocumentReference/issue-is-major",
3015               "valueBoolean" : false
3016             }, {
3017               "url" : "https://apps.health/DocumentReference/issue-is-resolved",
3018               "valueBoolean" : false
3019             }, {
3020               "url" : "https://apps.health/DocumentReference/issue-type",
3021               "valueString" : "nurse"
3022             } ],
3023             "coding" : [ {
3024               "system" : "https://apps.health/ValueSet/document-reference-note-issue",
3025               "code" : "RiskFactors",
3026               "display" : "RiskFactors"
3027             } ],
3028             "text" : "RiskFactors"
3029           } ],
3030           "subject" : {
3031             "reference" : "Patient/44",
3032             "identifier" : {
3033               "type" : {
3034                 "coding" : [ {
3035                   "system" : "http://apps.health.code.system",
3036                   "code" : "link-guid",
3037                   "display" : "link-guid"
3038                 } ],
3039                 "text" : "link-guid"
3040               },
3041               "value" : "ec292a73-736f-492a-af39-c731e42fdc59"
3042             }
3043           },
3044           "date" : "2021-11-12T15:02:24.000+00:00",
3045           "author" : [ {
3046             "reference" : "Practitioner/999998"
3047           } ],
3048           "content" : [ {
3049             "extension" : [ {
3050               "url" : "https://apps.health/DocumentReference/note-history",
3051               "valueAttachment" : {
3052                 "contentType" : "text",
3053                 "data" : "ciBmYWN0"
3054               }
3055             } ],
3056             "attachment" : {
3057               "contentType" : "text",
3058               "data" : "ciBmYWN0"
3059             }
3060           } ],
3061           "context" : {
3062             "encounter" : [ {
3063               "reference" : "#Encounter/0a9ad95f-4452-4302-9392-e80e49bb4ff8"
3064             } ]
3065           }
3066         }
3067       }, {
3068         "fullUrl" : "http://apps.health/DocumentReference/97c96165-a253-44b6-9dfa-c4ff4276bd46",
3069         "resource" : {
3070           "resourceType" : "DocumentReference",
3071           "id" : "94",
3072           "meta" : {
3073             "lastUpdated" : "2021-11-12T15:02:28.000+00:00"
3074           },
3075           "language" : "en-CA",
3076           "contained" : [ {
3077             "resourceType" : "Encounter",
3078             "id" : "ae61d01e-1388-4a2f-9b4f-db64fb6e6c4a",
3079             "status" : "planned",
3080             "class" : {
3081               "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
3082               "code" : "VR",
3083               "display" : "virtual",
3084               "userSelected" : true
3085             },
3086             "subject" : {
3087               "reference" : "#1"
3088             },
3089             "participant" : [ {
3090               "type" : [ {
3091                 "coding" : [ {
3092                   "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
3093                   "code" : "ATND",
3094                   "display" : "attender",
3095                   "userSelected" : false
3096                 } ]
3097               } ],
3098               "individual" : {
3099                 "reference" : "#4"
3100               }
3101             } ],
3102             "appointment" : [ {
3103               "reference" : "#5"
3104             } ],
3105             "period" : {
3106               "start" : "2021-11-12T15:02:28+00:00",
3107               "end" : "2021-11-12T15:02:28+00:00"
3108             }
3109           }, {
3110             "resourceType" : "Patient",
3111             "id" : "1",
3112             "language" : "en-CA",
3113             "extension" : [ {
3114               "url" : "https://apps.health/Patient/rosterStatus",
3115               "valueString" : "RO"
3116             }, {
3117               "url" : "https://apps.health/Patient/rosterDate",
3118               "valueDateTime" : "2022-05-05T04:00:00+00:00"
3119             }, {
3120               "url" : "https://apps.health/Patient/statusDate",
3121               "valueDateTime" : "2021-11-10T05:00:00+00:00"
3122             }, {
3123               "url" : "https://apps.health/Patient/dateJoined",
3124               "valueDateTime" : "2021-11-10T05:00:00+00:00"
3125             }, {
3126               "url" : "https://apps.health/Patient/hcType",
3127               "valueString" : "ON"
3128             }, {
3129               "url" : "https://apps.health/Patient/countryOfOrigin",
3130               "valueString" : "-1"
3131             }, {
3132               "url" : "https://apps.health/Patient/newsletter",
3133               "valueString" : "Unknown"
3134             }, {
3135               "url" : "https://apps.health/Patient/lastUpdateUser",
3136               "valueString" : "56"
3137             }, {
3138               "url" : "https://apps.health/Patient/lastUpdateDate",
3139               "valueDateTime" : "2023-01-12T21:02:36+00:00"
3140             }, {
3141               "url" : "https://apps.health/Patient/type",
3142               "valueString" : "NotSet"
3143             } ],
3144             "identifier" : [ {
3145               "type" : {
3146                 "coding" : [ {
3147                   "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
3148                   "code" : "JHN",
3149                   "display" : "Jurisdictional Health Number"
3150                 } ],
3151                 "text" : "Jurisdictional Health Number"
3152               },
3153               "system" : "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-patient-hcn",
3154               "value" : "6118103784::AY"
3155             }, {
3156               "type" : {
3157                 "coding" : [ {
3158                   "system" : "http://apps.health.code.system",
3159                   "code" : "link-guid",
3160                   "display" : "link-guid"
3161                 } ],
3162                 "text" : "link-guid"
3163               },
3164               "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
3165               "value" : "ec292a73-736f-492a-af39-c731e42fdc59",
3166               "assigner" : {
3167                 "reference" : "Organization/18"
3168               }
3169             } ],
3170             "active" : true,
3171             "name" : [ {
3172               "use" : "official",
3173               "family" : "BERGMAN",
3174               "given" : [ "BARRY" ],
3175               "prefix" : [ "MR" ]
3176             }, {
3177               "use" : "usual",
3178               "given" : [ "BARRY" ]
3179             } ],
3180             "telecom" : [ {
3181               "system" : "phone",
3182               "value" : "416-567-1111",
3183               "use" : "home"
3184             }, {
3185               "system" : "phone",
3186               "value" : "416-567-2222",
3187               "use" : "work"
3188             }, {
3189               "system" : "phone",
3190               "value" : "416-567-3333",
3191               "use" : "mobile",
3192               "rank" : 1
3193             } ],
3194             "gender" : "male",
3195             "birthDate" : "1950-01-18",
3196             "deceasedBoolean" : false,
3197             "address" : [ {
3198               "line" : [ "235 Lady Valentina Avenue" ],
3199               "city" : "Toronto",
3200               "state" : "ON",
3201               "postalCode" : "L6A 4T8",
3202               "country" : "Canada"
3203             } ],
3204             "maritalStatus" : {
3205               "coding" : [ {
3206                 "system" : "http://hl7.org/fhir/ValueSet/marital-status",
3207                 "code" : "U",
3208                 "display" : "unmarried"
3209               } ],
3210               "text" : "unmarried"
3211             },
3212             "contact" : [ {
3213               "extension" : [ {
3214                 "url" : "http://apps.health.code.system/Patient/contactDemographicId",
3215                 "valueInteger" : 8
3216               } ],
3217               "relationship" : [ {
3218                 "coding" : [ {
3219                   "system" : "http://unknown.code.system",
3220                   "code" : "Father",
3221                   "display" : "Father"
3222                 } ],
3223                 "text" : "Father"
3224               } ],
3225               "name" : {
3226                 "text" : "MR Jeff Neary"
3227               },
3228               "telecom" : [ {
3229                 "system" : "phone",
3230                 "value" : "905-",
3231                 "use" : "home"
3232               }, {
3233                 "system" : "phone",
3234                 "value" : "778-896-5994",
3235                 "use" : "mobile"
3236               }, {
3237                 "system" : "email",
3238                 "value" : "nearj2@gmail.com",
3239                 "use" : "home"
3240               } ],
3241               "address" : {
3242                 "line" : [ "29 Moreau Dr" ],
3243                 "city" : "Charlottetown",
3244                 "state" : "PE",
3245                 "postalCode" : "c1a2y3",
3246                 "country" : "Canada"
3247               },
3248               "gender" : "male"
3249             } ],
3250             "communication" : [ {
3251               "extension" : [ {
3252                 "url" : "https://apps.health/Patient/is-official-language",
3253                 "valueBoolean" : true
3254               } ],
3255               "language" : {
3256                 "coding" : [ {
3257                   "system" : "http://unknown.code.system",
3258                   "code" : "English",
3259                   "display" : "English"
3260                 } ],
3261                 "text" : "English"
3262               }
3263             } ],
3264             "generalPractitioner" : [ {
3265               "extension" : [ {
3266                 "url" : "https://apps.health/Patient/isMrp",
3267                 "valueBoolean" : true
3268               } ],
3269               "reference" : "#Practitioner/41",
3270               "display" : "Test/Provider"
3271             }, {
3272               "extension" : [ {
3273                 "url" : "https://apps.health/Patient/isEnrollmentProvider",
3274                 "valueBoolean" : true
3275               } ],
3276               "reference" : "#Practitioner/43",
3277               "display" : "Hypercare/App"
3278             } ],
3279             "managingOrganization" : {
3280               "reference" : "#2"
3281             },
3282             "link" : [ {
3283               "modifierExtension" : [ {
3284                 "url" : "https://oscarpro.ca/fhir/StructureDefinition/link-status",
3285                 "valueString" : "NO_MATCH"
3286               } ],
3287               "other" : {
3288                 "reference" : "#3"
3289               },
3290               "type" : "seealso"
3291             } ]
3292           }, {
3293             "resourceType" : "Organization",
3294             "id" : "2",
3295             "active" : true,
3296             "name" : "Apps Health Medical",
3297             "telecom" : [ {
3298               "system" : "phone",
3299               "value" : "555-555-5555"
3300             }, {
3301               "system" : "fax",
3302               "value" : "555-555-5555"
3303             } ],
3304             "address" : [ {
3305               "line" : [ "123 Vernon Road" ],
3306               "city" : "Hamilton",
3307               "state" : "Ontario"
3308             } ]
3309           }, {
3310             "resourceType" : "Patient",
3311             "id" : "3"
3312           }, {
3313             "resourceType" : "Practitioner",
3314             "id" : "4",
3315             "language" : "en-CA",
3316             "extension" : [ {
3317               "url" : "https://apps.health/Pratitioner/provider-type",
3318               "valueCodeableConcept" : {
3319                 "coding" : [ {
3320                   "system" : "http://unknown.code.system",
3321                   "code" : "doctor",
3322                   "display" : "doctor"
3323                 } ],
3324                 "text" : "doctor"
3325               }
3326             }, {
3327               "url" : "https://apps.health/Pratitioner/comments",
3328               "valueString" : "<xml_p_billinggroup_no>1</xml_p_billinggroup_no>"
3329             }, {
3330               "url" : "https://apps.health/Pratitioner/last-updated-by",
3331               "valueString" : "999998"
3332             }, {
3333               "url" : "https://apps.health/Pratitioner/last-updated-date-time",
3334               "valueDateTime" : "2021-11-22T21:05:03+00:00"
3335             }, {
3336               "url" : "https://apps.health/Pratitioner/signed-confidentiality-date-time",
3337               "valueDateTime" : "0001-01-01T05:00:00+00:00"
3338             }, {
3339               "url" : "https://apps.health/Pratitioner/third-party-only",
3340               "valueBoolean" : false
3341             }, {
3342               "url" : "https://apps.health/Pratitioner/has-schedule",
3343               "valueBoolean" : true
3344             }, {
3345               "url" : "https://apps.health/Pratitioner/receives-ticklers",
3346               "valueBoolean" : true
3347             } ],
3348             "active" : true,
3349             "name" : [ {
3350               "use" : "official",
3351               "family" : "oscardoc",
3352               "given" : [ "doctor" ]
3353             } ],
3354             "gender" : "unknown",
3355             "birthDate" : "0001-01-01"
3356           }, {
3357             "resourceType" : "Appointment",
3358             "id" : "5",
3359             "language" : "en-CA",
3360             "extension" : [ {
3361               "url" : "https://apps.health/Appointment/updated-date-time",
3362               "valueDateTime" : "2022-03-24T23:22:13+00:00"
3363             }, {
3364               "url" : "https://apps.health/Appointment/creator",
3365               "valueString" : "oscardoc, doctor"
3366             }, {
3367               "url" : "https://apps.health/Appointment/updated-by",
3368               "valueString" : "57"
3369             }, {
3370               "url" : "https://apps.health/Appointment/see-receptionist-at-checkin",
3371               "valueBoolean" : false
3372             }, {
3373               "url" : "https://apps.health/Appointment/reason",
3374               "valueString" : "Run a pregnancy test"
3375             } ],
3376             "status" : "booked",
3377             "appointmentType" : {
3378               "coding" : [ {
3379                 "system" : "http://unknown.code.system",
3380                 "code" : "Blood Lab",
3381                 "display" : "Blood Lab"
3382               } ],
3383               "text" : "Blood Lab"
3384             },
3385             "reasonCode" : [ {
3386               "coding" : [ {
3387                 "system" : "http://unknown.code.system",
3388                 "code" : "12",
3389                 "display" : "12"
3390               } ],
3391               "text" : "12"
3392             } ],
3393             "description" : "BERGMAN, BARRY",
3394             "start" : "2021-11-10T15:45:00.000+00:00",
3395             "end" : "2021-11-10T15:45:00.000+00:00",
3396             "minutesDuration" : 1,
3397             "created" : "2021-11-10T18:04:13+00:00",
3398             "comment" : "Take a note",
3399             "participant" : [ {
3400               "actor" : {
3401                 "reference" : "Practitioner/999998"
3402               }
3403             }, {
3404               "actor" : {
3405                 "reference" : "Patient/44"
3406               }
3407             }, {
3408               "actor" : {
3409                 "reference" : "Location/Toronto"
3410               }
3411             } ]
3412           } ],
3413           "extension" : [ {
3414             "url" : "https://apps.health/DocumentReference/appointment-no",
3415             "valueInteger" : 29
3416           }, {
3417             "url" : "https://apps.health/DocumentReference/is-signed",
3418             "valueBoolean" : true
3419           }, {
3420             "url" : "https://apps.health/DocumentReference/is-include-issue-in-note",
3421             "valueBoolean" : true
3422           }, {
3423             "url" : "https://apps.health/DocumentReference/signing-provider-no",
3424             "valueString" : "999998"
3425           }, {
3426             "url" : "https://apps.health/DocumentReference/observation-date",
3427             "valueDateTime" : "2021-11-12T15:02:28+00:00"
3428           }, {
3429             "url" : "https://apps.health/DocumentReference/position",
3430             "valueInteger" : 0
3431           }, {
3432             "url" : "https://apps.health/DocumentReference/program-id",
3433             "valueString" : "10034"
3434           }, {
3435             "url" : "https://apps.health/DocumentReference/reporter-caisi-role",
3436             "valueString" : "3"
3437           } ],
3438           "identifier" : [ {
3439             "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
3440             "value" : "ae61d01e-1388-4a2f-9b4f-db64fb6e6c4a",
3441             "assigner" : {
3442               "reference" : "Organization/18"
3443             }
3444           } ],
3445           "status" : "current",
3446           "docStatus" : "final",
3447           "type" : {
3448             "coding" : [ {
3449               "system" : "http://loinc.org",
3450               "code" : "11488-4",
3451               "display" : "Consult note"
3452             } ],
3453             "text" : "Consult note"
3454           },
3455           "category" : [ {
3456             "coding" : [ {
3457               "system" : "https://apps.health/ValueSet/document-reference-category",
3458               "code" : "note",
3459               "display" : "note"
3460             } ],
3461             "text" : "note"
3462           }, {
3463             "extension" : [ {
3464               "url" : "https://apps.health/DocumentReference/issue-is-acute",
3465               "valueBoolean" : false
3466             }, {
3467               "url" : "https://apps.health/DocumentReference/issue-is-certain",
3468               "valueBoolean" : false
3469             }, {
3470               "url" : "https://apps.health/DocumentReference/issue-is-major",
3471               "valueBoolean" : false
3472             }, {
3473               "url" : "https://apps.health/DocumentReference/issue-is-resolved",
3474               "valueBoolean" : false
3475             }, {
3476               "url" : "https://apps.health/DocumentReference/issue-type",
3477               "valueString" : "nurse"
3478             } ],
3479             "coding" : [ {
3480               "system" : "https://apps.health/ValueSet/document-reference-note-issue",
3481               "code" : "FamHistory",
3482               "display" : "FamHistory"
3483             } ],
3484             "text" : "FamHistory"
3485           } ],
3486           "subject" : {
3487             "reference" : "Patient/44",
3488             "identifier" : {
3489               "type" : {
3490                 "coding" : [ {
3491                   "system" : "http://apps.health.code.system",
3492                   "code" : "link-guid",
3493                   "display" : "link-guid"
3494                 } ],
3495                 "text" : "link-guid"
3496               },
3497               "value" : "ec292a73-736f-492a-af39-c731e42fdc59"
3498             }
3499           },
3500           "date" : "2021-11-12T15:02:28.000+00:00",
3501           "author" : [ {
3502             "reference" : "Practitioner/999998"
3503           } ],
3504           "content" : [ {
3505             "extension" : [ {
3506               "url" : "https://apps.health/DocumentReference/note-history",
3507               "valueAttachment" : {
3508                 "contentType" : "text",
3509                 "data" : "ZiBoaXN0"
3510               }
3511             } ],
3512             "attachment" : {
3513               "contentType" : "text",
3514               "data" : "ZiBoaXN0"
3515             }
3516           } ],
3517           "context" : {
3518             "encounter" : [ {
3519               "reference" : "#Encounter/ae61d01e-1388-4a2f-9b4f-db64fb6e6c4a"
3520             } ]
3521           }
3522         }
3523       }, {
3524         "fullUrl" : "http://apps.health/DocumentReference/ff6d440f-b66c-4bfb-9b01-ffe620b45cd5",
3525         "resource" : {
3526           "resourceType" : "DocumentReference",
3527           "id" : "95",
3528           "meta" : {
3529             "lastUpdated" : "2021-11-12T15:03:03.000+00:00"
3530           },
3531           "language" : "en-CA",
3532           "contained" : [ {
3533             "resourceType" : "Encounter",
3534             "id" : "d7837811-b7b8-4cbf-8eb7-0669c8e0cd3c",
3535             "class" : {
3536               "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
3537               "code" : "VR",
3538               "display" : "virtual",
3539               "userSelected" : true
3540             },
3541             "subject" : {
3542               "reference" : "#1"
3543             },
3544             "participant" : [ {
3545               "type" : [ {
3546                 "coding" : [ {
3547                   "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
3548                   "code" : "ATND",
3549                   "display" : "attender",
3550                   "userSelected" : false
3551                 } ]
3552               } ],
3553               "individual" : {
3554                 "reference" : "#4"
3555               }
3556             } ],
3557             "period" : {
3558               "start" : "2021-11-12T15:01:48+00:00",
3559               "end" : "2021-11-12T15:01:48+00:00"
3560             }
3561           }, {
3562             "resourceType" : "Patient",
3563             "id" : "1",
3564             "language" : "en-CA",
3565             "extension" : [ {
3566               "url" : "https://apps.health/Patient/rosterStatus",
3567               "valueString" : "RO"
3568             }, {
3569               "url" : "https://apps.health/Patient/rosterDate",
3570               "valueDateTime" : "2022-05-05T04:00:00+00:00"
3571             }, {
3572               "url" : "https://apps.health/Patient/statusDate",
3573               "valueDateTime" : "2021-11-10T05:00:00+00:00"
3574             }, {
3575               "url" : "https://apps.health/Patient/dateJoined",
3576               "valueDateTime" : "2021-11-10T05:00:00+00:00"
3577             }, {
3578               "url" : "https://apps.health/Patient/hcType",
3579               "valueString" : "ON"
3580             }, {
3581               "url" : "https://apps.health/Patient/countryOfOrigin",
3582               "valueString" : "-1"
3583             }, {
3584               "url" : "https://apps.health/Patient/newsletter",
3585               "valueString" : "Unknown"
3586             }, {
3587               "url" : "https://apps.health/Patient/lastUpdateUser",
3588               "valueString" : "56"
3589             }, {
3590               "url" : "https://apps.health/Patient/lastUpdateDate",
3591               "valueDateTime" : "2023-01-12T21:02:36+00:00"
3592             }, {
3593               "url" : "https://apps.health/Patient/type",
3594               "valueString" : "NotSet"
3595             } ],
3596             "identifier" : [ {
3597               "type" : {
3598                 "coding" : [ {
3599                   "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
3600                   "code" : "JHN",
3601                   "display" : "Jurisdictional Health Number"
3602                 } ],
3603                 "text" : "Jurisdictional Health Number"
3604               },
3605               "system" : "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-patient-hcn",
3606               "value" : "6118103784::AY"
3607             }, {
3608               "type" : {
3609                 "coding" : [ {
3610                   "system" : "http://apps.health.code.system",
3611                   "code" : "link-guid",
3612                   "display" : "link-guid"
3613                 } ],
3614                 "text" : "link-guid"
3615               },
3616               "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
3617               "value" : "ec292a73-736f-492a-af39-c731e42fdc59",
3618               "assigner" : {
3619                 "reference" : "Organization/18"
3620               }
3621             } ],
3622             "active" : true,
3623             "name" : [ {
3624               "use" : "official",
3625               "family" : "BERGMAN",
3626               "given" : [ "BARRY" ],
3627               "prefix" : [ "MR" ]
3628             }, {
3629               "use" : "usual",
3630               "given" : [ "BARRY" ]
3631             } ],
3632             "telecom" : [ {
3633               "system" : "phone",
3634               "value" : "416-567-1111",
3635               "use" : "home"
3636             }, {
3637               "system" : "phone",
3638               "value" : "416-567-2222",
3639               "use" : "work"
3640             }, {
3641               "system" : "phone",
3642               "value" : "416-567-3333",
3643               "use" : "mobile",
3644               "rank" : 1
3645             } ],
3646             "gender" : "male",
3647             "birthDate" : "1950-01-18",
3648             "deceasedBoolean" : false,
3649             "address" : [ {
3650               "line" : [ "235 Lady Valentina Avenue" ],
3651               "city" : "Toronto",
3652               "state" : "ON",
3653               "postalCode" : "L6A 4T8",
3654               "country" : "Canada"
3655             } ],
3656             "maritalStatus" : {
3657               "coding" : [ {
3658                 "system" : "http://hl7.org/fhir/ValueSet/marital-status",
3659                 "code" : "U",
3660                 "display" : "unmarried"
3661               } ],
3662               "text" : "unmarried"
3663             },
3664             "contact" : [ {
3665               "extension" : [ {
3666                 "url" : "http://apps.health.code.system/Patient/contactDemographicId",
3667                 "valueInteger" : 8
3668               } ],
3669               "relationship" : [ {
3670                 "coding" : [ {
3671                   "system" : "http://unknown.code.system",
3672                   "code" : "Father",
3673                   "display" : "Father"
3674                 } ],
3675                 "text" : "Father"
3676               } ],
3677               "name" : {
3678                 "text" : "MR Jeff Neary"
3679               },
3680               "telecom" : [ {
3681                 "system" : "phone",
3682                 "value" : "905-",
3683                 "use" : "home"
3684               }, {
3685                 "system" : "phone",
3686                 "value" : "778-896-5994",
3687                 "use" : "mobile"
3688               }, {
3689                 "system" : "email",
3690                 "value" : "nearj2@gmail.com",
3691                 "use" : "home"
3692               } ],
3693               "address" : {
3694                 "line" : [ "29 Moreau Dr" ],
3695                 "city" : "Charlottetown",
3696                 "state" : "PE",
3697                 "postalCode" : "c1a2y3",
3698                 "country" : "Canada"
3699               },
3700               "gender" : "male"
3701             } ],
3702             "communication" : [ {
3703               "extension" : [ {
3704                 "url" : "https://apps.health/Patient/is-official-language",
3705                 "valueBoolean" : true
3706               } ],
3707               "language" : {
3708                 "coding" : [ {
3709                   "system" : "http://unknown.code.system",
3710                   "code" : "English",
3711                   "display" : "English"
3712                 } ],
3713                 "text" : "English"
3714               }
3715             } ],
3716             "generalPractitioner" : [ {
3717               "extension" : [ {
3718                 "url" : "https://apps.health/Patient/isMrp",
3719                 "valueBoolean" : true
3720               } ],
3721               "reference" : "#Practitioner/41",
3722               "display" : "Test/Provider"
3723             }, {
3724               "extension" : [ {
3725                 "url" : "https://apps.health/Patient/isEnrollmentProvider",
3726                 "valueBoolean" : true
3727               } ],
3728               "reference" : "#Practitioner/43",
3729               "display" : "Hypercare/App"
3730             } ],
3731             "managingOrganization" : {
3732               "reference" : "#2"
3733             },
3734             "link" : [ {
3735               "modifierExtension" : [ {
3736                 "url" : "https://oscarpro.ca/fhir/StructureDefinition/link-status",
3737                 "valueString" : "NO_MATCH"
3738               } ],
3739               "other" : {
3740                 "reference" : "#3"
3741               },
3742               "type" : "seealso"
3743             } ]
3744           }, {
3745             "resourceType" : "Organization",
3746             "id" : "2",
3747             "active" : true,
3748             "name" : "Apps Health Medical",
3749             "telecom" : [ {
3750               "system" : "phone",
3751               "value" : "555-555-5555"
3752             }, {
3753               "system" : "fax",
3754               "value" : "555-555-5555"
3755             } ],
3756             "address" : [ {
3757               "line" : [ "123 Vernon Road" ],
3758               "city" : "Hamilton",
3759               "state" : "Ontario"
3760             } ]
3761           }, {
3762             "resourceType" : "Patient",
3763             "id" : "3"
3764           }, {
3765             "resourceType" : "Practitioner",
3766             "id" : "4",
3767             "language" : "en-CA",
3768             "extension" : [ {
3769               "url" : "https://apps.health/Pratitioner/provider-type",
3770               "valueCodeableConcept" : {
3771                 "coding" : [ {
3772                   "system" : "http://unknown.code.system",
3773                   "code" : "doctor",
3774                   "display" : "doctor"
3775                 } ],
3776                 "text" : "doctor"
3777               }
3778             }, {
3779               "url" : "https://apps.health/Pratitioner/comments",
3780               "valueString" : "<xml_p_billinggroup_no>1</xml_p_billinggroup_no>"
3781             }, {
3782               "url" : "https://apps.health/Pratitioner/last-updated-by",
3783               "valueString" : "999998"
3784             }, {
3785               "url" : "https://apps.health/Pratitioner/last-updated-date-time",
3786               "valueDateTime" : "2021-11-22T21:05:03+00:00"
3787             }, {
3788               "url" : "https://apps.health/Pratitioner/signed-confidentiality-date-time",
3789               "valueDateTime" : "0001-01-01T05:00:00+00:00"
3790             }, {
3791               "url" : "https://apps.health/Pratitioner/third-party-only",
3792               "valueBoolean" : false
3793             }, {
3794               "url" : "https://apps.health/Pratitioner/has-schedule",
3795               "valueBoolean" : true
3796             }, {
3797               "url" : "https://apps.health/Pratitioner/receives-ticklers",
3798               "valueBoolean" : true
3799             } ],
3800             "active" : true,
3801             "name" : [ {
3802               "use" : "official",
3803               "family" : "oscardoc",
3804               "given" : [ "doctor" ]
3805             } ],
3806             "gender" : "unknown",
3807             "birthDate" : "0001-01-01"
3808           } ],
3809           "extension" : [ {
3810             "url" : "https://apps.health/DocumentReference/appointment-no",
3811             "valueInteger" : 0
3812           }, {
3813             "url" : "https://apps.health/DocumentReference/is-signed",
3814             "valueBoolean" : true
3815           }, {
3816             "url" : "https://apps.health/DocumentReference/is-include-issue-in-note",
3817             "valueBoolean" : true
3818           }, {
3819             "url" : "https://apps.health/DocumentReference/signing-provider-no",
3820             "valueString" : "999998"
3821           }, {
3822             "url" : "https://apps.health/DocumentReference/observation-date",
3823             "valueDateTime" : "2021-11-12T15:01:48+00:00"
3824           }, {
3825             "url" : "https://apps.health/DocumentReference/position",
3826             "valueInteger" : 0
3827           }, {
3828             "url" : "https://apps.health/DocumentReference/program-id",
3829             "valueString" : "10034"
3830           }, {
3831             "url" : "https://apps.health/DocumentReference/reporter-caisi-role",
3832             "valueString" : "3"
3833           } ],
3834           "identifier" : [ {
3835             "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
3836             "value" : "d7837811-b7b8-4cbf-8eb7-0669c8e0cd3c",
3837             "assigner" : {
3838               "reference" : "Organization/18"
3839             }
3840           } ],
3841           "status" : "current",
3842           "docStatus" : "final",
3843           "type" : {
3844             "coding" : [ {
3845               "system" : "http://loinc.org",
3846               "code" : "11488-4",
3847               "display" : "Consult note"
3848             } ],
3849             "text" : "Consult note"
3850           },
3851           "category" : [ {
3852             "coding" : [ {
3853               "system" : "https://apps.health/ValueSet/document-reference-category",
3854               "code" : "note",
3855               "display" : "note"
3856             } ],
3857             "text" : "note"
3858           }, {
3859             "extension" : [ {
3860               "url" : "https://apps.health/DocumentReference/issue-is-acute",
3861               "valueBoolean" : false
3862             }, {
3863               "url" : "https://apps.health/DocumentReference/issue-is-certain",
3864               "valueBoolean" : false
3865             }, {
3866               "url" : "https://apps.health/DocumentReference/issue-is-major",
3867               "valueBoolean" : false
3868             }, {
3869               "url" : "https://apps.health/DocumentReference/issue-is-resolved",
3870               "valueBoolean" : false
3871             }, {
3872               "url" : "https://apps.health/DocumentReference/issue-type",
3873               "valueString" : "nurse"
3874             } ],
3875             "coding" : [ {
3876               "system" : "https://apps.health/ValueSet/document-reference-note-issue",
3877               "code" : "Reminders",
3878               "display" : "Reminders"
3879             } ],
3880             "text" : "Reminders"
3881           } ],
3882           "subject" : {
3883             "reference" : "Patient/44",
3884             "identifier" : {
3885               "type" : {
3886                 "coding" : [ {
3887                   "system" : "http://apps.health.code.system",
3888                   "code" : "link-guid",
3889                   "display" : "link-guid"
3890                 } ],
3891                 "text" : "link-guid"
3892               },
3893               "value" : "ec292a73-736f-492a-af39-c731e42fdc59"
3894             }
3895           },
3896           "date" : "2021-11-12T15:01:48.000+00:00",
3897           "author" : [ {
3898             "reference" : "Practitioner/999998"
3899           } ],
3900           "content" : [ {
3901             "extension" : [ {
3902               "url" : "https://apps.health/DocumentReference/note-history",
3903               "valueAttachment" : {
3904                 "contentType" : "text",
3905                 "data" : "ciBtaW5kCiAgIC0tLS0tLS0tLS0tLS0tLS1IaXN0b3J5IFJlY29yZC0tLS0tLS0tLS0tLS0tLS0gICAKcmVtaQo="
3906               }
3907             } ],
3908             "attachment" : {
3909               "contentType" : "text",
3910               "data" : "ciBtaW5k"
3911             }
3912           } ],
3913           "context" : {
3914             "encounter" : [ {
3915               "reference" : "#Encounter/d7837811-b7b8-4cbf-8eb7-0669c8e0cd3c"
3916             } ]
3917           }
3918         }
3919       }, {
3920         "fullUrl" : "http://apps.health/DocumentReference/de0c34d1-7656-470b-926c-5f067530aa94",
3921         "resource" : {
3922           "resourceType" : "DocumentReference",
3923           "id" : "160",
3924           "meta" : {
3925             "lastUpdated" : "2022-04-12T16:40:59.000+00:00"
3926           },
3927           "language" : "en-CA",
3928           "contained" : [ {
3929             "resourceType" : "Encounter",
3930             "id" : "95e80190-8b69-4f08-ac25-2775b809dcc6",
3931             "class" : {
3932               "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
3933               "code" : "VR",
3934               "display" : "virtual",
3935               "userSelected" : true
3936             },
3937             "subject" : {
3938               "reference" : "#1"
3939             },
3940             "participant" : [ {
3941               "type" : [ {
3942                 "coding" : [ {
3943                   "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
3944                   "code" : "ATND",
3945                   "display" : "attender",
3946                   "userSelected" : false
3947                 } ]
3948               } ],
3949               "individual" : {
3950                 "reference" : "#4"
3951               }
3952             } ],
3953             "period" : {
3954               "start" : "2022-04-12T16:40:59+00:00",
3955               "end" : "2022-04-12T16:40:59+00:00"
3956             }
3957           }, {
3958             "resourceType" : "Patient",
3959             "id" : "1",
3960             "language" : "en-CA",
3961             "extension" : [ {
3962               "url" : "https://apps.health/Patient/rosterStatus",
3963               "valueString" : "RO"
3964             }, {
3965               "url" : "https://apps.health/Patient/rosterDate",
3966               "valueDateTime" : "2022-05-05T04:00:00+00:00"
3967             }, {
3968               "url" : "https://apps.health/Patient/statusDate",
3969               "valueDateTime" : "2021-11-10T05:00:00+00:00"
3970             }, {
3971               "url" : "https://apps.health/Patient/dateJoined",
3972               "valueDateTime" : "2021-11-10T05:00:00+00:00"
3973             }, {
3974               "url" : "https://apps.health/Patient/hcType",
3975               "valueString" : "ON"
3976             }, {
3977               "url" : "https://apps.health/Patient/countryOfOrigin",
3978               "valueString" : "-1"
3979             }, {
3980               "url" : "https://apps.health/Patient/newsletter",
3981               "valueString" : "Unknown"
3982             }, {
3983               "url" : "https://apps.health/Patient/lastUpdateUser",
3984               "valueString" : "56"
3985             }, {
3986               "url" : "https://apps.health/Patient/lastUpdateDate",
3987               "valueDateTime" : "2023-01-12T21:02:36+00:00"
3988             }, {
3989               "url" : "https://apps.health/Patient/type",
3990               "valueString" : "NotSet"
3991             } ],
3992             "identifier" : [ {
3993               "type" : {
3994                 "coding" : [ {
3995                   "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
3996                   "code" : "JHN",
3997                   "display" : "Jurisdictional Health Number"
3998                 } ],
3999                 "text" : "Jurisdictional Health Number"
4000               },
4001               "system" : "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-patient-hcn",
4002               "value" : "6118103784::AY"
4003             }, {
4004               "type" : {
4005                 "coding" : [ {
4006                   "system" : "http://apps.health.code.system",
4007                   "code" : "link-guid",
4008                   "display" : "link-guid"
4009                 } ],
4010                 "text" : "link-guid"
4011               },
4012               "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
4013               "value" : "ec292a73-736f-492a-af39-c731e42fdc59",
4014               "assigner" : {
4015                 "reference" : "Organization/18"
4016               }
4017             } ],
4018             "active" : true,
4019             "name" : [ {
4020               "use" : "official",
4021               "family" : "BERGMAN",
4022               "given" : [ "BARRY" ],
4023               "prefix" : [ "MR" ]
4024             }, {
4025               "use" : "usual",
4026               "given" : [ "BARRY" ]
4027             } ],
4028             "telecom" : [ {
4029               "system" : "phone",
4030               "value" : "416-567-1111",
4031               "use" : "home"
4032             }, {
4033               "system" : "phone",
4034               "value" : "416-567-2222",
4035               "use" : "work"
4036             }, {
4037               "system" : "phone",
4038               "value" : "416-567-3333",
4039               "use" : "mobile",
4040               "rank" : 1
4041             } ],
4042             "gender" : "male",
4043             "birthDate" : "1950-01-18",
4044             "deceasedBoolean" : false,
4045             "address" : [ {
4046               "line" : [ "235 Lady Valentina Avenue" ],
4047               "city" : "Toronto",
4048               "state" : "ON",
4049               "postalCode" : "L6A 4T8",
4050               "country" : "Canada"
4051             } ],
4052             "maritalStatus" : {
4053               "coding" : [ {
4054                 "system" : "http://hl7.org/fhir/ValueSet/marital-status",
4055                 "code" : "U",
4056                 "display" : "unmarried"
4057               } ],
4058               "text" : "unmarried"
4059             },
4060             "contact" : [ {
4061               "extension" : [ {
4062                 "url" : "http://apps.health.code.system/Patient/contactDemographicId",
4063                 "valueInteger" : 8
4064               } ],
4065               "relationship" : [ {
4066                 "coding" : [ {
4067                   "system" : "http://unknown.code.system",
4068                   "code" : "Father",
4069                   "display" : "Father"
4070                 } ],
4071                 "text" : "Father"
4072               } ],
4073               "name" : {
4074                 "text" : "MR Jeff Neary"
4075               },
4076               "telecom" : [ {
4077                 "system" : "phone",
4078                 "value" : "905-",
4079                 "use" : "home"
4080               }, {
4081                 "system" : "phone",
4082                 "value" : "778-896-5994",
4083                 "use" : "mobile"
4084               }, {
4085                 "system" : "email",
4086                 "value" : "nearj2@gmail.com",
4087                 "use" : "home"
4088               } ],
4089               "address" : {
4090                 "line" : [ "29 Moreau Dr" ],
4091                 "city" : "Charlottetown",
4092                 "state" : "PE",
4093                 "postalCode" : "c1a2y3",
4094                 "country" : "Canada"
4095               },
4096               "gender" : "male"
4097             } ],
4098             "communication" : [ {
4099               "extension" : [ {
4100                 "url" : "https://apps.health/Patient/is-official-language",
4101                 "valueBoolean" : true
4102               } ],
4103               "language" : {
4104                 "coding" : [ {
4105                   "system" : "http://unknown.code.system",
4106                   "code" : "English",
4107                   "display" : "English"
4108                 } ],
4109                 "text" : "English"
4110               }
4111             } ],
4112             "generalPractitioner" : [ {
4113               "extension" : [ {
4114                 "url" : "https://apps.health/Patient/isMrp",
4115                 "valueBoolean" : true
4116               } ],
4117               "reference" : "#Practitioner/41",
4118               "display" : "Test/Provider"
4119             }, {
4120               "extension" : [ {
4121                 "url" : "https://apps.health/Patient/isEnrollmentProvider",
4122                 "valueBoolean" : true
4123               } ],
4124               "reference" : "#Practitioner/43",
4125               "display" : "Hypercare/App"
4126             } ],
4127             "managingOrganization" : {
4128               "reference" : "#2"
4129             },
4130             "link" : [ {
4131               "modifierExtension" : [ {
4132                 "url" : "https://oscarpro.ca/fhir/StructureDefinition/link-status",
4133                 "valueString" : "NO_MATCH"
4134               } ],
4135               "other" : {
4136                 "reference" : "#3"
4137               },
4138               "type" : "seealso"
4139             } ]
4140           }, {
4141             "resourceType" : "Organization",
4142             "id" : "2",
4143             "active" : true,
4144             "name" : "Apps Health Medical",
4145             "telecom" : [ {
4146               "system" : "phone",
4147               "value" : "555-555-5555"
4148             }, {
4149               "system" : "fax",
4150               "value" : "555-555-5555"
4151             } ],
4152             "address" : [ {
4153               "line" : [ "123 Vernon Road" ],
4154               "city" : "Hamilton",
4155               "state" : "Ontario"
4156             } ]
4157           }, {
4158             "resourceType" : "Patient",
4159             "id" : "3"
4160           }, {
4161             "resourceType" : "Practitioner",
4162             "id" : "4",
4163             "language" : "en-CA",
4164             "extension" : [ {
4165               "url" : "https://apps.health/Pratitioner/provider-type",
4166               "valueCodeableConcept" : {
4167                 "coding" : [ {
4168                   "system" : "http://unknown.code.system",
4169                   "code" : "doctor",
4170                   "display" : "doctor"
4171                 } ],
4172                 "text" : "doctor"
4173               }
4174             }, {
4175               "url" : "https://apps.health/Pratitioner/comments",
4176               "valueString" : "<xml_p_specialty_code>00</xml_p_specialty_code><xml_p_billinggroup_no>0000</xml_p_billinggroup_no>"
4177             }, {
4178               "url" : "https://apps.health/Pratitioner/last-updated-by",
4179               "valueString" : "999998"
4180             }, {
4181               "url" : "https://apps.health/Pratitioner/last-updated-date-time",
4182               "valueDateTime" : "2024-11-19T03:15:27+00:00"
4183             }, {
4184               "url" : "https://apps.health/Pratitioner/third-party-only",
4185               "valueBoolean" : false
4186             }, {
4187               "url" : "https://apps.health/Pratitioner/has-schedule",
4188               "valueBoolean" : true
4189             }, {
4190               "url" : "https://apps.health/Pratitioner/receives-ticklers",
4191               "valueBoolean" : true
4192             } ],
4193             "identifier" : [ {
4194               "type" : {
4195                 "coding" : [ {
4196                   "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
4197                   "code" : "LN",
4198                   "display" : "License number"
4199                 } ],
4200                 "text" : "CPSO"
4201               },
4202               "value" : "12345"
4203             } ],
4204             "active" : true,
4205             "name" : [ {
4206               "use" : "official",
4207               "family" : "Provider",
4208               "given" : [ "Test" ]
4209             } ],
4210             "telecom" : [ {
4211               "system" : "email",
4212               "value" : "rajs797979+25@gmail.com"
4213             } ],
4214             "gender" : "unknown"
4215           } ],
4216           "extension" : [ {
4217             "url" : "https://apps.health/DocumentReference/appointment-no",
4218             "valueInteger" : 0
4219           }, {
4220             "url" : "https://apps.health/DocumentReference/is-signed",
4221             "valueBoolean" : false
4222           }, {
4223             "url" : "https://apps.health/DocumentReference/is-include-issue-in-note",
4224             "valueBoolean" : false
4225           }, {
4226             "url" : "https://apps.health/DocumentReference/observation-date",
4227             "valueDateTime" : "2022-04-12T16:40:59+00:00"
4228           }, {
4229             "url" : "https://apps.health/DocumentReference/position",
4230             "valueInteger" : 0
4231           }, {
4232             "url" : "https://apps.health/DocumentReference/program-id",
4233             "valueString" : "10034"
4234           }, {
4235             "url" : "https://apps.health/DocumentReference/reporter-caisi-role",
4236             "valueString" : "3"
4237           } ],
4238           "identifier" : [ {
4239             "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
4240             "value" : "95e80190-8b69-4f08-ac25-2775b809dcc6",
4241             "assigner" : {
4242               "reference" : "Organization/18"
4243             }
4244           } ],
4245           "status" : "current",
4246           "docStatus" : "final",
4247           "type" : {
4248             "coding" : [ {
4249               "system" : "http://loinc.org",
4250               "code" : "11488-4",
4251               "display" : "Consult note"
4252             } ],
4253             "text" : "Consult note"
4254           },
4255           "category" : [ {
4256             "coding" : [ {
4257               "system" : "https://apps.health/ValueSet/document-reference-category",
4258               "code" : "note",
4259               "display" : "note"
4260             } ],
4261             "text" : "note"
4262           } ],
4263           "subject" : {
4264             "reference" : "Patient/44",
4265             "identifier" : {
4266               "type" : {
4267                 "coding" : [ {
4268                   "system" : "http://apps.health.code.system",
4269                   "code" : "link-guid",
4270                   "display" : "link-guid"
4271                 } ],
4272                 "text" : "link-guid"
4273               },
4274               "value" : "ec292a73-736f-492a-af39-c731e42fdc59"
4275             }
4276           },
4277           "date" : "2022-04-12T16:40:59.000+00:00",
4278           "author" : [ {
4279             "reference" : "Practitioner/41"
4280           } ],
4281           "content" : [ {
4282             "extension" : [ {
4283               "url" : "https://apps.health/DocumentReference/note-history",
4284               "valueAttachment" : {
4285                 "contentType" : "text",
4286                 "data" : "WzI0LUZlYi0yMDIyIC46IFRlbC1Qcm9ncmVzcyBOb3RlXSAKdGVzdCBwcm9ncmVzcyBub3Rl"
4287               }
4288             } ],
4289             "attachment" : {
4290               "contentType" : "text",
4291               "data" : "WzI0LUZlYi0yMDIyIC46IFRlbC1Qcm9ncmVzcyBOb3RlXSAKdGVzdCBwcm9ncmVzcyBub3Rl"
4292             }
4293           } ],
4294           "context" : {
4295             "encounter" : [ {
4296               "reference" : "#Encounter/95e80190-8b69-4f08-ac25-2775b809dcc6"
4297             } ]
4298           }
4299         }
4300       }, {
4301         "fullUrl" : "http://apps.health/DocumentReference/6a82ca40-a8f7-4205-9ab6-43ae7e0be685",
4302         "resource" : {
4303           "resourceType" : "DocumentReference",
4304           "id" : "161",
4305           "meta" : {
4306             "lastUpdated" : "2022-04-12T16:43:17.000+00:00"
4307           },
4308           "language" : "en-CA",
4309           "contained" : [ {
4310             "resourceType" : "Encounter",
4311             "id" : "95e80190-8b69-4f08-ac25-2775b809dcc6",
4312             "class" : {
4313               "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
4314               "code" : "VR",
4315               "display" : "virtual",
4316               "userSelected" : true
4317             },
4318             "subject" : {
4319               "reference" : "#1"
4320             },
4321             "participant" : [ {
4322               "type" : [ {
4323                 "coding" : [ {
4324                   "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
4325                   "code" : "ATND",
4326                   "display" : "attender",
4327                   "userSelected" : false
4328                 } ]
4329               } ],
4330               "individual" : {
4331                 "reference" : "#4"
4332               }
4333             } ],
4334             "period" : {
4335               "start" : "2022-04-12T16:40:00+00:00",
4336               "end" : "2022-04-12T16:40:00+00:00"
4337             }
4338           }, {
4339             "resourceType" : "Patient",
4340             "id" : "1",
4341             "language" : "en-CA",
4342             "extension" : [ {
4343               "url" : "https://apps.health/Patient/rosterStatus",
4344               "valueString" : "RO"
4345             }, {
4346               "url" : "https://apps.health/Patient/rosterDate",
4347               "valueDateTime" : "2022-05-05T04:00:00+00:00"
4348             }, {
4349               "url" : "https://apps.health/Patient/statusDate",
4350               "valueDateTime" : "2021-11-10T05:00:00+00:00"
4351             }, {
4352               "url" : "https://apps.health/Patient/dateJoined",
4353               "valueDateTime" : "2021-11-10T05:00:00+00:00"
4354             }, {
4355               "url" : "https://apps.health/Patient/hcType",
4356               "valueString" : "ON"
4357             }, {
4358               "url" : "https://apps.health/Patient/countryOfOrigin",
4359               "valueString" : "-1"
4360             }, {
4361               "url" : "https://apps.health/Patient/newsletter",
4362               "valueString" : "Unknown"
4363             }, {
4364               "url" : "https://apps.health/Patient/lastUpdateUser",
4365               "valueString" : "56"
4366             }, {
4367               "url" : "https://apps.health/Patient/lastUpdateDate",
4368               "valueDateTime" : "2023-01-12T21:02:36+00:00"
4369             }, {
4370               "url" : "https://apps.health/Patient/type",
4371               "valueString" : "NotSet"
4372             } ],
4373             "identifier" : [ {
4374               "type" : {
4375                 "coding" : [ {
4376                   "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
4377                   "code" : "JHN",
4378                   "display" : "Jurisdictional Health Number"
4379                 } ],
4380                 "text" : "Jurisdictional Health Number"
4381               },
4382               "system" : "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-patient-hcn",
4383               "value" : "6118103784::AY"
4384             }, {
4385               "type" : {
4386                 "coding" : [ {
4387                   "system" : "http://apps.health.code.system",
4388                   "code" : "link-guid",
4389                   "display" : "link-guid"
4390                 } ],
4391                 "text" : "link-guid"
4392               },
4393               "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
4394               "value" : "ec292a73-736f-492a-af39-c731e42fdc59",
4395               "assigner" : {
4396                 "reference" : "Organization/18"
4397               }
4398             } ],
4399             "active" : true,
4400             "name" : [ {
4401               "use" : "official",
4402               "family" : "BERGMAN",
4403               "given" : [ "BARRY" ],
4404               "prefix" : [ "MR" ]
4405             }, {
4406               "use" : "usual",
4407               "given" : [ "BARRY" ]
4408             } ],
4409             "telecom" : [ {
4410               "system" : "phone",
4411               "value" : "416-567-1111",
4412               "use" : "home"
4413             }, {
4414               "system" : "phone",
4415               "value" : "416-567-2222",
4416               "use" : "work"
4417             }, {
4418               "system" : "phone",
4419               "value" : "416-567-3333",
4420               "use" : "mobile",
4421               "rank" : 1
4422             } ],
4423             "gender" : "male",
4424             "birthDate" : "1950-01-18",
4425             "deceasedBoolean" : false,
4426             "address" : [ {
4427               "line" : [ "235 Lady Valentina Avenue" ],
4428               "city" : "Toronto",
4429               "state" : "ON",
4430               "postalCode" : "L6A 4T8",
4431               "country" : "Canada"
4432             } ],
4433             "maritalStatus" : {
4434               "coding" : [ {
4435                 "system" : "http://hl7.org/fhir/ValueSet/marital-status",
4436                 "code" : "U",
4437                 "display" : "unmarried"
4438               } ],
4439               "text" : "unmarried"
4440             },
4441             "contact" : [ {
4442               "extension" : [ {
4443                 "url" : "http://apps.health.code.system/Patient/contactDemographicId",
4444                 "valueInteger" : 8
4445               } ],
4446               "relationship" : [ {
4447                 "coding" : [ {
4448                   "system" : "http://unknown.code.system",
4449                   "code" : "Father",
4450                   "display" : "Father"
4451                 } ],
4452                 "text" : "Father"
4453               } ],
4454               "name" : {
4455                 "text" : "MR Jeff Neary"
4456               },
4457               "telecom" : [ {
4458                 "system" : "phone",
4459                 "value" : "905-",
4460                 "use" : "home"
4461               }, {
4462                 "system" : "phone",
4463                 "value" : "778-896-5994",
4464                 "use" : "mobile"
4465               }, {
4466                 "system" : "email",
4467                 "value" : "nearj2@gmail.com",
4468                 "use" : "home"
4469               } ],
4470               "address" : {
4471                 "line" : [ "29 Moreau Dr" ],
4472                 "city" : "Charlottetown",
4473                 "state" : "PE",
4474                 "postalCode" : "c1a2y3",
4475                 "country" : "Canada"
4476               },
4477               "gender" : "male"
4478             } ],
4479             "communication" : [ {
4480               "extension" : [ {
4481                 "url" : "https://apps.health/Patient/is-official-language",
4482                 "valueBoolean" : true
4483               } ],
4484               "language" : {
4485                 "coding" : [ {
4486                   "system" : "http://unknown.code.system",
4487                   "code" : "English",
4488                   "display" : "English"
4489                 } ],
4490                 "text" : "English"
4491               }
4492             } ],
4493             "generalPractitioner" : [ {
4494               "extension" : [ {
4495                 "url" : "https://apps.health/Patient/isMrp",
4496                 "valueBoolean" : true
4497               } ],
4498               "reference" : "#Practitioner/41",
4499               "display" : "Test/Provider"
4500             }, {
4501               "extension" : [ {
4502                 "url" : "https://apps.health/Patient/isEnrollmentProvider",
4503                 "valueBoolean" : true
4504               } ],
4505               "reference" : "#Practitioner/43",
4506               "display" : "Hypercare/App"
4507             } ],
4508             "managingOrganization" : {
4509               "reference" : "#2"
4510             },
4511             "link" : [ {
4512               "modifierExtension" : [ {
4513                 "url" : "https://oscarpro.ca/fhir/StructureDefinition/link-status",
4514                 "valueString" : "NO_MATCH"
4515               } ],
4516               "other" : {
4517                 "reference" : "#3"
4518               },
4519               "type" : "seealso"
4520             } ]
4521           }, {
4522             "resourceType" : "Organization",
4523             "id" : "2",
4524             "active" : true,
4525             "name" : "Apps Health Medical",
4526             "telecom" : [ {
4527               "system" : "phone",
4528               "value" : "555-555-5555"
4529             }, {
4530               "system" : "fax",
4531               "value" : "555-555-5555"
4532             } ],
4533             "address" : [ {
4534               "line" : [ "123 Vernon Road" ],
4535               "city" : "Hamilton",
4536               "state" : "Ontario"
4537             } ]
4538           }, {
4539             "resourceType" : "Patient",
4540             "id" : "3"
4541           }, {
4542             "resourceType" : "Practitioner",
4543             "id" : "4",
4544             "language" : "en-CA",
4545             "extension" : [ {
4546               "url" : "https://apps.health/Pratitioner/provider-type",
4547               "valueCodeableConcept" : {
4548                 "coding" : [ {
4549                   "system" : "http://unknown.code.system",
4550                   "code" : "doctor",
4551                   "display" : "doctor"
4552                 } ],
4553                 "text" : "doctor"
4554               }
4555             }, {
4556               "url" : "https://apps.health/Pratitioner/comments",
4557               "valueString" : "<xml_p_specialty_code>00</xml_p_specialty_code><xml_p_billinggroup_no>0000</xml_p_billinggroup_no>"
4558             }, {
4559               "url" : "https://apps.health/Pratitioner/last-updated-by",
4560               "valueString" : "999998"
4561             }, {
4562               "url" : "https://apps.health/Pratitioner/last-updated-date-time",
4563               "valueDateTime" : "2024-11-19T03:15:27+00:00"
4564             }, {
4565               "url" : "https://apps.health/Pratitioner/third-party-only",
4566               "valueBoolean" : false
4567             }, {
4568               "url" : "https://apps.health/Pratitioner/has-schedule",
4569               "valueBoolean" : true
4570             }, {
4571               "url" : "https://apps.health/Pratitioner/receives-ticklers",
4572               "valueBoolean" : true
4573             } ],
4574             "identifier" : [ {
4575               "type" : {
4576                 "coding" : [ {
4577                   "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
4578                   "code" : "LN",
4579                   "display" : "License number"
4580                 } ],
4581                 "text" : "CPSO"
4582               },
4583               "value" : "12345"
4584             } ],
4585             "active" : true,
4586             "name" : [ {
4587               "use" : "official",
4588               "family" : "Provider",
4589               "given" : [ "Test" ]
4590             } ],
4591             "telecom" : [ {
4592               "system" : "email",
4593               "value" : "rajs797979+25@gmail.com"
4594             } ],
4595             "gender" : "unknown"
4596           } ],
4597           "extension" : [ {
4598             "url" : "https://apps.health/DocumentReference/appointment-no",
4599             "valueInteger" : 0
4600           }, {
4601             "url" : "https://apps.health/DocumentReference/is-signed",
4602             "valueBoolean" : true
4603           }, {
4604             "url" : "https://apps.health/DocumentReference/is-include-issue-in-note",
4605             "valueBoolean" : false
4606           }, {
4607             "url" : "https://apps.health/DocumentReference/signing-provider-no",
4608             "valueString" : "41"
4609           }, {
4610             "url" : "https://apps.health/DocumentReference/observation-date",
4611             "valueDateTime" : "2022-04-12T16:40:00+00:00"
4612           }, {
4613             "url" : "https://apps.health/DocumentReference/position",
4614             "valueInteger" : 0
4615           }, {
4616             "url" : "https://apps.health/DocumentReference/program-id",
4617             "valueString" : "10034"
4618           }, {
4619             "url" : "https://apps.health/DocumentReference/reporter-caisi-role",
4620             "valueString" : "3"
4621           } ],
4622           "identifier" : [ {
4623             "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
4624             "value" : "95e80190-8b69-4f08-ac25-2775b809dcc6",
4625             "assigner" : {
4626               "reference" : "Organization/18"
4627             }
4628           } ],
4629           "status" : "current",
4630           "docStatus" : "final",
4631           "type" : {
4632             "coding" : [ {
4633               "system" : "http://loinc.org",
4634               "code" : "11488-4",
4635               "display" : "Consult note"
4636             } ],
4637             "text" : "Consult note"
4638           },
4639           "category" : [ {
4640             "coding" : [ {
4641               "system" : "https://apps.health/ValueSet/document-reference-category",
4642               "code" : "note",
4643               "display" : "note"
4644             } ],
4645             "text" : "note"
4646           } ],
4647           "subject" : {
4648             "reference" : "Patient/44",
4649             "identifier" : {
4650               "type" : {
4651                 "coding" : [ {
4652                   "system" : "http://apps.health.code.system",
4653                   "code" : "link-guid",
4654                   "display" : "link-guid"
4655                 } ],
4656                 "text" : "link-guid"
4657               },
4658               "value" : "ec292a73-736f-492a-af39-c731e42fdc59"
4659             }
4660           },
4661           "date" : "2022-04-12T16:40:00.000+00:00",
4662           "author" : [ {
4663             "reference" : "Practitioner/41"
4664           } ],
4665           "content" : [ {
4666             "extension" : [ {
4667               "url" : "https://apps.health/DocumentReference/note-history",
4668               "valueAttachment" : {
4669                 "contentType" : "text",
4670                 "data" : "WzI0LUZlYi0yMDIyIC46IFRlbC1Qcm9ncmVzcyBOb3RlXSAKdGVzdCBwcm9ncmVzcyBub3RlCltTaWduZWQgb24gMTItQXByLTIwMjIgMTI6NDMgYnkgVGVzdCBQcm92aWRlcl0KCiAgIC0tLS0tLS0tLS0tLS0tLS1IaXN0b3J5IFJlY29yZC0tLS0tLS0tLS0tLS0tLS0gICAKWzI0LUZlYi0yMDIyIC46IFRlbC1Qcm9ncmVzcyBOb3RlXSAKdGVzdCBwcm9ncmVzcyBub3RlCg=="
4671               }
4672             } ],
4673             "attachment" : {
4674               "contentType" : "text",
4675               "data" : "WzI0LUZlYi0yMDIyIC46IFRlbC1Qcm9ncmVzcyBOb3RlXSAKdGVzdCBwcm9ncmVzcyBub3RlCltTaWduZWQgb24gMTItQXByLTIwMjIgMTI6NDMgYnkgVGVzdCBQcm92aWRlcl0K"
4676             }
4677           } ],
4678           "context" : {
4679             "encounter" : [ {
4680               "reference" : "#Encounter/95e80190-8b69-4f08-ac25-2775b809dcc6"
4681             } ]
4682           }
4683         }
4684       }, {
4685         "fullUrl" : "http://apps.health/DocumentReference/479dfea0-e1d3-4a0d-9868-19cda028fad5",
4686         "resource" : {
4687           "resourceType" : "DocumentReference",
4688           "id" : "520",
4689           "meta" : {
4690             "lastUpdated" : "2023-01-12T20:56:42.000+00:00"
4691           },
4692           "language" : "en-CA",
4693           "contained" : [ {
4694             "resourceType" : "Encounter",
4695             "id" : "ed66581d-5e24-4267-92de-3e3694271658",
4696             "status" : "planned",
4697             "class" : {
4698               "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
4699               "code" : "AMB",
4700               "display" : "ambulatory",
4701               "userSelected" : true
4702             },
4703             "subject" : {
4704               "reference" : "#1"
4705             },
4706             "participant" : [ {
4707               "type" : [ {
4708                 "coding" : [ {
4709                   "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
4710                   "code" : "ATND",
4711                   "display" : "attender",
4712                   "userSelected" : false
4713                 } ]
4714               } ],
4715               "individual" : {
4716                 "reference" : "#4"
4717               }
4718             } ],
4719             "appointment" : [ {
4720               "reference" : "#5"
4721             } ],
4722             "period" : {
4723               "start" : "2023-01-12T20:56:42+00:00",
4724               "end" : "2023-01-12T20:56:42+00:00"
4725             }
4726           }, {
4727             "resourceType" : "Patient",
4728             "id" : "1",
4729             "language" : "en-CA",
4730             "extension" : [ {
4731               "url" : "https://apps.health/Patient/rosterStatus",
4732               "valueString" : "RO"
4733             }, {
4734               "url" : "https://apps.health/Patient/rosterDate",
4735               "valueDateTime" : "2022-05-05T04:00:00+00:00"
4736             }, {
4737               "url" : "https://apps.health/Patient/statusDate",
4738               "valueDateTime" : "2021-11-10T05:00:00+00:00"
4739             }, {
4740               "url" : "https://apps.health/Patient/dateJoined",
4741               "valueDateTime" : "2021-11-10T05:00:00+00:00"
4742             }, {
4743               "url" : "https://apps.health/Patient/hcType",
4744               "valueString" : "ON"
4745             }, {
4746               "url" : "https://apps.health/Patient/countryOfOrigin",
4747               "valueString" : "-1"
4748             }, {
4749               "url" : "https://apps.health/Patient/newsletter",
4750               "valueString" : "Unknown"
4751             }, {
4752               "url" : "https://apps.health/Patient/lastUpdateUser",
4753               "valueString" : "56"
4754             }, {
4755               "url" : "https://apps.health/Patient/lastUpdateDate",
4756               "valueDateTime" : "2023-01-12T21:02:36+00:00"
4757             }, {
4758               "url" : "https://apps.health/Patient/type",
4759               "valueString" : "NotSet"
4760             } ],
4761             "identifier" : [ {
4762               "type" : {
4763                 "coding" : [ {
4764                   "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
4765                   "code" : "JHN",
4766                   "display" : "Jurisdictional Health Number"
4767                 } ],
4768                 "text" : "Jurisdictional Health Number"
4769               },
4770               "system" : "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-patient-hcn",
4771               "value" : "6118103784::AY"
4772             }, {
4773               "type" : {
4774                 "coding" : [ {
4775                   "system" : "http://apps.health.code.system",
4776                   "code" : "link-guid",
4777                   "display" : "link-guid"
4778                 } ],
4779                 "text" : "link-guid"
4780               },
4781               "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
4782               "value" : "ec292a73-736f-492a-af39-c731e42fdc59",
4783               "assigner" : {
4784                 "reference" : "Organization/18"
4785               }
4786             } ],
4787             "active" : true,
4788             "name" : [ {
4789               "use" : "official",
4790               "family" : "BERGMAN",
4791               "given" : [ "BARRY" ],
4792               "prefix" : [ "MR" ]
4793             }, {
4794               "use" : "usual",
4795               "given" : [ "BARRY" ]
4796             } ],
4797             "telecom" : [ {
4798               "system" : "phone",
4799               "value" : "416-567-1111",
4800               "use" : "home"
4801             }, {
4802               "system" : "phone",
4803               "value" : "416-567-2222",
4804               "use" : "work"
4805             }, {
4806               "system" : "phone",
4807               "value" : "416-567-3333",
4808               "use" : "mobile",
4809               "rank" : 1
4810             } ],
4811             "gender" : "male",
4812             "birthDate" : "1950-01-18",
4813             "deceasedBoolean" : false,
4814             "address" : [ {
4815               "line" : [ "235 Lady Valentina Avenue" ],
4816               "city" : "Toronto",
4817               "state" : "ON",
4818               "postalCode" : "L6A 4T8",
4819               "country" : "Canada"
4820             } ],
4821             "maritalStatus" : {
4822               "coding" : [ {
4823                 "system" : "http://hl7.org/fhir/ValueSet/marital-status",
4824                 "code" : "U",
4825                 "display" : "unmarried"
4826               } ],
4827               "text" : "unmarried"
4828             },
4829             "contact" : [ {
4830               "extension" : [ {
4831                 "url" : "http://apps.health.code.system/Patient/contactDemographicId",
4832                 "valueInteger" : 8
4833               } ],
4834               "relationship" : [ {
4835                 "coding" : [ {
4836                   "system" : "http://unknown.code.system",
4837                   "code" : "Father",
4838                   "display" : "Father"
4839                 } ],
4840                 "text" : "Father"
4841               } ],
4842               "name" : {
4843                 "text" : "MR Jeff Neary"
4844               },
4845               "telecom" : [ {
4846                 "system" : "phone",
4847                 "value" : "905-",
4848                 "use" : "home"
4849               }, {
4850                 "system" : "phone",
4851                 "value" : "778-896-5994",
4852                 "use" : "mobile"
4853               }, {
4854                 "system" : "email",
4855                 "value" : "nearj2@gmail.com",
4856                 "use" : "home"
4857               } ],
4858               "address" : {
4859                 "line" : [ "29 Moreau Dr" ],
4860                 "city" : "Charlottetown",
4861                 "state" : "PE",
4862                 "postalCode" : "c1a2y3",
4863                 "country" : "Canada"
4864               },
4865               "gender" : "male"
4866             } ],
4867             "communication" : [ {
4868               "extension" : [ {
4869                 "url" : "https://apps.health/Patient/is-official-language",
4870                 "valueBoolean" : true
4871               } ],
4872               "language" : {
4873                 "coding" : [ {
4874                   "system" : "http://unknown.code.system",
4875                   "code" : "English",
4876                   "display" : "English"
4877                 } ],
4878                 "text" : "English"
4879               }
4880             } ],
4881             "generalPractitioner" : [ {
4882               "extension" : [ {
4883                 "url" : "https://apps.health/Patient/isMrp",
4884                 "valueBoolean" : true
4885               } ],
4886               "reference" : "#Practitioner/41",
4887               "display" : "Test/Provider"
4888             }, {
4889               "extension" : [ {
4890                 "url" : "https://apps.health/Patient/isEnrollmentProvider",
4891                 "valueBoolean" : true
4892               } ],
4893               "reference" : "#Practitioner/43",
4894               "display" : "Hypercare/App"
4895             } ],
4896             "managingOrganization" : {
4897               "reference" : "#2"
4898             },
4899             "link" : [ {
4900               "modifierExtension" : [ {
4901                 "url" : "https://oscarpro.ca/fhir/StructureDefinition/link-status",
4902                 "valueString" : "NO_MATCH"
4903               } ],
4904               "other" : {
4905                 "reference" : "#3"
4906               },
4907               "type" : "seealso"
4908             } ]
4909           }, {
4910             "resourceType" : "Organization",
4911             "id" : "2",
4912             "active" : true,
4913             "name" : "Apps Health Medical",
4914             "telecom" : [ {
4915               "system" : "phone",
4916               "value" : "555-555-5555"
4917             }, {
4918               "system" : "fax",
4919               "value" : "555-555-5555"
4920             } ],
4921             "address" : [ {
4922               "line" : [ "123 Vernon Road" ],
4923               "city" : "Hamilton",
4924               "state" : "Ontario"
4925             } ]
4926           }, {
4927             "resourceType" : "Patient",
4928             "id" : "3"
4929           }, {
4930             "resourceType" : "Practitioner",
4931             "id" : "4",
4932             "language" : "en-CA",
4933             "extension" : [ {
4934               "url" : "https://apps.health/Pratitioner/provider-type",
4935               "valueCodeableConcept" : {
4936                 "coding" : [ {
4937                   "system" : "http://unknown.code.system",
4938                   "code" : "doctor",
4939                   "display" : "doctor"
4940                 } ],
4941                 "text" : "doctor"
4942               }
4943             }, {
4944               "url" : "https://apps.health/Pratitioner/last-updated-by",
4945               "valueString" : "999998"
4946             }, {
4947               "url" : "https://apps.health/Pratitioner/last-updated-date-time",
4948               "valueDateTime" : "2022-03-14T16:21:33+00:00"
4949             }, {
4950               "url" : "https://apps.health/Pratitioner/third-party-only",
4951               "valueBoolean" : false
4952             }, {
4953               "url" : "https://apps.health/Pratitioner/has-schedule",
4954               "valueBoolean" : true
4955             }, {
4956               "url" : "https://apps.health/Pratitioner/receives-ticklers",
4957               "valueBoolean" : true
4958             } ],
4959             "active" : true,
4960             "name" : [ {
4961               "use" : "official",
4962               "family" : "Health",
4963               "given" : [ "Caddie" ]
4964             } ],
4965             "gender" : "unknown"
4966           }, {
4967             "resourceType" : "Appointment",
4968             "id" : "5",
4969             "language" : "en-CA",
4970             "extension" : [ {
4971               "url" : "https://apps.health/Appointment/updated-date-time",
4972               "valueDateTime" : "2023-01-12T20:56:42+00:00"
4973             }, {
4974               "url" : "https://apps.health/Appointment/creator",
4975               "valueString" : "Health, Caddie"
4976             }, {
4977               "url" : "https://apps.health/Appointment/updated-by",
4978               "valueString" : "56"
4979             }, {
4980               "url" : "https://apps.health/Appointment/see-receptionist-at-checkin",
4981               "valueBoolean" : false
4982             } ],
4983             "status" : "booked",
4984             "appointmentType" : {
4985               "coding" : [ {
4986                 "system" : "http://unknown.code.system",
4987                 "code" : "null",
4988                 "display" : "null"
4989               } ],
4990               "text" : "null"
4991             },
4992             "description" : "BERGMAN, BARRY",
4993             "start" : "2023-01-12T16:00:00.000+00:00",
4994             "end" : "2023-01-12T16:14:00.000+00:00",
4995             "minutesDuration" : 15,
4996             "created" : "2023-01-12T20:55:54+00:00",
4997             "participant" : [ {
4998               "actor" : {
4999                 "reference" : "Practitioner/56"
5000               }
5001             }, {
5002               "actor" : {
5003                 "reference" : "Patient/44"
5004               }
5005             } ]
5006           } ],
5007           "extension" : [ {
5008             "url" : "https://apps.health/DocumentReference/appointment-no",
5009             "valueInteger" : 578
5010           }, {
5011             "url" : "https://apps.health/DocumentReference/is-signed",
5012             "valueBoolean" : true
5013           }, {
5014             "url" : "https://apps.health/DocumentReference/is-include-issue-in-note",
5015             "valueBoolean" : false
5016           }, {
5017             "url" : "https://apps.health/DocumentReference/encounter-type",
5018             "valueString" : "face to face encounter with client"
5019           }, {
5020             "url" : "https://apps.health/DocumentReference/signing-provider-no",
5021             "valueString" : "56"
5022           }, {
5023             "url" : "https://apps.health/DocumentReference/observation-date",
5024             "valueDateTime" : "2023-01-12T20:56:42+00:00"
5025           }, {
5026             "url" : "https://apps.health/DocumentReference/position",
5027             "valueInteger" : 0
5028           }, {
5029             "url" : "https://apps.health/DocumentReference/program-id",
5030             "valueString" : "10034"
5031           }, {
5032             "url" : "https://apps.health/DocumentReference/reporter-caisi-role",
5033             "valueString" : "2"
5034           } ],
5035           "identifier" : [ {
5036             "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
5037             "value" : "ed66581d-5e24-4267-92de-3e3694271658",
5038             "assigner" : {
5039               "reference" : "Organization/18"
5040             }
5041           } ],
5042           "status" : "current",
5043           "docStatus" : "final",
5044           "type" : {
5045             "coding" : [ {
5046               "system" : "http://loinc.org",
5047               "code" : "11488-4",
5048               "display" : "Consult note"
5049             } ],
5050             "text" : "Consult note"
5051           },
5052           "category" : [ {
5053             "coding" : [ {
5054               "system" : "https://apps.health/ValueSet/document-reference-category",
5055               "code" : "note",
5056               "display" : "note"
5057             } ],
5058             "text" : "note"
5059           } ],
5060           "subject" : {
5061             "reference" : "Patient/44",
5062             "identifier" : {
5063               "type" : {
5064                 "coding" : [ {
5065                   "system" : "http://apps.health.code.system",
5066                   "code" : "link-guid",
5067                   "display" : "link-guid"
5068                 } ],
5069                 "text" : "link-guid"
5070               },
5071               "value" : "ec292a73-736f-492a-af39-c731e42fdc59"
5072             }
5073           },
5074           "date" : "2023-01-12T20:56:42.000+00:00",
5075           "author" : [ {
5076             "reference" : "Practitioner/56"
5077           } ],
5078           "content" : [ {
5079             "extension" : [ {
5080               "url" : "https://apps.health/DocumentReference/note-history",
5081               "valueAttachment" : {
5082                 "contentType" : "text",
5083                 "data" : "WzEyLUphbi0yMDIzIDogXQpUZXN0IGVuY291bnRlciB3aXRoIHRlcm1pbmF0ZWQgcGF0aWVudApbVmVyaWZpZWQgYW5kIFNpZ25lZCBvbiAxMi1KYW4tMjAyMyAxNTo1NiBieSBDYWRkaWUgSGVhbHRoXQo="
5084               }
5085             } ],
5086             "attachment" : {
5087               "contentType" : "text",
5088               "data" : "WzEyLUphbi0yMDIzIDogXQpUZXN0IGVuY291bnRlciB3aXRoIHRlcm1pbmF0ZWQgcGF0aWVudApbVmVyaWZpZWQgYW5kIFNpZ25lZCBvbiAxMi1KYW4tMjAyMyAxNTo1NiBieSBDYWRkaWUgSGVhbHRoXQo="
5089             }
5090           } ],
5091           "context" : {
5092             "encounter" : [ {
5093               "reference" : "#Encounter/ed66581d-5e24-4267-92de-3e3694271658"
5094             } ]
5095           }
5096         }
5097       }, {
5098         "fullUrl" : "http://apps.health/DocumentReference/fda4c58b-357f-46cb-b9f9-c2487cb943e3",
5099         "resource" : {
5100           "resourceType" : "DocumentReference",
5101           "id" : "544",
5102           "meta" : {
5103             "lastUpdated" : "2023-02-01T14:32:58.000+00:00"
5104           },
5105           "language" : "en-CA",
5106           "contained" : [ {
5107             "resourceType" : "Encounter",
5108             "id" : "3873199c-d97c-46c8-89a3-2599b0e7bfdf",
5109             "class" : {
5110               "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
5111               "code" : "VR",
5112               "display" : "virtual",
5113               "userSelected" : true
5114             },
5115             "subject" : {
5116               "reference" : "#1"
5117             },
5118             "participant" : [ {
5119               "type" : [ {
5120                 "coding" : [ {
5121                   "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
5122                   "code" : "ATND",
5123                   "display" : "attender",
5124                   "userSelected" : false
5125                 } ]
5126               } ],
5127               "individual" : {
5128                 "reference" : "#4"
5129               }
5130             } ],
5131             "period" : {
5132               "start" : "2023-02-01T14:32:58+00:00",
5133               "end" : "2023-02-01T14:32:58+00:00"
5134             }
5135           }, {
5136             "resourceType" : "Patient",
5137             "id" : "1",
5138             "language" : "en-CA",
5139             "extension" : [ {
5140               "url" : "https://apps.health/Patient/rosterStatus",
5141               "valueString" : "RO"
5142             }, {
5143               "url" : "https://apps.health/Patient/rosterDate",
5144               "valueDateTime" : "2022-05-05T04:00:00+00:00"
5145             }, {
5146               "url" : "https://apps.health/Patient/statusDate",
5147               "valueDateTime" : "2021-11-10T05:00:00+00:00"
5148             }, {
5149               "url" : "https://apps.health/Patient/dateJoined",
5150               "valueDateTime" : "2021-11-10T05:00:00+00:00"
5151             }, {
5152               "url" : "https://apps.health/Patient/hcType",
5153               "valueString" : "ON"
5154             }, {
5155               "url" : "https://apps.health/Patient/countryOfOrigin",
5156               "valueString" : "-1"
5157             }, {
5158               "url" : "https://apps.health/Patient/newsletter",
5159               "valueString" : "Unknown"
5160             }, {
5161               "url" : "https://apps.health/Patient/lastUpdateUser",
5162               "valueString" : "56"
5163             }, {
5164               "url" : "https://apps.health/Patient/lastUpdateDate",
5165               "valueDateTime" : "2023-01-12T21:02:36+00:00"
5166             }, {
5167               "url" : "https://apps.health/Patient/type",
5168               "valueString" : "NotSet"
5169             } ],
5170             "identifier" : [ {
5171               "type" : {
5172                 "coding" : [ {
5173                   "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
5174                   "code" : "JHN",
5175                   "display" : "Jurisdictional Health Number"
5176                 } ],
5177                 "text" : "Jurisdictional Health Number"
5178               },
5179               "system" : "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-patient-hcn",
5180               "value" : "6118103784::AY"
5181             }, {
5182               "type" : {
5183                 "coding" : [ {
5184                   "system" : "http://apps.health.code.system",
5185                   "code" : "link-guid",
5186                   "display" : "link-guid"
5187                 } ],
5188                 "text" : "link-guid"
5189               },
5190               "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
5191               "value" : "ec292a73-736f-492a-af39-c731e42fdc59",
5192               "assigner" : {
5193                 "reference" : "Organization/18"
5194               }
5195             } ],
5196             "active" : true,
5197             "name" : [ {
5198               "use" : "official",
5199               "family" : "BERGMAN",
5200               "given" : [ "BARRY" ],
5201               "prefix" : [ "MR" ]
5202             }, {
5203               "use" : "usual",
5204               "given" : [ "BARRY" ]
5205             } ],
5206             "telecom" : [ {
5207               "system" : "phone",
5208               "value" : "416-567-1111",
5209               "use" : "home"
5210             }, {
5211               "system" : "phone",
5212               "value" : "416-567-2222",
5213               "use" : "work"
5214             }, {
5215               "system" : "phone",
5216               "value" : "416-567-3333",
5217               "use" : "mobile",
5218               "rank" : 1
5219             } ],
5220             "gender" : "male",
5221             "birthDate" : "1950-01-18",
5222             "deceasedBoolean" : false,
5223             "address" : [ {
5224               "line" : [ "235 Lady Valentina Avenue" ],
5225               "city" : "Toronto",
5226               "state" : "ON",
5227               "postalCode" : "L6A 4T8",
5228               "country" : "Canada"
5229             } ],
5230             "maritalStatus" : {
5231               "coding" : [ {
5232                 "system" : "http://hl7.org/fhir/ValueSet/marital-status",
5233                 "code" : "U",
5234                 "display" : "unmarried"
5235               } ],
5236               "text" : "unmarried"
5237             },
5238             "contact" : [ {
5239               "extension" : [ {
5240                 "url" : "http://apps.health.code.system/Patient/contactDemographicId",
5241                 "valueInteger" : 8
5242               } ],
5243               "relationship" : [ {
5244                 "coding" : [ {
5245                   "system" : "http://unknown.code.system",
5246                   "code" : "Father",
5247                   "display" : "Father"
5248                 } ],
5249                 "text" : "Father"
5250               } ],
5251               "name" : {
5252                 "text" : "MR Jeff Neary"
5253               },
5254               "telecom" : [ {
5255                 "system" : "phone",
5256                 "value" : "905-",
5257                 "use" : "home"
5258               }, {
5259                 "system" : "phone",
5260                 "value" : "778-896-5994",
5261                 "use" : "mobile"
5262               }, {
5263                 "system" : "email",
5264                 "value" : "nearj2@gmail.com",
5265                 "use" : "home"
5266               } ],
5267               "address" : {
5268                 "line" : [ "29 Moreau Dr" ],
5269                 "city" : "Charlottetown",
5270                 "state" : "PE",
5271                 "postalCode" : "c1a2y3",
5272                 "country" : "Canada"
5273               },
5274               "gender" : "male"
5275             } ],
5276             "communication" : [ {
5277               "extension" : [ {
5278                 "url" : "https://apps.health/Patient/is-official-language",
5279                 "valueBoolean" : true
5280               } ],
5281               "language" : {
5282                 "coding" : [ {
5283                   "system" : "http://unknown.code.system",
5284                   "code" : "English",
5285                   "display" : "English"
5286                 } ],
5287                 "text" : "English"
5288               }
5289             } ],
5290             "generalPractitioner" : [ {
5291               "extension" : [ {
5292                 "url" : "https://apps.health/Patient/isMrp",
5293                 "valueBoolean" : true
5294               } ],
5295               "reference" : "#Practitioner/41",
5296               "display" : "Test/Provider"
5297             }, {
5298               "extension" : [ {
5299                 "url" : "https://apps.health/Patient/isEnrollmentProvider",
5300                 "valueBoolean" : true
5301               } ],
5302               "reference" : "#Practitioner/43",
5303               "display" : "Hypercare/App"
5304             } ],
5305             "managingOrganization" : {
5306               "reference" : "#2"
5307             },
5308             "link" : [ {
5309               "modifierExtension" : [ {
5310                 "url" : "https://oscarpro.ca/fhir/StructureDefinition/link-status",
5311                 "valueString" : "NO_MATCH"
5312               } ],
5313               "other" : {
5314                 "reference" : "#3"
5315               },
5316               "type" : "seealso"
5317             } ]
5318           }, {
5319             "resourceType" : "Organization",
5320             "id" : "2",
5321             "active" : true,
5322             "name" : "Apps Health Medical",
5323             "telecom" : [ {
5324               "system" : "phone",
5325               "value" : "555-555-5555"
5326             }, {
5327               "system" : "fax",
5328               "value" : "555-555-5555"
5329             } ],
5330             "address" : [ {
5331               "line" : [ "123 Vernon Road" ],
5332               "city" : "Hamilton",
5333               "state" : "Ontario"
5334             } ]
5335           }, {
5336             "resourceType" : "Patient",
5337             "id" : "3"
5338           }, {
5339             "resourceType" : "Practitioner",
5340             "id" : "4",
5341             "language" : "en-CA",
5342             "extension" : [ {
5343               "url" : "https://apps.health/Pratitioner/provider-type",
5344               "valueCodeableConcept" : {
5345                 "coding" : [ {
5346                   "system" : "http://unknown.code.system",
5347                   "code" : "doctor",
5348                   "display" : "doctor"
5349                 } ],
5350                 "text" : "doctor"
5351               }
5352             }, {
5353               "url" : "https://apps.health/Pratitioner/last-updated-by",
5354               "valueString" : "999998"
5355             }, {
5356               "url" : "https://apps.health/Pratitioner/last-updated-date-time",
5357               "valueDateTime" : "2021-12-15T17:33:55+00:00"
5358             }, {
5359               "url" : "https://apps.health/Pratitioner/third-party-only",
5360               "valueBoolean" : false
5361             }, {
5362               "url" : "https://apps.health/Pratitioner/has-schedule",
5363               "valueBoolean" : true
5364             }, {
5365               "url" : "https://apps.health/Pratitioner/receives-ticklers",
5366               "valueBoolean" : true
5367             } ],
5368             "active" : true,
5369             "name" : [ {
5370               "use" : "official",
5371               "family" : "ai",
5372               "given" : [ "tali" ]
5373             } ],
5374             "gender" : "unknown"
5375           } ],
5376           "extension" : [ {
5377             "url" : "https://apps.health/DocumentReference/appointment-no",
5378             "valueInteger" : 0
5379           }, {
5380             "url" : "https://apps.health/DocumentReference/is-signed",
5381             "valueBoolean" : false
5382           }, {
5383             "url" : "https://apps.health/DocumentReference/is-include-issue-in-note",
5384             "valueBoolean" : false
5385           }, {
5386             "url" : "https://apps.health/DocumentReference/observation-date",
5387             "valueDateTime" : "2023-02-01T14:32:58+00:00"
5388           }, {
5389             "url" : "https://apps.health/DocumentReference/position",
5390             "valueInteger" : 0
5391           }, {
5392             "url" : "https://apps.health/DocumentReference/program-id",
5393             "valueString" : "10034"
5394           }, {
5395             "url" : "https://apps.health/DocumentReference/reporter-caisi-role",
5396             "valueString" : "2"
5397           } ],
5398           "identifier" : [ {
5399             "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
5400             "value" : "3873199c-d97c-46c8-89a3-2599b0e7bfdf",
5401             "assigner" : {
5402               "reference" : "Organization/18"
5403             }
5404           } ],
5405           "status" : "current",
5406           "docStatus" : "final",
5407           "type" : {
5408             "coding" : [ {
5409               "system" : "http://loinc.org",
5410               "code" : "11488-4",
5411               "display" : "Consult note"
5412             } ],
5413             "text" : "Consult note"
5414           },
5415           "category" : [ {
5416             "coding" : [ {
5417               "system" : "https://apps.health/ValueSet/document-reference-category",
5418               "code" : "note",
5419               "display" : "note"
5420             } ],
5421             "text" : "note"
5422           } ],
5423           "subject" : {
5424             "reference" : "Patient/44",
5425             "identifier" : {
5426               "type" : {
5427                 "coding" : [ {
5428                   "system" : "http://apps.health.code.system",
5429                   "code" : "link-guid",
5430                   "display" : "link-guid"
5431                 } ],
5432                 "text" : "link-guid"
5433               },
5434               "value" : "ec292a73-736f-492a-af39-c731e42fdc59"
5435             }
5436           },
5437           "date" : "2023-02-01T14:32:58.000+00:00",
5438           "author" : [ {
5439             "reference" : "Practitioner/48"
5440           } ],
5441           "content" : [ {
5442             "extension" : [ {
5443               "url" : "https://apps.health/DocumentReference/note-history",
5444               "valueAttachment" : {
5445                 "contentType" : "text",
5446                 "data" : "WzAxLUZlYi0yMDIzIDogVGVsLVByb2dyZXNzIE5vdGVdIAo="
5447               }
5448             } ],
5449             "attachment" : {
5450               "contentType" : "text",
5451               "data" : "WzAxLUZlYi0yMDIzIDogVGVsLVByb2dyZXNzIE5vdGVdIAo="
5452             }
5453           } ],
5454           "context" : {
5455             "encounter" : [ {
5456               "reference" : "#Encounter/3873199c-d97c-46c8-89a3-2599b0e7bfdf"
5457             } ]
5458           }
5459         }
5460       }, {
5461         "fullUrl" : "http://apps.health/DocumentReference/b9db5611-7259-490d-beb6-163fecf1b4ff",
5462         "resource" : {
5463           "resourceType" : "DocumentReference",
5464           "id" : "545",
5465           "meta" : {
5466             "lastUpdated" : "2023-02-01T14:40:15.000+00:00"
5467           },
5468           "language" : "en-CA",
5469           "contained" : [ {
5470             "resourceType" : "Encounter",
5471             "id" : "3873199c-d97c-46c8-89a3-2599b0e7bfdf",
5472             "class" : {
5473               "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
5474               "code" : "VR",
5475               "display" : "virtual",
5476               "userSelected" : true
5477             },
5478             "subject" : {
5479               "reference" : "#1"
5480             },
5481             "participant" : [ {
5482               "type" : [ {
5483                 "coding" : [ {
5484                   "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
5485                   "code" : "ATND",
5486                   "display" : "attender",
5487                   "userSelected" : false
5488                 } ]
5489               } ],
5490               "individual" : {
5491                 "reference" : "#4"
5492               }
5493             } ],
5494             "period" : {
5495               "start" : "2023-02-01T14:32:00+00:00",
5496               "end" : "2023-02-01T14:32:00+00:00"
5497             }
5498           }, {
5499             "resourceType" : "Patient",
5500             "id" : "1",
5501             "language" : "en-CA",
5502             "extension" : [ {
5503               "url" : "https://apps.health/Patient/rosterStatus",
5504               "valueString" : "RO"
5505             }, {
5506               "url" : "https://apps.health/Patient/rosterDate",
5507               "valueDateTime" : "2022-05-05T04:00:00+00:00"
5508             }, {
5509               "url" : "https://apps.health/Patient/statusDate",
5510               "valueDateTime" : "2021-11-10T05:00:00+00:00"
5511             }, {
5512               "url" : "https://apps.health/Patient/dateJoined",
5513               "valueDateTime" : "2021-11-10T05:00:00+00:00"
5514             }, {
5515               "url" : "https://apps.health/Patient/hcType",
5516               "valueString" : "ON"
5517             }, {
5518               "url" : "https://apps.health/Patient/countryOfOrigin",
5519               "valueString" : "-1"
5520             }, {
5521               "url" : "https://apps.health/Patient/newsletter",
5522               "valueString" : "Unknown"
5523             }, {
5524               "url" : "https://apps.health/Patient/lastUpdateUser",
5525               "valueString" : "56"
5526             }, {
5527               "url" : "https://apps.health/Patient/lastUpdateDate",
5528               "valueDateTime" : "2023-01-12T21:02:36+00:00"
5529             }, {
5530               "url" : "https://apps.health/Patient/type",
5531               "valueString" : "NotSet"
5532             } ],
5533             "identifier" : [ {
5534               "type" : {
5535                 "coding" : [ {
5536                   "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
5537                   "code" : "JHN",
5538                   "display" : "Jurisdictional Health Number"
5539                 } ],
5540                 "text" : "Jurisdictional Health Number"
5541               },
5542               "system" : "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-patient-hcn",
5543               "value" : "6118103784::AY"
5544             }, {
5545               "type" : {
5546                 "coding" : [ {
5547                   "system" : "http://apps.health.code.system",
5548                   "code" : "link-guid",
5549                   "display" : "link-guid"
5550                 } ],
5551                 "text" : "link-guid"
5552               },
5553               "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
5554               "value" : "ec292a73-736f-492a-af39-c731e42fdc59",
5555               "assigner" : {
5556                 "reference" : "Organization/18"
5557               }
5558             } ],
5559             "active" : true,
5560             "name" : [ {
5561               "use" : "official",
5562               "family" : "BERGMAN",
5563               "given" : [ "BARRY" ],
5564               "prefix" : [ "MR" ]
5565             }, {
5566               "use" : "usual",
5567               "given" : [ "BARRY" ]
5568             } ],
5569             "telecom" : [ {
5570               "system" : "phone",
5571               "value" : "416-567-1111",
5572               "use" : "home"
5573             }, {
5574               "system" : "phone",
5575               "value" : "416-567-2222",
5576               "use" : "work"
5577             }, {
5578               "system" : "phone",
5579               "value" : "416-567-3333",
5580               "use" : "mobile",
5581               "rank" : 1
5582             } ],
5583             "gender" : "male",
5584             "birthDate" : "1950-01-18",
5585             "deceasedBoolean" : false,
5586             "address" : [ {
5587               "line" : [ "235 Lady Valentina Avenue" ],
5588               "city" : "Toronto",
5589               "state" : "ON",
5590               "postalCode" : "L6A 4T8",
5591               "country" : "Canada"
5592             } ],
5593             "maritalStatus" : {
5594               "coding" : [ {
5595                 "system" : "http://hl7.org/fhir/ValueSet/marital-status",
5596                 "code" : "U",
5597                 "display" : "unmarried"
5598               } ],
5599               "text" : "unmarried"
5600             },
5601             "contact" : [ {
5602               "extension" : [ {
5603                 "url" : "http://apps.health.code.system/Patient/contactDemographicId",
5604                 "valueInteger" : 8
5605               } ],
5606               "relationship" : [ {
5607                 "coding" : [ {
5608                   "system" : "http://unknown.code.system",
5609                   "code" : "Father",
5610                   "display" : "Father"
5611                 } ],
5612                 "text" : "Father"
5613               } ],
5614               "name" : {
5615                 "text" : "MR Jeff Neary"
5616               },
5617               "telecom" : [ {
5618                 "system" : "phone",
5619                 "value" : "905-",
5620                 "use" : "home"
5621               }, {
5622                 "system" : "phone",
5623                 "value" : "778-896-5994",
5624                 "use" : "mobile"
5625               }, {
5626                 "system" : "email",
5627                 "value" : "nearj2@gmail.com",
5628                 "use" : "home"
5629               } ],
5630               "address" : {
5631                 "line" : [ "29 Moreau Dr" ],
5632                 "city" : "Charlottetown",
5633                 "state" : "PE",
5634                 "postalCode" : "c1a2y3",
5635                 "country" : "Canada"
5636               },
5637               "gender" : "male"
5638             } ],
5639             "communication" : [ {
5640               "extension" : [ {
5641                 "url" : "https://apps.health/Patient/is-official-language",
5642                 "valueBoolean" : true
5643               } ],
5644               "language" : {
5645                 "coding" : [ {
5646                   "system" : "http://unknown.code.system",
5647                   "code" : "English",
5648                   "display" : "English"
5649                 } ],
5650                 "text" : "English"
5651               }
5652             } ],
5653             "generalPractitioner" : [ {
5654               "extension" : [ {
5655                 "url" : "https://apps.health/Patient/isMrp",
5656                 "valueBoolean" : true
5657               } ],
5658               "reference" : "#Practitioner/41",
5659               "display" : "Test/Provider"
5660             }, {
5661               "extension" : [ {
5662                 "url" : "https://apps.health/Patient/isEnrollmentProvider",
5663                 "valueBoolean" : true
5664               } ],
5665               "reference" : "#Practitioner/43",
5666               "display" : "Hypercare/App"
5667             } ],
5668             "managingOrganization" : {
5669               "reference" : "#2"
5670             },
5671             "link" : [ {
5672               "modifierExtension" : [ {
5673                 "url" : "https://oscarpro.ca/fhir/StructureDefinition/link-status",
5674                 "valueString" : "NO_MATCH"
5675               } ],
5676               "other" : {
5677                 "reference" : "#3"
5678               },
5679               "type" : "seealso"
5680             } ]
5681           }, {
5682             "resourceType" : "Organization",
5683             "id" : "2",
5684             "active" : true,
5685             "name" : "Apps Health Medical",
5686             "telecom" : [ {
5687               "system" : "phone",
5688               "value" : "555-555-5555"
5689             }, {
5690               "system" : "fax",
5691               "value" : "555-555-5555"
5692             } ],
5693             "address" : [ {
5694               "line" : [ "123 Vernon Road" ],
5695               "city" : "Hamilton",
5696               "state" : "Ontario"
5697             } ]
5698           }, {
5699             "resourceType" : "Patient",
5700             "id" : "3"
5701           }, {
5702             "resourceType" : "Practitioner",
5703             "id" : "4",
5704             "language" : "en-CA",
5705             "extension" : [ {
5706               "url" : "https://apps.health/Pratitioner/provider-type",
5707               "valueCodeableConcept" : {
5708                 "coding" : [ {
5709                   "system" : "http://unknown.code.system",
5710                   "code" : "doctor",
5711                   "display" : "doctor"
5712                 } ],
5713                 "text" : "doctor"
5714               }
5715             }, {
5716               "url" : "https://apps.health/Pratitioner/last-updated-by",
5717               "valueString" : "999998"
5718             }, {
5719               "url" : "https://apps.health/Pratitioner/last-updated-date-time",
5720               "valueDateTime" : "2021-12-15T17:33:55+00:00"
5721             }, {
5722               "url" : "https://apps.health/Pratitioner/third-party-only",
5723               "valueBoolean" : false
5724             }, {
5725               "url" : "https://apps.health/Pratitioner/has-schedule",
5726               "valueBoolean" : true
5727             }, {
5728               "url" : "https://apps.health/Pratitioner/receives-ticklers",
5729               "valueBoolean" : true
5730             } ],
5731             "active" : true,
5732             "name" : [ {
5733               "use" : "official",
5734               "family" : "ai",
5735               "given" : [ "tali" ]
5736             } ],
5737             "gender" : "unknown"
5738           } ],
5739           "extension" : [ {
5740             "url" : "https://apps.health/DocumentReference/appointment-no",
5741             "valueInteger" : 0
5742           }, {
5743             "url" : "https://apps.health/DocumentReference/is-signed",
5744             "valueBoolean" : false
5745           }, {
5746             "url" : "https://apps.health/DocumentReference/is-include-issue-in-note",
5747             "valueBoolean" : false
5748           }, {
5749             "url" : "https://apps.health/DocumentReference/observation-date",
5750             "valueDateTime" : "2023-02-01T14:32:00+00:00"
5751           }, {
5752             "url" : "https://apps.health/DocumentReference/position",
5753             "valueInteger" : 0
5754           }, {
5755             "url" : "https://apps.health/DocumentReference/program-id",
5756             "valueString" : "10034"
5757           }, {
5758             "url" : "https://apps.health/DocumentReference/reporter-caisi-role",
5759             "valueString" : "2"
5760           } ],
5761           "identifier" : [ {
5762             "system" : "urn:uuid:c757873d-ec9a-4326-a141-556f43239520",
5763             "value" : "3873199c-d97c-46c8-89a3-2599b0e7bfdf",
5764             "assigner" : {
5765               "reference" : "Organization/18"
5766             }
5767           } ],
5768           "status" : "current",
5769           "docStatus" : "final",
5770           "type" : {
5771             "coding" : [ {
5772               "system" : "http://loinc.org",
5773               "code" : "11488-4",
5774               "display" : "Consult note"
5775             } ],
5776             "text" : "Consult note"
5777           },
5778           "category" : [ {
5779             "coding" : [ {
5780               "system" : "https://apps.health/ValueSet/document-reference-category",
5781               "code" : "note",
5782               "display" : "note"
5783             } ],
5784             "text" : "note"
5785           } ],
5786           "subject" : {
5787             "reference" : "Patient/44",
5788             "identifier" : {
5789               "type" : {
5790                 "coding" : [ {
5791                   "system" : "http://apps.health.code.system",
5792                   "code" : "link-guid",
5793                   "display" : "link-guid"
5794                 } ],
5795                 "text" : "link-guid"
5796               },
5797               "value" : "ec292a73-736f-492a-af39-c731e42fdc59"
5798             }
5799           },
5800           "date" : "2023-02-01T14:32:00.000+00:00",
5801           "author" : [ {
5802             "reference" : "Practitioner/48"
5803           } ],
5804           "content" : [ {
5805             "extension" : [ {
5806               "url" : "https://apps.health/DocumentReference/note-history",
5807               "valueAttachment" : {
5808                 "contentType" : "text",
5809                 "data" : "WzAxLUZlYi0yMDIzIDogVGVsLVByb2dyZXNzIE5vdGVdIAoKICAgLS0tLS0tLS0tLS0tLS0tLUhpc3RvcnkgUmVjb3JkLS0tLS0tLS0tLS0tLS0tLSAgIApbMDEtRmViLTIwMjMgOiBUZWwtUHJvZ3Jlc3MgTm90ZV0gCgo="
5810               }
5811             } ],
5812             "attachment" : {
5813               "contentType" : "text",
5814               "data" : "WzAxLUZlYi0yMDIzIDogVGVsLVByb2dyZXNzIE5vdGVdIAo="
5815             }
5816           } ],
5817           "context" : {
5818             "encounter" : [ {
5819               "reference" : "#Encounter/3873199c-d97c-46c8-89a3-2599b0e7bfdf"
5820             } ]
5821           }
5822         }
5823       } ]
5824     }
5825   }, {
5826     "fullUrl" : "http://apps.health/Bundle/b377136c-dd20-42ba-8ea1-6115945c5411",
5827     "resource" : {
5828       "resourceType" : "Bundle",
5829       "identifier" : {
5830         "system" : "patient-chart-bundle-identifier",
5831         "value" : "Conditions"
5832       },
5833       "type" : "collection",
5834       "total" : 6,
5835       "entry" : [ {
5836         "fullUrl" : "http://apps.health/Condition/fb1826ad-6c5f-4e5a-bdfc-ebc75312c33e",
5837         "resource" : {
5838           "resourceType" : "Condition",
5839           "id" : "27",
5840           "meta" : {
5841             "lastUpdated" : "2021-11-12T14:38:35.000+00:00"
5842           },
5843           "extension" : [ {
5844             "url" : "https://apps.health/Condition/association",
5845             "valueBoolean" : false
5846           } ],
5847           "clinicalStatus" : {
5848             "coding" : [ {
5849               "system" : "http://hl7.org/fhir/condition-clinical",
5850               "code" : "active",
5851               "display" : "Active"
5852             } ],
5853             "text" : "Active"
5854           },
5855           "code" : {
5856             "coding" : [ {
5857               "system" : "icd9",
5858               "code" : "42731",
5859               "display" : "ATRIAL FIBRILLATION"
5860             } ],
5861             "text" : "ATRIAL FIBRILLATION"
5862           },
5863           "subject" : {
5864             "reference" : "Patient/44"
5865           },
5866           "recordedDate" : "2021-11-12T05:00:00+00:00",
5867           "recorder" : {
5868             "reference" : "Practitioner/999998"
5869           }
5870         }
5871       }, {
5872         "fullUrl" : "http://apps.health/Condition/ec11fc24-ebd7-4375-8070-98609a8d4218",
5873         "resource" : {
5874           "resourceType" : "Condition",
5875           "id" : "28",
5876           "meta" : {
5877             "lastUpdated" : "2021-11-12T14:38:36.000+00:00"
5878           },
5879           "extension" : [ {
5880             "url" : "https://apps.health/Condition/association",
5881             "valueBoolean" : false
5882           } ],
5883           "clinicalStatus" : {
5884             "coding" : [ {
5885               "system" : "http://hl7.org/fhir/condition-clinical",
5886               "code" : "active",
5887               "display" : "Active"
5888             } ],
5889             "text" : "Active"
5890           },
5891           "code" : {
5892             "coding" : [ {
5893               "system" : "icd9",
5894               "code" : "250",
5895               "display" : "DIABETES MELLITUS*"
5896             } ],
5897             "text" : "DIABETES MELLITUS*"
5898           },
5899           "subject" : {
5900             "reference" : "Patient/44"
5901           },
5902           "recordedDate" : "2021-11-12T05:00:00+00:00",
5903           "recorder" : {
5904             "reference" : "Practitioner/999998"
5905           }
5906         }
5907       }, {
5908         "fullUrl" : "http://apps.health/Condition/8b298be8-5e17-4a95-afe8-cf0bf73857d4",
5909         "resource" : {
5910           "resourceType" : "Condition",
5911           "id" : "29",
5912           "meta" : {
5913             "lastUpdated" : "2021-11-12T14:38:37.000+00:00"
5914           },
5915           "extension" : [ {
5916             "url" : "https://apps.health/Condition/association",
5917             "valueBoolean" : false
5918           } ],
5919           "clinicalStatus" : {
5920             "coding" : [ {
5921               "system" : "http://hl7.org/fhir/condition-clinical",
5922               "code" : "active",
5923               "display" : "Active"
5924             } ],
5925             "text" : "Active"
5926           },
5927           "code" : {
5928             "coding" : [ {
5929               "system" : "icd9",
5930               "code" : "401",
5931               "display" : "ESSENTIAL HYPERTENSION*"
5932             } ],
5933             "text" : "ESSENTIAL HYPERTENSION*"
5934           },
5935           "subject" : {
5936             "reference" : "Patient/44"
5937           },
5938           "recordedDate" : "2021-11-12T05:00:00+00:00",
5939           "recorder" : {
5940             "reference" : "Practitioner/999998"
5941           }
5942         }
5943       }, {
5944         "fullUrl" : "http://apps.health/Condition/de6260e2-0b02-432a-83e0-6d1029fd3f49",
5945         "resource" : {
5946           "resourceType" : "Condition",
5947           "id" : "30",
5948           "meta" : {
5949             "lastUpdated" : "2021-11-12T14:38:39.000+00:00"
5950           },
5951           "extension" : [ {
5952             "url" : "https://apps.health/Condition/association",
5953             "valueBoolean" : false
5954           } ],
5955           "clinicalStatus" : {
5956             "coding" : [ {
5957               "system" : "http://hl7.org/fhir/condition-clinical",
5958               "code" : "active",
5959               "display" : "Active"
5960             } ],
5961             "text" : "Active"
5962           },
5963           "code" : {
5964             "coding" : [ {
5965               "system" : "icd9",
5966               "code" : "042",
5967               "display" : "HUMAN IMMUNO VIRUS DIS"
5968             } ],
5969             "text" : "HUMAN IMMUNO VIRUS DIS"
5970           },
5971           "subject" : {
5972             "reference" : "Patient/44"
5973           },
5974           "recordedDate" : "2021-11-12T05:00:00+00:00",
5975           "recorder" : {
5976             "reference" : "Practitioner/999998"
5977           }
5978         }
5979       }, {
5980         "fullUrl" : "http://apps.health/Condition/de1a5c19-04be-4880-9984-b0365704826b",
5981         "resource" : {
5982           "resourceType" : "Condition",
5983           "id" : "31",
5984           "meta" : {
5985             "lastUpdated" : "2021-11-12T14:38:40.000+00:00"
5986           },
5987           "extension" : [ {
5988             "url" : "https://apps.health/Condition/association",
5989             "valueBoolean" : false
5990           } ],
5991           "clinicalStatus" : {
5992             "coding" : [ {
5993               "system" : "http://hl7.org/fhir/condition-clinical",
5994               "code" : "active",
5995               "display" : "Active"
5996             } ],
5997             "text" : "Active"
5998           },
5999           "code" : {
6000             "coding" : [ {
6001               "system" : "icd9",
6002               "code" : "v1251",
6003               "display" : "HX-VEN THROMBOSIS/EMBOLS"
6004             } ],
6005             "text" : "HX-VEN THROMBOSIS/EMBOLS"
6006           },
6007           "subject" : {
6008             "reference" : "Patient/44"
6009           },
6010           "recordedDate" : "2021-11-12T05:00:00+00:00",
6011           "recorder" : {
6012             "reference" : "Practitioner/999998"
6013           }
6014         }
6015       }, {
6016         "fullUrl" : "http://apps.health/Condition/546bbb13-dbf0-4354-b74e-049e0ada92ee",
6017         "resource" : {
6018           "resourceType" : "Condition",
6019           "id" : "32",
6020           "meta" : {
6021             "lastUpdated" : "2021-11-12T14:38:41.000+00:00"
6022           },
6023           "extension" : [ {
6024             "url" : "https://apps.health/Condition/association",
6025             "valueBoolean" : false
6026           } ],
6027           "clinicalStatus" : {
6028             "coding" : [ {
6029               "system" : "http://hl7.org/fhir/condition-clinical",
6030               "code" : "active",
6031               "display" : "Active"
6032             } ],
6033             "text" : "Active"
6034           },
6035           "code" : {
6036             "coding" : [ {
6037               "system" : "icd9",
6038               "code" : "v5861",
6039               "display" : "LONG-TERM USE ANTICOAGUL"
6040             } ],
6041             "text" : "LONG-TERM USE ANTICOAGUL"
6042           },
6043           "subject" : {
6044             "reference" : "Patient/44"
6045           },
6046           "recordedDate" : "2021-11-12T05:00:00+00:00",
6047           "recorder" : {
6048             "reference" : "Practitioner/999998"
6049           }
6050         }
6051       } ]
6052     }
6053   }, {
6054     "fullUrl" : "http://apps.health/Composition/3a3dbe0f-04e2-4695-b022-1a59060cdf52",
6055     "resource" : {
6056       "resourceType" : "Composition",
6057       "id" : "05e7f0e3-7650-47cf-8de2-2dd3528e5a3a",
6058       "text" : {
6059         "status" : "generated",
6060         "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Composition</b><a name=\"05e7f0e3-7650-47cf-8de2-2dd3528e5a3a\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Composition &quot;05e7f0e3-7650-47cf-8de2-2dd3528e5a3a&quot; </p></div><p><b>status</b>: final</p><p><b>type</b>: Patient summary Document <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#60591-5)</span></p><p><b>date</b>: Fri Feb 07 14:34:44 UTC 2025</p><p><b>author</b>: <a href=\"Practitioner/12345\">Practitioner/12345</a> &quot;Provider, Test&quot;</p><p><b>title</b>: Patient Chart for 6118103784</p><p><b>confidentiality</b>: N</p></div>"
6061       },
6062       "status" : "final",
6063       "type" : {
6064         "coding" : [ {
6065           "system" : "http://loinc.org",
6066           "code" : "60591-5",
6067           "display" : "Patient summary Document"
6068         } ]
6069       },
6070       "subject" : {
6071         "reference" : "Patient/6118103784"
6072       },
6073       "date" : "2025-02-07T14:34:44+00:00",
6074       "author" : [ {
6075         "reference" : "Practitioner/12345"
6076       } ],
6077       "title" : "Patient Chart for 6118103784",
6078       "confidentiality" : "N",
6079       "attester" : [ {
6080         "mode" : "legal",
6081         "time" : "2025-02-07T14:34:44+00:00",
6082         "party" : {
6083           "reference" : "Practitioner/12345"
6084         }
6085       } ],
6086       "custodian" : {
6087         "reference" : "Organization/some-organization-id"
6088       },
6089       "section" : [ {
6090         "title" : "Demographics",
6091         "entry" : [ {
6092           "reference" : "Patient/6118103784"
6093         } ]
6094       }, {
6095         "title" : "Doctors MRP",
6096         "entry" : [ {
6097           "reference" : "Practitioner/12345"
6098         } ]
6099       }, {
6100         "title" : "Allergies",
6101         "entry" : [ {
6102           "reference" : "AllergyIntolerance/13"
6103         }, {
6104           "reference" : "AllergyIntolerance/0"
6105         } ]
6106       }, {
6107         "title" : "Social History",
6108         "entry" : [ {
6109           "reference" : "Observation/258befbd-1dfb-4ef4-865b-1d3900b21d80"
6110         }, {
6111           "reference" : "Observation/ae61d01e-1388-4a2f-9b4f-db64fb6e6c4a"
6112         } ]
6113       }, {
6114         "title" : "Notes",
6115         "entry" : [ {
6116           "reference" : "DocumentReference/258befbd-1dfb-4ef4-865b-1d3900b21d80"
6117         }, {
6118           "reference" : "DocumentReference/e52038f4-88e8-4dda-9def-5aa0eb4431d5"
6119         }, {
6120           "reference" : "DocumentReference/2fa626c8-d10c-4447-8ac0-bf929922e6d1"
6121         }, {
6122           "reference" : "DocumentReference/d7837811-b7b8-4cbf-8eb7-0669c8e0cd3c"
6123         }, {
6124           "reference" : "DocumentReference/47af7fd2-d017-464e-a35c-06ef7e9f4b0d"
6125         }, {
6126           "reference" : "DocumentReference/0a9ad95f-4452-4302-9392-e80e49bb4ff8"
6127         }, {
6128           "reference" : "DocumentReference/ae61d01e-1388-4a2f-9b4f-db64fb6e6c4a"
6129         }, {
6130           "reference" : "DocumentReference/d7837811-b7b8-4cbf-8eb7-0669c8e0cd3c"
6131         }, {
6132           "reference" : "DocumentReference/95e80190-8b69-4f08-ac25-2775b809dcc6"
6133         }, {
6134           "reference" : "DocumentReference/95e80190-8b69-4f08-ac25-2775b809dcc6"
6135         }, {
6136           "reference" : "DocumentReference/ed66581d-5e24-4267-92de-3e3694271658"
6137         }, {
6138           "reference" : "DocumentReference/3873199c-d97c-46c8-89a3-2599b0e7bfdf"
6139         }, {
6140           "reference" : "DocumentReference/3873199c-d97c-46c8-89a3-2599b0e7bfdf"
6141         } ]
6142       }, {
6143         "title" : "Conditions",
6144         "entry" : [ {
6145           "reference" : "Condition/27"
6146         }, {
6147           "reference" : "Condition/28"
6148         }, {
6149           "reference" : "Condition/29"
6150         }, {
6151           "reference" : "Condition/30"
6152         }, {
6153           "reference" : "Condition/31"
6154         }, {
6155           "reference" : "Condition/32"
6156         } ]
6157       } ]
6158     }
6159   } ]
6160 }