satusehat
Indonesian SATUSEHAT national health platform — FHIR R4 profiles, API client, and data models.
Implements the SATUSEHAT FHIR R4 profiles and API specifications for Indonesia's national health interoperability platform.
Design Philosophy
- FHIR R4 compliant — compatible with
fhir-r4crate - SATUSEHAT profiles — Indonesian-specific extensions and validations
- Optional HTTP client —
reqwest-based client behindclientfeature flag - Environment configs — Sandbox, Staging, Production endpoints built-in
Usage
use ;
use SatuSehatObservation;
use ;
// Build a FHIR Observation
let obs = new
.status
.loinc_code
.value_quantity
.patient_reference
.build;
// Wrap with SATUSEHAT profile
let config = SatuSehatConfig ;
let ss_obs = from_observation;
let json = to_string_pretty?;
With HTTP client
[]
= { = "0.0.1", = ["client"] }
use SatuSehatClient;
let client = new.await?;
let response = client.create_observation.await?;
Ecosystem
| Crate | Purpose |
|---|---|
hl7-mllp |
MLLP transport framing |
hl7-v2 |
HL7 v2 parser |
hl7-mindray |
Mindray device field mappings |
fhir-r4 |
FHIR R4 resource types |
satusehat |
Indonesian SATUSEHAT FHIR profile (this crate) |
Status
0.0.1 — initial placeholder. Active development in progress.
License
Apache-2.0