@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 -------------------------------------------------------------------

<https://hl7-ie.github.io/medication-events/fhir/Medication/hiqa-med-oxycodone-10-pr> a fhir:Medication ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "hiqa-med-oxycodone-10-pr"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medication-eprescription" ;
       fhir:index 0 ;
       fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-medication-eprescription>
     ]
  ] ;
  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 hiqa-med-oxycodone-10-pr</b></p><a name=\"hiqa-med-oxycodone-10-pr\"> </a><a name=\"hchiqa-med-oxycodone-10-pr\"> </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-ie-mpd-medication-eprescription.html\">IE MPD Medication (ePrescription/eDispensation)</a></p></div><p><b>Medication - Classification</b>: <span title=\"Codes:{http://www.whocc.no/atc N02AA05}\">oxycodone</span></p><p><b>Medication - Classification</b>: <span title=\"Codes:{https://hl7-ie.github.io/medication-events/fhir/CodeSystem/ie-mpd-mda-schedule schedule-2}\">Schedule 2</span></p><p><b>Medication - Classification</b>: <span title=\"Codes:{https://hl7-ie.github.io/medication-events/fhir/CodeSystem/ie-mpd-supply-legal-status prescription-only}\">Prescription only medicine</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 720411000220105}\">Oxycodone hydrochloride 10 mg prolonged-release tablets</span></p><p><b>form</b>: <span title=\"Codes:{http://snomed.info/sct 385060002}\">Prolonged-release oral tablet</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 387024006}\">Oxycodone hydrochloride</span></td><td>true</td><td>10 mg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemg = 'mg')</span>/1 tablet<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code{tablet} = '{tablet}')</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 "N02AA05" ] ;
         fhir:Coding.display [ fhir:value "oxycodone" ]
       ]
     ]
  ], [
     fhir:index 1 ;
     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 "https://hl7-ie.github.io/medication-events/fhir/CodeSystem/ie-mpd-mda-schedule" ] ;
         fhir:Coding.code [ fhir:value "schedule-2" ] ;
         fhir:Coding.display [ fhir:value "Schedule 2" ]
       ]
     ]
  ], [
     fhir:index 2 ;
     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 "https://hl7-ie.github.io/medication-events/fhir/CodeSystem/ie-mpd-supply-legal-status" ] ;
         fhir:Coding.code [ fhir:value "prescription-only" ] ;
         fhir:Coding.display [ fhir:value "Prescription only medicine" ]
       ]
     ]
  ] ;
  fhir:Medication.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:720411000220105 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.version [ fhir:value "http://snomed.info/sct/1601000220105" ] ;
       fhir:Coding.code [ fhir:value "720411000220105" ] ;
       fhir:Coding.display [ fhir:value "Oxycodone hydrochloride 10 mg prolonged-release oral tablet" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Oxycodone hydrochloride 10 mg prolonged-release tablets" ]
  ] ;
  fhir:Medication.form [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:385060002 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "385060002" ] ;
       fhir:Coding.display [ fhir:value "Prolonged-release oral tablet" ]
     ]
  ] ;
  fhir:Medication.ingredient [
     fhir:index 0 ;
     fhir:Medication.ingredient.itemCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a sct:387024006 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
         fhir:Coding.code [ fhir:value "387024006" ] ;
         fhir:Coding.display [ fhir:value "Oxycodone hydrochloride" ]
       ]
     ] ;
     fhir:Medication.ingredient.isActive [ fhir:value "true"^^xsd:boolean ] ;
     fhir:Medication.ingredient.strength [
       fhir:Ratio.numerator [
         fhir:Quantity.value [ fhir:value "10"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "mg" ] ;
         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 "tablet" ] ;
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
         fhir:Quantity.code [ fhir:value "{tablet}" ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://hl7-ie.github.io/medication-events/fhir/Medication/hiqa-med-oxycodone-10-pr.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

