US Meds Implementation Guide (Release 1)

This page is part of the US-Medication FHIR IG (v1.0.0: STU 1) based on FHIR R3. The current version which supercedes this version is 1.2.0. For a full list of available versions, see the Directory of published versions

Example: Bundle-get-encounter-meds

Formats: Narrative, XML, JSON, Turtle

Raw ttl

@prefix fhir: <http://hl7.org/fhir/STU3/> .
@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 "get-encounter-meds"];
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "1" ];
     fhir:Meta.lastUpdated [ fhir:value "2017-04-10T12:49:37.665-04:00"^^xsd:dateTime ]
  ];
  fhir:Bundle.type [ fhir:value "searchset"];
  fhir:Bundle.total [ fhir:value "6"^^xsd:nonNegativeInteger];
  fhir:Bundle.link [
     fhir:index 0;
     fhir:Bundle.link.relation [ fhir:value "self" ];
     fhir:Bundle.link.url [ fhir:value "http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement?patient=test2&context=A" ]
  ];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement/derivedfrom-mr-enca-1" ];
     fhir:Bundle.entry.resource <http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement/derivedfrom-mr-enca-1>
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement/derivedfrom-mr-enca-2" ];
     fhir:Bundle.entry.resource <http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement/derivedfrom-mr-enca-2>
  ], [
     fhir:index 2;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement/derivedfrom-mr-enca-3" ];
     fhir:Bundle.entry.resource <http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement/derivedfrom-mr-enca-3>
  ], [
     fhir:index 3;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement/derivedfrom-mr-enca-4" ];
     fhir:Bundle.entry.resource <http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement/derivedfrom-mr-enca-4>
  ], [
     fhir:index 4;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement/derivedfrom-mr-enca-5" ];
     fhir:Bundle.entry.resource <http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement/derivedfrom-mr-enca-5>
  ], [
     fhir:index 5;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement/derivedfrom-mr-enca-6" ];
     fhir:Bundle.entry.resource <http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement/derivedfrom-mr-enca-6>
  ].

