@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://nhicore.nhi.gov.tw/empd/MedicationDispense/med-dis-01-ds> a fhir:MedicationDispense ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "med-dis-01-ds"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://nhicore.nhi.gov.tw/empd/StructureDefinition/MedicationDispense-DS"^^xsd:anyURI ;
       fhir:link <https://nhicore.nhi.gov.tw/empd/StructureDefinition/MedicationDispense-DS>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationDispense med-dis-01-ds</b></p><a name=\"med-dis-01-ds\"> </a><a name=\"hcmed-dis-01-ds\"> </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-MedicationDispense-DS.html\">調劑單張-調劑內容(MedicationDispense)</a></p></div><p><b>identifier</b>: 3, 7</p><p><b>status</b>: Preparation</p><p><b>medication</b>: <a href=\"Medication-med-01-ds.html\">Medication YEN KUANG EYE DROPS</a></p><p><b>subject</b>: <a href=\"Patient-pat-ds.html\">甄○康(official) Female, DoB: 1985-01-02 ( Medical record number: Z199999829 (use: official, ))</a></p><p><b>quantity</b>: 6 顆</p><p><b>daysSupply</b>: 10 Day<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  coded = 'd')</span></p><p><b>note</b>: , </p><blockquote><div><p>A</p>\n</div></blockquote><blockquote><div><p>否</p>\n</div></blockquote><blockquote><p><b>dosageInstruction</b></p><p><b>timing</b>: Code , 4</p><p><b>route</b>: <span title=\"Codes:{https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medication-path-tw PO}\">口服</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>1 顆</td></tr></table></blockquote><h3>Substitutions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>WasSubstituted</b></td><td><b>Reason</b></td></tr><tr><td style=\"display: none\">*</td><td>true</td><td><span title=\"Codes:\">不可替代時始需註明</span></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:value [ fhir:v "3" ]
  ] [
     fhir:value [ fhir:v "7" ]
  ] ) ; # 
  fhir:status [ fhir:v "preparation"] ; # 
  fhir:medication [
     a fhir:Reference ;
     fhir:link <https://nhicore.nhi.gov.tw/empd/Medication/med-01-ds> ;
     fhir:reference [ fhir:v "Medication/med-01-ds" ]
  ] ; # 
  fhir:subject [
     fhir:link <https://nhicore.nhi.gov.tw/empd/Patient/pat-ds> ;
     fhir:reference [ fhir:v "Patient/pat-ds" ]
  ] ; # 
  fhir:quantity [
     fhir:value [ fhir:v "6"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "顆" ]
  ] ; # 
  fhir:daysSupply [
     fhir:value [ fhir:v "10"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "Day" ] ;
     fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "d" ]
  ] ; # 
  fhir:note ( [
     fhir:text [ fhir:v "A" ]
  ] [
     fhir:text [ fhir:v "否" ]
  ] ) ; # 
  fhir:dosageInstruction ( [
     fhir:timing [
       fhir:repeat [
         fhir:frequency [ fhir:v "4"^^xsd:positiveInteger ]
       ] ;
       fhir:code [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-GTSAbbreviation"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "PM" ] ;
           fhir:display [ fhir:v "PM" ]
         ] )
       ]
     ] ;
     fhir:route [
       fhir:coding ( [
         fhir:system [ fhir:v "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medication-path-tw"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "PO" ]
       ] )
     ] ;
     fhir:doseAndRate ( [
       fhir:dose [
         a fhir:Quantity ;
         fhir:value [ fhir:v "1"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "顆" ]
       ]
     ] )
  ] ) ; # 
  fhir:substitution [
     fhir:wasSubstituted [ fhir:v true ] ;
     fhir:reason ( [
       fhir:text [ fhir:v "不可替代時始需註明" ]
     ] )
  ] . # 

# -------------------------------------------------------------------------------------

