generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15150 from CDCgov/flexion/update-etor-org-settings
Updates to multiple ETOR org settings
- Loading branch information
Showing
5 changed files
with
238 additions
and
64 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Alabama Public Health Lab settings for staging | ||
# | ||
# To load the settings to staging, run: | ||
# ./prime login --env staging | ||
# ./prime multiple-settings set --env staging --input ./settings/STLTs/AL/al-phl.yml | ||
# | ||
# To add the sender key in staging: | ||
# ./prime organization addkey --env staging --public-key /path/to/public/key.pem --scope "al-phl.*.report" --orgName al-phl --kid al-phl.etor-nbs-results --doit | ||
# | ||
# To submit an order to al-phl, in staging: | ||
# Note: replace the TOKEN with the auth JWT and the path to the FHIR message to send | ||
# curl -H 'Authorization: Bearer TOKEN' -H 'Client: flexion.etor-service-sender' -H 'Content-Type: application/fhir+ndjson' --data-binary '@/path/to/oml.fhir' 'https://staging.prime.cdc.gov/api/waters' | ||
# | ||
# To submit a result from al-phl, in staging: | ||
# curl -H 'Authorization: Bearer TOKEN' -H 'Client: al-phl.etor-nbs-results' -H 'Content-Type: application/hl7-v2' --data-binary '@/path/to/oru.hl7' 'https://staging.prime.cdc.gov/api/waters' | ||
--- | ||
- name: "al-phl" | ||
description: "Alabama Public Health Lab" | ||
jurisdiction: "STATE" | ||
stateCode: "AL" | ||
senders: | ||
- name: "etor-nbs-results" | ||
organizationName: "al-phl" | ||
topic: "etor-ti" | ||
customerStatus: "active" | ||
format: "HL7" | ||
receivers: | ||
- name: "etor-nbs-orders" | ||
organizationName: "al-phl" | ||
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.receiver.resolve().identifier.where(value = '2.16.840.1.114222.4.3.26.1.1').exists()" # receiver routing filter | ||
qualityFilter: | ||
- "true" | ||
timing: | ||
operation: "MERGE" | ||
numberPerDay: 1440 | ||
initialTime: "00:00" | ||
timeZone: "EASTERN" | ||
maxReportCount: 100 | ||
translation: | ||
type: "HL7" | ||
schemaName: "classpath:/metadata/hl7_mapping/receivers/Flexion/TILabOrder.yml" | ||
useBatchHeaders: false | ||
receivingApplicationName: "AL-PHL" | ||
receivingFacilityName: "AL" | ||
transport: | ||
host: "ph.state.al.us" | ||
port: "22" | ||
filePath: "./" | ||
credentialName: null | ||
type: "SFTP" |
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
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,53 @@ | ||
# Ochsner settings for Louisiana in staging | ||
# | ||
# To load the settings in staging, run: | ||
# ./prime login --env staging | ||
# ./prime multiple-settings set --env staging --input ./settings/STLTs/LA/la-ochsner.yml | ||
# | ||
# To add the sender key in staging: | ||
# ./prime organization addkey --env staging --public-key /path/to/public/key.pem --scope "la-ochsner.*.report" --orgName la-ochsner --kid la-ochsner.etor-nbs-orders --doit | ||
# | ||
# To submit a result to la-ochsner, in staging: | ||
# Note: replace the TOKEN with the auth JWT and the path to the FHIR message to send | ||
# curl -H 'Authorization: Bearer TOKEN' -H 'Client: flexion.etor-service-sender' -H 'Content-Type: application/fhir+ndjson' --data-binary '@/path/to/oru.fhir' 'https://staging.prime.cdc.gov/api/waters' | ||
# | ||
# To submit an order from la-ochsner, in staging: | ||
# curl -H 'Authorization: Bearer TOKEN' -H 'Client: la-ochsner.etor-nbs-orders' -H 'Content-Type: application/hl7-v2' --data-binary '@/path/to/order.hl7' 'https://staging.prime.cdc.gov/api/waters' | ||
--- | ||
- name: "la-ochsner" | ||
description: "Ochsner - Louisiana" | ||
jurisdiction: "STATE" | ||
stateCode: "LA" | ||
senders: | ||
- name: "etor-nbs-orders" | ||
organizationName: "la-ochsner" | ||
topic: "etor-ti" | ||
customerStatus: "active" | ||
format: "HL7" | ||
receivers: | ||
- name: "etor-nbs-results" | ||
organizationName: "la-ochsner" | ||
topic: "etor-ti" | ||
customerStatus: "active" | ||
translation: | ||
type: "HL7" | ||
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 | ||
# Pending: add filter(s) for routing | ||
qualityFilter: | ||
- "true" | ||
timing: | ||
operation: "MERGE" | ||
numberPerDay: 1440 | ||
initialTime: "00:00" | ||
timeZone: "EASTERN" | ||
maxReportCount: 100 | ||
transport: | ||
type: "SFTP" | ||
host: "172.17.6.20" | ||
port: 22 | ||
filePath: "./upload" | ||
credentialName: null |
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
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,52 @@ | ||
# Oracle RLN settings in staging | ||
# | ||
# To load the settings in staging, run: | ||
# ./prime login --env staging | ||
# ./prime multiple-settings set --env staging --input ./settings/STLTs/Oracle/oracle-rln.yml | ||
# | ||
# To add the sender key in staging: | ||
# ./prime organization addkey --env staging --public-key /path/to/public/key.pem --scope "oracle-rln.*.report" --orgName oracle-rln --kid oracle-rln.etor-nbs-orders --doit | ||
# | ||
# To submit a result to oracle-rln, in staging: | ||
# Note: replace the TOKEN with the auth JWT and the path to the FHIR message to send | ||
# curl -H 'Authorization: Bearer TOKEN' -H 'Client: flexion.etor-service-sender' -H 'Content-Type: application/fhir+ndjson' --data-binary '@/path/to/oru.fhir' 'https://staging.prime.cdc.gov/api/waters' | ||
# | ||
# To submit an order from la-ochsner, in staging: | ||
# curl -H 'Authorization: Bearer TOKEN' -H 'Client: oracle-rln.etor-nbs-orders' -H 'Content-Type: application/hl7-v2' --data-binary '@/path/to/order.hl7' 'https://staging.prime.cdc.gov/api/waters' | ||
--- | ||
- name: "oracle-rln" | ||
description: "Oracle RLN" | ||
jurisdiction: "FEDERAL" | ||
senders: | ||
- name: "etor-nbs-orders" | ||
organizationName: "oracle-rln" | ||
topic: "etor-ti" | ||
customerStatus: "active" | ||
format: "HL7" | ||
receivers: | ||
- name: "etor-nbs-results" | ||
organizationName: "oracle-rln" | ||
topic: "etor-ti" | ||
customerStatus: "active" | ||
translation: | ||
type: "HL7" | ||
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 | ||
# Pending: add filter(s) for routing | ||
qualityFilter: | ||
- "true" | ||
timing: | ||
operation: "MERGE" | ||
numberPerDay: 1440 | ||
initialTime: "00:00" | ||
timeZone: "EASTERN" | ||
maxReportCount: 100 | ||
transport: | ||
type: "SFTP" | ||
host: "172.17.6.20" | ||
port: 22 | ||
filePath: "./upload" | ||
credentialName: null |