org.hl7.rim

Interface AcknowledgementDetail

public interface AcknowledgementDetail extends RimObject

Interface for RIM class AcknowledgementDetail.

A message that provides information about the communication, parsing or non-business-rule validation of the message being acknowledged.

Method Summary
AcknowledgementgetAcknowledgement()
Gets association 'acknowledgement' to RIM class Acknowledgement with cardinality (1..1).
CEgetCode()
Gets attribute code of type CE and cardinality 0..1.
SET<ST>getLocation()
Gets attribute location of type SET and cardinality 0..*.
EDgetText()
Gets attribute text of type ED and cardinality 0..1.
CSgetTypeCode()
Gets attribute typeCode of type CS and cardinality 0..1.
voidsetAcknowledgement(Acknowledgement value)
Sets association 'acknowledgement' to RIM class Acknowledgement with cardinality (1..1).
voidsetCode(CE value)
Sets attribute code of type CE and cardinality 0..1.
voidsetLocation(SET<ST> value)
Sets attribute location of type SET and cardinality 0..*.
voidsetText(ED value)
Sets attribute text of type ED and cardinality 0..1.
voidsetTypeCode(CS value)
Sets attribute typeCode of type CS and cardinality 0..1.

Method Detail

getAcknowledgement

public Acknowledgement getAcknowledgement()
Gets association 'acknowledgement' to RIM class Acknowledgement with cardinality (1..1).

Identifies the relationship between an acknowledgment and the error, warning and informational detail accompanying that acknowledgment.

Returns: the reference to the linked class

getCode

public CE getCode()
Gets attribute code of type CE and cardinality 0..1.

A code identifying the specific message to be provided.

Discussion: A textual value may be specified as the print name, or for non-coded messages, as the original text.

Examples: 'Required attribute xxx is missing', 'System will be unavailable March 19 from 0100 to 0300'

Returns: the attribute value

getLocation

public SET<ST> getLocation()
Gets attribute location of type SET and cardinality 0..*.

Identifies a position within the message being acknowledged that is related to the message.

Discussion: Not all messages will have an associated location. Some messages may relate to multiple locations.

Example: There is no location for a missing element, and there may be two locations if two elements violate a conditionality constraint.

Returns: the attribute value

getText

public ED getText()
Gets attribute text of type ED and cardinality 0..1.

Identifies additional diagnostic information relevant to the message.

Discussion: This may be free text or structured data (e.g. XML).

Examples: Java exception, memory dump, internal error code, call-stack information, etc.

Returns: the attribute value

getTypeCode

public CS getTypeCode()
Gets attribute typeCode of type CS and cardinality 0..1.

Identifies the kind of information specified in the acknowledgement message. Options are: Error, Warning or Information.

Returns: the attribute value

setAcknowledgement

public void setAcknowledgement(Acknowledgement value)
Sets association 'acknowledgement' to RIM class Acknowledgement with cardinality (1..1).

Identifies the relationship between an acknowledgment and the error, warning and informational detail accompanying that acknowledgment.

Parameters: value the new association value

setCode

public void setCode(CE value)
Sets attribute code of type CE and cardinality 0..1.

A code identifying the specific message to be provided.

Discussion: A textual value may be specified as the print name, or for non-coded messages, as the original text.

Examples: 'Required attribute xxx is missing', 'System will be unavailable March 19 from 0100 to 0300'

Parameters: value the new attribute value

setLocation

public void setLocation(SET<ST> value)
Sets attribute location of type SET and cardinality 0..*.

Identifies a position within the message being acknowledged that is related to the message.

Discussion: Not all messages will have an associated location. Some messages may relate to multiple locations.

Example: There is no location for a missing element, and there may be two locations if two elements violate a conditionality constraint.

Parameters: value the new attribute value

setText

public void setText(ED value)
Sets attribute text of type ED and cardinality 0..1.

Identifies additional diagnostic information relevant to the message.

Discussion: This may be free text or structured data (e.g. XML).

Examples: Java exception, memory dump, internal error code, call-stack information, etc.

Parameters: value the new attribute value

setTypeCode

public void setTypeCode(CS value)
Sets attribute typeCode of type CS and cardinality 0..1.

Identifies the kind of information specified in the acknowledgement message. Options are: Error, Warning or Information.

Parameters: value the new attribute value