dhis2w-fhir
FHIR Implementation Guide generation from DHIS2 metadata.
d2w fhir initscaffolds a dockerized SUSHI IG project with a committedfhir.toml.d2w fhir generate foundation|option-sets|questionnaires|examples|org-units|pages|allemits FSH: the DHIS2 identifier systems (aliases + NamingSystems) plus the D2Period and D2FormType extensions, option sets as CodeSystem/ValueSet pairs carrying both DHIS2 identifiers, data sets and event programs as Questionnaire instances with their data-element and category-option-combo support terminology, example QuestionnaireResponses answering those forms (synthetic by default, or fetched from the instance), organisation units as Organization/Location instances with partOf hierarchy, and the narrative site pages the IG publisher renders.d2w fhir validatechecks a DHIS2 instance's codes and names for FHIR-safety (R4).
The foundation target also emits the capture contract a third party builds against without reading DHIS2: the D2AggregateResponse and D2EventResponse QuestionnaireResponse profiles, one per form kind, each pinning the context a capture client has to carry, and the D2CaptureServer CapabilityStatement stating the interactions a server accepting those responses supports.
The package registers itself through the dhis2.plugins entry-point group, so installing it next to dhis2w-cli / dhis2w-mcp adds the d2w fhir commands and the read-only fhir_validate MCP tool. Naming of generated artifacts is configurable via [generate.naming] in fhir.toml.
Roadmap: org unit group / group set classifications as additional Organization.type codings (tokens OUG / OUGS), categories / category options as CodeSystem/ValueSet pairs, and tracker programs as Patient + EpisodeOfCare alongside their per-stage forms.
Release files for dhis2w-fhir 1.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dhis2w_fhir-1.6.0.tar.gz | 985.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dhis2w_fhir-1.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.0 MB
Release files / dhis2w_fhir-1.6.0.tar.gz
| Download URL | dhis2w_fhir-1.6.0.tar.gz |
|---|---|
| Size | 985.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3263648c4c3b68b83c3996d915a18b1030ca35894bf6374b3c4d3f5d0a401fb5
|
|
BLAKE2b-256 checksum How to use checksums |
d6a5aa663c05857c27403e6a668a6c7a369357363697301e3a77cda12e077be9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.
Transparency logRelease files / dhis2w_fhir-1.6.0-py3-none-any.whl
| Download URL | dhis2w_fhir-1.6.0-py3-none-any.whl |
|---|---|
| Size | 1.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f0940606ddc6631f58c95331f5d4b5eab618f4f80c6e446be86a3503ebf80f25
|
|
BLAKE2b-256 checksum How to use checksums |
2e401b9692483c935c62e76d024e316e4ba36b3bb2847b455372411777967f35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.
Transparency log