@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://nhicore.nhi.gov.tw/empd/Medication/med-03-ep> a fhir:Medication ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "med-03-ep"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://nhicore.nhi.gov.tw/empd/StructureDefinition/Medication-EMPD" ;
       fhir:index 0 ;
       fhir:link <https://nhicore.nhi.gov.tw/empd/StructureDefinition/Medication-EMPD>
     ]
  ] ;
  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: Medication med-03-ep</b></p><a name=\"med-03-ep\"> </a><a name=\"hcmed-03-ep\"> </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-EMPD.html\">電子處方箋-藥物處方內容(Medication)</a></p></div><p><b>code</b>: <span title=\"Codes:{https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs 9999990011}\">Amlodipine</span></p><p><b>form</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm ORSUSP}\">口服懸液劑</span></p><h3>Ingredients</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Item[x]</b></td><td><b>Strength</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://snomed.info/sct 386864001}\">Amlodipine</span></td><td>1 mg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemg = 'mg')</span>/1 mL<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemL = 'mL')</span></td></tr></table></div>"
  ] ;
  fhir:Medication.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs" ] ;
       fhir:Coding.code [ fhir:value "9999990011" ] ;
       fhir:Coding.display [ fhir:value "Amlodipine 口服懸液 1 mg/mL（院內調製）" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Amlodipine" ]
  ] ;
  fhir:Medication.form [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ] ;
       fhir:Coding.code [ fhir:value "ORSUSP" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "口服懸液劑" ]
  ] ;
  fhir:Medication.ingredient [
     fhir:index 0 ;
     fhir:Medication.ingredient.itemCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a sct:386864001 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
         fhir:Coding.code [ fhir:value "386864001" ] ;
         fhir:Coding.display [ fhir:value "Amlodipine (substance)" ]
       ] ;
       fhir:CodeableConcept.text [ fhir:value "Amlodipine" ]
     ] ;
     fhir:Medication.ingredient.strength [
       fhir:Ratio.numerator [
         fhir:Quantity.value [ fhir:value "1"^^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 "mL" ] ;
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
         fhir:Quantity.code [ fhir:value "mL" ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://nhicore.nhi.gov.tw/empd/Medication/med-03-ep.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

