NHSN Reporting: Adverse Drug Events - Glycemic Control
0.1.0 - CI Build

NHSN Reporting: Adverse Drug Events - Glycemic Control, published by HL7 International - Public Health Work Group. This is not an authorized publication; it is the continuous build for version 0.1.0). This version is based on the current content of https://github.com/HL7/fhir-nhsn-ade-ig/ and changes regularly. See the Directory of published versions

: Bundle - ADE Hypoglycemia example - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@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 "bundle-document-ade"];
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "5" ];
     fhir:Meta.lastUpdated [ fhir:value "2021-09-02T22:43:48.184+00:00"^^xsd:dateTime ];
     fhir:Meta.source [ fhir:value "#wMqjOpjd8xf3CQsd" ]
  ];
  fhir:Bundle.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:uuid:3183BE72-A852-4A00-A795-56477F9868D8" ]
  ];
  fhir:Bundle.type [ fhir:value "document"];
  fhir:Bundle.timestamp [ fhir:value "2021-02-11T20:09:23.976+10:00"^^xsd:dateTime];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/Composition/composition-ade-hypoglycemia-example" ];
     fhir:Bundle.entry.resource <http://example.org/fhir/Composition/composition-ade-hypoglycemia-example>
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/MedicationAdministration/medicationadministration-metformin-example" ];
     fhir:Bundle.entry.resource <http://example.org/fhir/MedicationAdministration/medicationadministration-metformin-example>
  ], [
     fhir:index 2;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/Observation/observation-lab-ade-hh" ];
     fhir:Bundle.entry.resource <http://example.org/fhir/Observation/observation-lab-ade-hh>
  ], [
     fhir:index 3;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/Patient/patient-harry-hypoglycemic-example" ];
     fhir:Bundle.entry.resource <http://example.org/fhir/Patient/patient-harry-hypoglycemic-example>
  ], [
     fhir:index 4;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/Encounter/encounter-inpatient-example" ];
     fhir:Bundle.entry.resource <http://example.org/fhir/Encounter/encounter-inpatient-example>
  ], [
     fhir:index 5;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/Practitioner/practitioner-ed-endocrinols-example" ];
     fhir:Bundle.entry.resource <http://example.org/fhir/Practitioner/practitioner-ed-endocrinols-example>
  ], [
     fhir:index 6;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/Organization/organization-hospital-physician-group-example" ];
     fhir:Bundle.entry.resource <http://example.org/fhir/Organization/organization-hospital-physician-group-example>
  ].

