public class Code extends Hl7v2Based<ca.uhn.hl7v2.model.v25.datatype.CE>
All members of this class are allowed to be null
.
MESSAGE
Constructor and Description |
---|
Code()
Constructs a code.
|
Code(ca.uhn.hl7v2.model.v25.datatype.CE ce)
Constructs a code.
|
Code(String code,
LocalizedString displayName,
String schemeName)
Constructs a code.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getCode() |
LocalizedString |
getDisplayName() |
String |
getSchemeName() |
int |
hashCode() |
void |
setCode(String code) |
void |
setDisplayName(LocalizedString displayName) |
void |
setSchemeName(String schemeName) |
String |
toString() |
getHapiObject, getIntegerValue, getLongValue, isEmpty, parse, rawRender, render, render, setAssigningAuthority, setValue, setValue
public Code()
public Code(ca.uhn.hl7v2.model.v25.datatype.CE ce)
public Code(String code, LocalizedString displayName, String schemeName)
code
- the value of the code.displayName
- the display name of the code.schemeName
- the schema of the code.public String getCode()
public void setCode(String code)
code
- the value of this code.public LocalizedString getDisplayName()
public void setDisplayName(LocalizedString displayName)
displayName
- the display name of this code.public String getSchemeName()
public void setSchemeName(String schemeName)
schemeName
- the schema of this code.Copyright © 2018 Open eHealth Foundation. All rights reserved.