Skip to main content

dhis2w-fhir

FHIR Implementation Guide generation from DHIS2 metadata.

  • d2w fhir init scaffolds a dockerized SUSHI IG project with a committed fhir.toml.
  • d2w fhir generate foundation|option-sets|questionnaires|examples|org-units|pages|all emits 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 validate checks 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 dhis2w.plugins.v1 entry-point group, so installing it next to dhis2w-cli adds the d2w fhir commands. 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.24.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dhis2w-fhir 1.24.2
File Size Uploaded
dhis2w_fhir-1.24.2.tar.gz 2.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for dhis2w-fhir 1.24.2
File Interpreter ABI Platform
dhis2w_fhir-1.24.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.9 MB

Release files / dhis2w_fhir-1.24.2.tar.gz

Download URL dhis2w_fhir-1.24.2.tar.gz
Size 2.1 MB
Tags Source
SHA-256 checksum
How to use checksums
da857cb3362c3c47d37dc970688a138c26467cdec1d5797a815232b8abff6165
BLAKE2b-256 checksum
How to use checksums
71937992eb782234a9ec9bffa8ad2705c453cb4a0cd49cec4920c45548bf36f0
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 Sep 25, 2026.

Transparency log

Release files / dhis2w_fhir-1.24.2-py3-none-any.whl

Download URL dhis2w_fhir-1.24.2-py3-none-any.whl
Size 2.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
8d041daa1316db23a5d24fc41e7d14a2380fa7ad8268c3d9251f4e5ed3d10a50
BLAKE2b-256 checksum
How to use checksums
fc58a5dd1fb3e3c1ab5617fd7535dba7e0f5e78f43f784eea20f7aaab1507cbb
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 Sep 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.24.2 This release

2 release files

1.24.1

2 release files

1.24.0

2 release files

1.23.0

2 release files

1.22.0

2 release files

1.21.0

2 release files

1.20.0

2 release files

1.19.0

2 release files

1.18.0

2 release files

1.17.0

2 release files

1.16.0

2 release files

1.15.0

2 release files

1.14.0

2 release files

1.9.0

2 release files

1.8.3

2 release files

1.8.2

2 release files

1.8.1

2 release files

1.8.0

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page