Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

add case for MedicationStatement references #44

Merged
merged 5 commits into from
Nov 28, 2022
Merged

add case for MedicationStatement references #44

merged 5 commits into from
Nov 28, 2022

Conversation

KeeyanGhoreshi
Copy link
Collaborator

modifies the resource bundle builder by adding specific case for MedicationStatements in order to extract the Medication reference, allowing the CQL to use the medication resources. A TODO for this section of code may be to have it resolve all references automatically for all resources, rather than doing so on a case-by-case basis. Though this might quite difficult to do if not directly supported by the FHIR.js SMART client.

Also, the code in the bundle builder should be refactored such that the resources only need to be extracted once. Right now resources with a special cases are retrieved, have their references resolved, and then are retrieved again. They should really only need to be retrieved once.

@smalho01 smalho01 changed the base branch from main to dev November 2, 2022 17:51
@smalho01
Copy link

smalho01 commented Nov 8, 2022

wait for #45 to be merged before merging this

@smalho01 smalho01 merged commit cc8d1c2 into dev Nov 28, 2022
@smalho01 smalho01 deleted the TirfPrepop branch November 28, 2022 18:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants