Create
[POST] http://192.168.1.100:8080/fhir/Location
Request
Body/Json
{
"resourceType": "Location",
"identifier": [
{
"value": "room1201"
}
],
"status": "active",
"name": "1201",
"mode": "instance",
"physicalType": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"code" : "ro",
"display" : "Room"
}
]
},
"partOf" : {
"reference": "Location/3"
},
"managingOrganization": {
"reference": "Organization/1"
}
}
Response
Status: 201 Created
{
"resourceType": "Location",
"id": "4",
"meta": {
"versionId": "1",
"lastUpdated": "2022-08-19T05:55:05.264+00:00"
},
"identifier": [
{
"value": "room1201"
}
],
"status": "active",
"name": "1201",
"mode": "instance",
"physicalType": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"code": "ro",
"display": "Room"
}
]
},
"managingOrganization": {
"reference": "Organization/1"
},
"partOf": {
"reference": "Location/3"
}
}
Read
[GET] http://192.168.1.100:8080/fhir/Location/[id]
Response
Status: 200 OK
{
"resourceType": "Location",
"id": "4",
"meta": {
"versionId": "1",
"lastUpdated": "2022-08-19T05:55:05.264+00:00",
"source": "#8Q2Rh67DcoD8HIlR"
},
"identifier": [
{
"value": "room1201"
}
],
"status": "active",
"name": "1201",
"mode": "instance",
"physicalType": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"code": "ro",
"display": "Room"
}
]
},
"managingOrganization": {
"reference": "Organization/1"
},
"partOf": {
"reference": "Location/3"
}
}
'네트워크 > HL7 FHIR' 카테고리의 다른 글
[HL7 FHIR API] 6. Device (0) | 2024.12.13 |
---|---|
[HL7 FHIR API] 5. Location (Bed) (0) | 2024.12.06 |
[HL7 FHIR API] 3. Location (Ward) (0) | 2024.11.22 |
[HL7 FHIR API] 2. Location (Site) (1) | 2024.11.15 |
[HL7 FHIR API] 1. Organization (0) | 2024.11.08 |