@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://fhir.hl7.at/elga/emed/r4/Medication/At-Emed-Example-Medication-Magistral-01> a fhir:Medication ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "At-Emed-Example-Medication-Magistral-01"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.hl7.at/elga/emed/r4/StructureDefinition/at-elga-emed-medication-medikation" ;
       fhir:index 0 ;
       fhir:link <https://fhir.hl7.at/elga/emed/r4/StructureDefinition/at-elga-emed-medication-medikation>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "additional" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Freitext-Informationen zur magistralen Anwendung.</p></div>"
  ] ;
  fhir:Medication.form [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "https://termgit.elga.gv.at/CodeSystem/medikationdarreichungsform" ] ;
       fhir:Coding.code [ fhir:value "100000073713" ] ;
       fhir:Coding.display [ fhir:value "Salbe" ]
     ]
  ] ;
  fhir:Medication.ingredient [
     fhir:index 0 ;
     fhir:Medication.ingredient.itemCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://termgit.elga.gv.at/CodeSystem/atc-deutsch-wido" ] ;
         fhir:Coding.code [ fhir:value "A01AC03" ] ;
         fhir:Coding.display [ fhir:value "Hydrocortison" ]
       ]
     ] ;
     fhir:Medication.ingredient.strength [
       fhir:Ratio.numerator [
         fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "%" ] ;
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
         fhir:Quantity.code [ fhir:value "%" ]
       ] ;
       fhir:Ratio.denominator [
         fhir:Quantity.value [ fhir:value "100"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "g" ] ;
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
         fhir:Quantity.code [ fhir:value "g" ]
       ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Medication.ingredient.itemCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://termgit.elga.gv.at/CodeSystem/atc-deutsch-wido" ] ;
         fhir:Coding.code [ fhir:value "A01AB18" ] ;
         fhir:Coding.display [ fhir:value "Clotrimazol" ]
       ]
     ] ;
     fhir:Medication.ingredient.strength [
       fhir:Ratio.numerator [
         fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "%" ] ;
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
         fhir:Quantity.code [ fhir:value "%" ]
       ] ;
       fhir:Ratio.denominator [
         fhir:Quantity.value [ fhir:value "100"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "g" ] ;
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
         fhir:Quantity.code [ fhir:value "g" ]
       ]
     ]
  ], [
     fhir:index 2 ;
     fhir:Medication.ingredient.itemCodeableConcept [
       fhir:CodeableConcept.text [ fhir:value "Salbengrundlage" ]
     ] ;
     fhir:Medication.ingredient.isActive [ fhir:value "false"^^xsd:boolean ] ;
     fhir:Medication.ingredient.strength [
       fhir:Ratio.numerator [
         fhir:Quantity.value [ fhir:value "98"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "g" ]
       ] ;
       fhir:Ratio.denominator [
         fhir:Quantity.value [ fhir:value "100"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "g" ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://fhir.hl7.at/elga/emed/r4/Medication/At-Emed-Example-Medication-Magistral-01.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

