Skip to content

Commit

Permalink
Merge pull request #16064 from CDCgov/flexion/update-org-settings
Browse files Browse the repository at this point in the history
Update ETOR org settings
  • Loading branch information
basiliskus authored Oct 29, 2024
2 parents b23754a + ca1ca36 commit d9bf5a9
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 159 deletions.
55 changes: 0 additions & 55 deletions prime-router/settings/STLTs/AL/al-phl.yml

This file was deleted.

2 changes: 1 addition & 1 deletion prime-router/settings/STLTs/CA/ca-phl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
organizationName: "ca-phl"
topic: "etor-ti"
customerStatus: "active"
schemaName: classpath:/metadata/fhir_transforms/senders/Flexion/cdph-nbs-sender-transform.yml
schemaName: "classpath:/metadata/fhir_transforms/senders/Flexion/cdph-nbs-sender-transform.yml"
format: "HL7"
receivers: []
10 changes: 5 additions & 5 deletions prime-router/settings/STLTs/CA/ucsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
receivingApplicationName: "EPIC-INNERCONNECT"
receivingFacilityName: "CA"
jurisdictionalFilter:
- "Bundle.entry.resource.ofType(MessageHeader).event.code = 'R01'" # ORU_R01
- "Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://localcodes.org/ETOR').code = 'ETOR'" # required to avoid looping issue with TI
- "Bundle.entry.resource.ofType(MessageHeader).sender.resolve().identifier.where(value = 'CDPH').exists()" # sender routing filter (MSH-4.1)
- "Bundle.entry.resource.ofType(MessageHeader).destination.receiver.resolve().identifier.where(extension.value = 'HD.1').value in ('R797' | 'R508')" # receiver routing filter (MSH-6.1)
- "Bundle.identifier.value.contains('AUTOMATEDTEST-').not()" # exclude flexion automated test messages (MSH-10)
- "Bundle.entry.resource.ofType(MessageHeader).event.code = 'R01'" # ORU_R01
- "Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://localcodes.org/ETOR').code = 'ETOR'" # required to avoid looping issue with TI
- "Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://terminology.hl7.org/CodeSystem/v2-0103').code in ('T' | 'P')" # partner processing ids (MSH-11)
- "Bundle.entry.resource.ofType(MessageHeader).sender.resolve().identifier.where(value = 'CDPH').exists()" # sender routing filter (MSH-4.1)
- "Bundle.entry.resource.ofType(MessageHeader).destination.receiver.resolve().identifier.where(extension.value = 'HD.1').value in ('R797' | 'R508')" # receiver routing filter (MSH-6.1)
qualityFilter:
- "true"
timing:
Expand Down
53 changes: 21 additions & 32 deletions prime-router/settings/STLTs/Flexion/flexion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
# ./prime multiple-settings set --env staging --input ./settings/STLTs/Flexion/flexion.yml
#
# To add the sender keys in staging:
# ./prime organization addkey --env staging --public-key /path/to/public/key.pem --scope "flexion.*.report" --orgName flexion --kid flexion.simulated-hospital --doit
# ./prime organization addkey --env staging --public-key /path/to/public/key.pem --scope "flexion.*.report" --orgName flexion --kid flexion.etor-service-sender --doit
# ./prime organization addkey --env staging --public-key /path/to/public/key.pem --scope "flexion.*.report" --orgName flexion --kid flexion.simulated-hospital --doit
# ./prime organization addkey --env staging --public-key /path/to/public/key.pem --scope "flexion.*.report" --orgName flexion --kid flexion.simulated-lab --doit
# ./prime organization addkey --env staging --public-key /path/to/public/key.pem --scope "flexion.*.report" --orgName flexion --kid flexion.simulated-sender --doit
#
# To submit an order or result to flexion.simulated-lab or flexion.simulated-hospital, in staging:
# Note: replace the TOKEN with the auth JWT and the path to the FHIR message to send
Expand Down Expand Up @@ -46,21 +47,22 @@
topic: "etor-ti"
customerStatus: "active"
format: "HL7"
# Sender used for automated tests in staging
- name: "automated-staging-test-sender"
# Sender used for local tests and automated tests in staging
- name: "simulated-sender"
organizationName: "flexion"
topic: "etor-ti"
customerStatus: "active"
format: "HL7"
schemaName: "classpath:/metadata/fhir_transforms/senders/Flexion/automated-testing-etor.yml"
receivers:
# ETOR Service Receiver for orders - Routes ORM_O01 and OML_O21 FHIR orders to TI orders endpoint
- name: "etor-service-receiver-orders"
organizationName: "flexion"
topic: "etor-ti"
customerStatus: "active"
jurisdictionalFilter:
- "(Bundle.entry.resource.ofType(MessageHeader).event.code = 'O01') or (Bundle.entry.resource.ofType(MessageHeader).event.code = 'O21')" # ORM_O01 or OML_O21
- "Bundle.entry.resource.ofType(MessageHeader).meta.tag.exists(system = 'http://localcodes.org/ETOR').not()" # required to avoid looping issue
- "(Bundle.entry.resource.ofType(MessageHeader).event.code = 'O01') or (Bundle.entry.resource.ofType(MessageHeader).event.code = 'O21')" # ORM_O01 or OML_O21
- "Bundle.entry.resource.ofType(MessageHeader).meta.tag.exists(system = 'http://localcodes.org/ETOR').not()" # required to avoid looping issue
qualityFilter:
- "true"
timing:
Expand Down Expand Up @@ -97,8 +99,8 @@
topic: "etor-ti"
customerStatus: "active"
jurisdictionalFilter:
- "Bundle.entry.resource.ofType(MessageHeader).event.code = 'R01'" # ORU_R01
- "Bundle.entry.resource.ofType(MessageHeader).meta.tag.exists(system = 'http://localcodes.org/ETOR').not()" # required to avoid looping issue
- "Bundle.entry.resource.ofType(MessageHeader).event.code = 'R01'" # ORU_R01
- "Bundle.entry.resource.ofType(MessageHeader).meta.tag.exists(system = 'http://localcodes.org/ETOR').not()" # required to avoid looping issue
qualityFilter:
- "true"
timing:
Expand Down Expand Up @@ -133,9 +135,9 @@
topic: "etor-ti"
customerStatus: "active"
jurisdictionalFilter:
- "Bundle.entry.resource.ofType(MessageHeader).event.code = 'R01'" # ORU_R01
- "Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://localcodes.org/ETOR').code = 'ETOR'" # required to avoid looping issue
- "Bundle.entry.resource.ofType(MessageHeader).destination.receiver.resolve().identifier.where(extension.value = 'HD.2,HD.3').value = 'simulated-hospital-id'" # receiver routing filter (MSH-6.2)
- "Bundle.entry.resource.ofType(MessageHeader).event.code = 'R01'" # ORU_R01
- "Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://localcodes.org/ETOR').code = 'ETOR'" # required to avoid looping issue
- "Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://terminology.hl7.org/CodeSystem/v2-0103').code = 'D'" # internal test processing id (MSH-11)
qualityFilter:
- "true"
timing:
Expand All @@ -147,21 +149,15 @@
schemaName: "classpath:/metadata/hl7_mapping/ORU_R01/ORU_R01-base.yml"
useTestProcessingMode: false
useBatchHeaders: false
transport:
type: "SFTP"
host: "172.17.6.20" # use "sftp" if running locally
port: 22
filePath: "./upload"
credentialName: null # use "DEFAULT-SFTP" if running locally
# Simulated State Public Health Lab Receiver: converts OML_O21 from FHIR to HL7 and routes the message to the SFTP folder
- name: "simulated-lab"
organizationName: "flexion"
topic: "etor-ti"
customerStatus: "active"
jurisdictionalFilter:
- "Bundle.entry.resource.ofType(MessageHeader).event.code = 'O21'" # OML_O21
- "Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://localcodes.org/ETOR').code = 'ETOR'" # required to avoid looping issue
- "Bundle.entry.resource.ofType(MessageHeader).destination.receiver.resolve().identifier.where(extension.value = 'HD.2,HD.3').value = 'simulated-lab-id'" # receiver routing filter (MSH-6.2)
- "Bundle.entry.resource.ofType(MessageHeader).event.code = 'O21'" # OML_O21
- "Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://localcodes.org/ETOR').code = 'ETOR'" # required to avoid looping issue
- "Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://terminology.hl7.org/CodeSystem/v2-0103').code = 'D'" # internal test processing id (MSH-11)
qualityFilter:
- "true"
timing:
Expand All @@ -173,20 +169,14 @@
schemaName: "classpath:/metadata/hl7_mapping/receivers/Flexion/etor-oml-receiver-transform.yml"
useTestProcessingMode: false
useBatchHeaders: false
transport:
type: "SFTP"
host: "172.17.6.20" # use "sftp" if running locally
port: 22
filePath: "./upload"
credentialName: null # use "DEFAULT-SFTP" if running locally
- name: "automated-staging-test-receiver-orders"
organizationName: "flexion"
topic: "etor-ti"
customerStatus: "active"
jurisdictionalFilter:
- "(Bundle.entry.resource.ofType(MessageHeader).event.code = 'O01') or (Bundle.entry.resource.ofType(MessageHeader).event.code = 'O21')" # ORM_O01 or OML_O21
- "Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://localcodes.org/ETOR').code = 'ETOR'" # required to avoid looping issue
- "Bundle.entry.resource.ofType(MessageHeader).destination.receiver.resolve().identifier.where(extension.value = 'HD.2,HD.3').value = 'automated-staging-test-receiver-id'" # receiver routing filter (MSH-6.2)
- "(Bundle.entry.resource.ofType(MessageHeader).event.code = 'O01') or (Bundle.entry.resource.ofType(MessageHeader).event.code = 'O21')" # ORM_O01 or OML_O21
- "Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://localcodes.org/ETOR').code = 'ETOR'" # required to avoid looping issue
- "Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://terminology.hl7.org/CodeSystem/v2-0103').code = 'N'" # automated test processing id (MSH-11)
qualityFilter:
- "true"
timing:
Expand All @@ -207,10 +197,9 @@
topic: "etor-ti"
customerStatus: "active"
jurisdictionalFilter:
- "Bundle.entry.resource.ofType(MessageHeader).event.code = 'R01'" # ORU_R01
- "Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://localcodes.org/ETOR').code = 'ETOR'" # required to avoid looping issue
- "(Bundle.entry.resource.ofType(MessageHeader).destination.receiver.resolve().identifier.where(extension.value = 'HD.2,HD.3').value = 'automated-staging-test-receiver-id')
or (Bundle.identifier.value.contains('AUTOMATEDTEST-'))" # receiver routing filter (MSH-6.2 or MSH-10)
- "Bundle.entry.resource.ofType(MessageHeader).event.code = 'R01'" # ORU_R01
- "Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://localcodes.org/ETOR').code = 'ETOR'" # required to avoid looping issue
- "Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://terminology.hl7.org/CodeSystem/v2-0103').code = 'N'" # automated test processing id (MSH-11)
qualityFilter:
- "true"
timing:
Expand Down
7 changes: 4 additions & 3 deletions prime-router/settings/STLTs/LA/la-ochsner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@
schemaName: "classpath:/metadata/hl7_mapping/ORU_R01/ORU_R01-base.yml"
useBatchHeaders: false
jurisdictionalFilter:
- "Bundle.entry.resource.ofType(MessageHeader).event.code = 'R01'" # ORU_R01
- "Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://localcodes.org/ETOR').code = 'ETOR'" # required to avoid looping issue with TI
- "Bundle.entry.resource.ofType(MessageHeader).destination.receiver.resolve().identifier.where(extension.value = 'HD.2,HD.3').value = '1.2.840.114350.1.13.286.2.7.2.695071'" # receiver routing filter (MSH-6.2)
- "Bundle.entry.resource.ofType(MessageHeader).event.code = 'R01'" # ORU_R01
- "Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://localcodes.org/ETOR').code = 'ETOR'" # required to avoid looping issue with TI
- "Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://terminology.hl7.org/CodeSystem/v2-0103').code in ('T' | 'P')" # partner processing ids (MSH-11)
- "Bundle.entry.resource.ofType(MessageHeader).destination.extension.where(url = 'https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id').value = '1.2.840.114350.1.13.286.2.7.2.695071'" # receiver routing filter (MSH-5.2)
qualityFilter:
- "true"
timing:
Expand Down
7 changes: 4 additions & 3 deletions prime-router/settings/STLTs/LA/la-phl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@
topic: "etor-ti"
customerStatus: "active"
jurisdictionalFilter:
- "Bundle.entry.resource.ofType(MessageHeader).event.code = 'O21'" # OML_O21
- "Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://localcodes.org/ETOR').code = 'ETOR'" # required to avoid looping issue with TI
- "Bundle.entry.resource.ofType(MessageHeader).destination.extension.where(url = 'https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id').value = '2.16.840.1.114222.4.3.26.3.2'" # receiver routing filter (MSH-5.2)
- "Bundle.entry.resource.ofType(MessageHeader).event.code = 'O21'" # OML_O21
- "Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://localcodes.org/ETOR').code = 'ETOR'" # required to avoid looping issue with TI
- "Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://terminology.hl7.org/CodeSystem/v2-0103').code in ('T' | 'P')" # partner processing ids (MSH-11)
- "Bundle.entry.resource.ofType(MessageHeader).destination.extension.where(url = 'https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id').value = '2.16.840.1.114222.4.3.26.3.2'" # receiver routing filter (MSH-5.2)
qualityFilter:
- "true"
timing:
Expand Down
60 changes: 0 additions & 60 deletions prime-router/settings/STLTs/Oracle/oracle-rln.yml

This file was deleted.

0 comments on commit d9bf5a9

Please sign in to comment.