HDR HL7 Domain Constants
Domain constants provide consistent definitions for structural codes. The names of the classes correspond to HL7 vocabulary domains that are coded no exceptions (CNE). Domain constants should be used wherever possible.
- Import the ActStatus Domain Class (see Example 7-2)
- Use the ActStatus Domain Class to Set Status Code (see Example 7-3)
Example 7-2 Import the ActStatus Domain Class
Import the ActStatus Domain Class
import oracle.hsgbu.hdr.hl7.rim.domain.ActStatus;
Example 7-3 Use the ActStatus Domain Class to Set Status Code
Use the ActStatus domain class to set the status code on an act that is being created or updated.
act.setStatusCode(ActStatus.ACTIVE);
The following domain classes are available:
- AcknowledgementCondition
- AcknowledgementType
- ActClass
- ActMood
- ActRelationshipCheckpoint
- ActRelationshipJoin
- ActRelationshipSplit
- ActRelationshipType
- ActStatus
- ActUncertainty
- BinaryDataEncoding
- CommunicationFunctionType
- ContextControl
- EntityClass
- EntityDeterminer
- EntityStatus
- LocalMarkupIgnore
- ManagedParticipationStatus
- ModifyIndicator
- NullFlavor
- ParticipationSignature
- ParticipationType
- ProcessingID
- ProcessingMode
- QueryPriority
- QueryResponse
- QueryStatusCode
- RelationalOperator
- RelationshipConjunction
- ResponseLevel
- ResponseModality
- RoleClass
- RoleLinkType
- RoleStatus
- Sequencing