FILTERS Valid Appointment Status Filters The SDAPSTAT filter parameter can be used if you wish to screen on appointment status. If this parameter contains a value or set of values, then those appointments will be returned in the resulting array set. Request more than 1 value in the filter by separating them with a semi-colon (i.e. SDAPSTAT=”R;NT”). A null or undefined value will result in all being returned. Table 41: Valid Appointment Status Filters Appt Status Filter value Appointment Status Value(s) Returned R R (scheduled/kept) N N (no-show) C C (cancelled) NT NT (no action taken) Null (default) ALL appointment status values will be returned: R (scheduled/kept) N (no-show) C (cancelled) NT (no action taken) Valid Patient Status Filters The SDIOSTAT filter parameter can be used if you wish to retrieve only inpatient records or only outpatient records. A null or undefined value will result in both being returned. Table 42: Valid Patient Status Filters Patient Status Filter value Description I Inpatient O Outpatient Null (default) Both will be returned (inpatient and outpatient) Valid Patient Status and Appointment Status Filter Combinations Due to the design of VistA, the patient status (new field #12) of appointments that are cancelled, no-show, or no action taken, will not be available. If the patient status field is requested, a null value will be returned in the ^TMP output global for this field. Patient status is determined by analyzing the value of the STATUS field (#3) on the Patient subfile (2.98).
FILTERS Valid Appointment Status Filters The SDAPSTAT filter parameter can be used if you wish to screen on appointment status. If this parameter contains a value or set of values, then those appointments will be returned in the resulting array set. Request more than 1 value in the filter by separating them with a semi-colon (i.e. SDAPSTAT=”R;NT”). A null or undefined value will result in all being returned. Table 41: Valid Appointment Status Filters Appt Status Filter value Appointment Status Value(s) Returned R R (scheduled/kept) N N (no-show) C C (cancelled) NT NT (no action taken) Null (default) ALL appointment status values will be returned: R (scheduled/kept) N (no-show) C (cancelled) NT (no action taken) Valid Patient Status Filters The SDIOSTAT filter parameter can be used if you wish to retrieve only inpatient records or only outpatient records. A null or undefined value will result in both being returned. Table 42: Valid Patient Status Filters Patient Status Filter value Description I Inpatient O Outpatient Null (default) Both will be returned (inpatient and outpatient) Valid Patient Status and Appointment Status Filter Combinations Due to the design of VistA, the patient status (new field #12) of appointments that are cancelled, no-show, or no action taken, will not be available. If the patient status field is requested, a null value will be returned in the ^TMP output global for this field. Patient status is determined by analyzing the value of the STATUS field (#3) on the Patient subfile (2.98).
pimstm.docx