AUPNMBI ; IHS/OIT/FBD&NKD - MBI APIS ; 10/25/2017 ;
Source file <AUPNMBI.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
FORMOK(MBI) | ;PEP - VALIDATE MBI VALUE FORMAT
|
|
HISTMBI(PATIEN,TARGET,FORMAT) | ;PEP - GET MBI VALUE HISTORY FOR A PATIENT
|
|
GETMBI(PATIEN,SVCDATE,FORMAT) | ;PEP - GET MBI VALUE FOR A PATIENT
|
|
ADDMBI(PATIEN,EFFDATE,MBI,SOURCE) | ;PEP - ADD MBI VALUE FOR A PATIENT
; Function: Add an MBI for a patient on the specified effective date ; Call: $$ADDMBI^AUPNMBI(PATIEN,EFFDATE,MBI,SOURCE) ; Returned value: ; Successful: EFF_DATE(? - as IEN in MBI multiple) ; Unsuccessful: 0 (zero) |
|
DELMBI(PATIEN,EFFDATE,MBI) | ;DELETE MBI VALUE FOR A PATIENT
; Function: Delete an MBI entry for a patient on the specified effective date ; Call: $$DELMBI^AUPNMBI(PATIEN,EFFDATE,MBI) ; Returned value: ; Successful: 1 ; Unsuccessful: 0 (zero) ; - Error message (if any) concatenated to status response ; - Format: 0^error_message |
FileNo | Call Tags |
---|---|
9000001.44 | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^AUPNPAT - [#9000001] | ADDMBI+10, GETMBI+16, GETMBI+17, DELMBI+12, DELMBI+14, DELMBI+15, HISTMBI+20, HISTMBI+22, HISTMBI+24 |
Name | Line Occurrences |
---|---|
$$GETMBI | HISTMBI+24 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CHAR | FORMOK+21~, FORMOK+33*, FORMOK+34 |
DA | DELMBI+9~, DELMBI+16* |
DA(1 | DELMBI+16* |
DATE | DELMBI+9~, DELMBI+10*, DELMBI+13, DELMBI+14, DELMBI+15, DELMBI+16 |
DIK | DELMBI+9~, DELMBI+16* |
DUZ | ADDMBI+15 |
EFFDATE | ADDMBI~, ADDMBI+10, ADDMBI+11, ADDMBI+16, DELMBI~, DELMBI+10 |
ERR | ADDMBI+7~, ADDMBI+18, DELMBI+9~, DELMBI+18*, DELMBI+19*, DELMBI+20*, DELMBI+21*, DELMBI+22*, DELMBI+23, HISTMBI+16~ , HISTMBI+25*, HISTMBI+26*, HISTMBI+27*, HISTMBI+28 |
ERR("DIERR" | ADDMBI+18 |
EXCLUDE | FORMOK+21~, FORMOK+23*, FORMOK+34, FORMOK+35 |
FDA | ADDMBI+7~ |
FDA( | ADDMBI+11*, ADDMBI+12*, ADDMBI+13*, ADDMBI+14*, ADDMBI+15* |
FLAG | FORMOK+21~, FORMOK+31*, FORMOK+34*, FORMOK+35 |
FORMAT | GETMBI~, GETMBI+15*, GETMBI+18, HISTMBI~, HISTMBI+18*, HISTMBI+24 |
IEN | GETMBI+14~, GETMBI+15*, GETMBI+16*, GETMBI+17, GETMBI+18 |
IENS | ADDMBI+7~, ADDMBI+9*, ADDMBI+10*, ADDMBI+11, ADDMBI+12, ADDMBI+13, ADDMBI+14, ADDMBI+15 |
MBI | ADDMBI~, ADDMBI+8*, ADDMBI+12, DELMBI~, DELMBI+10*, DELMBI+15, HISTMBI+16~, HISTMBI+21*, HISTMBI+22, HISTMBI+24* , FORMOK~, FORMOK+27*, FORMOK+28, FORMOK+29, FORMOK+30, FORMOK+33, FORMOK+37 |
MBILEN | FORMOK+21~, FORMOK+22*, FORMOK+28, FORMOK+32, FORMOK+40 |
PAT | DELMBI+9~, DELMBI+10*, DELMBI+11, DELMBI+12, DELMBI+14, DELMBI+15, DELMBI+16, HISTMBI+16~, HISTMBI+18*, HISTMBI+19 , HISTMBI+20, HISTMBI+22, HISTMBI+24 |
PATIEN | ADDMBI~, ADDMBI+9, ADDMBI+10, GETMBI~, GETMBI+15*, GETMBI+16, GETMBI+17, GETMBI+18, DELMBI~, DELMBI+10 , HISTMBI~, HISTMBI+18, HISTMBI+24 |
POS | FORMOK+21~, FORMOK+32*, FORMOK+33 |
RES | ADDMBI+7~, GETMBI+14~, GETMBI+15*, GETMBI+16, GETMBI+17*, GETMBI+18*, GETMBI+19 |
RES(1 | ADDMBI+16*, ADDMBI+18 |
RETURN | FORMOK+21~, FORMOK+26*, FORMOK+35*, FORMOK+37*, FORMOK+38*, FORMOK+39*, FORMOK+40*, FORMOK+42 |
SF | ADDMBI+7~, ADDMBI+9*, ADDMBI+11, ADDMBI+12, ADDMBI+13, ADDMBI+14, ADDMBI+15 |
SOURCE | ADDMBI~, ADDMBI+13 |
SVCDATE | GETMBI~, GETMBI+15*, GETMBI+16 |
TARCNT | HISTMBI+16~, HISTMBI+18*, HISTMBI+24*, HISTMBI+29 |
TARGET | HISTMBI~, HISTMBI+16! |
TARGET( | HISTMBI+24* |
U | GETMBI+17, GETMBI+18, DELMBI+15 |
XFORM | FORMOK+21~, FORMOK+24*, FORMOK+29 |