Skip to content
This repository has been archived by the owner on Feb 7, 2025. It is now read-only.

Remove la obr except 54089 8 #1518

Merged
merged 23 commits into from
Dec 6, 2024
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
b7bb8c8
started definition for la obr removal
pluckyswan Oct 3, 2024
e35ddb1
swapped out identifier to represent la ochssner
pluckyswan Oct 4, 2024
446b853
fix identifier condition
pluckyswan Oct 4, 2024
3d1eee2
updated test to include new obr removal for la ochsner
pluckyswan Oct 8, 2024
7b8e9fc
Added test file for ORU removal
jherrflexion Oct 8, 2024
3d1c883
Merge branch 'main' into remove-la-obr-except-54089-8
somesylvie Oct 30, 2024
5253f59
Update test based on refactor
somesylvie Oct 30, 2024
07fee0c
Merge branch 'main' into remove-la-obr-except-54089-8
saquino0827 Nov 4, 2024
abda88c
Merge branch 'main' into remove-la-obr-except-54089-8
saquino0827 Nov 22, 2024
e8a347c
Fix filtering for LA ORU flattening
saquino0827 Nov 26, 2024
e9871bc
Add example LA ORU flattened files
saquino0827 Nov 26, 2024
c0e3c74
Merge branch 'main' into remove-la-obr-except-54089-8
saquino0827 Nov 26, 2024
46ecdfc
Add RS e2e test for LA ORU flattening and improve documentation
saquino0827 Nov 26, 2024
e870ab0
Merge branch 'main' into remove-la-obr-except-54089-8
saquino0827 Dec 2, 2024
426b650
Fix la remove obr extension filtering
saquino0827 Dec 2, 2024
7a381b0
Merge branch 'main' into remove-la-obr-except-54089-8
saquino0827 Dec 2, 2024
bc98888
Update assertion name for LADPH to LA-Oschner
saquino0827 Dec 3, 2024
86c91ff
Merge branch 'remove-la-obr-except-54089-8' of https://github.com/CDC…
saquino0827 Dec 3, 2024
89a02b0
Merge branch 'main' into remove-la-obr-except-54089-8
saquino0827 Dec 3, 2024
e177296
Update naming to say UCSD
saquino0827 Dec 5, 2024
38b82ec
Merge branch 'main' into remove-la-obr-except-54089-8
saquino0827 Dec 5, 2024
7049823
Removed the example files from this branch because it will be provide…
saquino0827 Dec 5, 2024
553f315
Merge branch 'remove-la-obr-except-54089-8' of https://github.com/CDC…
saquino0827 Dec 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
started definition for la obr removal
Co-authored-by: saquino0827 <saquino@flexion.us>
Co-authored-by: James Herr <jherr@flexion.us>
Co-authored-by: jcrichlake <145698165+jcrichlake@users.noreply.github.com>
Co-authored-by: Sylvie <sschuresko@flexion.us>
Co-authored-by: halprin <halprin@users.noreply.github.com>
6 people committed Oct 3, 2024
commit b7bb8c8e1c7075d2231c75b51c1ccd4f81518c09
18 changes: 18 additions & 0 deletions etor/src/main/resources/transformation_definitions.json
Original file line number Diff line number Diff line change
@@ -167,6 +167,24 @@
}
]
},
{
"name": "laOruRemoveObservationRequests",
"description": "Removes all OBRs from an LA ORU message except for the OBR with value '54089-8' in OBR-4.1. All OBXs are attached to the sole remaining OBR",
"message": "",
"conditions": [
"Bundle.entry.resource.ofType(MessageHeader).destination.receiver.resolve().identifier.where(extension.value = 'HD.1').value in ('R797' | 'R508')",
"Bundle.entry.resource.ofType(MessageHeader).event.code = 'R01'",
"Bundle.entry.resource.ofType(ServiceRequest).code.coding.where(code = '54089-8').exists()"
],
"rules": [
{
"name": "RemoveObservationRequests",
"args": {
"universalServiceIdentifier": "54089-8"
}
}
]
},
{
"name": "ucsdOruUpdateUniversalServiceIdentifier",
"description": "Overrides the values of Name of Coding System (OBR-4.3) and Alternate Identifier (OBR-4.4) in Universal Type Code (OBR-4)",