public class Organization extends Hl7v2Based<ca.uhn.hl7v2.model.v25.datatype.XON>
This class contains members from the HL7v2.5 XON data type.
All members of this class are allowed to be null
. When transforming
to HL7 this indicates that the values are empty. Trailing empty values are
removed from the HL7 string.
MESSAGE
Constructor and Description |
---|
Organization()
Constructs the organization.
|
Organization(String organizationName)
Constructs the organization.
|
Organization(String organizationName,
String idNumber,
AssigningAuthority assigningAuthority)
Constructs the organization.
|
Organization(ca.uhn.hl7v2.model.v25.datatype.XON xon)
Constructs the organization.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
AssigningAuthority |
getAssigningAuthority() |
String |
getIdNumber() |
String |
getOrganizationName() |
int |
hashCode() |
void |
setAssigningAuthority(AssigningAuthority assigningAuthority) |
void |
setIdNumber(String idNumber) |
void |
setOrganizationName(String organizationName) |
String |
toString() |
getHapiObject, getIntegerValue, getLongValue, isEmpty, parse, rawRender, render, render, setAssigningAuthority, setValue, setValue
public Organization()
public Organization(ca.uhn.hl7v2.model.v25.datatype.XON xon)
xon
- parsed HL7 v2 element.public Organization(String organizationName)
organizationName
- the name of the organization (XON.1).public Organization(String organizationName, String idNumber, AssigningAuthority assigningAuthority)
organizationName
- the name of the organization (XON.1).idNumber
- the id of the organization (XON.10).assigningAuthority
- the assigning authority (XON.6).public AssigningAuthority getAssigningAuthority()
public void setAssigningAuthority(AssigningAuthority assigningAuthority)
assigningAuthority
- the assigning authority (XON.6).public String getOrganizationName()
public void setOrganizationName(String organizationName)
organizationName
- the name of the organization (XON.1).public String getIdNumber()
public void setIdNumber(String idNumber)
idNumber
- the id of the organization (XON.10).Copyright © 2018 Open eHealth Foundation. All rights reserved.