18.12.2012 Views

Configuration - Merge Healthcare

Configuration - Merge Healthcare

Configuration - Merge Healthcare

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Merge</strong> DICOM Toolkit Reference Manual<br />

20<br />

Remarks<br />

MC_Add_Private_Attribute adds an attribute that does not exist in the Data<br />

Dictionary (a private attribute) to an existing message. A message can have<br />

private attributes and still conform to DICOM, as long as the attributes are not<br />

equivalent to and do not replace standard attributes. Private attributes are stored<br />

in an odd-number Group (the high-order portion of a DICOM tag). An identifying<br />

PrivateCode must be supplied to differentiate one owner’s block of private<br />

attributes from another in any given Group. Since the attribute is not in the Data<br />

Dictionary, it is necessary to supply the value representation of the attribute’s<br />

values: ValueRep.<br />

Return Value<br />

One of these enumerated MC_STATUS codes define in “mcstatus.h”:<br />

Value Meaning<br />

MC_NORMAL_COMPLETION The function completed normally.<br />

MC_NULL_POINTER_PARM PrivateCode was NULL.<br />

MC_INVALID_MESSAGE_ID MsgFileItemID is not a valid message<br />

object ID, file object ID, or item object<br />

ID.<br />

MC_NOT_FOUND There is no private block identified by<br />

PrivateCode.<br />

MC_INVALID_GROUP Group is not an odd number.<br />

MC_INVALID_VR_CODE ValueRep is invalid.<br />

MC_TAG_ALREADY_EXISTS The private attribute already exists in the<br />

message object.<br />

MC_SYSTEM_ERROR An unexpected, potentially serious,<br />

problem was detected in the operating<br />

environment. A message describing the<br />

error has been written to the <strong>Merge</strong><br />

DICOM Toolkit log file.<br />

See Also<br />

MC_Add_Standard_Attribute MC_Delete_Attribute<br />

MC_Add_Private_Attribute MC_Delete_Private_Attribute<br />

MC_Add_Nonstandard_Attribute MC_Delete_Private_Block<br />

MC_Delete_Range

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!