Print Page as PDF
IS PATIENT PREGNANT/LACTATING ICR (5925)

IS PATIENT PREGNANT/LACTATING    ICR (5925)

Name Value
NUMBER 5925
IA # 5925
DATE CREATED 2015/08/27
CUSTODIAL PACKAGE WOMEN'S HEALTH
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE WVUTL11
NAME IS PATIENT PREGNANT/LACTATING
ORIGINAL NUMBER 5925
GENERAL DESCRIPTION
This integration agreement allows subscribing packages
to determine if a patient is pregnant or lactating on a specific date or on at
least one day within a date range.
STATUS Active
KEYWORDS
  • LACTATION STATUS
  • LACTATING IN DATE RANGE
  • PREGNANCY STATUS
  • PREGNANT IN DATE RANGE
DURATION Till Otherwise Agreed
ID WVUTL11
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
$$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.
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE SUBSCRIBING DETAILS
CLINICAL REMINDERS
VIRTUAL PATIENT RECORD
Added 3/16/22 effective with VPR*1*29, to use APIs:
$$ISPREG and $$ISLACT
DATE ACTIVATED 2017/11/17