generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update OML FHIR -> HL7 Mappings * Update OML HL7 -> FHIR mappings * Add OML mapping integration tests * Removing unused FHIR -> HL7 mappings * Adding OML to CWE/CE override * Adjusting existing tests * Adding tests for new misc mappings * Update existing OML integration tests * Fixing integration tests after rebase * expected oru changes * Specimen.collection conditional update * Updating formatting for cleaner diff * Missed e2e test updates * PRT <-> Device mappings will be taken care of in the next PR * Changed line endings from CRLF to LF * Removing OML use of HL7v2Name url
- Loading branch information
Showing
64 changed files
with
8,200 additions
and
2,695 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
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
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
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
8 changes: 8 additions & 0 deletions
8
prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/OML_O21-test.yml
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,8 @@ | ||
# $schema: ./../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json | ||
|
||
hl7Class: ca.uhn.hl7v2.model.v27.message.OML_O21 | ||
|
||
extends: classpath:/metadata/hl7_mapping/OML_O21/OML_O21-base.yml | ||
elements: | ||
- name: message-headers | ||
condition: 'true' |
15 changes: 15 additions & 0 deletions
15
.../metadata/hl7_mapping/OML_O21/base/order/observation-request/observation-request-base.yml
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,15 @@ | ||
# $schema: ./../../../../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json | ||
|
||
elements: | ||
|
||
- name: observation-request | ||
required: true | ||
schema: classpath:/metadata/hl7_mapping/OML_O21/base/order/observation-request/observation-request.yml | ||
|
||
- name: observation-request-observation | ||
schema: classpath:/metadata/hl7_mapping/OML_O21/base/order/observation-request/observation/observation.yml | ||
|
||
- name: observation-request-specimen | ||
resource: '%resource.specimen.resolve().where(extension(%`rsext-hl7v2Segment`).value = "SPM") | %resource.specimen.resolve().where(extension(%`rsext-hl7v2Segment`).exists().not())' | ||
resourceIndex: specimenIndex | ||
schema: classpath:/metadata/hl7_mapping/OML_O21/base/order/observation-request/specimen/specimen.yml |
14 changes: 14 additions & 0 deletions
14
...urces/metadata/hl7_mapping/OML_O21/base/order/observation-request/observation-request.yml
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,14 @@ | ||
# $schema: ./../../../../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json | ||
|
||
elements: | ||
|
||
- name: observation-request-service-request | ||
required: true | ||
schema: classpath:/metadata/hl7_mapping/resources/ServiceRequest/OBR.yml | ||
constants: | ||
obrFieldPath: '/ORDER(%{orderIndex})/OBSERVATION_REQUEST/OBR' | ||
|
||
# - name: observation-request-note | ||
# todo in second pass, for ORU this is mapped through Observation.note; OML maps through ServiceRequest.note | ||
# this is already mapped into fhir via ORC/ServiceRequest... where is fhir -> hl7? | ||
# todo add scearnio in full oml test for an OBSERVATION_REQUEST.NTE |
Oops, something went wrong.