Specialty Medication Enrollment
0.1.0 - STU1 Ballot

This page is part of the Specialty Medication Enrollment (v0.1.0: STU1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

: Specialty Rx Query Response 2 - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:Bundle;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "specialty-rx-query-response-2"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-query-response";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-query-response>     ]
  ];
  fhir:Bundle.type [ fhir:value "message"];
  fhir:Bundle.timestamp [ fhir:value "2020-03-11T13:10:17-05:00"^^xsd:dateTime];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/MyEHR/MessageHeader/msgheader1" ];
     fhir:Bundle.entry.resource <http://example.org/MyEHR/MessageHeader/msgheader1>
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0c" ];
     fhir:Bundle.entry.resource <urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0c>
  ], [
     fhir:index 2;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/MyPharmacyApp/Patient/patient1" ];
     fhir:Bundle.entry.resource <http://example.org/MyPharmacyApp/Patient/patient1>
  ], [
     fhir:index 3;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/MyEHR/Patient/patientEHR" ];
     fhir:Bundle.entry.resource <http://example.org/MyEHR/Patient/patientEHR>
  ], [
     fhir:index 4;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/MyEHR/Bundle/3456789" ];
     fhir:Bundle.entry.resource <http://example.org/MyEHR/Bundle/3456789>
  ], [
     fhir:index 5;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/MyEHR/Bundle/987654" ];
     fhir:Bundle.entry.resource <http://example.org/MyEHR/Bundle/987654>
  ].

<http://example.org/MyEHR/MessageHeader/msgheader1> a fhir:MessageHeader;
  fhir:Resource.id [ fhir:value "res2"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>event</b>: <span title=\"{http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-event-type query-response}\">Query Response</span></p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Name</b></td><td><b>Endpoint</b></td></tr><tr><td>*</td><td>MyEHR</td><td><a href=\"http://example.org/MyEHR\">http://example.org/MyEHR</a></td></tr></table><h3>Responses</h3><table class=\"grid\"><tr><td>-</td><td><b>Identifier</b></td><td><b>Code</b></td></tr><tr><td>*</td><td>req2</td><td>ok</td></tr></table><p><b>focus</b>: <a href=\"#Parameters_61ebe359-bfdc-4613-8bf2-c5e300945f0c\">See above (Parameters/61ebe359-bfdc-4613-8bf2-c5e300945f0c)</a></p></div>"
  ];
  fhir:MessageHeader.eventCoding [
     fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-event-type" ];
     fhir:Coding.code [ fhir:value "query-response" ]
  ];
  fhir:MessageHeader.source [
     fhir:MessageHeader.source.name [ fhir:value "MyEHR" ];
     fhir:MessageHeader.source.endpoint [ fhir:value "http://example.org/MyEHR" ]
  ];
  fhir:MessageHeader.response [
     fhir:MessageHeader.response.identifier [ fhir:value "req2" ];
     fhir:MessageHeader.response.code [ fhir:value "ok" ]
  ];
  fhir:MessageHeader.focus [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0c" ]
  ].

<urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0c> a fhir:Parameters;
  fhir:Resource.id [ fhir:value "61ebe359-bfdc-4613-8bf2-c5e300945f0c"];
  fhir:Parameters.parameter [
     fhir:index 0;
     fhir:Parameters.parameter.name [ fhir:value "requester-patient" ];
     fhir:Parameters.parameter.valueReference [
       fhir:Reference.reference [ fhir:value "Patient/patient1" ]     ]
  ], [
     fhir:index 1;
     fhir:Parameters.parameter.name [ fhir:value "responder-patient" ];
     fhir:Parameters.parameter.valueReference [
       fhir:Reference.reference [ fhir:value "Patient/patientEHR" ]     ]
  ], [
     fhir:index 2;
     fhir:Parameters.parameter.name [ fhir:value "search-result" ];
     fhir:Parameters.parameter.valueReference [
       fhir:Reference.reference [ fhir:value "Bundle/3456789" ]     ]
  ], [
     fhir:index 3;
     fhir:Parameters.parameter.name [ fhir:value "search-result" ];
     fhir:Parameters.parameter.valueReference [
       fhir:Reference.reference [ fhir:value "Bundle/987654" ]     ]
  ].

