@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://twcore.mohw.gov.tw/ig/twcore/MedicationDispense/med-dis-ref-example> a fhir:MedicationDispense ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "med-dis-ref-example"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/MedicationDispense-twcore"^^xsd:anyURI ;
       fhir:l <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/MedicationDispense-twcore>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h3><b>阿立批挫藥品配藥資料</b></h3><p><b>配藥的狀態</b>：Completed <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://hl7.org/fhir/R4/valueset-medicationdispense-status.html\">MedicationDispense Status Codes</a>#completed)</span></p><p><b>配藥的分類</b>： Inpatient <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://hl7.org/fhir/R4/valueset-medicationdispense-category.html\">MedicationDispense Category Codes</a>#inpatient)</span></p><p><b>配藥的類型</b>：Daily Fill <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://hl7.org/implement/standards/fhir/R4/v3/ActPharmacySupplyType/vs.html\">V3 Value SetActPharmacySupplyType</a>#DF)</span></p><p><b>藥品</b>：<a href=\"Medication-med-example.html\">Medication/med-example</a></p><p><b>病人</b>：<a href=\"Patient-pat-example.html\">Patient/pat-example</a> \"陳加玲\"</p><p><b>就醫資料</b>：<a href=\"Encounter-enc-example.html\">Encounter/enc-example</a></p><p><b>配藥者</b>：<a href=\"Practitioner-pra-phc-example.html\">Practitioner/pra-phc-example</a> \"陳耀詩\"</p><blockquote><p><b>配藥資料</b>：</p><p><b>藥品總劑量</b>：30 Tablet <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm\">OrderableDrugForm</a>#TAB)</span><br/><b>藥品天數</b>：30 days<br/><b>藥品使用方法</b>：每天早上口服一次<br/><b>藥品包裝和審核時間</b>：2022-08-01T07:00:14<br/><b>藥品發放的時間</b>：2022-08-01T08:15:14</p></blockquote><blockquote><p><b>藥品替代資料</b>：</p><p><b>配藥時是否進行了藥品替代</b>： 否<br/><b>配藥是否與處方要求不同</b>：none <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution\">SubstanceAdminSubstitution</a>#N)</span><br/><b>替代原因</b>：formulary policy <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://terminology.hl7.org/CodeSystem/v3-ActReason\">ActReason</a>#FP)</span></p></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:category [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/fhir/CodeSystem/medicationdispense-category"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/fhir/CodeSystem/medicationdispense-category>
       ] ;
       fhir:code [ fhir:v "inpatient" ]
     ] )
  ] ; # 
  fhir:medication [
     a fhir:Reference ;
     fhir:l <https://twcore.mohw.gov.tw/ig/twcore/Medication/med-example> ;
     fhir:reference [ fhir:v "Medication/med-example" ]
  ] ; # 
  fhir:subject [
     fhir:l <https://twcore.mohw.gov.tw/ig/twcore/Patient/pat-example> ;
     fhir:reference [ fhir:v "Patient/pat-example" ]
  ] ; # 
  fhir:context [
     fhir:l <https://twcore.mohw.gov.tw/ig/twcore/Encounter/enc-example> ;
     fhir:reference [ fhir:v "Encounter/enc-example" ]
  ] ; # 
  fhir:performer ( [
     fhir:actor [
       fhir:l <https://twcore.mohw.gov.tw/ig/twcore/Practitioner/pra-phc-example> ;
       fhir:reference [ fhir:v "Practitioner/pra-phc-example" ]
     ]
  ] ) ; # 
  fhir:type [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
       ] ;
       fhir:code [ fhir:v "DF" ] ;
       fhir:display [ fhir:v "Daily Fill" ]
     ] )
  ] ; # 
  fhir:quantity [
     fhir:value [ fhir:v "30"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "TAB" ] ;
     fhir:system [
       fhir:v "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm>
     ] ;
     fhir:code [ fhir:v "TAB" ]
  ] ; # 
  fhir:daysSupply [
     fhir:value [ fhir:v "30"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "days" ]
  ] ; # 
  fhir:whenPrepared [ fhir:v "2022-08-01T07:00:14+08:00"^^xsd:dateTime] ; # 
  fhir:whenHandedOver [ fhir:v "2022-08-01T08:15:14+08:00"^^xsd:dateTime] ; # 
  fhir:dosageInstruction ( [
     fhir:text [ fhir:v "每天早上口服一次" ] ;
     fhir:timing [
       fhir:repeat [
         fhir:frequency [ fhir:v "1"^^xsd:positiveInteger ] ;
         fhir:period [ fhir:v "1"^^xsd:decimal ] ;
         fhir:periodUnit [ fhir:v "d" ]
       ]
     ]
  ] ) ; # 
  fhir:substitution [
     fhir:wasSubstituted [ fhir:v false ] ;
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution>
         ] ;
         fhir:code [ fhir:v "N" ] ;
         fhir:display [ fhir:v "none" ]
       ] )
     ] ;
     fhir:reason ( [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActReason>
         ] ;
         fhir:code [ fhir:v "FP" ] ;
         fhir:display [ fhir:v "formulary policy" ]
       ] )
     ] )
  ] . # 

# -------------------------------------------------------------------------------------

