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.
Merge branch 'main' into platform/bill/16143
- Loading branch information
Showing
21 changed files
with
1,062 additions
and
76 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
103 changes: 103 additions & 0 deletions
103
prime-router/metadata/HL7/catchall/hl7/datatypes/CP/CPExtension.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,103 @@ | ||
# $schema: ./../../../../../json_schema/fhir/hl7-to-fhir-mapping-resource-template.json | ||
|
||
url: | ||
type: SYSTEM_URL | ||
value: composite-price | ||
|
||
extension: | ||
expressionType: nested | ||
generateList: true | ||
expressions: | ||
- expressionType: nested | ||
expressionsMap: | ||
url: | ||
type: SYSTEM_URL | ||
value: hl7v2Field | ||
valueString: | ||
type: STRING | ||
expressionType: HL7Spec | ||
valueOf: $cpExtensionName | ||
- expressionType: nested | ||
vars: | ||
cp11: STRING, CP.1 | ||
condition: $cp11 NOT_NULL | ||
expressionsMap: | ||
url: | ||
type: STRING | ||
value: CP.1.1 | ||
valueDecimal: | ||
type: STRING | ||
expressionType: HL7Spec | ||
valueOf: CP.1.1 | ||
- expressionType: nested | ||
vars: | ||
cp12: STRING, CP.1.2 | ||
condition: $cp12 NOT_NULL | ||
expressionsMap: | ||
url: | ||
type: STRING | ||
value: CP.1.2 | ||
valueString: | ||
type: STRING | ||
expressionType: HL7Spec | ||
valueOf: CP.1.2 | ||
- expressionType: nested | ||
vars: | ||
cp2: STRING, CP.2 | ||
condition: $cp2 NOT_NULL | ||
expressionsMap: | ||
url: | ||
type: STRING | ||
valueOf: CP.2 | ||
valueString: | ||
type: STRING | ||
expressionType: HL7Spec | ||
valueOf: CP.2 | ||
- expressionType: nested | ||
vars: | ||
cp3: STRING, CP.3 | ||
condition: $cp3 NOT_NULL | ||
expressionsMap: | ||
url: | ||
type: STRING | ||
valueOf: CP.3 | ||
valueDecimal: | ||
type: STRING | ||
expressionType: HL7Spec | ||
valueOf: CP.3 | ||
- expressionType: nested | ||
vars: | ||
cp4: STRING, CP.4 | ||
condition: $cp4 NOT_NULL | ||
expressionsMap: | ||
url: | ||
type: STRING | ||
valueOf: CP.4 | ||
valueDecimal: | ||
type: STRING | ||
expressionType: HL7Spec | ||
valueOf: CP.4 | ||
- expressionType: nested | ||
vars: | ||
cp5: STRING_ALL, CP.5 | ||
condition: $cp5 NOT_NULL | ||
expressionsMap: | ||
url: | ||
type: STRING | ||
value: CP.5 | ||
valueCodeableConcept: | ||
valueOf: datatypes/CWE/CodeableConcept | ||
specs: CP.5 | ||
expressionType: resource | ||
- expressionType: nested | ||
vars: | ||
cp6: STRING, CP.6 | ||
condition: $cp6 NOT_NULL | ||
expressionsMap: | ||
url: | ||
type: STRING | ||
valueOf: CP.6 | ||
valueString: | ||
type: STRING | ||
expressionType: HL7Spec | ||
valueOf: CP.6 |
File renamed without changes.
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
2 changes: 1 addition & 1 deletion
2
prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/OML_O21-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
2 changes: 1 addition & 1 deletion
2
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
33 changes: 33 additions & 0 deletions
33
prime-router/src/main/resources/metadata/hl7_mapping/datatypes/extensionCP/CP.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,33 @@ | ||
# $schema: ./../../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json | ||
|
||
elements: | ||
|
||
- name: cp-price-quantity | ||
value: [ '%resource.extension.where(url = "CP.1.1").value' ] | ||
hl7Spec: [ '%{cpField}-1-1' ] | ||
|
||
- name: cp-price-denomination | ||
value: [ '%resource.extension.where(url = "CP.1.2").value' ] | ||
hl7Spec: [ '%{cpField}-1-2' ] | ||
|
||
- name: cp-price-type | ||
value: [ '%resource.extension.where(url = "CP.2").value' ] | ||
hl7Spec: [ '%{cpField}-2' ] | ||
|
||
- name: cp-from-value | ||
value: [ '%resource.extension.where(url = "CP.3").value' ] | ||
hl7Spec: [ '%{cpField}-3' ] | ||
|
||
- name: cp-to-value | ||
value: [ '%resource.extension.where(url = "CP.4").value' ] | ||
hl7Spec: [ '%{cpField}-4' ] | ||
|
||
- name: cp-range-units | ||
resource: '%resource.extension.where(url = "CP.5").value' | ||
schema: classpath:/metadata/hl7_mapping/datatypes/codeableConcept/CWE.yml | ||
constants: | ||
cweField: '%{cpField}-5' | ||
|
||
- name: cp-range-type | ||
value: [ '%resource.extension.where(url = "CP.6").value' ] | ||
hl7Spec: [ '%{cpField}-6' ] |
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
Oops, something went wrong.