@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://fhir.cohesiondata.com/clinemr/MedicationRequest/MedicationRequestMCR-min> a fhir:MedicationRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "MedicationRequestMCR-min"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.cohesiondata.com/clinemr/StructureDefinition/medicationrequest-clinemr" ;
       fhir:index 0 ;
       fhir:link <https://fhir.cohesiondata.com/clinemr/StructureDefinition/medicationrequest-clinemr>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<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/CodeSystem/medicationrequest-status\">medicationrequest Status</a>#completed)</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>：<a href=\"Patient-PatientMCR-min.html\">Patient/PatientMCR-min</a> \"張睿寧\"</p><p><b>藥品</b>：<a href=\"Medication-MedicationMCR-min.html\">Medication/MedicationMCR-min</a></p><p><b>就醫事件</b>：<a href=\"Encounter-EncounterMCR-min.html\">Encounter/EncounterMCR-min</a></p><p><b>藥品調劑方式</b>：磨粉</p><p><b>藥品使用頻率</b>：TID <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://terminology.hl7.org/CodeSystem/v3-GTSAbbreviation\">HL7 TimingAbbreviation</a>#TID)</span></p><p><b>用藥部位</b>：胃部</p><p><b>用藥開始時間</b>：2010-04-01<br/><b>用藥結束時間</b>：2010-04-03</p><p><b>服藥天數</b>：3d</p><p><b>藥品服用方法</b>：Oral route <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://snomed.info/sct\">SNOMED CT</a>#26643006)</span></p><p><b>用量</b>：250</p><p><b>用量單位</b>：mg</p><p><b>藥品總用量</b>：2250mg</p></div>"
  ] ;
  fhir:MedicationRequest.status [ fhir:value "completed"] ;
  fhir:MedicationRequest.intent [ fhir:value "order"] ;
  fhir:MedicationRequest.medicationReference [
     fhir:link <https://fhir.cohesiondata.com/clinemr/Medication/MedicationMCR-min> ;
     fhir:Reference.reference [ fhir:value "Medication/MedicationMCR-min" ]
  ] ;
  fhir:MedicationRequest.subject [
     fhir:link <https://fhir.cohesiondata.com/clinemr/Patient/PatientMCR-min> ;
     fhir:Reference.reference [ fhir:value "Patient/PatientMCR-min" ]
  ] ;
  fhir:MedicationRequest.encounter [
     fhir:link <https://fhir.cohesiondata.com/clinemr/Encounter/EncounterMCR-min> ;
     fhir:Reference.reference [ fhir:value "Encounter/EncounterMCR-min" ]
  ] ;
  fhir:MedicationRequest.note [
     fhir:index 0 ;
     fhir:Annotation.text [ fhir:value "磨粉" ]
  ] ;
  fhir:MedicationRequest.dosageInstruction [
     fhir:index 0 ;
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.boundsPeriod [
           fhir:Period.start [ fhir:value "2010-04-01"^^xsd:date ] ;
           fhir:Period.end [ fhir:value "2010-04-03"^^xsd:date ]
         ] ;
         fhir:Timing.repeat.duration [ fhir:value "3"^^xsd:decimal ] ;
         fhir:Timing.repeat.durationUnit [ fhir:value "d" ]
       ] ;
       fhir:Timing.code [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-GTSAbbreviation" ] ;
           fhir:Coding.code [ fhir:value "TID" ] ;
           fhir:Coding.display [ fhir:value "TID" ]
         ] ;
         fhir:CodeableConcept.text [ fhir:value "TID" ]
       ]
     ] ;
     fhir:Dosage.site [
       fhir:CodeableConcept.text [ fhir:value "胃部" ]
     ] ;
     fhir:Dosage.route [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a sct:26643006 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
         fhir:Coding.code [ fhir:value "26643006" ] ;
         fhir:Coding.display [ fhir:value "Oral route" ]
       ]
     ] ;
     fhir:Dosage.doseAndRate [
       fhir:index 0 ;
       fhir:Dosage.doseAndRate.doseQuantity [
         fhir:Quantity.value [ fhir:value "250"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "mg" ]
       ]
     ]
  ] ;
  fhir:MedicationRequest.dispenseRequest [
     fhir:MedicationRequest.dispenseRequest.quantity [
       fhir:Quantity.value [ fhir:value "2250"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "mg" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://fhir.cohesiondata.com/clinemr/MedicationRequest/MedicationRequestMCR-min.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

