public interface Voidable extends OpenmrsObject
Retireable
, voiding data invalidates any data
referencing them. e.g., when a patient is voided, all observations for that patient must be
voided as well.OpenmrsData
,
Retireable
Modifier and Type | Method and Description |
---|---|
Date |
getDateVoided() |
User |
getVoidedBy() |
String |
getVoidReason() |
Boolean |
isVoided() |
void |
setDateVoided(Date dateVoided) |
void |
setVoided(Boolean voided) |
void |
setVoidedBy(User voidedBy) |
void |
setVoidReason(String voidReason) |
getId, getUuid, setId, setUuid
Boolean isVoided()
void setVoided(Boolean voided)
voided
- - whether of not this object is voidedUser getVoidedBy()
void setVoidedBy(User voidedBy)
voidedBy
- - the user who voided the objectDate getDateVoided()
void setDateVoided(Date dateVoided)
dateVoided
- - the date the object was voidedString getVoidReason()
void setVoidReason(String voidReason)
voidReason
- - the reason the object was voidedCopyright © 2018 OpenMRS LLC.. All Rights Reserved.