Skip to main content

Organization Resource

Resource Organization digunakan untuk mengelola data organisasi dan fasilitas pelayanan kesehatan dalam ekosistem SATUSEHAT.

Endpoint

GET    /Organization
POST /Organization
GET /Organization/{id}
PUT /Organization/{id}
PATCH /Organization/{id}

Base URL

  • Sandbox: https://api-satusehat-stg.dto.kemkes.go.id/fhir-r4/v1
  • Production: https://api-satusehat.kemkes.go.id/fhir-r4/v1

Headers

HeaderValueRequired
AuthorizationBearer {access_token}
Content-Typeapplication/fhir+json

Structure

Mandatory Fields

  • resourceType: "Organization"
  • identifier: Identifikasi unik organisasi
  • active: Status aktif organisasi
  • name: Nama organisasi

Optional Fields

  • type: Tipe organisasi
  • telecom: Informasi kontak
  • address: Alamat organisasi
  • partOf: Organisasi induk
  • contact: Kontak person
  • endpoint: Endpoint komunikasi

Contoh Request

POST /Organization

{
"resourceType": "Organization",
"identifier": [
{
"use": "official",
"system": "http://sys-ids.kemkes.go.id/organization",
"value": "8529d474-30e0-4fee-81a4-7a5234003a1b"
}
],
"active": true,
"type": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/organization-type",
"code": "prov",
"display": "Healthcare Provider"
}
]
}
],
"name": "Rumah Sakit Umum Daerah Kabupaten Bogor",
"telecom": [
{
"system": "phone",
"value": "+62251123456",
"use": "work"
},
{
"system": "email",
"value": "[email protected]",
"use": "work"
}
],
"address": [
{
"use": "work",
"line": ["Jl. Raya Citeureup No. 1"],
"city": "Bogor",
"state": "Jawa Barat",
"postalCode": "16810",
"country": "ID"
}
]
}

Response

{
"resourceType": "Organization",
"id": "8529d474-30e0-4fee-81a4-7a5234003a1b",
"meta": {
"versionId": "1",
"lastUpdated": "2024-01-01T10:00:00.000+00:00"
},
"identifier": [
{
"use": "official",
"system": "http://sys-ids.kemkes.go.id/organization",
"value": "8529d474-30e0-4fee-81a4-7a5234003a1b"
}
],
"active": true,
"type": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/organization-type",
"code": "prov",
"display": "Healthcare Provider"
}
]
}
],
"name": "Rumah Sakit Umum Daerah Kabupaten Bogor",
"telecom": [
{
"system": "phone",
"value": "+62251123456",
"use": "work"
},
{
"system": "email",
"value": "[email protected]",
"use": "work"
}
],
"address": [
{
"use": "work",
"line": ["Jl. Raya Citeureup No. 1"],
"city": "Bogor",
"state": "Jawa Barat",
"postalCode": "16810",
"country": "ID"
}
]
}

Tipe Organisasi

CodeDisplayDescription
provHealthcare ProviderPenyedia layanan kesehatan
deptHospital DepartmentDepartemen rumah sakit
teamOrganizational teamTim organisasi
govtGovernmentPemerintah
insInsurance CompanyPerusahaan asuransi
payPayerPembayar
eduEducational InstituteInstitusi pendidikan
reliReligious InstitutionInstitusi keagamaan
crsClinical Research SponsorSponsor penelitian klinis
cgCommunity GroupKelompok masyarakat
busNon-Healthcare BusinessBisnis non-kesehatan
otherOtherLainnya

Identifier Systems

SystemDescription
http://sys-ids.kemkes.go.id/organizationID Organisasi SATUSEHAT
http://dvma.depkes.go.idID DVMA
http://bpjs-kesehatan.go.idID BPJS Kesehatan

Search Parameters

ParameterTypeDescription
identifiertokenPencarian berdasarkan identifier
namestringPencarian berdasarkan nama
typetokenPencarian berdasarkan tipe
activetokenPencarian berdasarkan status aktif
addressstringPencarian berdasarkan alamat
partofreferencePencarian berdasarkan organisasi induk

Error Handling

Common Error Codes

  • 400 Bad Request: Format data tidak sesuai
  • 401 Unauthorized: Token tidak valid
  • 404 Not Found: Organization tidak ditemukan
  • 422 Unprocessable Entity: Validasi data gagal

Example Error Response

{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"details": {
"text": "Missing required field: name"
}
}
]
}