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 />

42<br />

See Also<br />

MC_Add_Standard_Attribute MC_Delete_Attribute<br />

MC_Add_Private_Attribute MC_Delete_Private_Attribute<br />

MC_Add_Private_Block MC_Delete_Range<br />

MC_Add_Nonstandard_Attribute<br />

MC_Delete_Range<br />

Removes a range of attributes from a message object.<br />

Synopsis<br />

#include “mc3msg.h”<br />

MC_STATUS MC_Delete_Range (<br />

int MsgFileItemID,<br />

unsigned long FirstTag,<br />

unsigned long LastTag<br />

)<br />

MsgFileItemID The identifier assigned to this object by the<br />

MC_Open_Message, MC_Open_Empty_Message,<br />

MC_Create_File, MC_Create_Empty_File, or MC_Open_Item<br />

functions.<br />

FirstTag Identifier of the first attribute which is to be removed from the<br />

message object.<br />

LastTag Identifier of the last attribute which is to be removed from the<br />

message object.<br />

Remarks<br />

MC_Delete_Range removes a range of attributes (standard or nonstandard)<br />

from an existing message. Removing these attributes may make the message<br />

non-conformant to DICOM since all necessary attributes are determined by the<br />

service and command specified by MC_Open_Message. All attributes with tags<br />

equal to or greater than FirstTag and equal to or less than LastTag will be<br />

removed. FirstTag and LastTag need not exist in the message.<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_INVALID_MESSAGE_ID MsgFileItemID is not a valid message<br />

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

See Also<br />

MC_Add_Standard_Attribute MC_Delete_Attribute<br />

MC_Add_Private_Attribute MC_Delete_Private_Attribute<br />

MC_Add_Private_Block MC_Delete_Private_Block<br />

MC_Add_Nonstandard_Attribute

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

Saved successfully!

Ooh no, something went wrong!