Class CXiAssigningAuthority
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.metadata.Hl7v2Based<Hl7v2Based.Holder<HD>>
org.openehealth.ipf.commons.ihe.xds.core.metadata.AssigningAuthority
org.openehealth.ipf.commons.ihe.xds.core.metadata.CXiAssigningAuthority
- All Implemented Interfaces:
Serializable
Assigning Authority for the CXi data type, allowing both the Namespace ID and the
combination of Universal ID and Universal ID 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.
- Author:
- Jens Riemschneider, Dmytro Rud
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openehealth.ipf.commons.ihe.xds.core.metadata.Hl7v2Based
Hl7v2Based.Holder<T extends Type>
-
Field Summary
Fields inherited from class org.openehealth.ipf.commons.ihe.xds.core.metadata.Hl7v2Based
MESSAGE
-
Constructor Summary
ConstructorDescriptionCXiAssigningAuthority
(String namespaceId, String universalId, String universalIdType) Constructs an assigning authority.CXiAssigningAuthority
(Hl7v2Based.Holder<HD> hdHolder) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
void
setNamespaceId
(String namespaceId) toString()
Methods inherited from class org.openehealth.ipf.commons.ihe.xds.core.metadata.AssigningAuthority
getUniversalId, getUniversalIdType, setUniversalId, setUniversalIdType
Methods inherited from class org.openehealth.ipf.commons.ihe.xds.core.metadata.Hl7v2Based
getHapiObject, getIntegerValue, getLongValue, isEmpty, parse, rawRender, render, render, setAssigningAuthority, setValue, setValue
-
Constructor Details
-
CXiAssigningAuthority
public CXiAssigningAuthority() -
CXiAssigningAuthority
-
CXiAssigningAuthority
-
CXiAssigningAuthority
Constructs an assigning authority.- Parameters:
namespaceId
- the namespace ID (HD.1).universalId
- the universal ID (HD.2).universalIdType
- the type of the universal ID (HD.3).
-
-
Method Details
-
getNamespaceId
- Returns:
- the namespace ID (HD.1).
-
setNamespaceId
- Parameters:
namespaceId
- the namespace ID (HD.1).
-
equals
- Overrides:
equals
in classAssigningAuthority
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAssigningAuthority
-
toString
- Overrides:
toString
in classAssigningAuthority
-