SDES2CRTPRVRES ;ALB/LAB - VISTA SCHEDULING SDES2 CREATE PROVIDER RESOURCE ;JAN 30,2024
Source file <SDES2CRTPRVRES.m>
Package | Total | Call Graph |
---|---|---|
Scheduling | 3 | (BUILDJSON,ERRLOG)^SDES2JSON VALCONTEXT^SDES2VALCONTEXT VALFILEIEN^SDES2VALUTIL |
VA FileMan | 2 | UPDATE^DIE $$GET1^DIQ |
Kernel | 1 | $$NOW^XLFDT |
Name | Comments | DBIA/ICR reference |
---|---|---|
CREATEPRVRES(RESULT,SDCONTEXT,SDPARAM) | ; create provider resource record 409.831
|
|
VALIDATE(ERRORS,SDPARAM) | ; validate input array variables
|
|
ASSIGNVARS(USERID,PROVIDERIEN,RESOURCE,SDDUZ) | ;assign variables to use
|
|
CREATERESOURCE(RETURN,ERRORS,SDCONTEXT,SDPARAM,RESOURCE,SDSDUZ) | ;create the provider resource
|
Name | Field # of Occurrence |
---|---|
UPDATE^DIE | CREATERESOURCE+7 |
$$GET1^DIQ | ASSIGNVARS+1 |
BUILDJSON^SDES2JSON | CREATEPRVRES+4, CREATEPRVRES+6, CREATEPRVRES+9, CREATEPRVRES+10 |
ERRLOG^SDES2JSON | VALIDATE+6 |
VALCONTEXT^SDES2VALCONTEXT | CREATEPRVRES+3 |
VALFILEIEN^SDES2VALUTIL | VALIDATE+2, VALIDATE+3 |
$$NOW^XLFDT | CREATERESOURCE+4 |
RPC Name | Call Tags |
---|---|
SDES2 CREATE PROVIDER RESOURCE | CREATEPRVRES |
FileNo | Call Tags |
---|---|
^VA(200 - [#200] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^SDEC(409.831 - [#409.831] | VALIDATE+6 |
Name | Line Occurrences |
---|---|
ASSIGNVARS | CREATEPRVRES+7 |
CREATERESOURCE | CREATEPRVRES+8 |
VALIDATE | CREATEPRVRES+5 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DUZ | ASSIGNVARS+2 |
ERRORS | CREATEPRVRES+1~, CREATEPRVRES+3, CREATEPRVRES+4, CREATEPRVRES+5, CREATEPRVRES+6, CREATEPRVRES+8, CREATEPRVRES+9, VALIDATE~, VALIDATE+2, VALIDATE+3 , VALIDATE+4, VALIDATE+6, CREATERESOURCE~ |
ERRORS("ResourceIEN" | CREATEPRVRES+4*, CREATEPRVRES+6*, CREATEPRVRES+9* |
FILEDATA | CREATERESOURCE+1~, CREATERESOURCE+7! |
FILEDATA( | CREATERESOURCE+2*, CREATERESOURCE+3*, CREATERESOURCE+4*, CREATERESOURCE+5*, CREATERESOURCE+6* |
NEWIEN | CREATERESOURCE+1~ |
NEWIEN(1 | CREATERESOURCE+8 |
PROVIDERIEN | ASSIGNVARS~, ASSIGNVARS+1 |
RESOURCE | CREATEPRVRES+1~, CREATEPRVRES+7, CREATEPRVRES+8, ASSIGNVARS~, ASSIGNVARS+1*, CREATERESOURCE~, CREATERESOURCE+2 |
RESULT | CREATEPRVRES~, CREATEPRVRES+4, CREATEPRVRES+6, CREATEPRVRES+9, CREATEPRVRES+10 |
RETURN | CREATEPRVRES+1~, CREATEPRVRES+8, CREATEPRVRES+10, CREATERESOURCE~ |
RETURN("ResourceIEN" | CREATERESOURCE+8* |
SDCONTEXT | CREATEPRVRES~, CREATEPRVRES+3, CREATEPRVRES+8, CREATERESOURCE~ |
SDCONTEXT("US | ER DUZ" , CREATEPRVRES+7 |
SDDUZ | CREATEPRVRES+1~, CREATEPRVRES+7, CREATEPRVRES+8, ASSIGNVARS~, ASSIGNVARS+2*, CREATERESOURCE+5 |
SDPARAM | CREATEPRVRES~, CREATEPRVRES+5, CREATEPRVRES+8, VALIDATE~, CREATERESOURCE~ |
SDPARAM("ClinicIEN" | VALIDATE+1*, VALIDATE+2, CREATERESOURCE+6 |
SDPARAM("ProviderIEN" | CREATEPRVRES+7, VALIDATE+3, VALIDATE+6, CREATERESOURCE+3 |
SDSDUZ | CREATERESOURCE~ |
USERID | ASSIGNVARS~, ASSIGNVARS+2 |