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: MedicationRequest-enca-3

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:MedicationRequest;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "enca-3"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/STU3/us/core/StructureDefinition/us-core-medicationrequest";
       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>: enca-3</p><p><b>meta</b>: </p><p><b>contained</b>: </p><p><b>status</b>: completed</p><p><b>intent</b>: order</p><p><b>medication</b>: unknown resource contained</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>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>authoredOn</b>: 10/09/2016</p><h3>Requesters</h3><table class=\"grid\"><tr><td>-</td><td><b>Agent</b></td></tr><tr><td>*</td><td>Dr. B</td></tr></table><p><b>reasonCode</b>: Pneumonia (disorder) <span style=\"background: LightGoldenRodYellow\">(Details : {SNOMED CT code '233604007' = 'Pneumonia', given as 'Pneumonia (disorder)'})</span></p><p><b>dosageInstruction</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:MedicationRequest.status [ fhir:value "completed"];
  fhir:MedicationRequest.intent [ fhir:value "order"];
  fhir:MedicationRequest.medicationReference [
     fhir:Reference.reference [ fhir:value "#med-1" ]
  ];
  fhir:MedicationRequest.subject [
     fhir:Reference.reference [ fhir:value "Patient/test2" ];
     fhir:Reference.display [ fhir:value "Brian Z" ]
  ];
  fhir:MedicationRequest.context [
     fhir:Reference.reference [ fhir:value "Encounter/A" ];
     fhir:Reference.display [ fhir:value "Inpatient Encounter A" ]
  ];
  fhir:MedicationRequest.authoredOn [ fhir:value "2016-09-10"^^xsd:date];
  fhir:MedicationRequest.requester [
     fhir:MedicationRequest.requester.agent [
       fhir:Reference.display [ fhir:value "Dr. B" ]     ]
  ];
  fhir:MedicationRequest.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:MedicationRequest.dosageInstruction [
     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.repeat [
         fhir:Timing.repeat.duration [ fhir:value "1"^^xsd:decimal ];
         fhir:Timing.repeat.durationUnit [ fhir:value "h" ];
         fhir:Timing.repeat.frequency [ fhir:value "1"^^xsd:integer ];
         fhir:Timing.repeat.period [ fhir:value "24"^^xsd:decimal ];
         fhir:Timing.repeat.periodUnit [ fhir:value "h" ]       ]     ];
     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 "1 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" ]     ]
  ].

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

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