Release 5 Preview #2

This page is part of the FHIR Specification (v4.4.0: R5 Preview #2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Medicationusageexample2.ttl

Pharmacy Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Encounter, Patient, Practitioner, RelatedPerson

Raw Turtle (+ also see Turtle/RDF Format Specification)

Patient reports they are not taking Tylenol PM

@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 -------------------------------------------------------------------

<http://hl7.org/fhir/MedicationUsage/example002> a fhir:MedicationUsage;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example002"];
  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>: example002</p><p><b>contained</b>: </p><p><b>status</b>: active</p><p><b>statusReason</b>: Liver enzymes abnormal <span>(Details : {SNOMED CT code '166643006' = 'Liver enzymes abnormal', given as 'Liver enzymes abnormal'})</span></p><p><b>medication</b>: </p><p><b>subject</b>: <a>Donald Duck</a></p><p><b>effective</b>: 2015-01-23</p><p><b>dateAsserted</b>: 2015-02-22</p><p><b>informationSource</b>: <a>Donald Duck</a></p><p><b>note</b>: Patient cannot take acetaminophen as per Dr instructions</p></div>"
  ];
  fhir:DomainResource.contained [
     a fhir:Medication;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "med0309" ];
     fhir:Medication.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/sid/ndc" ];
         fhir:Coding.code [ fhir:value "50580-608-02" ];
         fhir:Coding.display [ fhir:value "Tylenol PM" ]
       ]
     ];
     fhir:Medication.doseForm [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:385057009;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "385057009" ];
         fhir:Coding.display [ fhir:value "Film-coated tablet (qualifier value)" ]
       ]
     ];
     fhir:Medication.ingredient [
       fhir:index 0;
       fhir:Medication.ingredient.item [
         fhir:CodeableReference.concept [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ];
             fhir:Coding.code [ fhir:value "315266" ];
             fhir:Coding.display [ fhir:value "Acetaminophen 500 MG" ]
           ]
         ]
       ];
       fhir:Medication.ingredient.strengthRatio [
         fhir:Ratio.numerator [
           fhir:Quantity.value [ fhir:value "500"^^xsd:decimal ];
           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.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ];
           fhir:Quantity.code [ fhir:value "Tab" ]
         ]
       ]
     ], [
       fhir:index 1;
       fhir:Medication.ingredient.item [
         fhir:CodeableReference.concept [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ];
             fhir:Coding.code [ fhir:value "901813" ];
             fhir:Coding.display [ fhir:value "Diphenhydramine Hydrochloride 25 mg" ]
           ]
         ]
       ];
       fhir:Medication.ingredient.strengthRatio [
         fhir:Ratio.numerator [
           fhir:Quantity.value [ fhir:value "25"^^xsd:decimal ];
           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.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ];
           fhir:Quantity.code [ fhir:value "Tab" ]
         ]
       ]
     ];
     fhir:Medication.batch [
       fhir:Medication.batch.lotNumber [ fhir:value "9494788" ];
       fhir:Medication.batch.expirationDate [ fhir:value "2017-05-22"^^xsd:date ]
     ]
  ];
  fhir:MedicationUsage.status [ fhir:value "active"];
  fhir:MedicationUsage.statusReason [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:166643006;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "166643006" ];
       fhir:Coding.display [ fhir:value "Liver enzymes abnormal" ]
     ]
  ];
  fhir:MedicationUsage.medication [
     fhir:CodeableReference.reference [
       fhir:Reference.reference [ fhir:value "#med0309" ]
     ]
  ];
  fhir:MedicationUsage.subject [
     fhir:link <http://hl7.org/fhir/Patient/pat1>;
     fhir:Reference.reference [ fhir:value "Patient/pat1" ];
     fhir:Reference.display [ fhir:value "Donald Duck" ]
  ];
  fhir:MedicationUsage.effectiveDateTime [ fhir:value "2015-01-23"^^xsd:date];
  fhir:MedicationUsage.dateAsserted [ fhir:value "2015-02-22"^^xsd:date];
  fhir:MedicationUsage.informationSource [
     fhir:link <http://hl7.org/fhir/Patient/pat1>;
     fhir:Reference.reference [ fhir:value "Patient/pat1" ];
     fhir:Reference.display [ fhir:value "Donald Duck" ]
  ];
  fhir:MedicationUsage.note [
     fhir:index 0;
     fhir:Annotation.text [ fhir:value "Patient cannot take acetaminophen as per Dr instructions" ]
  ] .

<http://hl7.org/fhir/Patient/pat1> a fhir:Patient .

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

<http://hl7.org/fhir/MedicationUsage/example002.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/MedicationUsage/example002.ttl> .

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.