fhir: map primitive elements#1678
Merged
Merged
Conversation
Signed-off-by: Hunter Achieng <achienghunter@gmail.com>
Signed-off-by: Hunter Achieng <achienghunter@gmail.com>
josephjclark
left a comment
Collaborator
There was a problem hiding this comment.
Maybe a bit of confusion over whether we're handling primitve types or primitive extensions? I'm expecting that primitive types work already, and we're just adding support for extensions here
Signed-off-by: Hunter Achieng <achienghunter@gmail.com>
Signed-off-by: Hunter Achieng <achienghunter@gmail.com>
Signed-off-by: Hunter Achieng <achienghunter@gmail.com>
Signed-off-by: Hunter Achieng <achienghunter@gmail.com>
…hir-underscores Signed-off-by: Hunter Achieng <achienghunter@gmail.com>
Signed-off-by: Hunter Achieng <achienghunter@gmail.com>
josephjclark
reviewed
Jun 4, 2026
josephjclark
requested changes
Jun 4, 2026
Signed-off-by: Hunter Achieng <achienghunter@gmail.com>
Signed-off-by: Hunter Achieng <achienghunter@gmail.com>
josephjclark
reviewed
Jun 9, 2026
Signed-off-by: Hunter Achieng <achienghunter@gmail.com>
…ptors into feature/1557-fhir-underscores
josephjclark
approved these changes
Jun 30, 2026
…rk:OpenFn/adaptors into feature/1557-fhir-underscores
josephjclark
added a commit
that referenced
this pull request
Jun 30, 2026
* bump sdk (#1708) * DHIS2: Schema should not require username/password when using a PAT (#1689) * fix(auth): check credential values not just key presence, make username/password optional in schema * changeset file * Revised the auth tests to be more descriptive * build(deps): bump undici from 7.24.7 to 7.28.0 (#1694) * build(deps): bump undici from 7.24.7 to 7.28.0 Bumps [undici](https://github.com/nodejs/undici) from 7.24.7 to 7.28.0. - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](nodejs/undici@v7.24.7...v7.28.0) --- updated-dependencies: - dependency-name: undici dependency-version: 7.28.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * changeset --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joe Clark <joe@openfn.org> * build(deps): bump esbuild from 0.27.4 to 0.28.1 (#1693) Bumps [esbuild](https://github.com/evanw/esbuild) from 0.27.4 to 0.28.1. - [Release notes](https://github.com/evanw/esbuild/releases) - [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md) - [Commits](evanw/esbuild@v0.27.4...v0.28.1) --- updated-dependencies: - dependency-name: esbuild dependency-version: 0.28.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * dhis2: Add paging examples and default `async:false` in `tracker.import` (#1681) * feat: allow async value change Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * feat: update tests Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * feat: add changeset Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * add integration tests for tracker.export * add pagination example * update example * update integration test * improve format * remove async and add pagination docs * update tracker unit tests * update changeset * fix typo * fix: update chngeset and tracker pagination examples Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: update docs Signed-off-by: Hunter Achieng <achienghunter@gmail.com> --------- Signed-off-by: Hunter Achieng <achienghunter@gmail.com> Co-authored-by: Emmanuel Evance <mtuchidev@gmail.com> * fhir: map primitive elements (#1678) * feat: implement primitive mappings Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * feat: update comments Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix tests Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * feat: update fhir-eswatini Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: remove skipped tests Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * feat: fix primp value renaming Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: package.json Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * feat: rebuild fhir-eswatini Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: remove nested `_birthTime` Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * fix: add tests Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * clean up tests * remove comment * fix: add tests and update docs Signed-off-by: Hunter Achieng <achienghunter@gmail.com> * bump fhir-gen tool * fhir-eswatini: update build meta * changeset --------- Signed-off-by: Hunter Achieng <achienghunter@gmail.com> Co-authored-by: Joe Clark <joe@openfn.org> * versions --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Hunter Achieng <achienghunter@gmail.com> Co-authored-by: Pius Kariuki <39379012+PiusKariuki@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: hunterachieng <79210550+hunterachieng@users.noreply.github.com> Co-authored-by: Emmanuel Evance <mtuchidev@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add ability to map primitive elements in
fhirby focusing on elements starting with an_.Regenerated
fhir-eswatiniwith tests to check behaviorgenerate-schemathen mapped by checking if the parent has an extension.AI Usage
Please disclose how you've used AI in this work (it's cool, we just want to
know!):
You can read more details in our
Responsible AI Policy
Review Checklist
Before merging, the reviewer should check the following items:
production? Is it safe to release?
dev only changes don't need a changeset.