Versions in this module Expand all Collapse all v1 v1.0.1 Dec 14, 2020 Changes in this version + const CurrentProtocolVersion + const DICOMApplicationContextItemName + const ItemTypeAbstractSyntax + const ItemTypeApplicationContext + const ItemTypeAsynchronousOperationsWindow + const ItemTypeImplementationClassUID + const ItemTypeImplementationVersionName + const ItemTypePresentationContextRequest + const ItemTypePresentationContextResponse + const ItemTypeRoleSelection + const ItemTypeTransferSyntax + const ItemTypeUserInformation + const ItemTypeUserInformationMaximumLength + const TypeAAbort + const TypeAAssociateAc + const TypeAAssociateRj + const TypeAAssociateRq + const TypeAReleaseRp + const TypeAReleaseRq + const TypePDataTf + func EncodePDU(pdu PDU) ([]byte, error) + type AAbort struct + Reason AbortReasonType + Source SourceType + func (pdu *AAbort) String() string + func (pdu *AAbort) WritePayload(e *dicomio.Encoder) + type AAssociate struct + CalledAETitle string + CallingAETitle string + Items []SubItem + ProtocolVersion uint16 + Type Type + func (pdu *AAssociate) String() string + func (pdu *AAssociate) WritePayload(e *dicomio.Encoder) + type AAssociateRj struct + Reason RejectReasonType + Result RejectResultType + Source SourceType + func (pdu *AAssociateRj) String() string + func (pdu *AAssociateRj) WritePayload(e *dicomio.Encoder) + type AReleaseRp struct + func (pdu *AReleaseRp) String() string + func (pdu *AReleaseRp) WritePayload(e *dicomio.Encoder) + type AReleaseRq struct + func (pdu *AReleaseRq) String() string + func (pdu *AReleaseRq) WritePayload(e *dicomio.Encoder) + type AbortReasonType byte + const AbortReasonInvalidPDUParameterValue + const AbortReasonNotSpecified + const AbortReasonUnexpectedPDU + const AbortReasonUnexpectedPDUParameter + const AbortReasonUnrecognizedPDUParameter + func (i AbortReasonType) String() string + type AbstractSyntaxSubItem subItemWithName + func (v *AbstractSyntaxSubItem) String() string + func (v *AbstractSyntaxSubItem) Write(e *dicomio.Encoder) + type ApplicationContextItem subItemWithName + func (v *ApplicationContextItem) String() string + func (v *ApplicationContextItem) Write(e *dicomio.Encoder) + type AsynchronousOperationsWindowSubItem struct + MaxOpsInvoked uint16 + MaxOpsPerformed uint16 + func (v *AsynchronousOperationsWindowSubItem) String() string + func (v *AsynchronousOperationsWindowSubItem) Write(e *dicomio.Encoder) + type ImplementationClassUIDSubItem subItemWithName + func (v *ImplementationClassUIDSubItem) String() string + func (v *ImplementationClassUIDSubItem) Write(e *dicomio.Encoder) + type ImplementationVersionNameSubItem subItemWithName + func (v *ImplementationVersionNameSubItem) String() string + func (v *ImplementationVersionNameSubItem) Write(e *dicomio.Encoder) + type PDU interface + WritePayload func(*dicomio.Encoder) + func ReadPDU(in io.Reader, maxPDUSize int) (PDU, error) + type PDataTf struct + Items []PresentationDataValueItem + func (pdu *PDataTf) String() string + func (pdu *PDataTf) WritePayload(e *dicomio.Encoder) + type PresentationContextItem struct + ContextID byte + Items []SubItem + Result PresentationContextResult + Type byte + func (v *PresentationContextItem) String() string + func (v *PresentationContextItem) Write(e *dicomio.Encoder) + type PresentationContextResult byte + const PresentationContextAccepted + const PresentationContextProviderRejectionAbstractSyntaxNotSupported + const PresentationContextProviderRejectionNoReason + const PresentationContextProviderRejectionTransferSyntaxNotSupported + const PresentationContextUserRejection + func (i PresentationContextResult) String() string + type PresentationDataValueItem struct + Command bool + ContextID byte + Last bool + Value []byte + func ReadPresentationDataValueItem(d *dicomio.Decoder) PresentationDataValueItem + func (v *PresentationDataValueItem) String() string + func (v *PresentationDataValueItem) Write(e *dicomio.Encoder) + type RejectReasonType byte + const RejectReasonApplicationContextNameNotSupported + const RejectReasonCalledAETitleNotRecognized + const RejectReasonCallingAETitleNotRecognized + const RejectReasonNone + func (i RejectReasonType) String() string + type RejectResultType byte + const ResultRejectedPermanent + const ResultRejectedTransient + func (i RejectResultType) String() string + type RoleSelectionSubItem struct + SCPRole byte + SCURole byte + SOPClassUID string + func (v *RoleSelectionSubItem) String() string + func (v *RoleSelectionSubItem) Write(e *dicomio.Encoder) + type SourceType byte + const SourceULServiceProviderACSE + const SourceULServiceProviderPresentation + const SourceULServiceUser + func (i SourceType) String() string + type SubItem interface + Write func(*dicomio.Encoder) + type SubItemUnsupported struct + Data []byte + Type byte + func (item *SubItemUnsupported) String() string + func (item *SubItemUnsupported) Write(e *dicomio.Encoder) + type TransferSyntaxSubItem subItemWithName + func (v *TransferSyntaxSubItem) String() string + func (v *TransferSyntaxSubItem) Write(e *dicomio.Encoder) + type Type byte + func (i Type) String() string + type UserInformationItem struct + Items []SubItem + func (v *UserInformationItem) String() string + func (v *UserInformationItem) Write(e *dicomio.Encoder) + type UserInformationMaximumLengthItem struct + MaximumLengthReceived uint32 + func (v *UserInformationMaximumLengthItem) String() string + func (v *UserInformationMaximumLengthItem) Write(e *dicomio.Encoder)