<http://example.org/fhir/Composition/composition-ade-hypoglycemia-example> a fhir:Composition;
  fhir:Resource.id [ fhir:value "composition-ade-hypoglycemia-example"];
  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><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-ade-hypoglycemia-example\" </p></div><p><b>identifier</b>: id: 2eec4326-bf29-4428-8d02-a334a19cfc17</p><p><b>status</b>: final</p><p><b>type</b>: Adverse event note <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#85893-6)</span></p><p><b>encounter</b>: <a href=\"#Encounter_encounter-inpatient-example\">See above (Encounter/encounter-inpatient-example)</a></p><p><b>date</b>: 2021-01-04T09:10:14Z</p><p><b>author</b>: <a href=\"#Practitioner_practitioner-ed-endocrinols-example\">See above (Practitioner/practitioner-ed-endocrinols-example: Dr. Ed Endocrinols)</a></p><p><b>title</b>: Adverse Event Note</p><p><b>confidentiality</b>: N</p><h3>Attesters</h3><table class=\"grid\"><tr><td>-</td><td><b>Mode</b></td><td><b>Time</b></td><td><b>Party</b></td></tr><tr><td>*</td><td>legal</td><td>2021-01-04T09:10:14Z</td><td><a href=\"#Practitioner_practitioner-ed-endocrinols-example\">See above (Practitioner/practitioner-ed-endocrinols-example: Dr. Ed Endocrinols)</a></td></tr></table><p><b>custodian</b>: <a href=\"#Organization_organization-hospital-physician-group-example\">See above (Organization/organization-hospital-physician-group-example: Hospitalists of the World)</a></p></div>"
  ];
  fhir:Composition.identifier [
     fhir:Identifier.value [ fhir:value "2eec4326-bf29-4428-8d02-a334a19cfc17" ]
  ];
  fhir:Composition.status [ fhir:value "final"];
  fhir:Composition.type [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:85893-6;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "85893-6" ];
       fhir:Coding.display [ fhir:value "Adverse event note" ]     ]
  ];
  fhir:Composition.subject [
     fhir:Reference.reference [ fhir:value "Patient/patient-harry-hypoglycemic-example" ];
     fhir:Reference.display [ fhir:value "Harry Hypoglycemic" ]
  ];
  fhir:Composition.encounter [
     fhir:Reference.reference [ fhir:value "Encounter/encounter-inpatient-example" ]
  ];
  fhir:Composition.date [ fhir:value "2021-01-04T09:10:14Z"^^xsd:dateTime];
  fhir:Composition.author [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Practitioner/practitioner-ed-endocrinols-example" ];
     fhir:Reference.display [ fhir:value "Dr. Ed Endocrinols" ]
  ];
  fhir:Composition.title [ fhir:value "Adverse Event Note"];
  fhir:Composition.confidentiality [ fhir:value "N"];
  fhir:Composition.attester [
     fhir:index 0;
     fhir:Composition.attester.mode [ fhir:value "legal" ];
     fhir:Composition.attester.time [ fhir:value "2021-01-04T09:10:14Z"^^xsd:dateTime ];
     fhir:Composition.attester.party [
       fhir:Reference.reference [ fhir:value "Practitioner/practitioner-ed-endocrinols-example" ];
       fhir:Reference.display [ fhir:value "Dr. Ed Endocrinols" ]     ]
  ];
  fhir:Composition.custodian [
     fhir:Reference.reference [ fhir:value "Organization/organization-hospital-physician-group-example" ];
     fhir:Reference.display [ fhir:value "Hospitalists of the World" ]
  ];
  fhir:Composition.section [
     fhir:index 0;
     fhir:Composition.section.title [ fhir:value "Results Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:30954-2;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "30954-2" ];
         fhir:Coding.display [ fhir:value "Relevant diagnostic tests/laboratory data Narrative" ]       ]     ];
     fhir:Composition.section.entry [
       fhir:index 0;
       fhir:Reference.reference [ fhir:value "Observation/observation-lab-ade-hh" ];
       fhir:Reference.display [ fhir:value "Observation: Lab Test - Fasting glucose [Mass/volume] in Capillary blood" ]     ]
  ], [
     fhir:index 1;
     fhir:Composition.section.title [ fhir:value "Medication Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:10160-0;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "10160-0" ];
         fhir:Coding.display [ fhir:value "History of Medication use Narrative" ]       ]     ];
     fhir:Composition.section.entry [
       fhir:index 0;
       fhir:Reference.reference [ fhir:value "MedicationAdministration/medicationadministration-metformin-example" ];
       fhir:Reference.display [ fhir:value "MedicationAdminstration: metformin hydrochloride 100 MG/ML Extended Release Suspension" ]     ]
  ].

