CDCgov / trusted-intermediary

Bringing together healthcare providers by reducing the connection burden.
Apache License 2.0
11 stars 5 forks source link

CA Transform: Remove Accession Number #1299

Closed JohnNKing closed 1 month ago

JohnNKing commented 2 months ago

Story

As UCSD, so that I can ingest an NBS result message, I need the accession number OBX removed (as this uses a local code that can't be supported).

Pre-conditions

Acceptance Criteria

Tasks

Research

Engineering

Phase 1: Working code for testing session with CA and UCSD

Phase 2: Refactor

Definition of Done

Research Questions

Decisions

Notes

Implementation

After discussing with @dbgolson, we've decided to generalize the transformation function to accept three parameters. For the accession number in OBX-3.4/5/6, the implementation will resemble:

arguments
---------
code                         99717-5
extension-coding system      L
extension-coding             alt-coding

By examining the coding extension (which can be either "coding" or "alt-coding"), the transform will be more flexible. This allows us to retrieve codes from either OBX-3.1/2/3 or OBX-3.4/5/6, depending on partner-specific requirements.

jbiskie commented 1 month ago

Story tasks and notes updated after discussion with @dbgolson. Tentatively, @luis-pabon-tf is going to start on the implementation and @jbiskie will start on tests.