<http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement/derivedfrom-mr-enca-1> a fhir:MedicationStatement;
  fhir:Resource.id [ fhir:value "derivedfrom-mr-enca-1"];
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "3" ];
     fhir:Meta.lastUpdated [ fhir:value "2017-04-10T12:47:22.409-04:00"^^xsd:dateTime ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/STU3/us/core/StructureDefinition/us-core-medicationstatement";
       fhir:index 0     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: derivedfrom-mr-enca-1</p><p><b>meta</b>: </p><p><b>context</b>: <a href=\"Encounter-A.html\">Inpatient Encounter A. Generated Summary: id: A; status: finished; <span title=\"{http://hl7.org/fhir/STU3/v3/ActCode IMP}\">inpatient encounter</span>; ????; period: 10/09/2016 --&gt; 12/09/2016</a></p><p><b>status</b>: completed</p><p><b>medication</b>: Cefotaxime 1000Mg Powder For Solution For Injection <span style=\"background: LightGoldenRodYellow\">(Details : {RxNorm code '1656313' = '1656313', given as 'Cefotaxime 1000 MG Injection'})</span></p><p><b>effective</b>: 10/09/2016 --&gt; 12/09/2016</p><p><b>dateAsserted</b>: 10/04/2017 8:52:20 AM</p><p><b>informationSource</b>: Provider B</p><p><b>subject</b>: <a href=\"Patient-test2.html\">Brian Z. Generated Summary: id: test2; Medical Record Number = 1032702 (USUAL); active; Brian Z ; ph: 555-555-5555(HOME); gender: male; birthDate: 05/01/1964</a></p><p><b>derivedFrom</b>: <a href=\"MedicationRequest-enca-1.html\">Generated Summary: id: enca-1; status: completed; intent: order; <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 1656313}\">Cefotaxime 1000Mg Powder For Solution For Injection</span>; Brian Z; Inpatient Encounter A; authoredOn: 10/09/2016; <span title=\"Codes: {http://snomed.info/sct 233604007}\">Pneumonia (disorder)</span>; </a></p><p><b>taken</b>: y</p><p><b>reasonCode</b>: Pneumonia (disorder) <span style=\"background: LightGoldenRodYellow\">(Details : {SNOMED CT code '233604007' = 'Pneumonia', given as 'Pneumonia (disorder)'})</span></p><p><b>dosage</b>: </p></div>"
  ];
  fhir:MedicationStatement.context [
     fhir:Reference.reference [ fhir:value "Encounter/A" ];
     fhir:Reference.display [ fhir:value "Inpatient Encounter A" ]
  ];
  fhir:MedicationStatement.status [ fhir:value "completed"];
  fhir:MedicationStatement.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 "1656313" ];
       fhir:Coding.display [ fhir:value "Cefotaxime 1000 MG Injection" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Cefotaxime 1000Mg Powder For Solution For Injection" ]
  ];
  fhir:MedicationStatement.effectivePeriod [
     fhir:Period.start [ fhir:value "2016-09-10"^^xsd:date ];
     fhir:Period.end [ fhir:value "2016-09-12"^^xsd:date ]
  ];
  fhir:MedicationStatement.dateAsserted [ fhir:value "2017-04-10T08:52:20.325-07:00"^^xsd:dateTime];
  fhir:MedicationStatement.informationSource [
     fhir:Reference.display [ fhir:value "Provider B" ]
  ];
  fhir:MedicationStatement.subject [
     fhir:Reference.reference [ fhir:value "Patient/test2" ];
     fhir:Reference.display [ fhir:value "Brian Z" ]
  ];
  fhir:MedicationStatement.derivedFrom [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "MedicationRequest/enca-1" ]
  ];
  fhir:MedicationStatement.taken [ fhir:value "y"];
  fhir:MedicationStatement.reasonCode [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:233604007;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "233604007" ];
       fhir:Coding.display [ fhir:value "Pneumonia (disorder)" ]     ]
  ];
  fhir:MedicationStatement.dosage [
     fhir:index 0;
     fhir:Dosage.sequence [ fhir:value "1"^^xsd:integer ];
     fhir:Dosage.text [ fhir:value "Cefatoxime 1gm intravenously every 6 hours" ];
     fhir:Dosage.timing [
       fhir:Timing.event [
         fhir:value "2016-09-10T08:52:20-07:00"^^xsd:dateTime;
         fhir:index 0       ], [
         fhir:value "2016-09-10T08:52:20-07:00"^^xsd:dateTime;
         fhir:index 1       ], [
         fhir:value "2016-09-10T14:52:20-07:00"^^xsd:dateTime;
         fhir:index 2       ], [
         fhir:value "2016-09-10T20:20:20-07:00"^^xsd:dateTime;
         fhir:index 3       ], [
         fhir:value "2016-09-11T02:02:20-07:00"^^xsd:dateTime;
         fhir:index 4       ], [
         fhir:value "2016-09-11T08:45:20-07:00"^^xsd:dateTime;
         fhir:index 5       ], [
         fhir:value "2016-09-11T14:15:20-07:00"^^xsd:dateTime;
         fhir:index 6       ], [
         fhir:value "2016-09-11T20:15:20-07:00"^^xsd:dateTime;
         fhir:index 7       ], [
         fhir:value "2016-09-12T02:15:20-07:00"^^xsd:dateTime;
         fhir:index 8       ]     ];
     fhir:Dosage.asNeededBoolean [ fhir:value "false"^^xsd:boolean ];
     fhir:Dosage.route [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://ncimeta.nci.nih.gov" ];
         fhir:Coding.code [ fhir:value "C38276" ];
         fhir:Coding.display [ fhir:value "INTRAVENOUS" ];
         fhir:Coding.userSelected [ fhir:value "false"^^xsd:boolean ]       ]     ];
     fhir:Dosage.method [
       fhir:CodeableConcept.text [ fhir:value "Slow Push" ]     ];
     fhir:Dosage.doseQuantity [
       fhir:Quantity.value [ fhir:value "1000"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "mg" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "mg" ]     ]
  ].

