Versions in this module Expand all Collapse all v1 v1.0.1 Dec 14, 2020 Changes in this version + const CommandDataSetTypeNonNull + const CommandDataSetTypeNull + const CommandFieldCEchoRq + const CommandFieldCEchoRsp + const CommandFieldCFindRq + const CommandFieldCFindRsp + const CommandFieldCGetRq + const CommandFieldCGetRsp + const CommandFieldCMoveRq + const CommandFieldCMoveRsp + const CommandFieldCStoreRq + const CommandFieldCStoreRsp + var Success = Status + func EncodeMessage(e *dicomio.Encoder, v Message) + type CEchoRq struct + CommandDataSetType uint16 + Extra []*dicom.Element + MessageID MessageID + func (v *CEchoRq) CommandField() int + func (v *CEchoRq) Encode(e *dicomio.Encoder) + func (v *CEchoRq) GetMessageID() MessageID + func (v *CEchoRq) GetStatus() *Status + func (v *CEchoRq) HasData() bool + func (v *CEchoRq) String() string + type CEchoRsp struct + CommandDataSetType uint16 + Extra []*dicom.Element + MessageIDBeingRespondedTo MessageID + Status Status + func (v *CEchoRsp) CommandField() int + func (v *CEchoRsp) Encode(e *dicomio.Encoder) + func (v *CEchoRsp) GetMessageID() MessageID + func (v *CEchoRsp) GetStatus() *Status + func (v *CEchoRsp) HasData() bool + func (v *CEchoRsp) String() string + type CFindRq struct + AffectedSOPClassUID string + CommandDataSetType uint16 + Extra []*dicom.Element + MessageID MessageID + Priority uint16 + func (v *CFindRq) CommandField() int + func (v *CFindRq) Encode(e *dicomio.Encoder) + func (v *CFindRq) GetMessageID() MessageID + func (v *CFindRq) GetStatus() *Status + func (v *CFindRq) HasData() bool + func (v *CFindRq) String() string + type CFindRsp struct + AffectedSOPClassUID string + CommandDataSetType uint16 + Extra []*dicom.Element + MessageIDBeingRespondedTo MessageID + Status Status + func (v *CFindRsp) CommandField() int + func (v *CFindRsp) Encode(e *dicomio.Encoder) + func (v *CFindRsp) GetMessageID() MessageID + func (v *CFindRsp) GetStatus() *Status + func (v *CFindRsp) HasData() bool + func (v *CFindRsp) String() string + type CGetRq struct + AffectedSOPClassUID string + CommandDataSetType uint16 + Extra []*dicom.Element + MessageID MessageID + Priority uint16 + func (v *CGetRq) CommandField() int + func (v *CGetRq) Encode(e *dicomio.Encoder) + func (v *CGetRq) GetMessageID() MessageID + func (v *CGetRq) GetStatus() *Status + func (v *CGetRq) HasData() bool + func (v *CGetRq) String() string + type CGetRsp struct + AffectedSOPClassUID string + CommandDataSetType uint16 + Extra []*dicom.Element + MessageIDBeingRespondedTo MessageID + NumberOfCompletedSuboperations uint16 + NumberOfFailedSuboperations uint16 + NumberOfRemainingSuboperations uint16 + NumberOfWarningSuboperations uint16 + Status Status + func (v *CGetRsp) CommandField() int + func (v *CGetRsp) Encode(e *dicomio.Encoder) + func (v *CGetRsp) GetMessageID() MessageID + func (v *CGetRsp) GetStatus() *Status + func (v *CGetRsp) HasData() bool + func (v *CGetRsp) String() string + type CMoveRq struct + AffectedSOPClassUID string + CommandDataSetType uint16 + Extra []*dicom.Element + MessageID MessageID + MoveDestination string + Priority uint16 + func (v *CMoveRq) CommandField() int + func (v *CMoveRq) Encode(e *dicomio.Encoder) + func (v *CMoveRq) GetMessageID() MessageID + func (v *CMoveRq) GetStatus() *Status + func (v *CMoveRq) HasData() bool + func (v *CMoveRq) String() string + type CMoveRsp struct + AffectedSOPClassUID string + CommandDataSetType uint16 + Extra []*dicom.Element + MessageIDBeingRespondedTo MessageID + NumberOfCompletedSuboperations uint16 + NumberOfFailedSuboperations uint16 + NumberOfRemainingSuboperations uint16 + NumberOfWarningSuboperations uint16 + Status Status + func (v *CMoveRsp) CommandField() int + func (v *CMoveRsp) Encode(e *dicomio.Encoder) + func (v *CMoveRsp) GetMessageID() MessageID + func (v *CMoveRsp) GetStatus() *Status + func (v *CMoveRsp) HasData() bool + func (v *CMoveRsp) String() string + type CStoreRq struct + AffectedSOPClassUID string + AffectedSOPInstanceUID string + CommandDataSetType uint16 + Extra []*dicom.Element + MessageID MessageID + MoveOriginatorApplicationEntityTitle string + MoveOriginatorMessageID MessageID + Priority uint16 + func (v *CStoreRq) CommandField() int + func (v *CStoreRq) Encode(e *dicomio.Encoder) + func (v *CStoreRq) GetMessageID() MessageID + func (v *CStoreRq) GetStatus() *Status + func (v *CStoreRq) HasData() bool + func (v *CStoreRq) String() string + type CStoreRsp struct + AffectedSOPClassUID string + AffectedSOPInstanceUID string + CommandDataSetType uint16 + Extra []*dicom.Element + MessageIDBeingRespondedTo MessageID + Status Status + func (v *CStoreRsp) CommandField() int + func (v *CStoreRsp) Encode(e *dicomio.Encoder) + func (v *CStoreRsp) GetMessageID() MessageID + func (v *CStoreRsp) GetStatus() *Status + func (v *CStoreRsp) HasData() bool + func (v *CStoreRsp) String() string + type CommandAssembler struct + func (a *CommandAssembler) AddDataPDU(pdu *pdu.PDataTf) (byte, Message, []byte, error) + type Message interface + CommandField func() int + Encode func(*dicomio.Encoder) + GetMessageID func() MessageID + GetStatus func() *Status + HasData func() bool + func ReadMessage(d *dicomio.Decoder) Message + type MessageID = uint16 + type Status struct + ErrorComment string + Status StatusCode + type StatusCode uint16 + const CFindUnableToProcess + const CMoveDataSetDoesNotMatchSOPClass + const CMoveMoveDestinationUnknown + const CMoveOutOfResourcesUnableToCalculateNumberOfMatches + const CMoveOutOfResourcesUnableToPerformSubOperations + const CStoreCannotUnderstand + const CStoreDataSetDoesNotMatchSOPClass + const CStoreOutOfResources + const StatusAttributeListError + const StatusAttributeValueOutOfRange + const StatusCancel + const StatusInvalidArgumentValue + const StatusInvalidAttributeValue + const StatusInvalidObjectInstance + const StatusNotAuthorized + const StatusPending + const StatusSOPClassNotSupported + const StatusSuccess + const StatusUnrecognizedOperation + func (i StatusCode) String() string