Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fhir-fr: Extensions #850

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

fhir-fr: Extensions #850

wants to merge 1 commit into from

Conversation

josephjclark
Copy link
Collaborator

Summary

I wanted a quick look at adding better extensions to fhir-fr.

At the moment we're not even recognising extension properties - because of how they're encoded they're just ignored.

This PR improves things a little, but doesn't have any intelligence. Really, we need to:

  • When parsing an extension which is defined by another structure, go and find that structure definition
  • Generate code to create to add an extension properly to the resource, mapping the URL properly

Patient Example

The example is acutally quite complex because for some reason, birth-place and identifty-status are mapped very differently.

I need to better study the defintions and work out the mapping rules.

In fhir-ndr-et, we used the mappings file to manually map the extension key. But I really want to do better than that here.

This probably needs a good day's work to figure out.

AI Usage

Please disclose how you've used AI in this work (it's cool, we just want to know!):

  • Code generation (copilot but not intellisense)
  • Learning or fact checking
  • Strategy / design
  • Optimisation / refactoring
  • Translation / spellchecking / doc gen
  • Other
  • I have not used AI

You can read more details in our Responsible AI Policy

@josephjclark josephjclark marked this pull request as draft November 30, 2024 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New Issues
Development

Successfully merging this pull request may close these issues.

1 participant