<http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement/derivedfrom-mr-enca-2> a fhir:MedicationStatement;
  fhir:Resource.id [ fhir:value "derivedfrom-mr-enca-2"];
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "2" ];
     fhir:Meta.lastUpdated [ fhir:value "2017-04-10T12:47:42.113-04:00"^^xsd:dateTime ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/STU3/us/core/StructureDefinition/us-core-medicationstatement";
       fhir:index 0     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: derivedfrom-mr-enca-2</p><p><b>meta</b>: </p><p><b>context</b>: <a href=\"Encounter-A.html\">Inpatient Encounter A. Generated Summary: id: A; status: finished; <span title=\"{http://hl7.org/fhir/STU3/v3/ActCode IMP}\">inpatient encounter</span>; ????; period: 10/09/2016 --&gt; 12/09/2016</a></p><p><b>status</b>: completed</p><p><b>medication</b>: Ketorolac Tromethamine 15 MG/ML For Injection <span style=\"background: LightGoldenRodYellow\">(Details : {RxNorm code '860092' = '860092', given as '1 ML Ketorolac Tromethamine 15 MG/ML Injection'})</span></p><p><b>effective</b>: 10/09/2016 --&gt; 12/09/2016</p><p><b>dateAsserted</b>: 10/04/2017 8:54:15 AM</p><p><b>informationSource</b>: Provider B</p><p><b>subject</b>: <a href=\"Patient-test2.html\">Brian Z. Generated Summary: id: test2; Medical Record Number = 1032702 (USUAL); active; Brian Z ; ph: 555-555-5555(HOME); gender: male; birthDate: 05/01/1964</a></p><p><b>derivedFrom</b>: <a href=\"MedicationRequest-enca-2.html\">Generated Summary: id: enca-2; status: completed; intent: order; <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 860092}\">Ketorolac Tromethamine 15 MG/ML For Injection</span>; Brian Z; Inpatient Encounter A; authoredOn: 10/09/2016; <span title=\"Codes: {http://snomed.info/sct 233604007}\">Pneumonia (disorder)</span>; </a></p><p><b>taken</b>: y</p><p><b>reasonCode</b>: Pneumonia (disorder) <span style=\"background: LightGoldenRodYellow\">(Details : {SNOMED CT code '233604007' = 'Pneumonia', given as 'Pneumonia (disorder)'})</span></p><p><b>dosage</b>: </p></div>"
  ];
  fhir:MedicationStatement.context [
     fhir:Reference.reference [ fhir:value "Encounter/A" ];
     fhir:Reference.display [ fhir:value "Inpatient Encounter A" ]
  ];
  fhir:MedicationStatement.status [ fhir:value "completed"];
  fhir:MedicationStatement.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 "860092" ];
       fhir:Coding.display [ fhir:value "1 ML Ketorolac Tromethamine 15 MG/ML Injection" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Ketorolac Tromethamine 15 MG/ML For Injection" ]
  ];
  fhir:MedicationStatement.effectivePeriod [
     fhir:Period.start [ fhir:value "2016-09-10"^^xsd:date ];
     fhir:Period.end [ fhir:value "2016-09-12"^^xsd:date ]
  ];
  fhir:MedicationStatement.dateAsserted [ fhir:value "2017-04-10T08:54:15.585-07:00"^^xsd:dateTime];
  fhir:MedicationStatement.informationSource [
     fhir:Reference.display [ fhir:value "Provider B" ]
  ];
  fhir:MedicationStatement.subject [
     fhir:Reference.reference [ fhir:value "Patient/test2" ];
     fhir:Reference.display [ fhir:value "Brian Z" ]
  ];
  fhir:MedicationStatement.derivedFrom [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "MedicationRequest/enca-2" ]
  ];
  fhir:MedicationStatement.taken [ fhir:value "y"];
  fhir:MedicationStatement.reasonCode [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:233604007;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "233604007" ];
       fhir:Coding.display [ fhir:value "Pneumonia (disorder)" ]     ]
  ];
  fhir:MedicationStatement.dosage [
     fhir:index 0;
     fhir:Dosage.sequence [ fhir:value "1"^^xsd:integer ];
     fhir:Dosage.text [ fhir:value "Cefatoxime 1gm intravenously every 6 hours" ];
     fhir:Dosage.timing [
       fhir:Timing.event [
         fhir:value "2016-09-10T08:52:20-07:00"^^xsd:dateTime;
         fhir:index 0       ], [
         fhir:value "2016-09-10T08:52:20-07:00"^^xsd:dateTime;
         fhir:index 1       ], [
         fhir:value "2016-09-10T14:52:20-07:00"^^xsd:dateTime;
         fhir:index 2       ], [
         fhir:value "2016-09-10T20:20:20-07:00"^^xsd:dateTime;
         fhir:index 3       ], [
         fhir:value "2016-09-11T02:02:20-07:00"^^xsd:dateTime;
         fhir:index 4       ], [
         fhir:value "2016-09-11T08:45:20-07:00"^^xsd:dateTime;
         fhir:index 5       ], [
         fhir:value "2016-09-11T14:15:20-07:00"^^xsd:dateTime;
         fhir:index 6       ], [
         fhir:value "2016-09-11T20:15:20-07:00"^^xsd:dateTime;
         fhir:index 7       ], [
         fhir:value "2016-09-12T02:15:20-07:00"^^xsd:dateTime;
         fhir:index 8       ]     ];
     fhir:Dosage.asNeededBoolean [ fhir:value "false"^^xsd:boolean ];
     fhir:Dosage.route [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://ncimeta.nci.nih.gov" ];
         fhir:Coding.code [ fhir:value "C38276" ];
         fhir:Coding.display [ fhir:value "INTRAVENOUS" ];
         fhir:Coding.userSelected [ fhir:value "false"^^xsd:boolean ]       ]     ];
     fhir:Dosage.method [
       fhir:CodeableConcept.text [ fhir:value "Slow Push" ]     ];
     fhir:Dosage.doseQuantity [
       fhir:Quantity.value [ fhir:value "15"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "mg" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "mg" ]     ]
  ].

<http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement/derivedfrom-mr-enca-3> a fhir:MedicationStatement;
  fhir:Resource.id [ fhir:value "derivedfrom-mr-enca-3"];
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "2" ];
     fhir:Meta.lastUpdated [ fhir:value "2017-04-10T12:47:54.316-04:00"^^xsd:dateTime ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/STU3/us/core/StructureDefinition/us-core-medicationstatement";
       fhir:index 0     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: derivedfrom-mr-enca-3</p><p><b>meta</b>: </p><p><b>contained</b>: </p><p><b>context</b>: <a href=\"Encounter-A.html\">Inpatient Encounter A. Generated Summary: id: A; status: finished; <span title=\"{http://hl7.org/fhir/STU3/v3/ActCode IMP}\">inpatient encounter</span>; ????; period: 10/09/2016 --&gt; 12/09/2016</a></p><p><b>status</b>: completed</p><p><b>medication</b>: unknown resource contained</p><p><b>effective</b>: 10/09/2016 --&gt; 12/09/2016</p><p><b>dateAsserted</b>: 10/04/2017 8:55:28 AM</p><p><b>informationSource</b>: Provider B</p><p><b>subject</b>: <a href=\"Patient-test2.html\">Brian Z. Generated Summary: id: test2; Medical Record Number = 1032702 (USUAL); active; Brian Z ; ph: 555-555-5555(HOME); gender: male; birthDate: 05/01/1964</a></p><p><b>derivedFrom</b>: <a href=\"MedicationRequest-enca-3.html\">Generated Summary: id: enca-3; status: completed; intent: order; ????; Brian Z; Inpatient Encounter A; authoredOn: 10/09/2016; <span title=\"Codes: {http://snomed.info/sct 233604007}\">Pneumonia (disorder)</span>; </a></p><p><b>taken</b>: y</p><p><b>reasonCode</b>: Pneumonia (disorder) <span style=\"background: LightGoldenRodYellow\">(Details : {SNOMED CT code '233604007' = 'Pneumonia', given as 'Pneumonia (disorder)'})</span></p><p><b>dosage</b>: </p></div>"
  ];
  fhir:DomainResource.contained [
     a fhir:Medication;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "med-1" ];
     fhir:Resource.meta [
       fhir:Meta.profile [
         fhir:value "http://hl7.org/fhir/STU3/us/core/StructureDefinition/us-core-medication";
         fhir:index 0       ]     ];
     fhir:Medication.code [
       fhir:CodeableConcept.text [ fhir:value "Azithromycin 500mg in 250 ml Normal Saline" ]     ];
     fhir:Medication.ingredient [
       fhir:index 0;
       fhir:Medication.ingredient.itemCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ];
           fhir:Coding.code [ fhir:value "1668240" ];
           fhir:Coding.display [ fhir:value "Zithromax 500 MG Injection" ]         ];
         fhir:CodeableConcept.text [ fhir:value "Zithromax (azithromycin) 500 MG Injection" ]       ];
       fhir:Medication.ingredient.isActive [ fhir:value "true"^^xsd:boolean ];
       fhir:Medication.ingredient.amount [
         fhir:Ratio.numerator [
           fhir:Quantity.value [ fhir:value "500"^^xsd:decimal ];
           fhir:Quantity.unit [ fhir:value "mg" ];
           fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
           fhir:Quantity.code [ fhir:value "mg" ]         ];
         fhir:Ratio.denominator [
           fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ];
           fhir:Quantity.unit [ fhir:value "vial" ];
           fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
           fhir:Quantity.code [ fhir:value "{vial}" ]         ]       ]     ], [
       fhir:index 1;
       fhir:Medication.ingredient.itemCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ];
           fhir:Coding.code [ fhir:value "313002" ];
           fhir:Coding.display [ fhir:value "Sodium Chloride 0.9% injectable solution" ]         ];
         fhir:CodeableConcept.text [ fhir:value "Normal Saline" ]       ];
       fhir:Medication.ingredient.isActive [ fhir:value "true"^^xsd:boolean ];
       fhir:Medication.ingredient.amount [
         fhir:Ratio.numerator [
           fhir:Quantity.value [ fhir:value "250"^^xsd:decimal ];
           fhir:Quantity.unit [ fhir:value "mL" ];
           fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
           fhir:Quantity.code [ fhir:value "mL" ]         ];
         fhir:Ratio.denominator [
           fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ];
           fhir:Quantity.unit [ fhir:value "IV Bag" ];
           fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
           fhir:Quantity.code [ fhir:value "{IV Bag}" ]         ]       ]     ]
  ];
  fhir:MedicationStatement.context [
     fhir:Reference.reference [ fhir:value "Encounter/A" ];
     fhir:Reference.display [ fhir:value "Inpatient Encounter A" ]
  ];
  fhir:MedicationStatement.status [ fhir:value "completed"];
  fhir:MedicationStatement.medicationReference [
     fhir:Reference.reference [ fhir:value "#med-1" ]
  ];
  fhir:MedicationStatement.effectivePeriod [
     fhir:Period.start [ fhir:value "2016-09-10"^^xsd:date ];
     fhir:Period.end [ fhir:value "2016-09-12"^^xsd:date ]
  ];
  fhir:MedicationStatement.dateAsserted [ fhir:value "2017-04-10T08:55:28.557-07:00"^^xsd:dateTime];
  fhir:MedicationStatement.informationSource [
     fhir:Reference.display [ fhir:value "Provider B" ]
  ];
  fhir:MedicationStatement.subject [
     fhir:Reference.reference [ fhir:value "Patient/test2" ];
     fhir:Reference.display [ fhir:value "Brian Z" ]
  ];
  fhir:MedicationStatement.derivedFrom [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "MedicationRequest/enca-3" ]
  ];
  fhir:MedicationStatement.taken [ fhir:value "y"];
  fhir:MedicationStatement.reasonCode [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:233604007;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "233604007" ];
       fhir:Coding.display [ fhir:value "Pneumonia (disorder)" ]     ]
  ];
  fhir:MedicationStatement.dosage [
     fhir:index 0;
     fhir:Dosage.sequence [ fhir:value "1"^^xsd:integer ];
     fhir:Dosage.text [ fhir:value "Azithromycin 500mg in 250 ml Normal Saline intravenously over 1hour every 24 hours" ];
     fhir:Dosage.timing [
       fhir:Timing.event [
         fhir:value "2016-09-10T08:52:20-07:00"^^xsd:dateTime;
         fhir:index 0       ], [
         fhir:value "2016-09-11T08:52:20-07:00"^^xsd:dateTime;
         fhir:index 1       ]     ];
     fhir:Dosage.asNeededBoolean [ fhir:value "false"^^xsd:boolean ];
     fhir:Dosage.route [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://ncimeta.nci.nih.gov" ];
         fhir:Coding.code [ fhir:value "C38276" ];
         fhir:Coding.display [ fhir:value "INTRAVENOUS" ]       ]     ];
     fhir:Dosage.method [
       fhir:CodeableConcept.text [ fhir:value "I hr infusion" ]     ];
     fhir:Dosage.doseQuantity [
       fhir:Quantity.value [ fhir:value "500"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "mg" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "mg" ]     ]
  ].

