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() |
Boolean |
getVoided() |
User |
getVoidedBy() |
String |
getVoidReason() |
Boolean |
isVoided()
Deprecated.
as of 2.0, use
getVoided() |
void |
setDateVoided(Date dateVoided) |
void |
setVoided(Boolean voided) |
void |
setVoidedBy(User voidedBy) |
void |
setVoidReason(String voidReason) |
getId, getUuid, setId, setUuid
@Deprecated Boolean isVoided()
getVoided()
Boolean getVoided()
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 © 2024 OpenMRS Inc.. All rights reserved.