International Patient Access
0.1.0 - STU 1 ballot

This page is part of the International Patient Access (v0.1.0: STU 1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

: IPA Medication Statement example - TTL Representation

Raw ttl | Download


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

 a fhir:MedicationStatement;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "MedStatementExample1"];
  fhir:Resource.meta [
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/instance-name" ];
       fhir:Extension.valueString [ fhir:value "MedicationStatement Example" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/instance-description" ];
       fhir:Extension.valueMarkdown [ fhir:value "This is a MedicationStatement example for the *IPA MedicationStatement Profile*." ]     ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationstatement";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationstatement>     ]
  ];
  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 \"MedStatementExample1\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ipa-medicationstatement.html\">IPA-MedicationStatement</a></p></div><p><b>identifier</b>: id: 5131734 (USUAL)</p><p><b>status</b>: active</p><p><b>medication</b>: <a href=\"Medication-MedExample1.html\">Medication/MedExample1: Percocet</a></p><p><b>subject</b>: <a href=\"Patient-PatientExample1.html\">Patient/PatientExample1: Lufhir, Meiko</a> \" LUFHIR\"</p><p><b>effective</b>: 2017-04-26T22:00:00Z --&gt; (ongoing)</p><p><b>informationSource</b>: <a href=\"Practitioner-PractitionerExample1.html\">Practitioner/PractitionerExample1: Seeger, Marty</a> \" SEEGER\"</p></div>"
  ];
  fhir:MedicationStatement.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "usual" ];
     fhir:Identifier.system [ fhir:value "urn:1.2.840.114350.1.13.861.1.7.2.798268" ];
     fhir:Identifier.value [ fhir:value "5131734" ]
  ];
  fhir:MedicationStatement.status [ fhir:value "active"];
  fhir:MedicationStatement.medicationReference [
     fhir:Reference.reference [ fhir:value "Medication/MedExample1" ];
     fhir:Reference.display [ fhir:value "Percocet" ]
  ];
  fhir:MedicationStatement.subject [
     fhir:Reference.reference [ fhir:value "Patient/PatientExample1" ];
     fhir:Reference.display [ fhir:value "Lufhir, Meiko" ]
  ];
  fhir:MedicationStatement.effectivePeriod [
     fhir:Period.start [ fhir:value "2017-04-26T22:00:00Z"^^xsd:dateTime ]
  ];
  fhir:MedicationStatement.informationSource [
     fhir:Reference.reference [ fhir:value "Practitioner/PractitionerExample1" ];
     fhir:Reference.display [ fhir:value "Seeger, Marty" ]
  ];
  fhir:MedicationStatement.dosage [
     fhir:index 0;
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.boundsPeriod [
           fhir:Period.start [ fhir:value "2017-04-26T22:00:00Z"^^xsd:dateTime ]         ];
         fhir:Timing.repeat.timeOfDay [
           fhir:value "12:00:00"^^xsd:time;
           fhir:index 0         ], [
           fhir:value "18:00:00"^^xsd:time;
           fhir:index 1         ]       ]     ];
     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:CodeableConcept.text [ 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 "mL" ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "mL" ]       ]     ]
  ].

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

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.