<http://example.org/MyPharmacyApp/Patient/patient1> a fhir:Patient;
  fhir:Resource.id [ fhir:value "patient1"];
  fhir:Resource.meta [
     fhir:Meta.source [ fhir:value "http://example.org/MyPharmacyApp" ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-patient";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-patient>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>identifier</b>: id: 1234</p><p><b>active</b>: true</p><p><b>name</b>: Timothy V. Doe </p><p><b>telecom</b>: ph: 555-555-5555(HOME), <a href=\"mailto:tim.doe@example.com\">tim.doe@example.com</a></p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1987-02-20</p><p><b>address</b>: 2224 Century Ave Minnetonka MN 55345 US </p><h3>Communications</h3><table class=\"grid\"><tr><td>-</td><td><b>Language</b></td></tr><tr><td>*</td><td><span title=\"Codes: {urn:ietf:bcp:47 en-US}\">English (Region=United States)</span></td></tr></table></div>"
  ];
  fhir:Patient.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://example.org/patient-id" ];
     fhir:Identifier.value [ fhir:value "1234" ]
  ];
  fhir:Patient.active [ fhir:value "true"^^xsd:boolean];
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.family [ fhir:value "Doe" ];
     fhir:HumanName.given [
       fhir:value "Timothy";
       fhir:index 0     ], [
       fhir:value "V.";
       fhir:index 1     ]
  ];
  fhir:Patient.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "555-555-5555" ];
     fhir:ContactPoint.use [ fhir:value "home" ]
  ], [
     fhir:index 1;
     fhir:ContactPoint.system [ fhir:value "email" ];
     fhir:ContactPoint.value [ fhir:value "tim.doe@example.com" ]
  ];
  fhir:Patient.gender [ fhir:value "male"];
  fhir:Patient.birthDate [ fhir:value "1987-02-20"^^xsd:date];
  fhir:Patient.address [
     fhir:index 0;
     fhir:Address.line [
       fhir:value "2224 Century Ave";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Minnetonka" ];
     fhir:Address.state [ fhir:value "MN" ];
     fhir:Address.postalCode [ fhir:value "55345" ];
     fhir:Address.country [ fhir:value "US" ]
  ];
  fhir:Patient.communication [
     fhir:index 0;
     fhir:Patient.communication.language [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "urn:ietf:bcp:47" ];
         fhir:Coding.code [ fhir:value "en-US" ];
         fhir:Coding.display [ fhir:value "English (Region=United States)" ]       ]     ]
  ].

<http://example.org/MyEHR/Patient/patientEHR> a fhir:Patient;
  fhir:Resource.id [ fhir:value "patientEHR"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-patient";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-patient>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>identifier</b>: Patient internal identifier: 30455</p><p><b>active</b>: true</p><p><b>name</b>: Tim Doe </p><p><b>telecom</b>: ph: 555-555-5555(HOME), <a href=\"mailto:tim.doe@example.com\">tim.doe@example.com</a></p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1987-02-20</p><p><b>address</b>: 2224 Century Avenue Minnetonka MN 55345 US </p><h3>Communications</h3><table class=\"grid\"><tr><td>-</td><td><b>Language</b></td></tr><tr><td>*</td><td><span title=\"Codes: {urn:ietf:bcp:47 en-US}\">English (Region=United States)</span></td></tr></table></div>"
  ];
  fhir:Patient.identifier [
     fhir:index 0;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ];
         fhir:Coding.code [ fhir:value "PI" ];
         fhir:Coding.display [ fhir:value "Patient internal identifier" ]       ];
       fhir:CodeableConcept.text [ fhir:value "Patient internal identifier" ]     ];
     fhir:Identifier.system [ fhir:value "http://example.org/MyEHR" ];
     fhir:Identifier.value [ fhir:value "30455" ]
  ];
  fhir:Patient.active [ fhir:value "true"^^xsd:boolean];
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.family [ fhir:value "Doe" ];
     fhir:HumanName.given [
       fhir:value "Tim";
       fhir:index 0     ]
  ];
  fhir:Patient.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "555-555-5555" ];
     fhir:ContactPoint.use [ fhir:value "home" ]
  ], [
     fhir:index 1;
     fhir:ContactPoint.system [ fhir:value "email" ];
     fhir:ContactPoint.value [ fhir:value "tim.doe@example.com" ]
  ];
  fhir:Patient.gender [ fhir:value "male"];
  fhir:Patient.birthDate [ fhir:value "1987-02-20"^^xsd:date];
  fhir:Patient.address [
     fhir:index 0;
     fhir:Address.line [
       fhir:value "2224 Century Avenue";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Minnetonka" ];
     fhir:Address.state [ fhir:value "MN" ];
     fhir:Address.postalCode [ fhir:value "55345" ];
     fhir:Address.country [ fhir:value "US" ]
  ];
  fhir:Patient.communication [
     fhir:index 0;
     fhir:Patient.communication.language [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "urn:ietf:bcp:47" ];
         fhir:Coding.code [ fhir:value "en-US" ];
         fhir:Coding.display [ fhir:value "English (Region=United States)" ]       ]     ]
  ].

