Contoh Pencarian (GET) Resource Patient



Method GET
Target URL
Command 'base_url' could not render: There is no placeholder called 'base_url'
/Patient?identifier=https://fhir.kemkes.go.id/id/nik|3171022809990001
Response 200
Catatan Didalam response akan ada result set yang memunculkan Patient.id =100000030009. Simpan Patient.id ini untuk digunakan di resource lain
{
"resourceType": "Bundle",
"id": "Example-Patient-Get-NIK",
"type": "searchset",
"total": 1,
"entry": [
{
"fullUrl": "https://api-satusehat-dev.dto.kemkes.go.id/fhir-r4/v1/Patient/100000030009",
"resourceType": "Patient",
"id": "100000030009",
"meta": {
"versionId": "MTY1NTEzOTAzOTM2ODMwNzAwMA",
"lastUpdated": "2022-06-13T16:50:39.368307+00:00",
"profile": [
"https://fhir.kemkes.go.id/r4/StructureDefinition/Patient|4.0.1",
"https://fhir.kemkes.go.id/r4/StructureDefinition/Patient"
]
},
{
"use": "official",
"system": "https://fhir.kemkes.go.id/id/ihs-number",
"value": "100000030009"
},
{
"use": "official",
"system": "https://fhir.kemkes.go.id/id/nik",
"value": "################"
}
],
"active": true,
"name": [
{
"use": "official",
"text": "Budi Santoso",
"family": "Santoso",
"given": [
"Budi"
],
"suffix": [
"MSc"
]
}
],
"gender": "male",
"deceasedBoolean": false,
{
"coding": [
{
"system": "urn:ietf:bcp:47",
"code": "id",
"display": "Indonesian"
}
],
"text": "Indonesian"
},
"preferred": true
}
]
},
"search": {
"mode": "match"
}
}
]
}
Method GET
Target URL
Command 'base_url' could not render: There is no placeholder called 'base_url'
/Patient?name=smith&gender=male&birthdate=1980-01
Response 200
Catatan Didalam response akan ada result set yang memunculkan multipel Patient.id. Simpan Patient.id yang sesuai untuk digunakan di resource lain
{
"resourceType": "Bundle",
"id": "Example-Patient-Get-Biodata",
"type": "searchset",
"total": 2,
"entry": [
{
"fullUrl": "https://api-satusehat-dev.dto.kemkes.go.id/fhir-r4/v1/Patient/P00346075498",
"resourceType": "Patient",
"id": "P00346075498",
"meta": {
"versionId": "MTY1MTA4MDExMjg5MzgzNzAwMA",
"lastUpdated": "2022-04-27T17:21:52.893837+00:00",
"profile": [
"https://fhir.kemkes.go.id/r4/StructureDefinition/Patient"
]
},
{
"use": "official",
"system": "https://fhir.kemkes.go.id/id/ihs-number",
"value": "P00346075498"
},
{
"use": "official",
"system": "https://fhir.kemkes.go.id/id/paspor",
"value": "############"
}
],
"active": true,
"name": [
{
"use": "official",
"text": "SAMUEL RHODRI SMITH"
}
],
"gender": "male",
"deceasedBoolean": false,
{
"coding": [
{
"system": "urn:ietf:bcp:47",
"code": "id-ID",
"display": "Indonesian"
}
],
"text": "Indonesian"
},
"preferred": true
}
]
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://api-satusehat-dev.dto.kemkes.go.id/fhir-r4/v1/Patient/P01378362061",
"resourceType": "Patient",
"id": "P01378362061",
"meta": {
"versionId": "MTY1MTA0MzI2ODM3NjUxNjAwMA",
"lastUpdated": "2022-04-27T07:07:48.376516+00:00",
"profile": [
"https://fhir.kemkes.go.id/r4/StructureDefinition/Patient"
]
},
{
"use": "official",
"system": "https://fhir.kemkes.go.id/id/ihs-number",
"value": "P01378362061"
},
{
"use": "official",
"system": "https://fhir.kemkes.go.id/id/paspor",
"value": "############"
}
],
"active": true,
"name": [
{
"use": "official",
"text": "SAMUEL RHODRI SMITH"
}
],
"gender": "male",
"deceasedBoolean": false,
{
"coding": [
{
"system": "urn:ietf:bcp:47",
"code": "id-ID",
"display": "Indonesian"
}
],
"text": "Indonesian"
},
"preferred": true
}
]
},
"search": {
"mode": "match"
}
}
]
}
Method GET
Target URL
Command 'base_url' could not render: There is no placeholder called 'base_url'
/Patient/100000030009
Response 200
Catatan Didalam response akan ada result set yang memunculkan identitas Patient yang terdaftar di SATUSEHAT
{
"resourceType": "Patient",
"id": "100000030009",
"meta": {
"versionId": "MTY2MDk5NzY0NTUyNjE4MzAwMA",
"lastUpdated": "2022-08-20T12:14:05.526183+00:00",
"profile": [
"https://fhir.kemkes.go.id/r4/StructureDefinition/Patient|4.0.1",
"https://fhir.kemkes.go.id/r4/StructureDefinition/Patient"
]
},
{
"url": "https://fhir.kemkes.go.id/r4/StructureDefinition/birthPlace",
"city": "Jakarta",
"country": "ID"
}
}
],
{
"use": "official",
"system": "https://fhir.kemkes.go.id/id/ihs-number",
"value": "100000030009"
},
{
"use": "official",
"system": "https://fhir.kemkes.go.id/id/nik",
"value": "3171022809990001"
}
],
"active": true,
"name": [
{
"use": "official",
"text": "Budi Santoso",
"family": "Santoso",
"given": [
"Budi"
],
"suffix": [
"MSc"
]
}
],
"telecom": [
{
"system": "phone",
"value": "08123456789",
"use": "mobile"
},
{
"system": "email",
"value": "budi.santoso@xyz.com",
"use": "home"
}
],
"gender": "male",
"birthDate": "1944-11-17",
{
"url": "https://fhir.kemkes.go.id/r4/StructureDefinition/patient-birthTime",
"valueDateTime": "1944-11-17T15:39:00+07:00"
}
]
},
"deceasedBoolean": false,
"address": [
{
{
{
"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"
}
],
"use": "home",
"line": [
"Gd. Prof. Dr. Sujudi Lt.5, Jl. H.R. Rasuna Said Blok X5 Kav. 4-9 Kuningan"
],
"city": "Jakarta",
"postalCode": "12950",
"country": "ID"
}
],
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus",
"code": "M",
"display": "Married"
}
],
"text": "Married"
},
"contact": [
{
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"code": "C"
}
]
}
],
"name": {
"use": "official",
"family": "Smith",
"given": [
"Rebecca"
]
},
"telecom": [
{
"system": "phone",
"value": "0690383372",
"use": "mobile"
}
]
}
],
{
"coding": [
{
"system": "urn:ietf:bcp:47",
"code": "id",
"display": "Indonesian"
}
],
"text": "Indonesian"
},
"preferred": true
}
]
}




Back to top