R4 Draft for Comment

This page is part of the FHIR Specification (v3.2.0: R4 Ballot 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Medicationstatementexample4.ttl

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

Raw Turtle, JSON-LD

Patient reports they were taking Amoxycillin in the past but are not taking it now

@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/MedicationStatement/example004> a fhir:MedicationStatement;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example004"];
  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>: example004</p><p><b>partOf</b>: <a>Observation/blood-pressure</a></p><p><b>status</b>: completed</p><p><b>medication</b>: Amoxicillin (product) <span>(Details : {SNOMED CT code '27658006' = 'p-Hydroxyampicillin', given as 'Amoxicillin (product)'})</span></p><p><b>subject</b>: <a>Donald Duck</a></p><p><b>effective</b>: 23/01/2014</p><p><b>dateAsserted</b>: 22/02/2015</p><p><b>informationSource</b>: <a>Donald Duck</a></p><p><b>reasonCode</b>: Otitis Media <span>(Details : {SNOMED CT code '65363002' = 'Otitis media', given as 'Otitis Media'})</span></p><p><b>note</b>: Patient indicates they miss the occasional dose</p><p><b>dosage</b>: </p></div>"
  ];
  fhir:MedicationStatement.partOf [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/Observation/blood-pressure>;
     fhir:Reference.reference [ fhir:value "Observation/blood-pressure" ]
  ];
  fhir:MedicationStatement.status [ fhir:value "completed"];
  fhir:MedicationStatement.medicationCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:27658006;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "27658006" ];
       fhir:Coding.display [ fhir:value "Amoxicillin (product)" ]
     ]
  ];
  fhir:MedicationStatement.subject [
     fhir:link <http://hl7.org/fhir/Patient/pat1>;
     fhir:Reference.reference [ fhir:value "Patient/pat1" ];
     fhir:Reference.display [ fhir:value "Donald Duck" ]
  ];
  fhir:MedicationStatement.effectiveDateTime [ fhir:value "2014-01-23"^^xsd:date];
  fhir:MedicationStatement.dateAsserted [ fhir:value "2015-02-22"^^xsd:date];
  fhir:MedicationStatement.informationSource [
     fhir:link <http://hl7.org/fhir/Patient/pat1>;
     fhir:Reference.reference [ fhir:value "Patient/pat1" ];
     fhir:Reference.display [ fhir:value "Donald Duck" ]
  ];
  fhir:MedicationStatement.reasonCode [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:65363002;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "65363002" ];
       fhir:Coding.display [ fhir:value "Otitis Media" ]
     ]
  ];
  fhir:MedicationStatement.note [
     fhir:index 0;
     fhir:Annotation.text [ fhir:value "Patient indicates they miss the occasional dose" ]
  ];
  fhir:MedicationStatement.dosage [
     fhir:index 0;
     fhir:Dosage.text [ fhir:value "one capsule three times daily" ];
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "3"^^xsd:integer ];
         fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ];
         fhir:Timing.repeat.periodUnit [ fhir:value "d" ]
       ]
     ];
     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.maxDosePerPeriod [
       fhir:Ratio.numerator [
         fhir:Quantity.value [ fhir:value "3"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "capsules" ];
         fhir:Quantity.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Quantity.code [ fhir:value "385055001" ]
       ];
       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/Observation/blood-pressure> a fhir:Observation .

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

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

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