@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://www.nricm.edu.tw/twcm/DocumentReference/DocumentReferenceTWCM-min> a fhir:DocumentReference ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "DocumentReferenceTWCM-min"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://www.nricm.edu.tw/twcm/StructureDefinition/documentreference-twcm" ;
       fhir:index 0 ;
       fhir:link <https://www.nricm.edu.tw/twcm/StructureDefinition/documentreference-twcm>
     ]
  ] ;
  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>：Current <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://hl7.org/fhir/R4/codesystem-document-reference-status.html\">DocumentReferenceStatus</a>#current)</span></p><p><b>病人</b>：<a href=\"Patient-PatientTWCM-min.html\">Patient/PatientTWCM-min</a> \"陳美真\"</p><p><b>紀錄中使用的檔案</b>：</p><blockquote><p><b>檔案</b>：針灸圖.jpeg</p><br/><p><b>檔案</b>：不施行心肺復甦術同意書.pdf</p></blockquote><p><b>就醫事件</b>：<a href=\"Encounter-EncounterTWCM-min.html\">Encounter/EncounterTWCM-min</a></p></div>"
  ] ;
  fhir:DocumentReference.status [ fhir:value "current"] ;
  fhir:DocumentReference.subject [
     fhir:link <https://www.nricm.edu.tw/twcm/Patient/PatientTWCM-min> ;
     fhir:Reference.reference [ fhir:value "Patient/PatientTWCM-min" ]
  ] ;
  fhir:DocumentReference.content [
     fhir:index 0 ;
     fhir:DocumentReference.content.attachment [
       fhir:Attachment.contentType [ fhir:value "image/jpeg" ] ;
       fhir:Attachment.data [ fhir:value "JVBERi0xLjUNCiW1tbW1DQoxIDAgb2JqDQo8PC9UeXBlL0NhdGFsb2cvUGFnZXMgMiAwIFIvTGFuZyh6aC1UVykgL1N0cnVjdFRyZWVSb290IDE3IDAgUi9NYXJrSW5mbzw8L01hcmtlZCB0cnVlPj4+Pg0KZW5kb2JqDQoyIDAgb2JqDQo8PC9UeXBlL1BhZ2VzL0NvdW50IDIvS2lkc1sgMyAwIFIgMTQgMCBSXSA+Pg0KZW5kb2JqDQozIDAgb2JqDQo8PC9UeXBlL1BhZ2UvUGFyZW50IDIgMCBSL1Jlc291cmNlczw8L0ZvbnQ8PC9GMSA1IDAgUi9GMiA3IDAgUi9GMyA5IDAgUj4+L1Byb2NTZXRbL1BERi9UZXh0L0ltYWdlQi9JbWFnZUMvSW1hZ2VJXSA+Pi9NZWRpYUJveFsg"^^xsd:base64Binary ] ;
       fhir:Attachment.url [ fhir:value "針灸圖.jpeg" ] ;
       fhir:Attachment.title [ fhir:value "針灸圖.jpeg" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:DocumentReference.content.attachment [
       fhir:Attachment.contentType [ fhir:value "image/jpeg" ] ;
       fhir:Attachment.data [ fhir:value "JVBERi0xLjUNCiW1tbW1DQoxIDAgb2JqDQo8PC9UeXBlL0NhdGFsb2cvUGFnZXMgMiAwIFIvTGFuZyh6aC1UVykgL1N0cnVjdFRyZWVSb290IDE3IDAgUi9NYXJrSW5mbzw8L01hcmtlZCB0cnVlPj4+Pg0KZW5kb2JqDQoyIDAgb2JqDQo8PC9UeXBlL1BhZ2VzL0NvdW50IDIvS2lkc1sgMyAwIFIgMTQgMCBSXSA+Pg0KZW5kb2JqDQozIDAgb2JqDQo8PC9UeXBlL1BhZ2UvUGFyZW50IDIgMCBSL1Jlc291cmNlczw8L0ZvbnQ8PC9GMSA1IDAgUi9GMiA3IDAgUi9GMyA5IDAgUj4+L1Byb2NTZXRbL1BERi9UZXh0L0ltYWdlQi9JbWFnZUMvSW1hZ2VJXSA+Pi9NZWRpYUJveFsg"^^xsd:base64Binary ] ;
       fhir:Attachment.url [ fhir:value "不施行心肺復甦術同意書.pdf" ] ;
       fhir:Attachment.title [ fhir:value "不施行心肺復甦術同意書.pdf" ]
     ]
  ] ;
  fhir:DocumentReference.context [
     fhir:DocumentReference.context.encounter [
       fhir:index 0 ;
       fhir:link <https://www.nricm.edu.tw/twcm/Encounter/EncounterTWCM-min> ;
       fhir:Reference.reference [ fhir:value "Encounter/EncounterTWCM-min" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://www.nricm.edu.tw/twcm/DocumentReference/DocumentReferenceTWCM-min.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

