# IISI FHIR 教育訓練共筆
## 題目:
患者 Ossas (使用既有已上傳的病人)主訴為咳嗽、喉嚨痛、頭痛,於 110/10/21 至高雄市立民生醫院(醫事機構代碼 0102080017)就診,診斷醫師姓名為鄭嘉宏。診斷結果為急性上呼吸道感染(ICD10: J06.9)
請使用 Bundle 上傳,並自行指定 ID。完成後貼上 Request Bundle 內容與各 Resource ID。
請參考:https://www.hl7.org/fhir/bundle-transaction.json.html
```json=
{
"resourceType": "Bundle",
"type": "transaction",
"entry": [
{
"fullUrl": "http://60.249.179.121:30001/fhir/Patient/1",
"resource": {
"resourceType": "Patient",
"id": "1",
"name": [
{
"use": "official",
"text": "Ossas"
},
{
"use": "official",
"text": "歐薩斯"
}
],
"photo": [
{
"url": "https://i.imgur.com/VeTQheO.png",
"title": "Portrait"
}
],
"identifier": [
{
"use": "official",
"type":{
"coding": [{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "PPN"
}]
},
"value": "65848725"
}
],
"telecom": [
{
"system": "phone",
"value": "07-2159685",
"use": "home"
},
{
"system": "phone",
"value": "07-7938888",
"use": "work"
},
{
"system": "phone",
"value": "0912-354879",
"use": "mobile"
}
],
"address": [
{
"use": "home",
"type": "both",
"text": "高雄市橋頭區經武路58號24樓之11",
"city": "高雄市",
"country": "TW"
}
],
"contact": [
{
"name": {
"use": "official",
"text": "余智波鮭魚",
"given": [
"余智波"
]
},
"telecom": [
{
"system": "phone",
"value": "0988-878545",
"use": "mobile"
}
],
"relationship": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"code": "C",
"display": "Emergency Contact"
}
],
"text": "父子"
}
]
}
],
"communication": [
{
"language": {
"coding": [
{
"system": "urn:ietf:bcp:47",
"code": "en-US"
}
],
"text": "English"
}
}
],
"managingOrganization": {
"reference": "Organization/Org01"
}
},
"request": {
"method": "PUT",
"url": "Patient/1"
}
},
{
"fullUrl": "http://60.249.179.121:30001/fhir/Organization/Org01",
"resource": {
"resourceType": "Organization",
"id": "Org01",
"identifier": [
{
"use": "official",
"type":{
"coding": [{
"system": "urn:oid:2.16.528.1",
"code": "0102080017"
}]
},
"value": "0102080017"
}
],
"name": "高雄市立民生醫院"
},
"request": {
"method": "PUT",
"url": "Organization/Org01"
}
},
{
"fullUrl": "http://60.249.179.121:30001/fhir/Practitioner/Pra01",
"resource": {
"resourceType": "Practitioner",
"id": "Pra01",
"name": [
{
"use": "official",
"text": "鄭嘉宏"
}
]
},
"request": {
"method": "PUT",
"url": "Practitioner/Pra01"
}
},
{
"fullUrl": "http://60.249.179.121:30001/fhir/Encounter/Enc01",
"resource": {
"resourceType": "Encounter",
"id": "Enc01",
"status": "finished",
"class": {
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "AMB"
},
"serviceProvider": {
"reference": "Organization/Org01"
}
},
"request": {
"method": "PUT",
"url": "Encounter/Enc01"
}
},
{
"fullUrl": "http://60.249.179.121:30001/fhir/Condition/Cond01",
"resource": {
"resourceType": "Condition",
"id": "Cond01",
"identifier": [
{
"use": "official",
"type":{
"coding": [{
"system": "http://hl7.org/fhir/sid/icd-10",
"code": "J06.9"
}]
},
"value": "Acute upper respiratory infection"
}
],
"subject": {
"reference": "Patient/1"
},
"encounter": {
"reference": "Encounter/Enc01"
},
"recorder":{
"reference": "Practitioner/Pra01"
},
"note": [
{
"text": "咳嗽、喉嚨痛、頭痛"
}
]
},
"request": {
"method": "PUT",
"url": "Condition/Cond01"
}
}
]
}
```
```json=
{
"resourceType": "Bundle",
"type": "transaction",
"entry": [
{
"fullUrl": "/Encounter/en1",
"resource": {
"resourceType": "Encounter",
"id": "en1",
"status": "finished",
"period": {
"start": "2021-10-21",
"end": "2021-10-21"
},
"class": {
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "IMP",
"display": "inpatient encounter"
},
"subject": {
"reference": "Patient/1"
},
"serviceProvider": {
"reference": "Organization/or1"
},
"participant": [
{
"individual": {
"reference": "Practitioner/pr1"
}
}
],
"diagnosis": [
{
"condition": {
"reference": "Condition/co1"
}
},
{
"condition": {
"reference": "Condition/co2"
}
}
]
},
"request": {
"method": "PUT",
"url": "/Encounter/en1"
}
},
{
"fullUrl": "/Condition/co1",
"resource": {
"resourceType": "Condition",
"id": "co1",
"subject": {
"reference": "Patient/1"
},
"note": [
{
"text": "咳嗽、喉嚨痛、頭痛"
}
]
},
"request": {
"method": "PUT",
"url": "/Condition/co1"
}
},
{
"fullUrl": "/Condition/co2",
"resource": {
"resourceType": "Condition",
"id": "2",
"subject": {
"reference": "Patient/1"
},
"code": {
"coding": [
{
"system": "http://hl7.org/fhir/sid/icd-10",
"code": "J06.9",
"display": "急性上呼吸道感染"
}
]
}
},
"request": {
"method": "PUT",
"url": "/Condition/co2"
}
},
{
"fullUrl": "/Organization/or1",
"resource": {
"resourceType": "Organization",
"id": "or1",
"identifier": [
{
"use": "official",
"system": "urn:oid:2.16.528.1",
"value": "0102080017"
}
],
"name": "民生醫院"
},
"request": {
"method": "PUT",
"url": "/Organization/or1"
}
},
{
"fullUrl": "/Practitioner/pr1",
"resource": {
"resourceType": "Practitioner",
"id": "pr1",
"name": [
{
"given": [
"鄭嘉宏"
]
}
]
},
"request": {
"method": "PUT",
"url": "/Practitioner/pr1"
}
}
]
}
```