Validation result

Information

File Name
default_2944_
OID :
1.3.6.1.4.1.12559.11.46.4.2944
Validation Date :
2/7/25 11:33:11 AM (EST GMT-0500)
Matchbox (3.9.10.1-Infoway)
http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Bundle
Validation Results :
DONE_PASSED
Permanent link :
https://pancanadianio.ca/evs/report.seam?oid=1.3.6.1.4.1.12559.11.46.4.2944
Data Visibility :
Public

Validation Results

«
»

Matchbox Standard Report
Additional Metadata Matchbox
XML

«
»
Validation Summary
23
19

Validation of item #5888PASSED

Validation Summary
23
19
Constraint ID
CODEINVALID
Constraint Type
TerminologyEngine
Constraint Description
Wrong Display Name 'revoke-service-request' for http://fhir.infoway-inforoute.ca/io/CA-eReC/CodeSystem/message-event-code#revoke-service-request. Valid display is 'An EventCode used by an eReC Requester To request that a ServiceRequest be terminated and the receiving system should follow all processes around revoking the referral' (for the language(s) 'en')
Location in validated object
line 1, column 1011, FHIRPath: Bundle.entry[0].resource.event.ofType(Coding)
Constraint ID
VALIDATION_VAL_PROFILE_UNKNOWN_NOT_POLICY
Constraint Type
InstanceValidator
Constraint Description
Profile reference 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-MessageHeader|1.0.1' has not been checked because it could not be found, and the validator is set to not fetch unknown profiles
Location in validated object
line 1, column 1677, FHIRPath: Bundle.entry[0].resource/*MessageHeader/7c4d106c-7420-47d5-be1f-cd75608f2f97*/.meta.profile[0]
Constraint ID
INVALID
Constraint Type
TerminologyEngine
Constraint Description
Wrong Display Name 'revoke-service-request' for http://fhir.infoway-inforoute.ca/io/CA-eReC/CodeSystem/message-event-code#revoke-service-request. Valid display is 'An EventCode used by an eReC Requester To request that a ServiceRequest be terminated and the receiving system should follow all processes around revoking the referral' (for the language(s) 'en')
Location in validated object
line 1, column 1011, FHIRPath: Bundle.entry[0].resource/*MessageHeader/7c4d106c-7420-47d5-be1f-cd75608f2f97*/.event.ofType(Coding).display
Constraint ID
INVALID
Constraint Type
TerminologyEngine
Constraint Description
Wrong Display Name 'Jurisdictional health number (Canada)' for http://terminology.hl7.org/CodeSystem/v2-0203#JHN. Valid display is 'Jurisdictional health number' (for the language(s) 'en')
Location in validated object
line 1, column 2216, FHIRPath: Bundle.entry[1].resource/*Patient/null*/.identifier[0].type.coding[0].display
Constraint ID
VALIDATION_VAL_PROFILE_UNKNOWN_NOT_POLICY
Constraint Type
InstanceValidator
Constraint Description
Profile reference 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Patient|1.0.1' has not been checked because it could not be found, and the validator is set to not fetch unknown profiles
Location in validated object
line 1, column 3097, FHIRPath: Bundle.entry[1].resource/*Patient/null*/.meta.profile[0]
Constraint ID
VALIDATION_VAL_PROFILE_UNKNOWN_NOT_POLICY
Constraint Type
InstanceValidator
Constraint Description
Profile reference 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-PractitionerRole|1.0.0' has not been checked because it could not be found, and the validator is set to not fetch unknown profiles
Location in validated object
line 1, column 4033, FHIRPath: Bundle.entry[2].resource/*PractitionerRole/null*/.meta.profile[0]
Constraint ID
INVALID
Constraint Type
TerminologyEngine
Constraint Description
Wrong Display Name 'Family Physician' for http://snomed.info/sct#59058001. Valid display is one of 2 choices: 'General physician' or 'General physician (occupation)' (for the language(s) 'en')
Location in validated object
line 1, column 4716, FHIRPath: Bundle.entry[3].resource/*PractitionerRole/null*/.code[0].coding[0].display
Constraint ID
VALIDATION_VAL_PROFILE_UNKNOWN_NOT_POLICY
Constraint Type
InstanceValidator
Constraint Description
Profile reference 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-PractitionerRole|1.0.0' has not been checked because it could not be found, and the validator is set to not fetch unknown profiles
Location in validated object
line 1, column 5119, FHIRPath: Bundle.entry[3].resource/*PractitionerRole/null*/.meta.profile[0]
Constraint ID
INVALID
Constraint Type
TerminologyEngine
Constraint Description
Wrong Display Name 'Family Physician' for http://snomed.info/sct#59058001. Valid display is one of 2 choices: 'General physician' or 'General physician (occupation)' (for the language(s) 'en')
Location in validated object
line 1, column 6334, FHIRPath: Bundle.entry[4].resource/*Practitioner/null*/.qualification[0].code.coding[0].display
Constraint ID
VALIDATION_VAL_PROFILE_UNKNOWN_NOT_POLICY
Constraint Type
InstanceValidator
Constraint Description
Profile reference 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Practitioner|1.0.0' has not been checked because it could not be found, and the validator is set to not fetch unknown profiles
Location in validated object
line 1, column 6337, FHIRPath: Bundle.entry[4].resource/*Practitioner/null*/.meta.profile[0]
Constraint ID
Terminology_TX_Code_ValueSet_Ext
Constraint Type
InstanceValidator
Constraint Description
No code provided, and a code should be provided from the value set 'ServiceDeliveryLocationRoleType' (http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType|3.0.0)
Location in validated object
line 1, column 6747, FHIRPath: Bundle.entry[5].resource/*Location/null*/.type[0]
Constraint ID
VALIDATION_VAL_PROFILE_UNKNOWN_NOT_POLICY
Constraint Type
InstanceValidator
Constraint Description
Profile reference 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Location|1.0.1' has not been checked because it could not be found, and the validator is set to not fetch unknown profiles
Location in validated object
line 1, column 7285, FHIRPath: Bundle.entry[5].resource/*Location/null*/.meta.profile[0]
Constraint ID
Terminology_TX_Code_ValueSet_Ext
Constraint Type
InstanceValidator
Constraint Description
No code provided, and a code should be provided from the value set 'ServiceDeliveryLocationRoleType' (http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType|3.0.0)
Location in validated object
line 1, column 7695, FHIRPath: Bundle.entry[6].resource/*Location/null*/.type[0]
Constraint ID
VALIDATION_VAL_PROFILE_UNKNOWN_NOT_POLICY
Constraint Type
InstanceValidator
Constraint Description
Profile reference 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Location|1.0.1' has not been checked because it could not be found, and the validator is set to not fetch unknown profiles
Location in validated object
line 1, column 8092, FHIRPath: Bundle.entry[6].resource/*Location/null*/.meta.profile[0]
Constraint ID
VALIDATION_VAL_PROFILE_UNKNOWN_NOT_POLICY
Constraint Type
InstanceValidator
Constraint Description
Profile reference 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-DocumentReference|1.0.0' has not been checked because it could not be found, and the validator is set to not fetch unknown profiles
Location in validated object
line 1, column 9038, FHIRPath: Bundle.entry[7].resource/*DocumentReference/null*/.meta.profile[0]
Constraint ID
INVALID
Constraint Type
TerminologyEngine
Constraint Description
Wrong Display Name 'DIAGNOSTIC_IMAGING' for http://snomed.info/sct#708175003. Valid display is one of 2 choices: 'Diagnostic imaging service (qualifier value)' or 'Diagnostic imaging service' (for the language(s) 'en')
Location in validated object
line 1, column 9574, FHIRPath: Bundle.entry[8].resource/*ServiceRequest/null*/.category[0].coding[0].display
Constraint ID
TYPE_SPECIFIC_CHECKS_DT_MARKDOWN_HTML
Constraint Type
InstanceValidator
Constraint Description
The markdown contains content that appears to be an embedded HTML tag starting at 'De'. This will (or SHOULD) be escaped by the presentation layer. The content should be checked to confirm that this is the desired behaviour
Location in validated object
line 1, column 10654, FHIRPath: Bundle.entry[8].resource/*ServiceRequest/null*/.note[0].text
Constraint ID
VALIDATION_VAL_PROFILE_UNKNOWN_NOT_POLICY
Constraint Type
InstanceValidator
Constraint Description
Profile reference 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-ServiceRequest|1.0.1' has not been checked because it could not be found, and the validator is set to not fetch unknown profiles
Location in validated object
line 1, column 10657, FHIRPath: Bundle.entry[8].resource/*ServiceRequest/null*/.meta.profile[0]
Constraint ID
VALIDATION_VAL_PROFILE_UNKNOWN_NOT_POLICY
Constraint Type
InstanceValidator
Constraint Description
Profile reference 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Organization|1.0.0' has not been checked because it could not be found, and the validator is set to not fetch unknown profiles
Location in validated object
line 1, column 11444, FHIRPath: Bundle.entry[9].resource/*Organization/null*/.meta.profile[0]
Constraint ID
INVALID
Constraint Type
TerminologyEngine
Constraint Description
Wrong Display Name 'Specialist' for http://snomed.info/sct#69280009. Valid display is one of 3 choices: 'Specialised physician', 'Specialized physician' or 'Specialized physician (occupation)' (for the language(s) 'en')
Location in validated object
line 1, column 12224, FHIRPath: Bundle.entry[10].resource/*Practitioner/null*/.qualification[0].code.coding[0].display
Constraint ID
VALIDATION_VAL_PROFILE_UNKNOWN_NOT_POLICY
Constraint Type
InstanceValidator
Constraint Description
Profile reference 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Practitioner|1.0.0' has not been checked because it could not be found, and the validator is set to not fetch unknown profiles
Location in validated object
line 1, column 12227, FHIRPath: Bundle.entry[10].resource/*Practitioner/null*/.meta.profile[0]
Constraint ID
VALIDATION_VAL_PROFILE_UNKNOWN_NOT_POLICY
Constraint Type
InstanceValidator
Constraint Description
Profile reference 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-QuestionnaireResponse|1.0.0' has not been checked because it could not be found, and the validator is set to not fetch unknown profiles
Location in validated object
line 1, column 12931, FHIRPath: Bundle.entry[11].resource/*QuestionnaireResponse/null*/.meta.profile[0]
Constraint ID
VALIDATION_VAL_PROFILE_UNKNOWN_NOT_POLICY
Constraint Type
InstanceValidator
Constraint Description
Profile reference 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Communication|1.0.0' has not been checked because it could not be found, and the validator is set to not fetch unknown profiles
Location in validated object
line 1, column 13561, FHIRPath: Bundle.entry[12].resource/*Communication/null*/.meta.profile[0]
Constraint ID
TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVE
Constraint Type
InstanceValidator
Constraint Description
Canonical URL 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-MessageHeader|1.0.1' does not resolve
Location in validated object
line 1, column 595, FHIRPath: Bundle.entry[0].resource.meta.profile[0]
Constraint ID
Extension_EXT_Unknown
Constraint Type
InstanceValidator
Constraint Description
Unknown extension http://ehealthontario.ca/fhir/StructureDefinition/ext-referral-identifier
Location in validated object
line 1, column 842, FHIRPath: Bundle.entry[0].resource.extension[0]
Constraint ID
TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVE
Constraint Type
InstanceValidator
Constraint Description
Canonical URL 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-MessageHeader|1.0.1' does not resolve
Location in validated object
line 1, column 595, FHIRPath: Bundle.entry[0].resource/*MessageHeader/7c4d106c-7420-47d5-be1f-cd75608f2f97*/.meta.profile[0]
Constraint ID
Extension_EXT_Unknown
Constraint Type
InstanceValidator
Constraint Description
Unknown extension http://ehealthontario.ca/fhir/StructureDefinition/ext-referral-identifier
Location in validated object
line 1, column 842, FHIRPath: Bundle.entry[0].resource/*MessageHeader/7c4d106c-7420-47d5-be1f-cd75608f2f97*/.extension[0]
Constraint ID
TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVE
Constraint Type
InstanceValidator
Constraint Description
Canonical URL 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Patient|1.0.1' does not resolve
Location in validated object
line 1, column 1883, FHIRPath: Bundle.entry[1].resource/*Patient/null*/.meta.profile[0]
Constraint ID
Extension_EXT_Unknown
Constraint Type
InstanceValidator
Constraint Description
Unknown extension http://ehealthontario.ca/fhir/StructureDefinition/ext-id-health-card-version-code
Location in validated object
line 1, column 2024, FHIRPath: Bundle.entry[1].resource/*Patient/null*/.identifier[0].extension[0]
Constraint ID
TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVE
Constraint Type
InstanceValidator
Constraint Description
Canonical URL 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-PractitionerRole|1.0.0' does not resolve
Location in validated object
line 1, column 3321, FHIRPath: Bundle.entry[2].resource/*PractitionerRole/null*/.meta.profile[0]
Constraint ID
TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVE
Constraint Type
InstanceValidator
Constraint Description
Canonical URL 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-PractitionerRole|1.0.0' does not resolve
Location in validated object
line 1, column 4257, FHIRPath: Bundle.entry[3].resource/*PractitionerRole/null*/.meta.profile[0]
Constraint ID
TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVE
Constraint Type
InstanceValidator
Constraint Description
Canonical URL 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Practitioner|1.0.0' does not resolve
Location in validated object
line 1, column 5335, FHIRPath: Bundle.entry[4].resource/*Practitioner/null*/.meta.profile[0]
Constraint ID
TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVE
Constraint Type
InstanceValidator
Constraint Description
Canonical URL 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Location|1.0.1' does not resolve
Location in validated object
line 1, column 6545, FHIRPath: Bundle.entry[5].resource/*Location/null*/.meta.profile[0]
Constraint ID
TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVE
Constraint Type
InstanceValidator
Constraint Description
Canonical URL 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Location|1.0.1' does not resolve
Location in validated object
line 1, column 7493, FHIRPath: Bundle.entry[6].resource/*Location/null*/.meta.profile[0]
Constraint ID
TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVE
Constraint Type
InstanceValidator
Constraint Description
Canonical URL 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-DocumentReference|1.0.0' does not resolve
Location in validated object
line 1, column 8318, FHIRPath: Bundle.entry[7].resource/*DocumentReference/null*/.meta.profile[0]
Constraint ID
TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVE
Constraint Type
InstanceValidator
Constraint Description
Canonical URL 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-ServiceRequest|1.0.1' does not resolve
Location in validated object
line 1, column 9258, FHIRPath: Bundle.entry[8].resource/*ServiceRequest/null*/.meta.profile[0]
Constraint ID
TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVE
Constraint Type
InstanceValidator
Constraint Description
Canonical URL 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Organization|1.0.0' does not resolve
Location in validated object
line 1, column 10873, FHIRPath: Bundle.entry[9].resource/*Organization/null*/.meta.profile[0]
Constraint ID
TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVE
Constraint Type
InstanceValidator
Constraint Description
Canonical URL 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Practitioner|1.0.0' does not resolve
Location in validated object
line 1, column 11660, FHIRPath: Bundle.entry[10].resource/*Practitioner/null*/.meta.profile[0]
Constraint ID
Questionnaire_QR_Q_None
Constraint Type
InstanceValidator
Constraint Description
No questionnaire is identified, so no validation can be performed against the base questionnaire
Location in validated object
line 1, column 12931, FHIRPath: Bundle.entry[11].resource/*QuestionnaireResponse/null*/
Constraint ID
TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVE
Constraint Type
InstanceValidator
Constraint Description
Canonical URL 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-QuestionnaireResponse|1.0.0' does not resolve
Location in validated object
line 1, column 12461, FHIRPath: Bundle.entry[11].resource/*QuestionnaireResponse/null*/.meta.profile[0]
Constraint ID
TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVE
Constraint Type
InstanceValidator
Constraint Description
Canonical URL 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Communication|1.0.0' does not resolve
Location in validated object
line 1, column 13149, FHIRPath: Bundle.entry[12].resource/*Communication/null*/.meta.profile[0]
Constraint ID
Questionnaire_QR_Q_None
Constraint Type
InstanceValidator
Constraint Description
No questionnaire is identified, so no validation can be performed against the base questionnaire
Location in validated object
line 1, column 12931, FHIRPath: Bundle.entry[11].resource

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   "id" : "8e8c0648-ca29-40fd-81ba-3f7bae470a6b",
4   "meta" : {
5     "lastUpdated" : "2025-02-07T11:31:50.842-05:00"
6   },
7   "identifier" : {
8     "system" : "http://localhost:8080/svc/fhir/v1/NamingSystem/id-action-reference",
9     "value" : "8e8c0648-ca29-40fd-81ba-3f7bae470a6b"
10   },
11   "type" : "message",
12   "timestamp" : "2025-02-07T11:31:50.842-05:00",
13   "entry" : [ {
14     "fullUrl" : "urn:uuid:7c4d106c-7420-47d5-be1f-cd75608f2f97",
15     "resource" : {
16       "resourceType" : "MessageHeader",
17       "id" : "7c4d106c-7420-47d5-be1f-cd75608f2f97",
18       "meta" : {
19         "profile" : [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-MessageHeader|1.0.1" ]
20       },
21       "extension" : [ {
22         "url" : "http://ehealthontario.ca/fhir/StructureDefinition/ext-referral-identifier",
23         "valueIdentifier" : {
24           "system" : "http://localhost:8080/svc/fhir/v1/NamingSystem/id-ereferral-reference",
25           "value" : "daeee4cc-4e68-4611-9bd7-98b96a9cfe71"
26         }
27       } ],
28       "eventCoding" : {
29         "system" : "http://fhir.infoway-inforoute.ca/io/CA-eReC/CodeSystem/message-event-code",
30         "code" : "revoke-service-request",
31         "display" : "revoke-service-request"
32       },
33       "destination" : [ {
34         "name" : "Projectathon PCCG - GOAutomate",
35         "endpoint" : "https://pancanadianio.ca:10300/econsult/pccg/$process-message",
36         "receiver" : {
37           "reference" : "urn:uuid:ac819d8e-b4c4-467f-8dd0-07d4a7d810af",
38           "identifier" : {
39             "system" : "http://healthcareservice-system-uri.ca",
40             "value" : "HealthcareService/279629144"
41           }
42         }
43       } ],
44       "sender" : {
45         "reference" : "urn:uuid:ce6e2f77-2148-4acb-857c-a6a7331d50c6"
46       },
47       "author" : {
48         "reference" : "urn:uuid:ce6e2f77-2148-4acb-857c-a6a7331d50c6"
49       },
50       "source" : {
51         "name" : "Ocean",
52         "endpoint" : "http://pancanadianio.ca:10444/svc/fhir/v1/$process-message"
53       },
54       "reason" : {
55         "text" : "Cancelled - Test Cancel"
56       },
57       "focus" : [ {
58         "reference" : "urn:uuid:daeee4cc-4e68-4611-9bd7-98b96a9cfe71"
59       } ]
60     }
61   }, {
62     "fullUrl" : "urn:uuid:88ba5bb5-3a2f-4299-b412-01ceedc8b8ea",
63     "resource" : {
64       "resourceType" : "Patient",
65       "meta" : {
66         "profile" : [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Patient|1.0.1" ]
67       },
68       "identifier" : [ {
69         "extension" : [ {
70           "url" : "http://ehealthontario.ca/fhir/StructureDefinition/ext-id-health-card-version-code",
71           "valueString" : "AB"
72         } ],
73         "use" : "official",
74         "type" : {
75           "coding" : [ {
76             "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
77             "code" : "JHN",
78             "display" : "Jurisdictional health number (Canada)"
79           } ],
80           "text" : "Personal Health Number"
81         },
82         "system" : "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-patient-hcn",
83         "value" : "1467870158"
84       }, {
85         "type" : {
86           "coding" : [ {
87             "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
88             "code" : "MR",
89             "display" : "Medical record number"
90           } ],
91           "text" : "EMR/EHR Medical Record Number"
92         },
93         "system" : "http://localhost:8080/svc/fhir/v1/NamingSystem/id-external-patient-reference",
94         "value" : "822"
95       } ],
96       "active" : true,
97       "name" : [ {
98         "use" : "official",
99         "text" : "Johnny Test",
100         "family" : "Test",
101         "given" : [ "Johnny", "Second" ],
102         "prefix" : [ "Mr." ]
103       } ],
104       "telecom" : [ {
105         "system" : "phone",
106         "value" : "647-290-8719",
107         "use" : "home"
108       }, {
109         "system" : "phone",
110         "value" : "647-290-8719",
111         "use" : "mobile"
112       } ],
113       "gender" : "male",
114       "birthDate" : "1982-02-19",
115       "deceasedBoolean" : false,
116       "address" : [ {
117         "use" : "home",
118         "type" : "postal",
119         "text" : "123 Any Street Vallee, Waterloo, ON, N2L3G1",
120         "line" : [ "123 Any Street", "Vallee" ],
121         "city" : "Waterloo",
122         "state" : "ON",
123         "postalCode" : "N2L3G1",
124         "country" : "CAN"
125       } ]
126     }
127   }, {
128     "fullUrl" : "urn:uuid:ac819d8e-b4c4-467f-8dd0-07d4a7d810af",
129     "resource" : {
130       "resourceType" : "PractitionerRole",
131       "meta" : {
132         "profile" : [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-PractitionerRole|1.0.0" ]
133       },
134       "identifier" : [ {
135         "system" : "http://localhost:8080/svc/fhir/v1/NamingSystem/id-referral-target-reference",
136         "value" : "projectathon_pccg_go30046638"
137       }, {
138         "system" : "http://localhost:8080/svc/fhir/v1/NamingSystem/id-referral-target-external-service",
139         "value" : "HealthcareService/279629144"
140       } ],
141       "active" : true,
142       "practitioner" : {
143         "reference" : "urn:uuid:1ffde4ed-130f-40b3-a65b-c37ed82e0cc0"
144       },
145       "organization" : {
146         "reference" : "urn:uuid:c0009506-fcfe-41c0-8f6a-81c66d0b5f3f"
147       },
148       "specialty" : [ {
149         "coding" : [ {
150           "system" : "https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension",
151           "code" : "708175003"
152         } ]
153       } ],
154       "location" : [ {
155         "reference" : "urn:uuid:631fa72d-31a4-4b4c-b296-4a9225afb999"
156       } ],
157       "telecom" : [ {
158         "system" : "phone",
159         "value" : "5556541236",
160         "use" : "work"
161       } ]
162     }
163   }, {
164     "fullUrl" : "urn:uuid:ce6e2f77-2148-4acb-857c-a6a7331d50c6",
165     "resource" : {
166       "resourceType" : "PractitionerRole",
167       "meta" : {
168         "profile" : [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-PractitionerRole|1.0.0" ]
169       },
170       "identifier" : [ {
171         "use" : "official",
172         "type" : {
173           "coding" : [ {
174             "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
175             "code" : "MD",
176             "display" : "Medical License number"
177           } ]
178         },
179         "system" : "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-license-physician",
180         "value" : "258521455"
181       } ],
182       "active" : true,
183       "practitioner" : {
184         "reference" : "urn:uuid:4c74826c-f55e-47ec-aaef-abf2cdb72345"
185       },
186       "code" : [ {
187         "coding" : [ {
188           "system" : "http://snomed.info/sct",
189           "code" : "59058001",
190           "display" : "Family Physician"
191         } ]
192       }, {
193         "coding" : [ {
194           "system" : "https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension",
195           "code" : "59058001",
196           "display" : "Family Physician"
197         } ]
198       } ],
199       "location" : [ {
200         "reference" : "urn:uuid:5c4a03ec-4ef9-4f51-969b-c907ef31781f"
201       } ],
202       "telecom" : [ {
203         "system" : "phone",
204         "value" : "123-456-7890",
205         "use" : "work"
206       }, {
207         "system" : "fax",
208         "value" : "123-456-7890",
209         "use" : "work"
210       }, {
211         "system" : "email",
212         "value" : "jfishbein@cognisantmd.com",
213         "use" : "work"
214       } ]
215     }
216   }, {
217     "fullUrl" : "urn:uuid:4c74826c-f55e-47ec-aaef-abf2cdb72345",
218     "resource" : {
219       "resourceType" : "Practitioner",
220       "meta" : {
221         "profile" : [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Practitioner|1.0.0" ]
222       },
223       "identifier" : [ {
224         "use" : "official",
225         "type" : {
226           "coding" : [ {
227             "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
228             "code" : "MD",
229             "display" : "Medical License number"
230           } ]
231         },
232         "system" : "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-license-physician",
233         "value" : "258521455"
234       }, {
235         "system" : "http://localhost:8080/svc/fhir/v1/NamingSystem/id-practitioner-username",
236         "value" : "jfishbein"
237       } ],
238       "active" : true,
239       "name" : [ {
240         "use" : "official",
241         "text" : "Jonathan Fishbein",
242         "family" : "Fishbein",
243         "given" : [ "Jonathan" ]
244       } ],
245       "telecom" : [ {
246         "system" : "phone",
247         "value" : "123-456-7890",
248         "use" : "work"
249       }, {
250         "system" : "fax",
251         "value" : "123-456-7890",
252         "use" : "work"
253       }, {
254         "system" : "email",
255         "value" : "jfishbein@cognisantmd.com",
256         "use" : "work"
257       } ],
258       "address" : [ {
259         "use" : "work",
260         "type" : "both",
261         "text" : "3080 Yonge St Yonge Street, Toronto, ON, M4N 3N1",
262         "line" : [ "3080 Yonge St", "Yonge Street" ],
263         "city" : "Toronto",
264         "state" : "ON",
265         "postalCode" : "M4N 3N1",
266         "country" : "Canada"
267       } ],
268       "qualification" : [ {
269         "code" : {
270           "coding" : [ {
271             "system" : "http://snomed.info/sct",
272             "code" : "59058001",
273             "display" : "Family Physician"
274           } ]
275         }
276       } ]
277     }
278   }, {
279     "fullUrl" : "urn:uuid:5c4a03ec-4ef9-4f51-969b-c907ef31781f",
280     "resource" : {
281       "resourceType" : "Location",
282       "meta" : {
283         "profile" : [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Location|1.0.1" ]
284       },
285       "identifier" : [ {
286         "system" : "urn:ietf:rfc:3986",
287         "value" : "urn:uuid:887f8b70-07bb-45ab-b9d7-f0eb2d8fb370"
288       } ],
289       "status" : "active",
290       "name" : "Service Location",
291       "mode" : "instance",
292       "type" : [ {
293         "text" : "Service Location"
294       } ],
295       "telecom" : [ {
296         "system" : "phone",
297         "value" : "123-456-7890",
298         "use" : "work"
299       }, {
300         "system" : "fax",
301         "value" : "123-456-7890",
302         "use" : "work"
303       }, {
304         "system" : "email",
305         "value" : "jfishbein@cognisantmd.com",
306         "use" : "work"
307       } ],
308       "address" : {
309         "use" : "work",
310         "type" : "physical",
311         "text" : "3080 Yonge St Yonge Street, Toronto, ON, M4N 3N1",
312         "line" : [ "3080 Yonge St", "Yonge Street" ],
313         "city" : "Toronto",
314         "state" : "ON",
315         "postalCode" : "M4N 3N1",
316         "country" : "Canada"
317       },
318       "physicalType" : {
319         "coding" : [ {
320           "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
321           "code" : "bu",
322           "display" : "Building"
323         } ]
324       }
325     }
326   }, {
327     "fullUrl" : "urn:uuid:631fa72d-31a4-4b4c-b296-4a9225afb999",
328     "resource" : {
329       "resourceType" : "Location",
330       "meta" : {
331         "profile" : [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Location|1.0.1" ]
332       },
333       "identifier" : [ {
334         "system" : "urn:ietf:rfc:3986",
335         "value" : "urn:uuid:3e18e3c9-e2f7-4b86-85cd-ea71c3fdde4d"
336       } ],
337       "status" : "active",
338       "name" : "Service Location",
339       "mode" : "instance",
340       "type" : [ {
341         "text" : "Service Location"
342       } ],
343       "address" : {
344         "use" : "work",
345         "type" : "physical",
346         "text" : "255 Front St W, Toronto, ON, M5V 2W6",
347         "line" : [ "255 Front St W" ],
348         "city" : "Toronto",
349         "state" : "ON",
350         "postalCode" : "M5V 2W6",
351         "country" : "Canada"
352       },
353       "physicalType" : {
354         "coding" : [ {
355           "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
356           "code" : "bu",
357           "display" : "Building"
358         } ]
359       },
360       "position" : {
361         "longitude" : -79.38786315917969,
362         "latitude" : 43.64392852783203
363       }
364     }
365   }, {
366     "fullUrl" : "urn:uuid:d6dc638e-4a83-4233-abba-8ba1b4f3157d",
367     "resource" : {
368       "resourceType" : "DocumentReference",
369       "meta" : {
370         "profile" : [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-DocumentReference|1.0.0" ]
371       },
372       "identifier" : [ {
373         "system" : "http://localhost:8080/svc/fhir/v1/NamingSystem/id-ereferral-reference",
374         "value" : "daeee4cc-4e68-4611-9bd7-98b96a9cfe71"
375       } ],
376       "status" : "current",
377       "type" : {
378         "text" : "Referral Letter"
379       },
380       "subject" : {
381         "reference" : "urn:uuid:88ba5bb5-3a2f-4299-b412-01ceedc8b8ea"
382       },
383       "date" : "2025-02-07T11:31:23.996-05:00",
384       "author" : [ {
385         "reference" : "urn:uuid:4c74826c-f55e-47ec-aaef-abf2cdb72345"
386       } ],
387       "content" : [ {
388         "attachment" : {
389           "contentType" : "application/pdf",
390           "url" : "http://localhost:8080/svc/fhir/v1/ServiceRequest/daeee4cc-4e68-4611-9bd7-98b96a9cfe71/$letter",
391           "title" : "Johnny Test-Demo Site-2025-02-07.pdf",
392           "creation" : "2025-02-07T11:31:23-05:00"
393         }
394       } ],
395       "context" : {
396         "related" : [ {
397           "reference" : "urn:uuid:daeee4cc-4e68-4611-9bd7-98b96a9cfe71"
398         } ]
399       }
400     }
401   }, {
402     "fullUrl" : "urn:uuid:daeee4cc-4e68-4611-9bd7-98b96a9cfe71",
403     "resource" : {
404       "resourceType" : "ServiceRequest",
405       "meta" : {
406         "profile" : [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-ServiceRequest|1.0.1" ]
407       },
408       "identifier" : [ {
409         "use" : "official",
410         "system" : "http://localhost:8080/svc/fhir/v1/NamingSystem/id-ereferral-reference",
411         "value" : "daeee4cc-4e68-4611-9bd7-98b96a9cfe71"
412       } ],
413       "status" : "completed",
414       "intent" : "proposal",
415       "category" : [ {
416         "coding" : [ {
417           "system" : "http://snomed.info/sct",
418           "code" : "708175003",
419           "display" : "DIAGNOSTIC_IMAGING"
420         } ]
421       } ],
422       "priority" : "routine",
423       "code" : {
424         "coding" : [ {
425           "system" : "http://snomed.info/sct",
426           "code" : "224891009",
427           "display" : "Healthcare services"
428         } ]
429       },
430       "subject" : {
431         "reference" : "urn:uuid:88ba5bb5-3a2f-4299-b412-01ceedc8b8ea"
432       },
433       "authoredOn" : "2025-02-07T11:31:23-05:00",
434       "requester" : {
435         "reference" : "urn:uuid:ce6e2f77-2148-4acb-857c-a6a7331d50c6"
436       },
437       "performer" : [ {
438         "reference" : "urn:uuid:ac819d8e-b4c4-467f-8dd0-07d4a7d810af",
439         "identifier" : {
440           "system" : "http://healthcareservice-system-uri.ca",
441           "value" : "HealthcareService/279629144"
442         }
443       } ],
444       "reasonCode" : [ {
445         "text" : "Test Referral"
446       } ],
447       "supportingInfo" : [ {
448         "reference" : "urn:uuid:d6dc638e-4a83-4233-abba-8ba1b4f3157d"
449       }, {
450         "reference" : "urn:uuid:0ff789e7-63c7-422e-adc4-40f288730958"
451       }, {
452         "reference" : "urn:uuid:19fa4bd3-6560-49bc-86f3-42ea065714a4"
453       } ],
454       "note" : [ {
455         "authorReference" : {
456           "reference" : "urn:uuid:4c74826c-f55e-47ec-aaef-abf2cdb72345"
457         },
458         "time" : "2025-02-07T11:31:23-05:00",
459         "text" : "Description: Test Referral&nbsp;<br><br><b><font color=\"#AA0000\">* At the request of the patient, Personal Health Information that is medically relevant to this referral has not been disclosed.</font></b>"
460       } ]
461     }
462   }, {
463     "fullUrl" : "urn:uuid:c0009506-fcfe-41c0-8f6a-81c66d0b5f3f",
464     "resource" : {
465       "resourceType" : "Organization",
466       "meta" : {
467         "profile" : [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Organization|1.0.0" ]
468       },
469       "identifier" : [ {
470         "system" : "http://localhost:8080/svc/fhir/v1/NamingSystem/id-organization-reference",
471         "value" : "c0009506-fcfe-41c0-8f6a-81c66d0b5f3f"
472       } ],
473       "active" : true,
474       "type" : [ {
475         "coding" : [ {
476           "system" : "http://terminology.hl7.org/CodeSystem/organization-type",
477           "code" : "prov",
478           "display" : "Healthcare Provider"
479         } ]
480       } ],
481       "name" : "FHIR EMR Site",
482       "telecom" : [ {
483         "system" : "phone",
484         "value" : "5556541236",
485         "use" : "work"
486       } ],
487       "address" : [ {
488         "use" : "work",
489         "type" : "both",
490         "text" : "23 Street St., sdfdsf, ON, S9S 2S2",
491         "line" : [ "23 Street St." ],
492         "city" : "sdfdsf",
493         "state" : "ON",
494         "postalCode" : "S9S 2S2",
495         "country" : "Canada"
496       } ]
497     }
498   }, {
499     "fullUrl" : "urn:uuid:1ffde4ed-130f-40b3-a65b-c37ed82e0cc0",
500     "resource" : {
501       "resourceType" : "Practitioner",
502       "meta" : {
503         "profile" : [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Practitioner|1.0.0" ]
504       },
505       "identifier" : [ {
506         "use" : "official",
507         "type" : {
508           "coding" : [ {
509             "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
510             "code" : "MD",
511             "display" : "Medical License number"
512           } ]
513         },
514         "system" : "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-license-physician",
515         "value" : "123456789"
516       }, {
517         "system" : "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-ohip-billing-id",
518         "value" : "987654321"
519       } ],
520       "active" : true,
521       "name" : [ {
522         "use" : "official",
523         "family" : "Fishbein",
524         "given" : [ "Jonathan" ]
525       } ],
526       "qualification" : [ {
527         "code" : {
528           "coding" : [ {
529             "system" : "http://snomed.info/sct",
530             "code" : "69280009",
531             "display" : "Specialist"
532           } ]
533         }
534       } ]
535     }
536   }, {
537     "fullUrl" : "urn:uuid:0ff789e7-63c7-422e-adc4-40f288730958",
538     "resource" : {
539       "resourceType" : "QuestionnaireResponse",
540       "meta" : {
541         "profile" : [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-QuestionnaireResponse|1.0.0" ]
542       },
543       "identifier" : {
544         "system" : "http://localhost:8080/svc/fhir/v1/NamingSystem/id-form-reference",
545         "value" : "simple_referral_form"
546       },
547       "status" : "completed",
548       "subject" : {
549         "reference" : "urn:uuid:88ba5bb5-3a2f-4299-b412-01ceedc8b8ea"
550       },
551       "author" : {
552         "reference" : "urn:uuid:ce6e2f77-2148-4acb-857c-a6a7331d50c6"
553       },
554       "item" : [ {
555         "linkId" : "mainSection",
556         "text" : "-"
557       }, {
558         "linkId" : "questionnaire",
559         "text" : "-"
560       }, {
561         "linkId" : "referralDescription",
562         "text" : "Description:",
563         "answer" : [ {
564           "valueString" : "Test Referral"
565         } ]
566       } ]
567     }
568   }, {
569     "fullUrl" : "urn:uuid:19fa4bd3-6560-49bc-86f3-42ea065714a4",
570     "resource" : {
571       "resourceType" : "Communication",
572       "meta" : {
573         "profile" : [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Communication|1.0.0" ]
574       },
575       "identifier" : [ {
576         "system" : "http://localhost:8080/svc/fhir/v1/NamingSystem/id-referral-comment-reference",
577         "value" : "19fa4bd3-6560-49bc-86f3-42ea065714a4"
578       } ],
579       "basedOn" : [ {
580         "reference" : "urn:uuid:daeee4cc-4e68-4611-9bd7-98b96a9cfe71"
581       } ],
582       "status" : "completed",
583       "subject" : {
584         "reference" : "urn:uuid:88ba5bb5-3a2f-4299-b412-01ceedc8b8ea"
585       },
586       "sent" : "2025-02-07T11:31:50-05:00",
587       "payload" : [ {
588         "contentString" : "Cancelled: Test Cancel"
589       } ]
590     }
591   } ]
592 }