|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openmrs.BaseOpenmrsObject org.openmrs.BaseOpenmrsMetadata org.openmrs.ConceptSource
public class ConceptSource
A concept source is defined as any institution that keeps a concept dictionary. Examples are ICD9, ICD10, SNOMED, or any other OpenMRS implementation
Field Summary | |
---|---|
static long |
serialVersionUID
|
Constructor Summary | |
---|---|
ConceptSource()
default constructor |
|
ConceptSource(java.lang.Integer conceptSourceId)
constructor with id |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Integer |
getConceptSourceId()
|
User |
getCreator()
|
java.util.Date |
getDateCreated()
|
java.util.Date |
getDateVoided()
Deprecated. |
java.lang.String |
getDescription()
|
java.lang.String |
getHl7Code()
|
java.lang.Integer |
getId()
|
java.lang.String |
getName()
|
java.lang.Boolean |
getVoided()
Deprecated. Use the "proper" isRetired method. |
User |
getVoidedBy()
Deprecated. use getRetiredBy |
java.lang.String |
getVoidReason()
Deprecated. use getRetireReason |
int |
hashCode()
|
java.lang.Boolean |
isVoided()
Deprecated. use isRetired |
void |
setConceptSourceId(java.lang.Integer conceptSourceId)
|
void |
setCreator(User creator)
|
void |
setDateCreated(java.util.Date dateCreated)
|
void |
setDateVoided(java.util.Date dateVoided)
Deprecated. |
void |
setDescription(java.lang.String description)
|
void |
setHl7Code(java.lang.String hl7Code)
|
void |
setId(java.lang.Integer id)
|
void |
setName(java.lang.String name)
|
void |
setVoided(java.lang.Boolean voided)
Deprecated. use setRetired |
void |
setVoidedBy(User voidedBy)
Deprecated. use setRetiredBy |
void |
setVoidReason(java.lang.String voidReason)
Deprecated. use setRetireReason |
Methods inherited from class org.openmrs.BaseOpenmrsMetadata |
---|
getChangedBy, getDateChanged, getDateRetired, getRetired, getRetiredBy, getRetireReason, isRetired, setChangedBy, setDateChanged, setDateRetired, setRetired, setRetiredBy, setRetireReason |
Methods inherited from class org.openmrs.BaseOpenmrsObject |
---|
getUuid, setUuid |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.openmrs.OpenmrsObject |
---|
getUuid, setUuid |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public ConceptSource()
public ConceptSource(java.lang.Integer conceptSourceId)
Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public java.lang.Integer getConceptSourceId()
public void setConceptSourceId(java.lang.Integer conceptSourceId)
conceptSourceId
- The conceptSourceId to set.public User getCreator()
getCreator
in interface Auditable
getCreator
in class BaseOpenmrsMetadata
Auditable.getCreator()
public void setCreator(User creator)
setCreator
in interface Auditable
setCreator
in class BaseOpenmrsMetadata
creator
- - the user who created the objectAuditable.setCreator(org.openmrs.User)
public java.util.Date getDateCreated()
getDateCreated
in interface Auditable
getDateCreated
in class BaseOpenmrsMetadata
Auditable.getDateCreated()
public void setDateCreated(java.util.Date dateCreated)
setDateCreated
in interface Auditable
setDateCreated
in class BaseOpenmrsMetadata
dateCreated
- The dateCreated to set.Auditable.setDateCreated(java.util.Date)
@Deprecated public java.util.Date getDateVoided()
getDateVoided
in interface Voidable
@Deprecated public void setDateVoided(java.util.Date dateVoided)
setDateVoided
in interface Voidable
dateVoided
- The dateVoided to set.public java.lang.String getDescription()
getDescription
in interface OpenmrsMetadata
getDescription
in class BaseOpenmrsMetadata
public void setDescription(java.lang.String description)
setDescription
in interface OpenmrsMetadata
setDescription
in class BaseOpenmrsMetadata
description
- the description to setpublic java.lang.String getHl7Code()
public void setHl7Code(java.lang.String hl7Code)
hl7Code
- The hl7Code to set.public java.lang.String getName()
getName
in interface OpenmrsMetadata
getName
in class BaseOpenmrsMetadata
public void setName(java.lang.String name)
setName
in interface OpenmrsMetadata
setName
in class BaseOpenmrsMetadata
name
- the name to set@Deprecated public java.lang.Boolean isVoided()
isVoided
in interface Voidable
@Deprecated public java.lang.Boolean getVoided()
isVoided()
@Deprecated public void setVoided(java.lang.Boolean voided)
setVoided
in interface Voidable
voided
- The voided status@Deprecated public User getVoidedBy()
getVoidedBy
in interface Voidable
@Deprecated public void setVoidedBy(User voidedBy)
setVoidedBy
in interface Voidable
voidedBy
- The openmrs user that voided this source@Deprecated public java.lang.String getVoidReason()
getVoidReason
in interface Voidable
@Deprecated public void setVoidReason(java.lang.String voidReason)
setVoidReason
in interface Voidable
voidReason
- The reason this source is voidedpublic java.lang.Integer getId()
getId
in interface OpenmrsObject
OpenmrsObject.getId()
public void setId(java.lang.Integer id)
setId
in interface OpenmrsObject
id
- - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |