Skip to content

Commit

Permalink
Add Sender Id to C2Send And MMTC
Browse files Browse the repository at this point in the history
  • Loading branch information
oslynn committed Jan 13, 2025
1 parent 417443f commit 314c696
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
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

0 comments on commit 314c696

Please sign in to comment.