# 文件參照範例 - 臺灣中醫實作指引 v0.1.0

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **文件參照範例**

## Example DocumentReference: 文件參照範例

### 文件參照

**狀態**：Current ( [DocumentReferenceStatus](http://hl7.org/fhir/R4/codesystem-document-reference-status.html)#current)

**病人**：[Patient/PatientTWCM-min](Patient-PatientTWCM-min.md) "陳美真"

**紀錄中使用的檔案**：

> **檔案**：針灸圖.jpeg
**檔案**：不施行心肺復甦術同意書.pdf

**就醫事件**：[Encounter/EncounterTWCM-min](Encounter-EncounterTWCM-min.md)



## Resource Content

```json
{
  "resourceType" : "DocumentReference",
  "id" : "DocumentReferenceTWCM-min",
  "meta" : {
    "profile" : ["https://www.nricm.edu.tw/twcm/StructureDefinition/documentreference-twcm"]
  },
  "status" : "current",
  "subject" : {
    "reference" : "Patient/PatientTWCM-min"
  },
  "content" : [{
    "attachment" : {
      "contentType" : "image/jpeg",
      "data" : "JVBERi0xLjUNCiW1tbW1DQoxIDAgb2JqDQo8PC9UeXBlL0NhdGFsb2cvUGFnZXMgMiAwIFIvTGFuZyh6aC1UVykgL1N0cnVjdFRyZWVSb290IDE3IDAgUi9NYXJrSW5mbzw8L01hcmtlZCB0cnVlPj4+Pg0KZW5kb2JqDQoyIDAgb2JqDQo8PC9UeXBlL1BhZ2VzL0NvdW50IDIvS2lkc1sgMyAwIFIgMTQgMCBSXSA+Pg0KZW5kb2JqDQozIDAgb2JqDQo8PC9UeXBlL1BhZ2UvUGFyZW50IDIgMCBSL1Jlc291cmNlczw8L0ZvbnQ8PC9GMSA1IDAgUi9GMiA3IDAgUi9GMyA5IDAgUj4+L1Byb2NTZXRbL1BERi9UZXh0L0ltYWdlQi9JbWFnZUMvSW1hZ2VJXSA+Pi9NZWRpYUJveFsg",
      "url" : "針灸圖.jpeg",
      "title" : "針灸圖.jpeg"
    }
  },
  {
    "attachment" : {
      "contentType" : "image/jpeg",
      "data" : "JVBERi0xLjUNCiW1tbW1DQoxIDAgb2JqDQo8PC9UeXBlL0NhdGFsb2cvUGFnZXMgMiAwIFIvTGFuZyh6aC1UVykgL1N0cnVjdFRyZWVSb290IDE3IDAgUi9NYXJrSW5mbzw8L01hcmtlZCB0cnVlPj4+Pg0KZW5kb2JqDQoyIDAgb2JqDQo8PC9UeXBlL1BhZ2VzL0NvdW50IDIvS2lkc1sgMyAwIFIgMTQgMCBSXSA+Pg0KZW5kb2JqDQozIDAgb2JqDQo8PC9UeXBlL1BhZ2UvUGFyZW50IDIgMCBSL1Jlc291cmNlczw8L0ZvbnQ8PC9GMSA1IDAgUi9GMiA3IDAgUi9GMyA5IDAgUj4+L1Byb2NTZXRbL1BERi9UZXh0L0ltYWdlQi9JbWFnZUMvSW1hZ2VJXSA+Pi9NZWRpYUJveFsg",
      "url" : "不施行心肺復甦術同意書.pdf",
      "title" : "不施行心肺復甦術同意書.pdf"
    }
  }],
  "context" : {
    "encounter" : [{
      "reference" : "Encounter/EncounterTWCM-min"
    }]
  }
}

```