<http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement/derivedfrom-mr-enca-4> a fhir:MedicationStatement;
  fhir:Resource.id [ fhir:value "derivedfrom-mr-enca-4"];
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "2" ];
     fhir:Meta.lastUpdated [ fhir:value "2017-04-10T12:48:03.114-04:00"^^xsd:dateTime ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/STU3/us/core/StructureDefinition/us-core-medicationstatement";
       fhir:index 0     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: derivedfrom-mr-enca-4</p><p><b>meta</b>: </p><p><b>context</b>: <a href=\"Encounter-A.html\">Inpatient Encounter A. Generated Summary: id: A; status: finished; <span title=\"{http://hl7.org/fhir/STU3/v3/ActCode IMP}\">inpatient encounter</span>; ????; period: 10/09/2016 --&gt; 12/09/2016</a></p><p><b>status</b>: completed</p><p><b>medication</b>: LRS <span style=\"background: LightGoldenRodYellow\">(Details : {RxNorm code '860601' = '860601', given as 'Calcium Chloride 0.0014 MEQ/ML / Potassium Chloride 0.024 MEQ/ML / Sodium Chloride 0.103 MEQ/ML / Sodium Lactate 0.028 MEQ/ML Injectable Solution'})</span></p><p><b>effective</b>: 10/09/2016 --&gt; 12/09/2016</p><p><b>dateAsserted</b>: 10/04/2017 8:56:13 AM</p><p><b>informationSource</b>: Provider B</p><p><b>subject</b>: <a href=\"Patient-test2.html\">Brian Z. Generated Summary: id: test2; Medical Record Number = 1032702 (USUAL); active; Brian Z ; ph: 555-555-5555(HOME); gender: male; birthDate: 05/01/1964</a></p><p><b>derivedFrom</b>: <a href=\"MedicationRequest-enca-4.html\">Generated Summary: id: enca-4; status: completed; intent: order; <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 860601}\">LRS</span>; Brian Z; Inpatient Encounter A; authoredOn: 10/09/2016; <span title=\"Codes: {http://snomed.info/sct 233604007}\">Pneumonia (disorder)</span>; </a></p><p><b>taken</b>: y</p><p><b>reasonCode</b>: Pneumonia (disorder) <span style=\"background: LightGoldenRodYellow\">(Details : {SNOMED CT code '233604007' = 'Pneumonia', given as 'Pneumonia (disorder)'})</span></p><p><b>dosage</b>: </p></div>"
  ];
  fhir:MedicationStatement.context [
     fhir:Reference.reference [ fhir:value "Encounter/A" ];
     fhir:Reference.display [ fhir:value "Inpatient Encounter A" ]
  ];
  fhir:MedicationStatement.status [ fhir:value "completed"];
  fhir:MedicationStatement.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 "860601" ];
       fhir:Coding.display [ fhir:value "Calcium Chloride 0.0014 MEQ/ML / Potassium Chloride 0.024 MEQ/ML / Sodium Chloride 0.103 MEQ/ML / Sodium Lactate 0.028 MEQ/ML Injectable Solution" ]     ];
     fhir:CodeableConcept.text [ fhir:value "LRS" ]
  ];
  fhir:MedicationStatement.effectivePeriod [
     fhir:Period.start [ fhir:value "2016-09-10"^^xsd:date ];
     fhir:Period.end [ fhir:value "2016-09-12"^^xsd:date ]
  ];
  fhir:MedicationStatement.dateAsserted [ fhir:value "2017-04-10T08:56:13.229-07:00"^^xsd:dateTime];
  fhir:MedicationStatement.informationSource [
     fhir:Reference.display [ fhir:value "Provider B" ]
  ];
  fhir:MedicationStatement.subject [
     fhir:Reference.reference [ fhir:value "Patient/test2" ];
     fhir:Reference.display [ fhir:value "Brian Z" ]
  ];
  fhir:MedicationStatement.derivedFrom [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "MedicationRequest/enca-4" ]
  ];
  fhir:MedicationStatement.taken [ fhir:value "y"];
  fhir:MedicationStatement.reasonCode [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:233604007;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "233604007" ];
       fhir:Coding.display [ fhir:value "Pneumonia (disorder)" ]     ]
  ];
  fhir:MedicationStatement.dosage [
     fhir:index 0;
     fhir:Dosage.sequence [ fhir:value "1"^^xsd:integer ];
     fhir:Dosage.text [ fhir:value "LRS IV at 250 ml/hr" ];
     fhir:Dosage.asNeededBoolean [ fhir:value "false"^^xsd:boolean ];
     fhir:Dosage.route [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://ncimeta.nci.nih.gov" ];
         fhir:Coding.code [ fhir:value "C38276" ];
         fhir:Coding.display [ fhir:value "INTRAVENOUS" ];
         fhir:Coding.userSelected [ fhir:value "false"^^xsd:boolean ]       ]     ];
     fhir:Dosage.method [
       fhir:CodeableConcept.text [ fhir:value "Constant Rate Infusion" ]     ]
  ].

