Location - By ID
Location - By ID
Path Parameters
- id string requiredExample: 6535f5b0da3c1391a84c6145
Responses
- 200
- 404
OK
Response Headers
etag string
last-modified string
content-type string
vary string
date string
content-length integer
x-xss-protection integer
x-frame-options string
x-content-type-options string
x-request-id string
Via string
Alt-Svc string
- application/json
- Schema
- Example (from schema)
- example-0
- example-1
Schema
- object
{}
Location - By ID
{
"address": {
"city": "Jakarta",
"country": "ID",
"extension": [
{
"extension": [
{
"url": "province",
"valueCode": "10"
},
{
"url": "city",
"valueCode": "1010"
},
{
"url": "district",
"valueCode": "1010101"
},
{
"url": "village",
"valueCode": "1010101101"
},
{
"url": "rt",
"valueCode": "1"
},
{
"url": "rw",
"valueCode": "2"
}
],
"url": "https://fhir.kemkes.go.id/r4/StructureDefinition/administrativeCode"
}
],
"line": [
"Gd. Prof. Dr. Sujudi Lt.5, Jl. H.R. Rasuna Said Blok X5 Kav. 4-9 Kuningan"
],
"postalCode": "12950",
"use": "work"
},
"description": "Ruang 1A, Poliklinik Bedah Rawat Jalan Terpadu, Lantai 2, Gedung G",
"id": "dc01c797-547a-4e4d-97cd-4ece0630e380",
"identifier": [
{
"system": "http://sys-ids.kemkes.go.id/location/1000001",
"value": "G-2-R-1A"
}
],
"managingOrganization": {
"reference": "Organization/10000004"
},
"meta": {
"lastUpdated": "2022-08-23T06:34:44.684738+00:00",
"versionId": "MTY2MTIzNjQ4NDY4NDczODAwMA"
},
"mode": "instance",
"name": "Ruang 1A IRJT",
"physicalType": {
"coding": [
{
"code": "ro",
"display": "Room",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
}
]
},
"position": {
"altitude": 0,
"latitude": 106.83239885393944,
"longitude": -6.23115426275766
},
"resourceType": "Location",
"status": "active",
"telecom": [
{
"system": "phone",
"use": "work",
"value": "2328"
},
{
"system": "fax",
"use": "work",
"value": "2329"
},
{
"system": "email",
"value": "second wing admissions"
},
{
"system": "url",
"use": "work",
"value": "http://sampleorg.com/southwing"
}
]
}
When Exists
{
"resourceType": "Location",
"identifier": [
{
"system": "http://sys-ids.kemkes.go.id/location/1000002",
"value": "G-2-R-1A"
}
],
"status": "active",
"name": "Ruang 1A IRJT",
"description": "Ruang 1A, Poliklinik Bedah Rawat Jalan Terpadu, Lantai 2, Gedung G",
"mode": "instance",
"telecom": [
{
"system": "phone",
"value": "2328",
"use": "work"
},
{
"system": "fax",
"value": "2329",
"use": "work"
},
{
"system": "email",
"value": "second wing admissions"
},
{
"system": "url",
"value": "http://sampleorg.com/southwing",
"use": "work"
}
],
"address": {
"use": "work",
"line": [
"Gd. Prof. Dr. Sujudi Lt.5, Jl. H.R. Rasuna Said Blok X5 Kav. 4-9 Kuningan"
],
"city": "Jakarta",
"postalCode": "12950",
"country": "ID",
"extension": [
{
"url": "https://fhir.kemkes.go.id/r4/StructureDefinition/administrativeCode",
"extension": [
{
"url": "province",
"valueCode": "10"
},
{
"url": "city",
"valueCode": "1010"
},
{
"url": "district",
"valueCode": "1010101"
},
{
"url": "village",
"valueCode": "1010101101"
},
{
"url": "rt",
"valueCode": "1"
},
{
"url": "rw",
"valueCode": "2"
}
]
}
]
},
"physicalType": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"code": "ro",
"display": "Room"
}
]
},
"position": {
"longitude": -6.23115426275744,
"latitude": 106.83239885393945,
"altitude": 0
},
"managingOrganization": {
"reference": "Organization/10000004"
},
"id": "6535f5b0da3c1391a84c6145",
"timestamps": {
"created_at": "2023-10-23T04:25:01.419Z",
"updated_at": "2023-10-23T04:25:01.419Z"
}
}
Not Found
Response Headers
X-Powered-By string
Access-Control-Allow-Origin string
Content-Type string
Content-Length integer
ETag string
Date string
Connection string
Keep-Alive string
- application/json
- Schema
- Example (from schema)
- example-0
- example-1
Schema
- object
{}
Location - By ID
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "not-found",
"details": {
"text": "resource not found"
}
}
]
}
When Not Found
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "not-found",
"details": {
"text": "resource not found"
}
}
]
}
Loading...