public class ActiveStatusCode extends Object
ACTIVE_STATUS_CD
attribute in the VISIT_DIMENSION table.| Modifier and Type | Method and Description |
|---|---|
static String |
getInstance(Date startDate,
org.protempa.proposition.value.Granularity startGran,
Date endDate,
org.protempa.proposition.value.Granularity endGran)
Infer the correct active status code given what dates are available and
whether or not the encounter information is finalized.
|
public static String getInstance(Date startDate, org.protempa.proposition.value.Granularity startGran, Date endDate, org.protempa.proposition.value.Granularity endGran)
bFinal - true if the visit information is finalized
according to the EHR, false if not. This parameter is
ignored if the visit has neither a start date nor an end date.startDate - the start date of the visit. May be null.endDate - the end date of the visit. May be null.Copyright © 2012–2016 Emory University. All rights reserved.