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/patrick-werner/base/ and changes regularly. See the Directory of published versions

## : Medication 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/Medication/01A-Cefuroxime1500GenericExplicit> a fhir:Medication ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:Resource.id [ fhir:value "01A-Cefuroxime1500GenericExplicit"] ;
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.eu/fhir/base/StructureDefinition/medication-eu-core" ;
           fhir:index 0 ;
           fhir:link <http://hl7.eu/fhir/base/StructureDefinition/medication-eu-core>
         ]
      ] ;
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "extensions" ] ;
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Medication 01A-Cefuroxime1500GenericExplicit</b></p><a name=\"01A-Cefuroxime1500GenericExplicit\"> </a><a name=\"hc01A-Cefuroxime1500GenericExplicit\"> </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-medication-eu-core.html\">Medication (EU core)</a></p></div><p><b>Medication - Classification</b>: <span title=\"Codes:{http://www.whocc.no/atc J01DC02}\">cefuroxime</span></p><p><b>form</b>: <span title=\"Codes:{http://standardterms.edqm.eu 50053000}\">Powder for solution for injection or infusion</span></p><h3>Ingredients</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Item[x]</b></td><td><b>IsActive</b></td><td><b>Strength</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://snomed.info/sct 372833007}\">Cefuroxime</span></td><td>true</td><td>1500 milligram<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemg = 'mg')</span>/1 Vial<span style=\"background: LightGoldenRodYellow\"> (Details: standardterms.edqm.eu  code15060000 = 'Vial')</span></td></tr></table></div>"
      ] ;
      fhir:DomainResource.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification" ] ;
         fhir:Extension.valueCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "http://www.whocc.no/atc" ] ;
             fhir:Coding.code [ fhir:value "J01DC02" ] ;
             fhir:Coding.display [ fhir:value "cefuroxime" ]
           ]
         ]
      ] ;
      fhir:Medication.form [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "http://standardterms.edqm.eu" ] ;
           fhir:Coding.code [ fhir:value "50053000" ] ;
           fhir:Coding.display [ fhir:value "Powder for solution for injection or infusion" ]
         ]
      ] ;
      fhir:Medication.ingredient [
         fhir:index 0 ;
         fhir:Medication.ingredient.itemCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             a sct:372833007 ;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
             fhir:Coding.code [ fhir:value "372833007" ] ;
             fhir:Coding.display [ fhir:value "Cefuroxime" ]
           ]
         ] ;
         fhir:Medication.ingredient.isActive [ fhir:value "true"^^xsd:boolean ] ;
         fhir:Medication.ingredient.strength [
           fhir:Ratio.numerator [
             fhir:Quantity.value [ fhir:value "1500"^^xsd:decimal ] ;
             fhir:Quantity.unit [ fhir:value "milligram" ] ;
             fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
             fhir:Quantity.code [ fhir:value "mg" ]
           ] ;
           fhir:Ratio.denominator [
             fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
             fhir:Quantity.unit [ fhir:value "Vial" ] ;
             fhir:Quantity.system [ fhir:value "http://standardterms.edqm.eu" ] ;
             fhir:Quantity.code [ fhir:value "15060000" ]
           ]
         ]
      ] .

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

    <http://hl7.org/fhir/Medication/01A-Cefuroxime1500GenericExplicit.ttl> a owl:Ontology ;
      owl:imports fhir:fhir.ttl ;
      owl:versionIRI <http://build.fhir.org/Medication/01A-Cefuroxime1500GenericExplicit.ttl> .