<http://example.org/fhir/MedicationAdministration/medicationadministration-metformin-example> a fhir:MedicationAdministration;
  fhir:Resource.id [ fhir:value "medicationadministration-metformin-example"];
  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><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 \"medicationadministration-metformin-example\" </p></div><p><b>status</b>: completed</p><p><b>medication</b>: metformin hydrochloride 100 MG/ML Extended Release Suspension <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.0.0/CodeSystem-v3-rxNorm.html\">RxNorm</a>#2200518)</span></p><p><b>subject</b>: <a href=\"#Patient_patient-harry-hypoglycemic-example\">See above (Patient/patient-harry-hypoglycemic-example: Harry Hypoglycemic)</a></p><p><b>context</b>: <a href=\"#Encounter_encounter-inpatient-example\">See above (Encounter/encounter-inpatient-example)</a></p><p><b>effective</b>: 2021-01-04T04:30:00+01:00</p><h3>Performers</h3><table class=\"grid\"><tr><td>-</td><td><b>Actor</b></td></tr><tr><td>*</td><td><a href=\"#Practitioner_practitioner-ed-endocrinols-example\">See above (Practitioner/practitioner-ed-endocrinols-example: Ed Endocrinols)</a></td></tr></table><h3>Dosages</h3><table class=\"grid\"><tr><td>-</td><td><b>Route</b></td><td><b>Dose</b></td></tr><tr><td>*</td><td>Oral route (qualifier value) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#26643006)</span></td><td>100 mg/mL<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mg/mL = 'mg/mL')</span></td></tr></table></div>"
  ];
  fhir:MedicationAdministration.status [ fhir:value "completed"];
  fhir:MedicationAdministration.medicationCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ];
       fhir:Coding.code [ fhir:value "2200518" ];
       fhir:Coding.display [ fhir:value "metformin hydrochloride 100 MG/ML Extended Release Suspension" ]     ];
     fhir:CodeableConcept.text [ fhir:value "metformin hydrochloride 100 MG/ML Extended Release Suspension" ]
  ];
  fhir:MedicationAdministration.subject [
     fhir:Reference.reference [ fhir:value "Patient/patient-harry-hypoglycemic-example" ];
     fhir:Reference.display [ fhir:value "Harry Hypoglycemic" ]
  ];
  fhir:MedicationAdministration.context [
     fhir:Reference.reference [ fhir:value "Encounter/encounter-inpatient-example" ]
  ];
  fhir:MedicationAdministration.effectiveDateTime [ fhir:value "2021-01-04T04:30:00+01:00"^^xsd:dateTime];
  fhir:MedicationAdministration.performer [
     fhir:index 0;
     fhir:MedicationAdministration.performer.actor [
       fhir:Reference.reference [ fhir:value "Practitioner/practitioner-ed-endocrinols-example" ];
       fhir:Reference.display [ fhir:value "Ed Endocrinols" ]     ]
  ];
  fhir:MedicationAdministration.dosage [
     fhir:MedicationAdministration.dosage.route [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:26643006;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "26643006" ];
         fhir:Coding.display [ fhir:value "Oral route (qualifier value)" ]       ]     ];
     fhir:MedicationAdministration.dosage.dose [
       fhir:Quantity.value [ fhir:value "100"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "mg/mL" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "mg/mL" ]     ]
  ].

<http://example.org/fhir/Observation/observation-lab-ade-hh> a fhir:Observation;
  fhir:Resource.id [ fhir:value "observation-lab-ade-hh"];
  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><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 \"observation-lab-ade-hh\" </p></div><p><b>status</b>: final</p><p><b>category</b>: Laboratory <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.0.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#laboratory)</span></p><p><b>code</b>: Fasting glucose [Mass/volume] in Capillary blood <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#1556-0)</span></p><p><b>subject</b>: <a href=\"#Patient_patient-harry-hypoglycemic-example\">See above (Patient/patient-harry-hypoglycemic-example: Harry Hypoglycemic)</a></p><p><b>effective</b>: 2020-08-04</p><p><b>value</b>: 60 mg/dL</p></div>"
  ];
  fhir:Observation.status [ fhir:value "final"];
  fhir:Observation.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/observation-category" ];
       fhir:Coding.code [ fhir:value "laboratory" ];
       fhir:Coding.display [ fhir:value "Laboratory" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Laboratory" ]
  ];
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:1556-0;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "1556-0" ];
       fhir:Coding.display [ fhir:value "Fasting glucose [Mass/volume] in Capillary blood" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Fasting glucose [Mass/volume] in Capillary blood" ]
  ];
  fhir:Observation.subject [
     fhir:Reference.reference [ fhir:value "Patient/patient-harry-hypoglycemic-example" ];
     fhir:Reference.display [ fhir:value "Harry Hypoglycemic" ]
  ];
  fhir:Observation.effectiveDateTime [ fhir:value "2020-08-04"^^xsd:date];
  fhir:Observation.valueQuantity [
     fhir:Quantity.value [ fhir:value "60"^^xsd:decimal ];
     fhir:Quantity.unit [ fhir:value "mg/dL" ];
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ]
  ].

