PHPackages                             ivanwilliammd/satusehat-integration - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. ivanwilliammd/satusehat-integration

ActiveLibrary[API Development](/categories/api)

ivanwilliammd/satusehat-integration
===================================

Build SATUSEHAT FHIR Object in Easy Way

3.1.0-stable(1y ago)754.4k↓20%47[2 PRs](https://github.com/ivanwilliammd/satusehat-integration/pulls)MITPHPPHP ^7.4|^8.0|^8.1|^8.2|^8.3CI passing

Since Oct 20Pushed 1w ago3 watchersCompare

[ Source](https://github.com/ivanwilliammd/satusehat-integration)[ Packagist](https://packagist.org/packages/ivanwilliammd/satusehat-integration)[ Docs](https://github.com/ivanwilliammd/satusehat-integration)[ GitHub Sponsors](https://github.com/ivanwilliammd)[ RSS](/packages/ivanwilliammd-satusehat-integration/feed)WikiDiscussions main Synced yesterday

READMEChangelog (10)Dependencies (8)Versions (40)Used By (0)

Build SATUSEHAT FHIR Object in Easy Way
=======================================

[](#build-satusehat-fhir-object-in-easy-way)

[![Latest Version on Packagist](https://camo.githubusercontent.com/9156fc19c0ee3bf2db7fa9cabd26788f9fda9906006b257411a30a2f537cfe0a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6976616e77696c6c69616d6d642f7361747573656861742d696e746567726174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ivanwilliammd/satusehat-integration)[![Tests](https://camo.githubusercontent.com/004d73eb9297f21933834dcc2123ed607e174b301ef61fa4e22463f2b2977fc3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6976616e77696c6c69616d6d642f7361747573656861742d696e746567726174696f6e2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/ivanwilliammd/satusehat-integration/actions/workflows/run-tests.yml)[![Total Downloads](https://camo.githubusercontent.com/cc5100d0e6559028faf13b24f36371d98f1ca9da162315b515946bd5cb99e45d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6976616e77696c6c69616d6d642f7361747573656861742d696e746567726174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ivanwilliammd/satusehat-integration)

- This library is open-source and community-maintained, offered as-is without warranty or support from the repository [owner](https://github.com/ivanwilliammd). To enhance sustainability and address the growing demand for support and feature requests, a freemium/subscription-based package was implemented in 2025. For more information, contact: [ivan.harsono@ivanmd.id](mailto:ivan.harsono@ivanmd.id?subject=Subscription%20and%20Support%20for%20SATUSEHAT%20Integration&body=Salam%20sehat%2C%20dr.%20Ivan%0A%0ASaya%20berkebutuhan%20untuk%3A%20(sesuaikan%20dengan%20kebutuhan%20Anda)%0A1.%20Integrasi%20Resource%20%5Bsebutkan%5D%0A2.%20Support%20coding%2Fintegrasi%20database%0A3%20....%0A%0AAnda%20dapat%20mengontak%20saya%20kembali%20melalui%3A%0ANama%3A%20%0ANo.%20Whatsapp%3A%0A%0ATerimakasih%20banyak.)
- Feature comparison (perbandingan fitur Free VS Premium) --&gt; click [here](FREEMIUM_COMPARISON.md)

Introduction
------------

[](#introduction)

- This unofficial SATUSEHAT FHIR PHP Library to help generate SATUSEHAT FHIR-ready JSON, using profile established by [SATUSEHAT Documentation](https://satusehat.kemkes.go.id/platform/docs).
- This repository is rapidly developing and need help. Please kindly comment in [Issue](https://github.com/ivanwilliammd/satusehat-integration/issues) section to contribute or Sponsor this project.
- Features supported --&gt; see [Wiki](https://github.com/ivanwilliammd/satusehat-integration/wiki/Features)
- Error type from SATUSEHAT --&gt; see [PUBLISHED - Dokumen Kamus Rule Number (Error Code)](https://docs.google.com/spreadsheets/d/1vnYFL2Ho1lICEgWmE2HFwkbEgiRvw1uaYBBW8NvwzjI/edit?gid=927500518#gid=927500518)

SATUSEHAT dissemination summary
-------------------------------

[](#satusehat-dissemination-summary)

- Update (19/9/2024) : Medication is attached to MedicationRequest and MedicationDispense
- Update (21/11/2024):
    - SATUSEHAT implements multiple role access with restriction on each API service --&gt; [Resource Access](https://drive.google.com/file/d/1bs8uU_nIuNqHohnRfTvFHx0o2qOgAYabAz0ptUC3w9s/view)
    - Data privacy security update, which will censored Patient and Practitioner name
    - Patient and Practitioner reference in `Encounter.subject.display` and `Encounter.participant.individual` must be same with Master Patient Index (Patient GET) and Master Nakes Index (Practitioner GET)

Example Laravel 10 Project with SATUSEHAT Integration
-----------------------------------------------------

[](#example-laravel-10-project-with-satusehat-integration)

See `satusehat-integration` library in action [here](https://github.com/ivanwilliammd/satusehat-laravel-example)

Want to contribute?
-------------------

[](#want-to-contribute)

- See how to contribute at this [page](CONTRIBUTING.md).
- All contribution will be reviewed by [@ivanwilliammd](https://github.com/ivanwilliammd). Any invalid pull request will be commented, and decided directly whether will need further correction or directly closed as invalid.

Quick Installation
------------------

[](#quick-installation)

See Quick Installation Instructions [here](https://github.com/ivanwilliammd/satusehat-integration/wiki/Installation)
Feel your first time using this library at Onboarding page [here](https://github.com/ivanwilliammd/satusehat-integration/wiki/Onboarding)

Features
--------

[](#features)

See the feature Wiki page [here](https://github.com/ivanwilliammd/satusehat-integration/wiki/Features)

Full usage guide
----------------

[](#full-usage-guide)

Fully documented usage guide could be found on the Usage Wiki section [here](https://github.com/ivanwilliammd/SATUSEHAT-integration/wiki/Usage)

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Credits
-------

[](#credits)

Active contributor (&gt; 1 PR per quarter):

1. [Dr. dr. Ivan William Harsono, MTI](https://github.com/ivanwilliammd)
2. ... Looking for volunteer for active contribution ...

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

54

—

FairBetter than 96% of packages

Maintenance73

Regular maintenance activity

Popularity38

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 79.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~14 days

Recently: every ~26 days

Total

35

Last Release

493d ago

Major Versions

0.15 → 1.02023-10-23

1.2.2 → 2.0.02024-03-22

2.9.8 → 3.0.0-stable2025-01-30

PHP version history (3 changes)0.14PHP ^8.1

1.2.0PHP ^7.4|^8.0|^8.1

2.8.0PHP ^7.4|^8.0|^8.1|^8.2|^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/48039956?v=4)[Ivan William Harsono](/maintainers/ivanwilliammd)[@ivanwilliammd](https://github.com/ivanwilliammd)

---

Top Contributors

[![ivanwilliammd](https://avatars.githubusercontent.com/u/48039956?v=4)](https://github.com/ivanwilliammd "ivanwilliammd (333 commits)")[![SyaefulKai](https://avatars.githubusercontent.com/u/158563298?v=4)](https://github.com/SyaefulKai "SyaefulKai (33 commits)")[![yudistirasd](https://avatars.githubusercontent.com/u/25135334?v=4)](https://github.com/yudistirasd "yudistirasd (22 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (15 commits)")[![IrsyadProject](https://avatars.githubusercontent.com/u/39052384?v=4)](https://github.com/IrsyadProject "IrsyadProject (10 commits)")[![yogip07](https://avatars.githubusercontent.com/u/72334350?v=4)](https://github.com/yogip07 "yogip07 (7 commits)")[![widialjatsiyah](https://avatars.githubusercontent.com/u/33711600?v=4)](https://github.com/widialjatsiyah "widialjatsiyah (1 commits)")

---

Tags

fhir-clienthealth-informaticshealthcareintegrationkyclaravel-packagephp74php80php81php82php83satusehat-kycsatusehat-mobileivanwilliammdsatusehat-integration

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ivanwilliammd-satusehat-integration/health.svg)

```
[![Health](https://phpackages.com/badges/ivanwilliammd-satusehat-integration/health.svg)](https://phpackages.com/packages/ivanwilliammd-satusehat-integration)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k90.5k1](/packages/mike-bronner-laravel-model-caching)[api-platform/laravel

API Platform support for Laravel

58171.4k14](/packages/api-platform-laravel)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
