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

Medicationusageexample3.ttl

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

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

Patient reports that they are taking the "little pink pill"

@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/example003> a fhir:MedicationUsage;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example003"];
  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>: example003</p><p><b>status</b>: active</p><p><b>medication</b>: </p><p><b>subject</b>: <a>Donald Duck</a></p><p><b>effective</b>: 2014-02-01</p><p><b>dateAsserted</b>: 2014-02-22</p><p><b>informationSource</b>: <a>Donald Duck</a></p><p><b>reason</b>: </p><p><b>note</b>: Patient cannot remember the name of the tablet, but takes it every day in the morning for water retention</p><p><b>dosage</b>: </p></div>"
  ];
  fhir:MedicationUsage.status [ fhir:value "active"];
  fhir:MedicationUsage.medication [
     fhir:CodeableReference.concept [
       fhir:CodeableConcept.text [ fhir:value "Little Pink Pill for water retention" ]
     ]
  ];
  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 "2014-02-01"^^xsd:date];
  fhir:MedicationUsage.dateAsserted [ fhir:value "2014-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.reason [
     fhir:index 0;
     fhir:CodeableReference.reference [
       fhir:link <http://hl7.org/fhir/Observation/blood-pressure>;
       fhir:Reference.reference [ fhir:value "Observation/blood-pressure" ]
     ]
  ];
  fhir:MedicationUsage.note [
     fhir:index 0;
     fhir:Annotation.text [ fhir:value "Patient cannot remember the name of the tablet, but takes it every day in the morning for water retention" ]
  ];
  fhir:MedicationUsage.dosage [
     fhir:index 0;
     fhir:Dosage.sequence [ fhir:value "1"^^xsd:integer ];
     fhir:Dosage.text [ fhir:value "1 tablet per day" ];
     fhir:Dosage.asNeededBoolean [ fhir:value "false"^^xsd:boolean ];
     fhir:Dosage.route [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:260548002;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "260548002" ];
         fhir:Coding.display [ fhir:value "Oral" ]
       ]
     ];
     fhir:Dosage.doseAndRate [
       fhir:index 0;
       fhir:Dosage.doseAndRate.type [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/dose-rate-type" ];
           fhir:Coding.code [ fhir:value "ordered" ];
           fhir:Coding.display [ fhir:value "Ordered" ]
         ]
       ];
       fhir:Dosage.doseAndRate.doseQuantity [
         fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "tab" ];
         fhir:Quantity.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ];
         fhir:Quantity.code [ fhir:value "tab" ]
       ]
     ];
     fhir:Dosage.maxDosePerPeriod [
       fhir:Ratio.numerator [
         fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ]
       ];
       fhir:Ratio.denominator [
         fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "d" ]
       ]
     ]
  ] .

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

<http://hl7.org/fhir/Observation/blood-pressure> a fhir:Observation .

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

<http://hl7.org/fhir/MedicationUsage/example003.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/MedicationUsage/example003.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.