<http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement/derivedfrom-mr-enca-5> a fhir:MedicationStatement;
  fhir:Resource.id [ fhir:value "derivedfrom-mr-enca-5"];
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "2" ];
     fhir:Meta.lastUpdated [ fhir:value "2017-04-10T12:48:11.192-04:00"^^xsd:dateTime ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/STU3/us/core/StructureDefinition/us-core-medicationstatement";
       fhir:index 0     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: derivedfrom-mr-enca-5</p><p><b>meta</b>: </p><p><b>context</b>: <a href=\"Encounter-A.html\">Inpatient Encounter A. Generated Summary: id: A; status: finished; <span title=\"{http://hl7.org/fhir/STU3/v3/ActCode IMP}\">inpatient encounter</span>; ????; period: 10/09/2016 --&gt; 12/09/2016</a></p><p><b>status</b>: active</p><p><b>medication</b>: Zithromax 500 MG Oral Tablet <span style=\"background: LightGoldenRodYellow\">(Details : {RxNorm code '212446' = '212446', given as 'Zithromax 250 MG Oral Tablet'})</span></p><p><b>effective</b>: 12/09/2016 --&gt; 22/09/2016</p><p><b>dateAsserted</b>: 10/04/2017 8:56:49 AM</p><p><b>informationSource</b>: <a href=\"Patient-test2.html\">Brian Z. Generated Summary: id: test2; Medical Record Number = 1032702 (USUAL); active; Brian Z ; ph: 555-555-5555(HOME); gender: male; birthDate: 05/01/1964</a></p><p><b>subject</b>: <a href=\"Patient-test2.html\">Brian Z. Generated Summary: id: test2; Medical Record Number = 1032702 (USUAL); active; Brian Z ; ph: 555-555-5555(HOME); gender: male; birthDate: 05/01/1964</a></p><p><b>derivedFrom</b>: <a href=\"MedicationRequest-enca-5.html\">Generated Summary: id: enca-5; status: active; intent: order; <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 212446}\">Zithromax 500 MG Oral Tablet</span>; Brian Z; Inpatient Encounter A; authoredOn: 12/09/2016; <span title=\"Codes: {http://snomed.info/sct 233604007}\">Pneumonia (disorder)</span>; </a></p><p><b>taken</b>: n</p><p><b>reasonCode</b>: Pneumonia (disorder) <span style=\"background: LightGoldenRodYellow\">(Details : {SNOMED CT code '233604007' = 'Pneumonia', given as 'Pneumonia (disorder)'})</span></p><p><b>dosage</b>: </p></div>"
  ];
  fhir:MedicationStatement.context [
     fhir:Reference.reference [ fhir:value "Encounter/A" ];
     fhir:Reference.display [ fhir:value "Inpatient Encounter A" ]
  ];
  fhir:MedicationStatement.status [ fhir:value "active"];
  fhir:MedicationStatement.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 "212446" ];
       fhir:Coding.display [ fhir:value "Zithromax 250 MG Oral Tablet" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Zithromax 500 MG Oral Tablet" ]
  ];
  fhir:MedicationStatement.effectivePeriod [
     fhir:Period.start [ fhir:value "2016-09-12"^^xsd:date ];
     fhir:Period.end [ fhir:value "2016-09-22"^^xsd:date ]
  ];
  fhir:MedicationStatement.dateAsserted [ fhir:value "2017-04-10T08:56:49.038-07:00"^^xsd:dateTime];
  fhir:MedicationStatement.informationSource [
     fhir:Reference.reference [ fhir:value "Patient/test2" ];
     fhir:Reference.display [ fhir:value "Brian Z" ]
  ];
  fhir:MedicationStatement.subject [
     fhir:Reference.reference [ fhir:value "Patient/test2" ];
     fhir:Reference.display [ fhir:value "Brian Z" ]
  ];
  fhir:MedicationStatement.derivedFrom [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "MedicationRequest/enca-5" ]
  ];
  fhir:MedicationStatement.taken [ fhir:value "n"];
  fhir:MedicationStatement.reasonCode [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:233604007;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "233604007" ];
       fhir:Coding.display [ fhir:value "Pneumonia (disorder)" ]     ]
  ];
  fhir:MedicationStatement.dosage [
     fhir:index 0;
     fhir:Dosage.sequence [ fhir:value "1"^^xsd:integer ];
     fhir:Dosage.text [ fhir:value "Zithromax (azithromycin) 250mg by mouth every 12 hours for 10 days" ];
     fhir:Dosage.additionalInstruction [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:311504000;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "311504000" ];
         fhir:Coding.display [ fhir:value "With or after food" ]       ]     ];
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "1"^^xsd:integer ];
         fhir:Timing.repeat.period [ fhir:value "12"^^xsd:decimal ];
         fhir:Timing.repeat.periodUnit [ fhir:value "h" ]       ]     ];
     fhir:Dosage.route [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://ncimeta.nci.nih.gov" ];
         fhir:Coding.code [ fhir:value "C38288" ];
         fhir:Coding.display [ fhir:value "ORALLY" ];
         fhir:Coding.userSelected [ fhir:value "false"^^xsd:boolean ]       ]     ];
     fhir:Dosage.doseQuantity [
       fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "TAB" ];
       fhir:Quantity.system [ fhir:value "http://hl7.org/fhir/STU3/v3/orderableDrugForm" ];
       fhir:Quantity.code [ fhir:value "TAB" ]     ]
  ].

