HL7 Europe Base and Core FHIR IG
2.0.0 - trial-use 150

HL7 Europe Base and Core FHIR IG, published by HL7 Europe. This guide is not an authorized publication; it is the continuous build for version 2.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-eu/base/ and changes regularly. See the Directory of published versions

## : MedicationRequest 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 -------------------------------------------------------------------

    <http://hl7.org/fhir/MedicationRequest/400C-prescription-cefuroxime-singleline> a fhir:MedicationRequest ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:Resource.id [ fhir:value "400C-prescription-cefuroxime-singleline"] ;
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.eu/fhir/base/StructureDefinition/medicationRequest-eu-core" ;
           fhir:index 0 ;
           fhir:link <http://hl7.eu/fhir/base/StructureDefinition/medicationRequest-eu-core>
         ] ;
         fhir:Meta.tag [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/common-tags" ] ;
           fhir:Coding.code [ fhir:value "actionable" ]
         ]
      ] ;
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ] ;
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest 400C-prescription-cefuroxime-singleline</b></p><a name=\"400C-prescription-cefuroxime-singleline\"> </a><a name=\"hc400C-prescription-cefuroxime-singleline\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-medicationRequest-eu-core.html\">MedicationRequest (EU core)</a></p><p style=\"margin-bottom: 0px\">Tag: <a href=\"http://terminology.hl7.org/7.3.0/CodeSystem-common-tags.html\">Actionable (Details: Common Tags code actionable = 'Actionable')</a></p></div><p><b>identifier</b>: 10-123EP</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>medication</b>: <a href=\"Medication-01A-Cefuroxime1500GenericExplicit.html\">Medication: extension = cefuroxime; form = Powder for solution for injection or infusion</a></p><p><b>subject</b>: <a href=\"Patient-patient-eu-core-example.html\">John Doe  Male, DoB: 1980-01-01</a></p><p><b>authoredOn</b>: 2024-12-06</p><p><b>requester</b>: The Best Doctor</p><p><b>reasonCode</b>: <span title=\"Codes:{http://snomed.info/sct 10625071000119104}\">Bronchopneumonia caused by bacteria (disorder)</span></p><blockquote><p><b>dosageInstruction</b></p><p><b>sequence</b>: 1</p><p><b>timing</b>: Once per 8 hours</p><p><b>route</b>: <span title=\"Codes:{http://snomed.info/sct 78421000}\">Intramuscular route</span></p><h3>DoseAndRates</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Dose[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>1500 milligram(s)<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemg = 'mg')</span></td></tr></table></blockquote><blockquote><p><b>dosageInstruction</b></p><p><b>sequence</b>: 2</p><p><b>timing</b>: Once per 8 hours</p><p><b>route</b>: <span title=\"Codes:{http://snomed.info/sct 78421000}\">Intramuscular route</span></p><h3>DoseAndRates</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Dose[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>750-1500 milligram(s)</td></tr></table></blockquote></div>"
      ] ;
      fhir:MedicationRequest.identifier [
         fhir:index 0 ;
         fhir:Identifier.value [ fhir:value "10-123EP" ]
      ] ;
      fhir:MedicationRequest.status [ fhir:value "active"] ;
      fhir:MedicationRequest.intent [ fhir:value "order"] ;
      fhir:MedicationRequest.medicationReference [
         fhir:link <http://hl7.org/fhir/Medication/01A-Cefuroxime1500GenericExplicit> ;
         fhir:Reference.reference [ fhir:value "Medication/01A-Cefuroxime1500GenericExplicit" ]
      ] ;
      fhir:MedicationRequest.subject [
         fhir:link <http://hl7.org/fhir/Patient/patient-eu-core-example> ;
         fhir:Reference.reference [ fhir:value "Patient/patient-eu-core-example" ]
      ] ;
      fhir:MedicationRequest.authoredOn [ fhir:value "2024-12-06"^^xsd:date] ;
      fhir:MedicationRequest.requester [
         fhir:Reference.display [ fhir:value "The Best Doctor" ]
      ] ;
      fhir:MedicationRequest.reasonCode [
         fhir:index 0 ;
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           a sct:10625071000119104 ;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
           fhir:Coding.code [ fhir:value "10625071000119104" ] ;
           fhir:Coding.display [ fhir:value "Bronchopneumonia caused by bacteria (disorder)" ]
         ]
      ] ;
      fhir:MedicationRequest.dosageInstruction [
         fhir:index 0 ;
         fhir:Dosage.sequence [ fhir:value "1"^^xsd:integer ] ;
         fhir:Dosage.timing [
           fhir:Timing.repeat [
             fhir:Timing.repeat.boundsDuration [
               fhir:Quantity.value [ fhir:value "3"^^xsd:decimal ] ;
               fhir:Quantity.unit [ fhir:value "day" ] ;
               fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
               fhir:Quantity.code [ fhir:value "d" ]
             ] ;
             fhir:Timing.repeat.frequency [ fhir:value "1"^^xsd:positiveInteger ] ;
             fhir:Timing.repeat.period [ fhir:value "8"^^xsd:decimal ] ;
             fhir:Timing.repeat.periodUnit [ fhir:value "h" ]
           ]
         ] ;
         fhir:Dosage.route [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             a sct:78421000 ;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
             fhir:Coding.code [ fhir:value "78421000" ] ;
             fhir:Coding.display [ fhir:value "Intramuscular route" ]
           ]
         ] ;
         fhir:Dosage.doseAndRate [
           fhir:index 0 ;
           fhir:Dosage.doseAndRate.doseQuantity [
             fhir:Quantity.value [ fhir:value "1500"^^xsd:decimal ] ;
             fhir:Quantity.unit [ fhir:value "milligram(s)" ] ;
             fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
             fhir:Quantity.code [ fhir:value "mg" ]
           ]
         ]
      ], [
         fhir:index 1 ;
         fhir:Dosage.sequence [ fhir:value "2"^^xsd:integer ] ;
         fhir:Dosage.timing [
           fhir:Timing.repeat [
             fhir:Timing.repeat.boundsDuration [
               fhir:Quantity.value [ fhir:value "4"^^xsd:decimal ] ;
               fhir:Quantity.unit [ fhir:value "day" ] ;
               fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
               fhir:Quantity.code [ fhir:value "d" ]
             ] ;
             fhir:Timing.repeat.frequency [ fhir:value "1"^^xsd:positiveInteger ] ;
             fhir:Timing.repeat.period [ fhir:value "8"^^xsd:decimal ] ;
             fhir:Timing.repeat.periodUnit [ fhir:value "h" ]
           ]
         ] ;
         fhir:Dosage.route [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             a sct:78421000 ;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
             fhir:Coding.code [ fhir:value "78421000" ] ;
             fhir:Coding.display [ fhir:value "Intramuscular route" ]
           ]
         ] ;
         fhir:Dosage.doseAndRate [
           fhir:index 0 ;
           fhir:Dosage.doseAndRate.doseRange [
             fhir:Range.low [
               fhir:Quantity.value [ fhir:value "750"^^xsd:decimal ] ;
               fhir:Quantity.unit [ fhir:value "milligram(s)" ] ;
               fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
               fhir:Quantity.code [ fhir:value "mg" ]
             ] ;
             fhir:Range.high [
               fhir:Quantity.value [ fhir:value "1500"^^xsd:decimal ] ;
               fhir:Quantity.unit [ fhir:value "milligram(s)" ] ;
               fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
               fhir:Quantity.code [ fhir:value "mg" ]
             ]
           ]
         ]
      ] .

    <http://hl7.org/fhir/Medication/01A-Cefuroxime1500GenericExplicit> a fhir:Medication .

    <http://hl7.org/fhir/Patient/patient-eu-core-example> a fhir:Patient .

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

    <http://hl7.org/fhir/MedicationRequest/400C-prescription-cefuroxime-singleline.ttl> a owl:Ontology ;
      owl:imports fhir:fhir.ttl ;
      owl:versionIRI <http://build.fhir.org/MedicationRequest/400C-prescription-cefuroxime-singleline.ttl> .