Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LA Order Weight Conversion #1650

Open
32 tasks
JohnNKing opened this issue Dec 10, 2024 · 4 comments
Open
32 tasks

LA Order Weight Conversion #1650

JohnNKing opened this issue Dec 10, 2024 · 4 comments

Comments

@JohnNKing
Copy link
Contributor

JohnNKing commented Dec 10, 2024

Story

As the LA PHL, so that I can parse the Ochsner facilities' weight data in the appropriate unit of measure (UOM), I need the CDC Intermediary to convert this numeric field from kilograms to grams for all Ochsner NBS test order messages.

Pre-conditions

  • A test order is received in RS from the LA Ochsner NBS system (MSH.3 = "13^1.2.840.114350.1.13.286.2.7.2.695071^ISO").
  • We have a sample order message contains an OBX segment with an OBX.3.1 value of "8339-4"
  • We have a sample order message contains an OBX segment with an OBX.3.1 value of "58229-6"

*Note: The Ochsner team will NOT be sending the actual unit of measurement (UOM) in OBX.6, but they confirmed it will be in kilograms

Acceptance Criteria

  • The numeric Weight at Collection value in OBX.5.1 (when OBX.3.1 = "8339-4" OR "58229-6".) is multiplied by 1000x.
  • The UOM designation of "g^gram^UCUM" is added to OBX.6 in the outgoing order message.
  • This transformation is successfully performed for all NBS test orders received from the LA Ochsner system.
  • This transformation is not performed for NBS test orders received from other hospital systems.

Tasks

Research

  • Discuss in Friday SME call to clarify inbound birth weight. (Will it really be a string value, and include ounces in parentheses?)

Engineering

  • Obtain an Ochsner-specific example order message that captures the Weight at Collection as identified above.
  • Create a new transform that multiplies the proper OBX 5.1 value by 1000x.
  • Configure the transform above to only be applied to Ochsner order message.
  • Add assertion to the automated tests for this scenario.

Definition of Done

  • Documentation tasks completed
    • Documentation and diagrams created or updated
      • ADRs (/adr folder)
      • Main README.md
      • Other READMEs in the repo
      • If applicable, update the ReportStream Setup section in README.md
    • Threat model updated
    • API documentation updated
  • Code quality tasks completed
    • Code refactored for clarity and no design/technical debt
    • Adhere to separation of concerns; code is not tightly coupled, especially to 3rd party dependencies
  • Testing tasks completed
    • Load tests passed
    • Additional e2e tests created
    • Additional RS e2e assertions created in the rs-e2e project for any new transformations. Includes improvements to the assertion code required to make the new assertions
  • Build & Deploy tasks completed
    • Build process updated
    • API(s) are versioned
    • Feature toggles created and/or deleted. Document the feature toggle
    • Source code is merged to the main branch

Note: Please remove any DoD items that are not applicable

Research Questions

  • Optional: Any initial questions for research

Decisions

  • Optional: Any decisions we've made while working on this story

Notes

  • Optional: Any reference material or thoughts we may need for later reference
@JohnNKing
Copy link
Contributor Author

See #913 for a closed but related effort

@basiliskus
Copy link
Contributor

Related to #1091

@basiliskus
Copy link
Contributor

@JohnNKing JohnNKing marked this as a duplicate of #1678 Jan 8, 2025
@JohnNKing JohnNKing changed the title LA Birth Weight Conversion LA Weight Conversion Jan 9, 2025
@JohnNKing JohnNKing changed the title LA Weight Conversion LA Order Weight Conversion Jan 9, 2025
@scleary1cs
Copy link
Contributor

@luis-pabon-tf luis-pabon-tf self-assigned this Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants