diff --git a/prime-router/src/main/resources/metadata/fhir_transforms/senders/C2Sense/c2sense-sender-transform.yml b/prime-router/src/main/resources/metadata/fhir_transforms/senders/C2Sense/c2sense-sender-transform.yml new file mode 100755 index 00000000000..9b774af5e4b --- /dev/null +++ b/prime-router/src/main/resources/metadata/fhir_transforms/senders/C2Sense/c2sense-sender-transform.yml @@ -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"' ] diff --git a/prime-router/src/main/resources/metadata/fhir_transforms/senders/MMTC/mmtc-sender-transform.yml b/prime-router/src/main/resources/metadata/fhir_transforms/senders/MMTC/mmtc-sender-transform.yml index 2e3b82c2d22..39123d89963 100644 --- a/prime-router/src/main/resources/metadata/fhir_transforms/senders/MMTC/mmtc-sender-transform.yml +++ b/prime-router/src/main/resources/metadata/fhir_transforms/senders/MMTC/mmtc-sender-transform.yml @@ -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]'