parent_list: list of patients who are listed as the head of family with a...

View source: R/conditions.R

parent_listR Documentation

list of patients who are listed as the head of family with a child between defined ages

Description

This is found through the use of 'HeadOfFamilyID' in db$patientsRaw

Usage

parent_list(dMeasure_obj, appointments = NULL, months_min = 0, months_max = 12)

Arguments

dMeasure_obj

dMeasure R6 object

appointments

dataframe of appointments $InternalID and $Date

months_min

minimum age in months (inclusive, 'from')

months_max

maximum age in months (exclusive, 'up to')

if no parameter provided, derives from $appointments_filtered

Details

Note that this does *not* include postnatal_list, and so a separate check is required if requiring postnatal

Value

a vector of numbers, which are the InternalIDs


DavidPatShuiFong/dMeasure documentation built on Aug. 2, 2024, 11:45 p.m.