<http://example.org/MyEHR/Bundle/3456789> a fhir:Bundle;
  fhir:Resource.id [ fhir:value "3456789"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result>     ]
  ];
  fhir:Bundle.type [ fhir:value "searchset"];
  fhir:Bundle.timestamp [ fhir:value "2020-03-11T13:10:17-05:00"^^xsd:dateTime];
  fhir:Bundle.total [ fhir:value "3"^^xsd:nonNegativeInteger];
  fhir:Bundle.link [
     fhir:index 0;
     fhir:Bundle.link.relation [ fhir:value "self" ];
     fhir:Bundle.link.url [ fhir:value "Condition?patient=patientEHR" ]
  ];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/MyEHR/Condition/1" ];
     fhir:Bundle.entry.resource <http://example.org/MyEHR/Condition/1>;
     fhir:Bundle.entry.search [
       fhir:Bundle.entry.search.mode [ fhir:value "match" ]     ]
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/MyEHR/Condition/2" ];
     fhir:Bundle.entry.resource <http://example.org/MyEHR/Condition/2>;
     fhir:Bundle.entry.search [
       fhir:Bundle.entry.search.mode [ fhir:value "match" ]     ]
  ], [
     fhir:index 2;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/MyEHR/Condition/3" ];
     fhir:Bundle.entry.resource <http://example.org/MyEHR/Condition/3>;
     fhir:Bundle.entry.search [
       fhir:Bundle.entry.search.mode [ fhir:value "match" ]     ]
  ].

<http://example.org/MyEHR/Condition/1> a fhir:Condition;
  fhir:Resource.id [ fhir:value "1"];
  fhir:Condition.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
       fhir:Coding.code [ fhir:value "active" ];
       fhir:Coding.display [ fhir:value "Active" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Active" ]
  ];
  fhir:Condition.verificationStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ];
       fhir:Coding.code [ fhir:value "confirmed" ];
       fhir:Coding.display [ fhir:value "Confirmed" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Confirmed" ]
  ];
  fhir:Condition.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-category" ];
       fhir:Coding.code [ fhir:value "problem-list-item" ];
       fhir:Coding.display [ fhir:value "Problem List Item" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Problem" ]
  ];
  fhir:Condition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:13644009;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "13644009" ];
       fhir:Coding.display [ fhir:value "Hypercholesterolemia (disorder)" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Hypercholesterolemia (disorder)" ]
  ];
  fhir:Condition.subject [
     fhir:Reference.reference [ fhir:value "Patient/patientEHR" ]
  ].

<http://example.org/MyEHR/Condition/2> a fhir:Condition;
  fhir:Resource.id [ fhir:value "2"];
  fhir:Condition.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
       fhir:Coding.code [ fhir:value "active" ];
       fhir:Coding.display [ fhir:value "Active" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Active" ]
  ];
  fhir:Condition.verificationStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ];
       fhir:Coding.code [ fhir:value "confirmed" ];
       fhir:Coding.display [ fhir:value "Confirmed" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Confirmed" ]
  ];
  fhir:Condition.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-category" ];
       fhir:Coding.code [ fhir:value "problem-list-item" ];
       fhir:Coding.display [ fhir:value "Problem List Item" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Problem" ]
  ];
  fhir:Condition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:84172003;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "84172003" ];
       fhir:Coding.display [ fhir:value "Spondylitis (disorder)" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Spondylitis (disorder)" ]
  ];
  fhir:Condition.subject [
     fhir:Reference.reference [ fhir:value "Patient/patientEHR" ]
  ].

<http://example.org/MyEHR/Condition/3> a fhir:Condition;
  fhir:Resource.id [ fhir:value "3"];
  fhir:Condition.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
       fhir:Coding.code [ fhir:value "active" ];
       fhir:Coding.display [ fhir:value "Active" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Active" ]
  ];
  fhir:Condition.verificationStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ];
       fhir:Coding.code [ fhir:value "confirmed" ];
       fhir:Coding.display [ fhir:value "Confirmed" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Confirmed" ]
  ];
  fhir:Condition.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-category" ];
       fhir:Coding.code [ fhir:value "problem-list-item" ];
       fhir:Coding.display [ fhir:value "Problem List Item" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Problem" ]
  ];
  fhir:Condition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:427603009;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "427603009" ];
       fhir:Coding.display [ fhir:value "Intermittent asthma (disorder)" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Intermittent asthma (disorder)" ]
  ];
  fhir:Condition.subject [
     fhir:Reference.reference [ fhir:value "Patient/patientEHR" ]
  ].

