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

Add support for lab panels #1

Open
shabiel opened this issue Dec 12, 2024 · 1 comment
Open

Add support for lab panels #1

shabiel opened this issue Dec 12, 2024 · 1 comment

Comments

@shabiel
Copy link
Contributor

shabiel commented Dec 12, 2024

New RPC "ISI IMPORT LAB PANEL"

All data is test data

API

"PAT_SSN^000000068"
"LAB_PANEL^CHEM-7"
"LAB_TEST^GLUCOSE^189"
"LAB_TEST^CO2^34"
"LAB_TEST^BUN^10"
"RESULT_DT^NOW"
"LOCATION^3E NORTH"

Development plan

  • Create RPC
  • Code in LABPANEL^ISIIMPR2
  • Validation in LABPMISC^ISIIMPU7
    • Call ORD^LRVER1 to explode out the labs
    • Validate that all supplied labs exist; and labs not supplied are set as pending
  • Change VALIDATE^ISIIMP13?
  • Change PREP^ISIIMP13 to add panel data
  • Change ISIIMPL9 to take in panel data
shabiel added a commit that referenced this issue Dec 12, 2024
This change is a preparation to support panels. Panels will supply
multiple atomics labs, and in order to be able to support filing mutiple
labs, the input array handling the labs need to support more than one
lab. Previously, the lab value was in `^TMP("LRVEHU",$J,"R")`, and that
can only supply a single lab's value. Now the last subscript is the lab
test.

MISC:
- Add Copyrights
- Comment out XWBNULL set-up. I strongly feel it doesn't do anything.
@shabiel
Copy link
Contributor Author

shabiel commented Dec 13, 2024

Array going into $$LAB^ISIIMP12:

ISIMISC("LAB_PANEL")=CHEM-7
ISIMISC("LAB_TEST","BUN")=10
ISIMISC("LAB_TEST","CO2")=34
ISIMISC("LAB_TEST","GLUCOSE")=180
ISIMISC("PAT_SSN")=000000068

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant