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

Add Sender Id to C2Send And MMTC #17072

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# $schema: ../../../../../../../metadata/json_schema/fhir/fhir-to-fhir-transform.json
extends: classpath:/metadata/fhir_transforms/senders/original-pipeline-transforms.yml
elements:
- name: sender-identifier
resource: 'Bundle.entry.resource.ofType(MessageHeader)'
bundleProperty: '%resource.extension("https://reportstream.cdc.gov/fhir/StructureDefinition/sender-id").value[x]'
value: [ '"c2sense"' ]
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
extends: classpath:/metadata/fhir_transforms/senders/original-pipeline-transforms.yml

elements:
- name: sender-identifier
resource: 'Bundle.entry.resource.ofType(MessageHeader)'
bundleProperty: '%resource.extension("https://reportstream.cdc.gov/fhir/StructureDefinition/sender-id").value[x]'
value: [ '"mmtc"' ]

- 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]'
Expand Down
Loading