<http://example.org/MyEHR/Bundle/987654> a fhir:Bundle;
  fhir:Resource.id [ fhir:value "987654"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result>     ]
  ];
  fhir:Bundle.type [ fhir:value "searchset"];
  fhir:Bundle.timestamp [ fhir:value "2020-03-11T13:10:17-05:00"^^xsd:dateTime];
  fhir:Bundle.total [ fhir:value "3"^^xsd:nonNegativeInteger];
  fhir:Bundle.link [
     fhir:index 0;
     fhir:Bundle.link.relation [ fhir:value "self" ];
     fhir:Bundle.link.url [ fhir:value "AllergyIntolerance?patient=patientEHR" ]
  ];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/MyEHR/AllergyIntolerance/1" ];
     fhir:Bundle.entry.resource <http://example.org/MyEHR/AllergyIntolerance/1>;
     fhir:Bundle.entry.search [
       fhir:Bundle.entry.search.mode [ fhir:value "match" ]     ]
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/MyEHR/AllergyIntolerance/2" ];
     fhir:Bundle.entry.resource <http://example.org/MyEHR/AllergyIntolerance/2>;
     fhir:Bundle.entry.search [
       fhir:Bundle.entry.search.mode [ fhir:value "match" ]     ]
  ], [
     fhir:index 2;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/MyEHR/AllergyIntolerance/3" ];
     fhir:Bundle.entry.resource <http://example.org/MyEHR/AllergyIntolerance/3>;
     fhir:Bundle.entry.search [
       fhir:Bundle.entry.search.mode [ fhir:value "match" ]     ]
  ].

<http://example.org/MyEHR/AllergyIntolerance/1> a fhir:AllergyIntolerance;
  fhir:Resource.id [ fhir:value "1"];
  fhir:AllergyIntolerance.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" ];
       fhir:Coding.code [ fhir:value "active" ];
       fhir:Coding.display [ fhir:value "Active" ]     ]
  ];
  fhir:AllergyIntolerance.verificationStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" ];
       fhir:Coding.code [ fhir:value "confirmed" ];
       fhir:Coding.display [ fhir:value "Confirmed" ]     ]
  ];
  fhir:AllergyIntolerance.code [
     fhir:CodeableConcept.text [ fhir:value "Cashew" ]
  ];
  fhir:AllergyIntolerance.patient [
     fhir:Reference.reference [ fhir:value "Patient/patient1" ]
  ].

<http://example.org/MyEHR/AllergyIntolerance/2> a fhir:AllergyIntolerance;
  fhir:Resource.id [ fhir:value "2"];
  fhir:AllergyIntolerance.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" ];
       fhir:Coding.code [ fhir:value "active" ];
       fhir:Coding.display [ fhir:value "Active" ]     ]
  ];
  fhir:AllergyIntolerance.verificationStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" ];
       fhir:Coding.code [ fhir:value "confirmed" ];
       fhir:Coding.display [ fhir:value "Confirmed" ]     ]
  ];
  fhir:AllergyIntolerance.code [
     fhir:CodeableConcept.text [ fhir:value "Bees" ]
  ];
  fhir:AllergyIntolerance.patient [
     fhir:Reference.reference [ fhir:value "Patient/patient1" ]
  ].

<http://example.org/MyEHR/AllergyIntolerance/3> a fhir:AllergyIntolerance;
  fhir:Resource.id [ fhir:value "3"];
  fhir:AllergyIntolerance.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" ];
       fhir:Coding.code [ fhir:value "active" ];
       fhir:Coding.display [ fhir:value "Active" ]     ]
  ];
  fhir:AllergyIntolerance.verificationStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" ];
       fhir:Coding.code [ fhir:value "confirmed" ];
       fhir:Coding.display [ fhir:value "Confirmed" ]     ]
  ];
  fhir:AllergyIntolerance.code [
     fhir:CodeableConcept.text [ fhir:value "Penicillins" ]
  ];
  fhir:AllergyIntolerance.patient [
     fhir:Reference.reference [ fhir:value "Patient/patient1" ]
  ];
  fhir:AllergyIntolerance.reaction [
     fhir:index 0;
     fhir:AllergyIntolerance.reaction.manifestation [
       fhir:index 0;
       fhir:CodeableConcept.text [ fhir:value "Hives" ]     ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.