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.

Metadata

Release files for dhis2w-fhir 1.38.3

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.38.3
File Size Uploaded Provenance Actions
dhis2w_fhir-1.38.3.tar.gz 1.9 MB With provenance Details for dhis2w_fhir-1.38.3.tar.gz

Built distribution (wheel)

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

Total release size: 4.3 MB

Release files / dhis2w_fhir-1.38.3.tar.gz

Download URL dhis2w_fhir-1.38.3.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
00ad225feae17669acf09b07d2aa59f60017afe2b38e2c48a8ecd6a8aac18f5e
BLAKE2b-256 checksum
How to use checksums
fd8a0a8cfa205b2f5ff829c856006716230f5f99ed5fb07ca060f957e7a44ae3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 1, 2026.

Transparency log

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

Download URL dhis2w_fhir-1.38.3-py3-none-any.whl
Size 2.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f3b2006a876a453f6f247341385c9ea7681f0d9598d2c5f3ff579bdff6191e4f
BLAKE2b-256 checksum
How to use checksums
df94961de9a27f9c8ff1ea267df20a73de86b0d6041f968362e61cd21ba60add
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 1, 2026.

Transparency log

Security for dhis2w-fhir 1.38.3

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for dhis2w_fhir-1.38.3.tar.gz

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 Nov 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.38.3 This release

2 release files Full provenance

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