org.hl7.rim

Interface InfrastructureRoot

public interface InfrastructureRoot extends RimObject

Interface for RIM class InfrastructureRoot.

This abstract class is a super-type for all RIM classes, either directly or through inheritance. It provides a set of communication infrastructure attributes that may be used in instances of HL7-specified, RIM-based communications. When valued in a communication instance, these attributes indicate whether the information structure is being constrained by specifically defined templates, realms or common communication element types.

In general, constraint declarations, such as those communicated in this class's attributes, may occur wherever a RIM class or one of its derived clones is instantiated in an HL7 communication. Thus the attributes must be available in all RIM classes and clones.

Method Summary
CSgetNullFlavor()
Gets attribute nullFlavor of type CS and cardinality 0..1.
SET<CS>getRealmCode()
Gets attribute realmCode of type SET and cardinality 0..*.
SET<OID>getTemplateId()
Gets attribute templateId of type SET and cardinality 0..*.
SET<OID>getTypeId()
Gets attribute typeId of type SET and cardinality 0..*.
voidsetNullFlavor(CS value)
Sets attribute nullFlavor of type CS and cardinality 0..1.
voidsetRealmCode(SET<CS> value)
Sets attribute realmCode of type SET and cardinality 0..*.
voidsetTemplateId(SET<OID> value)
Sets attribute templateId of type SET and cardinality 0..*.
voidsetTypeId(SET<OID> value)
Sets attribute typeId of type SET and cardinality 0..*.

Method Detail

getNullFlavor

public CS getNullFlavor()
Gets attribute nullFlavor of type CS and cardinality 0..1.

When valued in an instance, this attribute signals that the class instance is null, and that the remainder of the information for this class and its properties will not be communicated. The value of this attribute specifies the flavor of null that is intended.

Returns: the attribute value

getRealmCode

public SET<CS> getRealmCode()
Gets attribute realmCode of type SET and cardinality 0..*.

When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question.

Returns: the attribute value

getTemplateId

public SET<OID> getTemplateId()
Gets attribute templateId of type SET and cardinality 0..*.

When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question.

Returns: the attribute value

getTypeId

public SET<OID> getTypeId()
Gets attribute typeId of type SET and cardinality 0..*.

When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question.

Returns: the attribute value

setNullFlavor

public void setNullFlavor(CS value)
Sets attribute nullFlavor of type CS and cardinality 0..1.

When valued in an instance, this attribute signals that the class instance is null, and that the remainder of the information for this class and its properties will not be communicated. The value of this attribute specifies the flavor of null that is intended.

Parameters: value the new attribute value

setRealmCode

public void setRealmCode(SET<CS> value)
Sets attribute realmCode of type SET and cardinality 0..*.

When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question.

Parameters: value the new attribute value

setTemplateId

public void setTemplateId(SET<OID> value)
Sets attribute templateId of type SET and cardinality 0..*.

When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question.

Parameters: value the new attribute value

setTypeId

public void setTypeId(SET<OID> value)
Sets attribute typeId of type SET and cardinality 0..*.

When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question.

Parameters: value the new attribute value