BDWAID ; IHS/CMI/LAB - UNIQUE REGISTRATION RECORD ID ;
Source file <BDWAID.m>
Package | Total | Caller Graph |
---|---|---|
Data Warehouse Export System | 7 | BDW1VBL BDW1VBL2 BDWA1 BDWALPMR BDWDDR BDWDWPX BDWRDR |
Mental Health Social Services | 1 | AMHUTIL3 |
Name | Comments | DBIA/ICR reference |
---|---|---|
ICN(BDWA) | ;-- return the ICN number and concat in PID-3
|
|
UID(BDWA) | ;PEP-Given DFN return unique patient record id.
; BDWA can be DFN, but is not required if DFN or DA exists. |
|
UIDV(VISIT) | ;EP - generate unique ID for visit
|
|
LZERO(V,L) | ;EP - left zero fill
|
Name | Field # of Occurrence |
---|---|
$$GET1^DIQ | UID+19, UIDV+4, ICN+2 |
FileNo | Call Tags |
---|---|
^DPT - [#2] | GET1^DIQ |
^AUTTLOC - [#9999999.06] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^AUPNPAT - [#9000001] | UID+17 |
^AUTTSITE(1 | UID+19, UIDV+4 |
Name | Line Occurrences |
---|---|
$$LZERO | UIDV+5 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | LZERO+1~, LZERO+2* |
BDWA | UID~, UID+13*, UID+14*, UID+16, UID+17, UID+19, ICN~, ICN+1*, ICN+2 |
>> DA | UID+14 |
>> DFN | UID+13, ICN+1 |
>> DIC | UID+14 |
I | LZERO+1~, LZERO+2* |
L | LZERO~, LZERO+2 |
U | UID+19, UIDV+4 |
V | LZERO~, LZERO+2*, LZERO+3 |
VISIT | UIDV~, UIDV+1, UIDV+5 |
X | UIDV+2~, UIDV+4*, UIDV+5 |
>> Z | LZERO+2* |