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

Flexporter updates - October 2024 #1525

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

dehall
Copy link
Contributor

@dehall dehall commented Oct 29, 2024

A few new features for the flexporter:

  1. A new if field that can be used in create_resource to conditionally set a field. The use case that inspired this is shown in the unit test - creating ServiceRequest based on Procedure, setting ServiceRequest.authoredOn = Procedure.performed, but Procedure.performed is either a dateTime (ie, primitive) or a Period (ie, an object) so the types need different handling. Previously the only way to do this was with two separate actions with different applicability.
  2. Allow deleting resources by FHIRPath instead of just by resource type. The use case that inspired this is deleting some of the SDOH conditions to clean up a record for a demo
  3. Allow functions to be nested within definitions. Previously a function call such as getAttribute could only be used as the top-level value, now value can be a map and one of the sub-values can be the function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant