| $$ISLACT(WVDFN,WVSDATE,WVEDATE,WVCDE) |
This entry point will return whether the patient was
lactating on a specific date or on at least one day within a date range.
|
| VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
WVDFN |
Input |
Internal entry number (IEN) of the patient in the WV
PATIENT FILE (#790). This value is required.
|
WVSDATE |
Input |
This is the start date of the date range to return
the patient's lactation status for. The value must be in FileMan internal
date/time format and is optional. If not defined, the value in the DT system
variable will be used.
|
WVEDATE |
Input |
This is the end date of the date range to return the
patient's lactation status for. The value must be in FileMan internal
date/time format and is optional.
|
WVCDE |
Input |
This is a Boolean flag that determines how this
component handles lactation periods without a documented end date. When set to
one, the component will set the end date to tomorrow. When set to zero, the
component will set the end date to the date that the next not lactating status
was entered on. This value is optional and if not defined, will be set to
zero.
|
$$ISLACT |
Output |
The patient's lactation status. Possible return
values are:
1 for LACTATING
0 for NOT LACTATING
If a single date or no date is passed in to this call, the patient's lactation
status for that specific date or the current date is returned.
If a date range is passed in to this call, the patient must have a LACTATING
status at some point in the range for this call to return a value of 1. In
other words, the patient does not have to have a status of LACTATING for the
entire date range for this call to return a value of 1.
|
|
$$ISPREG(WVDFN,WVSDATE,WVEDATE,WVCDE) |
This entry point will return whether the patient was
pregnant on a specific date or on at least one day within a date range.
|
| VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
WVDFN |
Input |
Internal entry number (IEN) of the patient in the WV
PATIENT file (#790). This value is required.
|
WVSDATE |
Input |
This is the start date of the date range to return
the patient's pregnancy status for. The value must be in FileMan internal
date/time format and is optional. If not defined, the value in the DT system
variable will be used.
|
WVEDATE |
Input |
This is the end date of the date range to return the
patient's pregnancy status for. The value must be in FileMan internal
date/time format and is optional.
|
WVCDE |
Input |
This is a Boolean flag that determines how this
component handles pregnancy periods without a documented end date. When set to
one, the component will set the end date to tomorrow. When set to zero, the
component will set the end date to the date that the next not pregnant status
was entered on. This value is optional and if not defined, will be set to
zero. Note that this component interprets a DO NOT KNOW state as a NOT
PREGNANT state.
|
$$ISPREG |
Output |
The patient's pregnancy status. Possible return
values are:
1 for PREGNANT
0 for all other statuses
If a single date or no date is passed in to this call, the patient's pregnancy
status for that specific date or the current date is returned.
If a date range is passed in to this call, the patient must have a PREGNANT
status at some point in the range for this call to return a value of 1. In
other words, the patient does not have to have a status of PREGNANT for the
entire date range for this call to return a value of 1.
|
|