@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/MedicationRequest/med-req-cod-example> a fhir:MedicationRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "med-req-cod-example"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/MedicationRequest-twcore"^^xsd:anyURI ;
       fhir:l <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/MedicationRequest-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>：7077 （http://www.moi.gov.tw）</p><p><b>藥品請求的狀態</b>：Active <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://terminology.hl7.org/CodeSystem/medicationrequest-status-reason\">MedicationRequest Status Reason Codes</a>#clarif)</span></p><p><b>藥品請求的意圖</b>：Order <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://hl7.org/fhir/CodeSystem/medicationrequest-intent\">medicationRequest Intent</a>#order)</span></p><p><b>藥品請求的類別</b>：Discharge <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://terminology.hl7.org/CodeSystem/medicationrequest-category\">MedicationRequest Category Codes</a>#discharge)</span></p><p><b>藥品</b>：阿立批挫 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"CodeSystem-medication-fda-tw.html\">臺灣藥品及醫療器材代碼值集</a>#衛署藥輸字第025485號)</span></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>：2022-08-01 06:00:14-0500</p><p><b>提出藥品請求請求者</b>：<a href=\"Practitioner-pra-dr-example.html\">Practitioner/pra-dr-example</a> \"王依昇\"</p><p><b>開立處方的原因</b>：<a href=\"Observation-obs-lab-example.html\">Observation/obs-lab-example</a></p><p><b>處方可用以配藥的有效期限</b>：2022-08-01 06:00:14-0500 --&gt; 2022-08-08 06:00:14-0500</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://www.moi.gov.tw"^^xsd:anyURI ;
       fhir:l <http://www.moi.gov.tw>
     ] ;
     fhir:value [ fhir:v "7077" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:statusReason [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/medicationrequest-status-reason"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/medicationrequest-status-reason>
       ] ;
       fhir:code [ fhir:v "clarif" ]
     ] )
  ] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/medicationrequest-category"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/medicationrequest-category>
       ] ;
       fhir:code [ fhir:v "discharge" ]
     ] )
  ] ) ; # 
  fhir:medication [
     a fhir:CodeableConcept ;
     fhir:coding ( [
       fhir:system [
         fhir:v "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medication-fda-tw"^^xsd:anyURI ;
         fhir:l <https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medication-fda-tw>
       ] ;
       fhir:code [ fhir:v "衛署藥輸字第025485號" ] ;
       fhir:display [ fhir:v "阿立批挫" ]
     ] ) ;
     fhir:text [ fhir:v "阿立批挫" ]
  ] ; # 
  fhir:subject [
     fhir:l <https://twcore.mohw.gov.tw/ig/twcore/Patient/pat-example> ;
     fhir:reference [ fhir:v "Patient/pat-example" ]
  ] ; # 
  fhir:encounter [
     fhir:l <https://twcore.mohw.gov.tw/ig/twcore/Encounter/enc-example> ;
     fhir:reference [ fhir:v "Encounter/enc-example" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2022-08-01T18:00:14+08:00"^^xsd:dateTime] ; # 
  fhir:requester [
     fhir:l <https://twcore.mohw.gov.tw/ig/twcore/Practitioner/pra-dr-example> ;
     fhir:reference [ fhir:v "Practitioner/pra-dr-example" ]
  ] ; # 
  fhir:reasonReference ( [
     fhir:l <https://twcore.mohw.gov.tw/ig/twcore/Observation/obs-lab-example> ;
     fhir:reference [ fhir:v "Observation/obs-lab-example" ]
  ] ) ; # 
  fhir:dosageInstruction ( [
     fhir:text [ fhir:v "三餐飯後，口服" ] ;
     fhir:timing [
       fhir:code [
         fhir:coding ( [
           fhir:system [
             fhir:v "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medication-frequency-nhi-tw"^^xsd:anyURI ;
             fhir:l <https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medication-frequency-nhi-tw>
           ] ;
           fhir:code [ fhir:v "PC" ]
         ] ) ;
         fhir:text [ fhir:v "三餐飯後" ]
       ]
     ] ;
     fhir:route [
       fhir:coding ( [
         fhir:system [
           fhir:v "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medication-path-tw"^^xsd:anyURI ;
           fhir:l <https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medication-path-tw>
         ] ;
         fhir:code [ fhir:v "PO" ]
       ] )
     ] ;
     fhir:doseAndRate ( [
       fhir:type [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/dose-rate-type"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/dose-rate-type>
           ] ;
           fhir:code [ fhir:v "ordered" ]
         ] )
       ]
     ] )
  ] ) ; # 
  fhir:dispenseRequest [
     fhir:validityPeriod [
       fhir:start [ fhir:v "2022-08-01T18:00:14+08:00"^^xsd:dateTime ] ;
       fhir:end [ fhir:v "2022-08-08T18:00:14+08:00"^^xsd:dateTime ]
     ]
  ] . # 

# -------------------------------------------------------------------------------------