<http://wildfhir.aegis.net/fhir3-0-0/MedicationStatement/derivedfrom-mr-enca-6> a fhir:MedicationStatement;
  fhir:Resource.id [ fhir:value "derivedfrom-mr-enca-6"];
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "2" ];
     fhir:Meta.lastUpdated [ fhir:value "2017-04-10T12:48:18.411-04:00"^^xsd:dateTime ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/STU3/us/core/StructureDefinition/us-core-medicationstatement";
       fhir:index 0     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: derivedfrom-mr-enca-6</p><p><b>meta</b>: </p><p><b>context</b>: <a href=\"Encounter-A.html\">Inpatient Encounter A. Generated Summary: id: A; status: finished; <span title=\"{http://hl7.org/fhir/STU3/v3/ActCode IMP}\">inpatient encounter</span>; ????; period: 10/09/2016 --&gt; 12/09/2016</a></p><p><b>status</b>: active</p><p><b>medication</b>: Amoxicillin 500 MG <span style=\"background: LightGoldenRodYellow\">(Details : {RxNorm code '308191' = '308191', given as 'Amoxicillin 500 MG Oral Capsule'})</span></p><p><b>effective</b>: 12/09/2016 --&gt; (ongoing)</p><p><b>dateAsserted</b>: 10/04/2017 8:57:19 AM</p><p><b>informationSource</b>: <a href=\"Patient-test2.html\">Brian Z. Generated Summary: id: test2; Medical Record Number = 1032702 (USUAL); active; Brian Z ; ph: 555-555-5555(HOME); gender: male; birthDate: 05/01/1964</a></p><p><b>subject</b>: <a href=\"Patient-test2.html\">Brian Z. Generated Summary: id: test2; Medical Record Number = 1032702 (USUAL); active; Brian Z ; ph: 555-555-5555(HOME); gender: male; birthDate: 05/01/1964</a></p><p><b>derivedFrom</b>: <a href=\"MedicationRequest-enca-6.html\">Generated Summary: id: enca-6; status: active; intent: order; <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 308191}\">Amoxicillin 500 MG</span>; Brian Z; Inpatient Encounter A; authoredOn: 12/09/2016; <span title=\"Codes: {http://snomed.info/sct 233604007}\">Pneumonia (disorder)</span>; </a></p><p><b>taken</b>: n</p><p><b>reasonCode</b>: Pneumonia (disorder) <span style=\"background: LightGoldenRodYellow\">(Details : {SNOMED CT code '233604007' = 'Pneumonia', given as 'Pneumonia (disorder)'})</span></p><p><b>dosage</b>: </p></div>"
  ];
  fhir:MedicationStatement.context [
     fhir:Reference.reference [ fhir:value "Encounter/A" ];
     fhir:Reference.display [ fhir:value "Inpatient Encounter A" ]
  ];
  fhir:MedicationStatement.status [ fhir:value "active"];
  fhir:MedicationStatement.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 "308191" ];
       fhir:Coding.display [ fhir:value "Amoxicillin 500 MG Oral Capsule" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Amoxicillin 500 MG" ]
  ];
  fhir:MedicationStatement.effectivePeriod [
     fhir:Period.start [ fhir:value "2016-09-12"^^xsd:date ]
  ];
  fhir:MedicationStatement.dateAsserted [ fhir:value "2017-04-10T08:57:19.412-07:00"^^xsd:dateTime];
  fhir:MedicationStatement.informationSource [
     fhir:Reference.reference [ fhir:value "Patient/test2" ];
     fhir:Reference.display [ fhir:value "Brian Z" ]
  ];
  fhir:MedicationStatement.subject [
     fhir:Reference.reference [ fhir:value "Patient/test2" ];
     fhir:Reference.display [ fhir:value "Brian Z" ]
  ];
  fhir:MedicationStatement.derivedFrom [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "MedicationRequest/enca-6" ]
  ];
  fhir:MedicationStatement.taken [ fhir:value "n"];
  fhir:MedicationStatement.reasonCode [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:233604007;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "233604007" ];
       fhir:Coding.display [ fhir:value "Pneumonia (disorder)" ]     ]
  ];
  fhir:MedicationStatement.dosage [
     fhir:index 0;
     fhir:Dosage.sequence [ fhir:value "1"^^xsd:integer ];
     fhir:Dosage.text [ fhir:value "Amoxicillin 500mg by mouth every 6 hours for 10 days" ];
     fhir:Dosage.additionalInstruction [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:311504000;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "311504000" ];
         fhir:Coding.display [ fhir:value "With or after food" ]       ]     ];
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "1"^^xsd:integer ];
         fhir:Timing.repeat.period [ fhir:value "6"^^xsd:decimal ];
         fhir:Timing.repeat.periodUnit [ fhir:value "h" ]       ]     ];
     fhir:Dosage.route [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://ncimeta.nci.nih.gov" ];
         fhir:Coding.code [ fhir:value "C38288" ];
         fhir:Coding.display [ fhir:value "ORALLY" ];
         fhir:Coding.userSelected [ fhir:value "false"^^xsd:boolean ]       ]     ];
     fhir:Dosage.doseQuantity [
       fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "Oral Capsule" ];
       fhir:Quantity.system [ fhir:value "http://hl7.org/fhir/STU3/v3/orderableDrugForm" ];
       fhir:Quantity.code [ fhir:value "ORCAP" ]     ]
  ].

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

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