<http://example.org/fhir/Patient/patient-harry-hypoglycemic-example> a fhir:Patient;
  fhir:Resource.id [ fhir:value "patient-harry-hypoglycemic-example"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n                        <div class=\"hapiHeaderText\">Harry \n                            <b>HYPOGLYCEMIC </b>\n                        </div>\n                        <table class=\"hapiPropertyTable\">\n                            <tbody>\n                                <tr>\n                                    <td>Identifier</td>\n                                    <td>1032702</td>\n                                </tr>\n                                <tr>\n                                    <td>Address</td>\n                                    <td>\n                                        <span>123 Main St. </span>\n                                        <br/>\n                                        <span>Denver </span>\n                                        <span>CO </span>\n                                        <span>US </span>\n                                    </td>\n                                </tr>\n                                <tr>\n                                    <td>Date of birth</td>\n                                    <td>\n                                        <span>09 June 1990</span>\n                                    </td>\n                                </tr>\n                            </tbody>\n                        </table>\n                    </div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" ];
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "ombCategory" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "urn:oid:2.16.840.1.113883.6.238" ];
         fhir:Coding.code [ fhir:value "2106-3" ];
         fhir:Coding.display [ fhir:value "White" ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "ombCategory" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "urn:oid:2.16.840.1.113883.6.238" ];
         fhir:Coding.code [ fhir:value "1002-5" ];
         fhir:Coding.display [ fhir:value "American Indian or Alaska Native" ]       ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "ombCategory" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "urn:oid:2.16.840.1.113883.6.238" ];
         fhir:Coding.code [ fhir:value "2028-9" ];
         fhir:Coding.display [ fhir:value "Asian" ]       ]     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "detailed" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "urn:oid:2.16.840.1.113883.6.238" ];
         fhir:Coding.code [ fhir:value "1586-7" ];
         fhir:Coding.display [ fhir:value "Shoshone" ]       ]     ], [
       fhir:index 4;
       fhir:Extension.url [ fhir:value "detailed" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "urn:oid:2.16.840.1.113883.6.238" ];
         fhir:Coding.code [ fhir:value "2036-2" ];
         fhir:Coding.display [ fhir:value "Filipino" ]       ]     ], [
       fhir:index 5;
       fhir:Extension.url [ fhir:value "text" ];
       fhir:Extension.valueString [ fhir:value "Mixed" ]     ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" ];
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "ombCategory" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "urn:oid:2.16.840.1.113883.6.238" ];
         fhir:Coding.code [ fhir:value "2135-2" ];
         fhir:Coding.display [ fhir:value "Hispanic or Latino" ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "detailed" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "urn:oid:2.16.840.1.113883.6.238" ];
         fhir:Coding.code [ fhir:value "2184-0" ];
         fhir:Coding.display [ fhir:value "Dominican" ]       ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "detailed" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "urn:oid:2.16.840.1.113883.6.238" ];
         fhir:Coding.code [ fhir:value "2148-5" ];
         fhir:Coding.display [ fhir:value "Mexican" ]       ]     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "text" ];
       fhir:Extension.valueString [ fhir:value "Hispanic or Latino" ]     ]
  ], [
     fhir:index 2;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex" ];
     fhir:Extension.valueCode [ fhir:value "F" ]
  ];
  fhir:Patient.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "usual" ];
     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 "MR" ];
         fhir:Coding.display [ fhir:value "Medical Record Number" ]       ];
       fhir:CodeableConcept.text [ fhir:value "Medical Record Number" ]     ];
     fhir:Identifier.system [ fhir:value "http://hospital.smarthealthit.org" ];
     fhir:Identifier.value [ fhir:value "1032702" ]
  ];
  fhir:Patient.active [ fhir:value "true"^^xsd:boolean];
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.family [ fhir:value "Hypoglycemic" ];
     fhir:HumanName.given [
       fhir:value "Harry";
       fhir:index 0     ];
     fhir:HumanName.period [
       fhir:Period.start [ fhir:value "1990-06-09"^^xsd:date ]     ]
  ];
  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 "harry.hypoglycemic@example.com" ]
  ];
  fhir:Patient.gender [ fhir:value "male"];
  fhir:Patient.birthDate [ fhir:value "1990-06-09"^^xsd:date];
  fhir:Patient.address [
     fhir:index 0;
     fhir:Address.line [
       fhir:value "123 Main St.";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Denver" ];
     fhir:Address.state [ fhir:value "CO" ];
     fhir:Address.postalCode [ fhir:value "80204" ];
     fhir:Address.country [ fhir:value "US" ];
     fhir:Address.period [
       fhir:Period.start [ fhir:value "1990-06-09"^^xsd:date ]     ]
  ].

<http://example.org/fhir/Encounter/encounter-inpatient-example> a fhir:Encounter;
  fhir:Resource.id [ fhir:value "encounter-inpatient-example"];
  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><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 \"encounter-inpatient-example\" </p></div><p><b>status</b>: finished</p><p><b>class</b>: inpatient encounter (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code IMP = 'inpatient encounter', stated as 'inpatient encounter')</p><p><b>type</b>: Medical consultation on hospital inpatient <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#24882007)</span></p><p><b>subject</b>: <a href=\"#Patient_patient-harry-hypoglycemic-example\">See above (Patient/patient-harry-hypoglycemic-example)</a></p><p><b>period</b>: 2021-01-04T17:00:14-05:00 --&gt; (ongoing)</p></div>"
  ];
  fhir:Encounter.status [ fhir:value "finished"];
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
     fhir:Coding.code [ fhir:value "IMP" ];
     fhir:Coding.display [ fhir:value "inpatient encounter" ]
  ];
  fhir:Encounter.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:24882007;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "24882007" ];
       fhir:Coding.display [ fhir:value "Medical consultation on hospital inpatient" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Medical consultation on hospital inpatient" ]
  ];
  fhir:Encounter.subject [
     fhir:Reference.reference [ fhir:value "Patient/patient-harry-hypoglycemic-example" ]
  ];
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2021-01-04T17:00:14-05:00"^^xsd:dateTime ]
  ].

