Release 4B R5 Final QA

This page is part of the FHIR Specification (v4.3.0: R4B (v5.0.0-draft-final: Final QA Preview for R5 - STU see ballot notes ). 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

Example MedicationStatement/example004 (Turtle)

Pharmacy Work Group Maturity Level : N/A Standards Status : Informative Compartments : Encounter , Patient , Practitioner , RelatedPerson

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

Patient reports they were taking Amoxycillin Amoxicillin 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</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource &quot;example004&quot; </p></div><p><b>partOf</b>: <a href=\"observation-blood-pressure.html\">Observation/blood-pressure</a></p><p><b>status</b>: active</p><p><b>medication</b>: Amoxicillin (product) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#27658006)</span></p><p><b>subject</b>: <a href=\"patient-pat1.html\">Patient/pat1: Donald Duck</a> &quot;Duck DONALD&quot;</p><p><b>effective</b>: 2014-01-23</p><p><b>dateAsserted</b>: 2015-02-22</p><p><b>informationSource</b>: <a href=\"patient-pat1.html\">Patient/pat1: Donald Duck</a> &quot;Duck DONALD&quot;</p><p><b>reasonCode</b>: Otitis Media <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#65363002)</span></p><p><b>note</b>: Patient indicates they miss the occasional dose</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 "active"];
  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" ]

[a fhir:MedicationStatement ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example004"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MedicationStatement</b><a name=\"example004\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource MedicationStatement &quot;example004&quot; </p></div><p><b>status</b>: recorded</p><h3>Medications</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Amoxicillin (product) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#27658006)</span></td></tr></table><p><b>subject</b>: <a href=\"patient-example-a.html\">Patient/pat1: Donald Duck</a> &quot;Donald DUCK&quot;</p><p><b>effective</b>: 2014-01-23</p><p><b>dateAsserted</b>: 2015-02-22</p><p><b>informationSource</b>: <a href=\"patient-example-a.html\">Patient/pat1: Donald Duck</a> &quot;Donald DUCK&quot;</p><p><b>note</b>: Patient indicates they miss the occasional dose</p><h3>Dosages</h3><table class=\"grid\"><tr><td>-</td><td><b>Text</b></td><td><b>Timing</b></td><td><b>AsNeeded</b></td><td><b>Route</b></td><td><b>MaxDosePerPeriod</b></td></tr><tr><td>*</td><td>one capsule three times daily</td><td>3 per 1 days</td><td>false</td><td>Oral <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#260548002)</span></td><td>3 capsules<span style=\"background: LightGoldenRodYellow\"> (Details: SNOMED CT code 385055001 = 'Tablet')</span>/1 d<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code d = 'd')</span></td></tr></table><h3>Adherences</h3><table class=\"grid\"><tr><td>-</td><td><b>Code</b></td><td><b>Reason</b></td></tr><tr><td>*</td><td>Not Taking <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"codesystem-medication-statement-adherence.html\">MedicationStatement Adherence Codes</a>#not-taking)</span></td><td>Drugs not taken/completed <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#266710000)</span></td></tr></table></div>"
  ] ; # 
  fhir:status [ fhir:v "recorded"] ; # 
  fhir:medication [
     fhir:concept [
       fhir:coding ( [
         a sct:27658006 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "27658006" ] ;
         fhir:display [ fhir:v "Amoxicillin (product)" ]
       ] )

     ]
  ];
  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:positiveInteger ];
         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:subject [
     fhir:reference [ fhir:v "Patient/pat1" ] ;
     fhir:display [ fhir:v "Donald Duck" ]
  ] ; # 
  fhir:effective [ fhir:v "2014-01-23"^^xsd:date] ; # 
  fhir:dateAsserted [ fhir:v "2015-02-22"^^xsd:date] ; # 
  fhir:informationSource ( [
     fhir:reference [ fhir:v "Patient/pat1" ] ;
     fhir:display [ fhir:v "Donald Duck" ]
  ] ) ; # 
  fhir:note ( [
     fhir:text [ fhir:v "Patient indicates they miss the occasional dose" ]
  ] ) ; # 
  fhir:dosage ( [
     fhir:text [ fhir:v "one capsule three times daily" ] ;
     fhir:timing [
       fhir:repeat [
         fhir:frequency [ fhir:v "3"^^xsd:positiveInteger ] ;
         fhir:period [ fhir:v "1"^^xsd:decimal ] ;
         fhir:periodUnit [ fhir:v "d" ]

       ]
     ];
     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" ]

     ] ;
     fhir:asNeeded [ fhir:v "false"^^xsd:boolean ] ;
     fhir:route [
       fhir:coding ( [
         a sct:260548002 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "260548002" ] ;
         fhir:display [ fhir:v "Oral" ]
       ] )
     ] ;
     fhir:maxDosePerPeriod ( [
       fhir:numerator [
         fhir:value [ fhir:v "3"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "capsules" ] ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "385055001" ]
       ] ;
       fhir:denominator [
         fhir:value [ fhir:v "1"^^xsd:decimal ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "d" ]

       ]
     ] )
  ] ) ; # 
  fhir:adherence [
     fhir:code [
       fhir:coding ( [
         fhir:system [ fhir:v "http://hl7.org/fhir/CodeSystem/medication-statement-adherence"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "not-taking" ] ;
         fhir:display [ fhir:v "Not Taking" ]
       ] )
     ] ;
     fhir:reason [
       fhir:coding ( [
         a sct:266710000 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "266710000" ] ;
         fhir:display [ fhir:v "Drugs not taken/completed" ]
       ] )

     ]
  ] .

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