generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MMTC sender transform and getStateFromZipCode custom fhir function (#…
…16440) * added mmtc sender transform and custom fhir path function that grabs the state(s) from the given zip code
- Loading branch information
Showing
3 changed files
with
126 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
12 changes: 12 additions & 0 deletions
12
...router/src/main/resources/metadata/fhir_transforms/senders/MMTC/mmtc-sender-transform.yml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
extends: classpath:/metadata/fhir_transforms/senders/original-pipeline-transforms.yml | ||
|
||
elements: | ||
- name: patient-state-from-zip-code | ||
resource: "Bundle.entry.resource.ofType(Patient).address" | ||
bundleProperty: '%resource.extension("https://reportstream.cdc.gov/fhir/StructureDefinition/state-from-zip-code").value[x]' | ||
value: [ '%resource.postalCode.getStateFromZipCode()' ] | ||
|
||
- name: ordering-facility-state-from-zip-code | ||
resource: "Bundle.entry.resource.ofType(ServiceRequest).requester.resolve().organization.resolve().address" | ||
bundleProperty: '%resource.extension("https://reportstream.cdc.gov/fhir/StructureDefinition/state-from-zip-code").value[x]' | ||
value: [ '%resource.postalCode.getStateFromZipCode()' ] |
This file contains 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