| PATMGR(RESULTS,PAT,WHO,IDEN) |
Returns the healthcare managers responsible for the
patient.
|
| VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
RESULTS |
Both |
Reference to array in which to return the patient's
healthcare managers. The array is formatted as follows:
RESULTS(X)=ROLE
where X is the internal entry number (IEN) of the provider's entry in the NEW
PERSON FILE (#200) and ROLE is the provider's role in the patient's
healthcare. ROLE is either "ASSIGNED CASE MANAGER", "DEFAULT CASE MANAGER", or
"MATERNITY CARE COORDINATOR". For the "DEFAULT CASE MANAGER" role, the site's
name is prepended to the role. For example, "SAMPLE VAMC DEFAULT CASE
MANAGER".
If an error is encountered, RESULTS(0) is defined. The first caret piece is -1
and the second caret piece is the error message. This reference is required.
|
PAT |
Input |
Internal entry number (IEN) of the patient's entry in
the WV PATIENT file (#790). This is a required value.
|
WHO |
Input |
The healthcare manager(s) the API should return. The
following values are accepted:
VALUE Returned Field*
===========================
C CASE MANAGER (#.1)
M MATERNITY CARE COORDINATOR (#.29)
CM CASE MANAGER (#.1) and
MATERNITY CARE COORDINATOR (#.29)
*Note: All fields are in the WV PATIENT file (#790). This is a required
value.
|
IDEN |
Input |
Whether to identify the provider's role in the
patient's healthcare. A value of 1 will return the role, a value of 0 or
undefined will not return the role. This is an optional value and the default
value is 1.
|
|
GETRECIPS(RESULTS,PAT,SOURCE,TYPE,IDEN,DIV) |
Returns the recipients for the PREGNANCY STATUS
REVIEW and LACTATION STATUS REVIEW Computerized Patient Record System (CPRS)
notifications.
|
| VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
RESULTS |
Output |
Reference to array in which to return the patient's
healthcare managers. The array is formatted as follows:
RESULTS(X)=ROLE
where X is the internal entry number (IEN) of the recipient's entry in the NEW
PERSON FILE (#200) and ROLE is the recipient's role in the patient's
healthcare. ROLE is either "ASSIGNED CASE MANAGER", "DEFAULT CASE MANAGER",
"MATERNITY CARE COORDINATOR", or "PRIMARY CARE PROVIDER". For the "DEFAULT
CASE MANAGER" role, the site's name is prepended to the role. For example,
"SAMPLE VAMC DEFAULT CASE MANAGER".
If an error is encountered, RESULTS(0) is defined. The first caret piece is -1
and the second caret piece is the error message. This reference is required.
|
PAT |
Input |
IEN of the patient's entry in the WV PATIENT file
(#790). This is a required value.
|
SOURCE |
Input |
The type of the source of conflict. Possible values
are "CODE" for International Classification of Diseases (ICD) or SNOMED CT
codes and "LAB" for laboratory tests. This is a required value.
|
TYPE |
Input |
The type of status conflict. Possible values are "P"
for pregnancy status and "L" for lactation status. This is a required value.
|
IDEN |
Input |
Whether to identify the provider's role in the
patient's healthcare. A value of 1 will return the role, a value of 0 or
undefined will not return the role. This is an optional value and the default
value is 0.
|
DIV |
Input |
IEN of the entry in the INSITITUTION file (#4) where
the conflict occurred.
|
|