Release 4

Medicationstatementexample5.ttl

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

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

Patient reports they previous said they took Amoxycillin but really didn't

@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/example005> a fhir:MedicationStatement;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example005"];
  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>: example005</p><p><b>basedOn</b>: <a>CarePlan/gpvisit</a></p><p><b>status</b>: entered-in-error</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>context</b>: <a>Encounter/f203</a></p><p><b>effective</b>: Jan 23, 2014</p><p><b>dateAsserted</b>: Feb 22, 2015</p><p><b>informationSource</b>: <a>Donald Duck</a></p><p><b>note</b>: Patient indicated that they thought it was Amoxicillin they were taking but it was really Erythromycin</p></div>"
  ];
  fhir:MedicationStatement.basedOn [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/CarePlan/gpvisit>;
     fhir:Reference.reference [ fhir:value "CarePlan/gpvisit" ]
  ];
  fhir:MedicationStatement.status [ fhir:value "entered-in-error"];
  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.context [
     fhir:link <http://hl7.org/fhir/Encounter/f203>;
     fhir:Reference.reference [ fhir:value "Encounter/f203" ]
  ];
  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.note [
     fhir:index 0;
     fhir:Annotation.text [ fhir:value "Patient indicated that they thought it was Amoxicillin they were taking but it was really Erythromycin" ]
  ] .

<http://hl7.org/fhir/CarePlan/gpvisit> a fhir:CarePlan .

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

<http://hl7.org/fhir/Encounter/f203> a fhir:Encounter .

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

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