<http://example.org/fhir/Practitioner/practitioner-ed-endocrinols-example> a fhir:Practitioner;
  fhir:Resource.id [ fhir:value "practitioner-ed-endocrinols-example"];
  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><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 \"practitioner-ed-endocrinols-example\" </p></div><p><b>identifier</b>: id: 9941339108</p><p><b>name</b>: Edward Endocrinols </p></div>"
  ];
  fhir:Practitioner.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://hl7.org.fhir/sid/us-npi" ];
     fhir:Identifier.value [ fhir:value "9941339108" ]
  ];
  fhir:Practitioner.name [
     fhir:index 0;
     fhir:HumanName.family [ fhir:value "Endocrinols" ];
     fhir:HumanName.given [
       fhir:value "Edward";
       fhir:index 0     ];
     fhir:HumanName.prefix [
       fhir:value "Dr";
       fhir:index 0     ]
  ].

<http://example.org/fhir/Organization/organization-hospital-physician-group-example> a fhir:Organization;
  fhir:Resource.id [ fhir:value "organization-hospital-physician-group-example"];
  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><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 \"organization-hospital-physician-group-example\" </p></div><p><b>identifier</b>: id: 1144221847</p><p><b>active</b>: true</p><p><b>type</b>: Healthcare Provider <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.0.0/CodeSystem-organization-type.html\">Organization type</a>#prov)</span></p><p><b>name</b>: Hospitalists of the World</p><p><b>telecom</b>: ph: (+1) 734-677-7777, <a href=\"mailto:hq@hotw.org\">hq@hotw.org</a></p><p><b>address</b>: 111 Any St. Denver CO 80204 USA </p></div>"
  ];
  fhir:Organization.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://hl7.org.fhir/sid/us-npi" ];
     fhir:Identifier.value [ fhir:value "1144221847" ]
  ];
  fhir:Organization.active [ fhir:value "true"^^xsd:boolean];
  fhir:Organization.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/organization-type" ];
       fhir:Coding.code [ fhir:value "prov" ];
       fhir:Coding.display [ fhir:value "Healthcare Provider" ]     ]
  ];
  fhir:Organization.name [ fhir:value "Hospitalists of the World"];
  fhir:Organization.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "(+1) 734-677-7777" ]
  ], [
     fhir:index 1;
     fhir:ContactPoint.system [ fhir:value "email" ];
     fhir:ContactPoint.value [ fhir:value "hq@hotw.org" ]
  ];
  fhir:Organization.address [
     fhir:index 0;
     fhir:Address.line [
       fhir:value "111 Any St.";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Denver" ];
     fhir:Address.state [ fhir:value "CO" ];
     fhir:Address.postalCode [ fhir:value "80204" ];
     fhir:Address.country [ fhir:value "USA" ]
  ].

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

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