Материал: part02

Внимание! Если размещение файла нарушает Ваши авторские права, то обязательно сообщите нам

DICOM PS3.2 2020a - Conformance​

Page 91​

Storage

 

Image

AE

 

Manager

 

 

 

1.Open Association

2.C-STORE (RF Image)

3.C-STORE (GSPS)

4.C-STORE (RF Image)

5.C-STORE (GSPS)

6 N-ACTION (Storage Commitment Request for Images & GSPS)

7.N-EVENT-REPORT (Storage Commitment Response)

8.Close Association

Figure B.4.2-1. Sequencing of Activity - Send Images​

A possible sequence of interactions between the Storage AE and an Image Manager (e.g., a storage or archive device supporting​ the Storage and Storage Commitment SOP Classes as an SCP) is illustrated in Figure B.4.2-1:​

1.​The Storage AE opens an association with the Image Manager​

2.​An acquired RF image is transmitted to the Image Manager using a C-STORE request and the Image Manager replies with a C-​ STORE response (status success).​

3.​AGSPSinstanceistransmittedtotheImageManagerusingaC-STORErequestandtheImageManagerreplieswithaC-STORE​ response (status success).​

4.​Another acquired RF image is transmitted to the Image Manager using a C-STORE request and the Image Manager replies with​ a C-STORE response (status success).​

5.​Another GSPS instance is transmitted to the Image Manager using a C-STORE request and the Image Manager replies with a​ C-STORE response (status success).​

6.​An N-ACTION request is transmitted to the Image Manager to obtain storage commitment of previously transmitted RF images​ and GSPS instances. The Image Manager replies with a N-ACTION response indicating the request has been received and is​ being processed.​

7.​The Image Manager immediately transmits an N-EVENT-REPORT request notifying the Storage AE of the status of the Storage​ CommitmentRequest(sentinstep6usingtheN-ACTIONmessage).TheStorageAEreplieswithaN-EVENT-REPORTresponse​ confirming receipt. The Image Manager could send this message at any time or omit it entirely in favor of transmitting the N-​ EVENT-REPORT over a separate dedicated association (see note).​

8.​The Storage AE closes the association with the Image Manager.​

Note​

ManyothermessagesequencesarepossibledependingonthenumberofimagesandGSPSinstancestobestored,support​ for Storage Commitment and when the SCP sends the N-EVENT-REPORT. The N-EVENT-REPORT can also be sent over​ a separate association initiated by the Image Manager (see Section B.4.2.1.4.1 on Activity - Receive Storage Commitment​ Response).​

B.4.2.1.3.1.2 Proposed Presentation Contexts​

EXAMPLE-INTEGRATED-MODALITY is capable of proposing the Presentation Contexts shown in the following table:​

- Standard -​

Page 92​ DICOM PS3.2 2020a - Conformance​

Table B.4.2-7. Proposed Presentation Contexts for Activity Send Images​

 

 

Presentation Context Table​

 

 

 

Abstract Syntax​

Transfer Syntax​

Role​

Extended​

Name​

UID​

Name List​

UID List​

 

Negotiation​

 

 

X-Ray Radio​

1.2.840.10008.5.1.4.1.1.12.2​Implicit VR Little Endian​

1.2.840.10008.1.2​

SCU​

None​

Fluoroscopic Image​

 

Explicit VR Little Endian​ 1.2.840.10008.1.2.1​

 

 

Storage​

 

 

 

Grayscale Softcopy​

1.2.840.10008.5.1.4.1.1.11.1​Implicit VR Little Endian​ 1.2.840.10008.1.2​

SCU​

None​

Presentation State​

 

Explicit VR Little Endian​ 1.2.840.10008.1.2.1​

 

 

Storage​

 

 

 

Storage Commitment​

1.2.840.10008.1.20.1​

Implicit VR Little Endian​ 1.2.840.10008.1.2​

SCU​

None​

Push Model​

 

Explicit VR Little Endian​ 1.2.840.10008.1.2.1​

 

 

 

 

 

 

Presentation Contexts for X-Ray Radio Fluoroscopic Image Storage or Grayscale Softcopy Presentation State Storage will only be​ proposed if the Send Job contains instances for these SOP Classes.​

A Presentation Context for the Storage Commitment Push Model will only be proposed if the Remote AE is configured as an archive​ device.​

B.4.2.1.3.1.3 SOP Specific Conformance Image & Pres State Storage SOP Classes​

All Image & Presentation State Storage SOP Classes supported by the Storage AE exhibit the same behavior, except where stated,​ and are described together in this section.​

If X-Ray Radio Fluoroscopic Image Storage SOP Instances are included in the Send Job and a corresponding Presentation Context​ is not accepted then the Association is aborted using AP-ABORT and the send job is marked as failed. The job failure is logged and​ reported to the user via the job control application.​

If Grayscale Softcopy Presentation State Storage SOP Instances are included in the Send Job and a corresponding Presentation​ Context cannot be negotiated then Grayscale Softcopy Presentation State Storage SOP Instances will not be sent and a warning is​ logged. Any remaining Image Storage SOP Instances included in the Send Job will be transmitted. Failure to negotiate a Presentation​ ContextforGrayscaleSoftcopyPresentationStateStoragedoesnotinitselfcausetheSendJobtobemarkedasfailed.Thebehavior​ of Storage AE when encountering status codes in a C-STORE response is summarized in the Table below:​

Table B.4.2-8. Storage C-STORE Response Status Handling Behavior​

Service Status​ Further Meaning​

Error Code​

Behavior​

Success​

Success​

0000​

The SCP has successfully stored the SOP Instance. If all SOP​

 

 

 

Instancesina sendjobhavestatus successthen thejobis marked​

 

 

 

as complete.​

Refused​

Out of Resources​

A700-A7FF​

The Association is aborted using A-ABORT and the send job is​

 

 

 

marked as failed. The status meaning is logged and the job failure​

 

 

 

is reported to the user via the job control application. This is a​

 

 

 

transient failure.​

Error​

Data Set does not match​A900-A9FF​

 

SOP Class​

The Association is aborted using A-ABORT and the send job is​ marked as failed. The status meaning is logged and the job failure​ is reported to the user via the job control application.​

Error​

Cannot Understand​

C000-CFFF​

The Association is aborted using A-ABORT and the send job is​

 

 

 

marked as failed. The status meaning is logged and the job failure​

 

 

 

is reported to the user via the job control application.​

Warning​

CoercionofDataElements​B000​

Imagetransmissionisconsideredsuccessfulbutthestatusmeaning​

 

 

 

is logged.​

Warning​

Data Set does not match​B007​

Imagetransmissionisconsideredsuccessfulbutthestatusmeaning​

 

SOP Class​

 

is logged.​

- Standard -​

 

 

DICOM PS3.2 2020a - Conformance​

Page 93​

Service Status​ Further Meaning​

Error Code​

Behavior​

 

Warning​

Elements Discarded​

B006​

Imagetransmissionisconsideredsuccessfulbutthestatusmeaning​

 

 

 

is logged.​

 

*​

*​

Any other status​ The Association is aborted using A-ABORT and the send job is​

 

 

code.​

marked as failed. The status code is logged and the job failure is​

 

 

 

reported to the user via the job control application.​

 

The behavior of Storage AE during communication failure is summarized in the Table below:​

 

 

Table B.4.2-9. Storage Communication Failure Behavior​

 

 

Exception​

 

Behavior​

 

Timeout​

 

The Association is aborted using A-ABORT and the send job is marked as failed. The​

 

 

reason is logged and the job failure is reported to the user via the job control application.​

AssociationabortedbytheSCPornetwork​The send job is marked as failed. The reason is logged and the job failure is reported to​ layers​ the user via the job control application.​

A failed send job can be restarted by user interaction. The system can be configured to automatically resend failed jobs if a transient​ status code is received. The delay between resending failed jobs and the number of retries is also configurable.​

The contents of X-Ray Radio Fluoroscopic Image Storage SOP Instances created by EXAMPLE-INTEGRATED-MODALITY conform​ to the DICOM X-Ray Radio Fluoroscopic Image IOD definition and are described in Section B.8.1.​

The contents of Grayscale Softcopy Presentation State Storage SOP Instances created by EXAMPLE-INTEGRATED-MODALITY​ conform to the DICOM Grayscale Softcopy Presentation State IOD and are described in Section B.8.1.​

Grayscale Softcopy Presentation State Storage SOP Instances are created upon user request (e.g., explicitly via "Save" or implicitly​ via "Close Patient") in order to save the most recent visual appearance of an image (e.g., window center/width, shutters, graphic an-​ notations). When saving the visual appearance, a default Presentation Label will be supplied, which the user can change. The user​ also has the possibility to enter a detailed Presentation Description. If multiple images from the same study are being displayed the​ request to save the visual appearance will create one or more Presentation States referencing all displayed images. If images from​ multiple studies are being displayed at least a separate Presentation State will be created for each study.​

WhendisplayinganexistingimagethemostrecentlysavedGrayscaleSoftcopyPresentationStatecontainingreferencestotheimage​ will be automatically applied. The user has the option to select other Presentation States that also reference the image.​

Grayscale Softcopy Presentation State Storage SOP Instances created by EXAMPLE-INTEGRATED-MODALITY will only reference​ instances of X-Ray Radio Fluoroscopic Image Storage SOP Instances.​

GraphicalannotationsandshuttersareonlystoredinGrayscaleSoftcopyPresentationStateobjects.RemoteAEsthatdonotsupport​ the Grayscale Softcopy Presentation State Storage SOP Class will not have access to graphical annotations or shutters created by​ EXAMPLE-INTEGRATED-MODALITY.​

B.4.2.1.3.1.4 SOP Specific Conformance for Storage Commitment SOP Class​

B.4.2.1.3.1.4.1 Storage Commitment Operations (N-ACTION)​

The Storage AE will request storage commitment for instances of the X-Ray Radio Fluoroscopic Image Storage SOP Class and​ Grayscale Softcopy Presentation State Storage SOP Class if the Remote AE is configured as an archive device and a presentation​ context for the Storage Commitment Push Model has been accepted.​

The Storage AE will consider Storage Commitment failed if no N-EVENT-REPORT is received for a Transaction UID within a config-​ urable time period after receiving a successful N-ACTION response (duration of applicability for a Transaction UID).​

TheStorageAEdoesnotsendtheoptionalStorageMediaFileSetID&UIDAttributesortheReferencedStudyComponentSequence​

Attribute in the N-ACTION​

The behavior of Storage AE when encountering status codes in a N-ACTION response is summarized in the Table below:​

- Standard -​

Page 94​ DICOM PS3.2 2020a - Conformance​

Table B.4.2-10. Storage Commitment N-ACTION Response Status Handling Behavior​

Service Status​ Further Meaning​

Error Code​

Behavior​

Success​

Success​

0000​

The request for storage comment is considered successfully sent. A​

 

 

 

 

timer is started that will expire if no N-EVENT-REPORT for the​

 

 

 

 

Transaction UID is received within a configurable timeout period.​

*​

*​

Any other status code.​The Association is aborted using A-ABORT and the request for​

 

 

 

 

storage comment is marked as failed. The status meaning is logged​

 

 

 

 

and reported to the user.​

The behavior of Storage AE during communication failure is summarized in the Table below:​

 

Table B.4.2-11. Storage Commitment Communication Failure Behavior​

 

Exception​

 

 

Behavior​

Timeout​

 

 

The Association is aborted using A-ABORT and the send job is marked as failed. The​

 

 

 

reason is logged and the job failure is reported to the user via the job control application.​

AssociationabortedbytheSCPornetwork​The send job is marked as failed. The reason is logged and the job failure is reported to​ layers​ the user via the job control application.​

B.4.2.1.3.1.4.2 Storage Commitment Notifications (N-EVENT-REPORT)​

The Storage AE is capable of receiving an N-EVENT-REPORT notification if it has successfully negotiated a Presentation Context​ for the Storage Commitment Push Model (i.e., only associations established with archive devices).​

Upon receipt of a N-EVENT-REPORT the timer associated with the Transaction UID will be canceled.​

The behavior of Storage AE when receiving Event Types within the N-EVENT-REPORT is summarized in the Table below.​

Table B.4.2-12. Storage Commitment N-EVENT-REPORT Behavior​

Event Type Name​

Event​

Behavior​

 

Type ID​

 

Storage Commitment​

1​ TheReferencedSOPInstancesunderReferencedSOPSequence(0008,1199)aremarked​

Request Successful​

 

within the database as "Stored & Committed (SC) " to the value of Retrieve AE Title​

 

 

(0008,0054).SuccessfullycommittedSOPInstancesarecandidatesforautomaticdeletion​

 

 

from the local database if local resources become scarce. The conditions under which​

 

 

automatic deletion is initiated and the amount of space freed are site configurable. SOP​

 

 

Instanceswillnotbedeletediftheyaremarkedwithalockflag.Theleastrecentlyaccessed​

 

 

SOP Instances are deleted first.​

Storage Commitment​

2​ TheReferencedSOPInstancesunderReferencedSOPSequence(0008,1199)aretreated​

Request Complete - Failures​

 

in the same way as in the success case (Event Type 1). The Referenced SOP Instances​

Exist​

 

under Failed SOP Sequence (0008,1198) are marked within the database as "Store &​

 

 

Commit Failed (Sf) ". The Failure Reasons are logged and the job failure is reported to​

 

 

the user via the job control application. A send job that failed storage commitment will not​

 

 

be automatically restarted but can be restarted by user interaction.​

The reasons for returning specific status codes in a N-EVENT-REPORT response are summarized in the Table below.​

Table B.4.2-13. Storage Commitment N-EVENT-REPORT Response Status Reasons​

Service Status​ Further Meaning​

Error Code​

Reasons​

Success​

Success​

0000​

The storage commitment result has been successfully received.​

Failure​

Unrecognized Operation​0211H​

The Transaction UID in the N-EVENT-REPORT request is not​

 

 

 

recognized (was never issued within an N-ACTION request).​

- Standard -​

 

 

DICOM PS3.2 2020a - Conformance​

Page 95​

Service Status​ Further Meaning​

Error Code​

Reasons​

 

Failure​

Resource Limitation​

0213H​

TheTransactionUIDintheN-EVENT-REPORTrequesthasexpired​

 

 

 

(no N-EVENT-REPORT was received within a configurable time​

 

 

 

limit).​

 

Failure​

No Such Event Type​

0113H​

An invalid Event Type ID was supplied in the N-EVENT-REPORT​

 

 

 

request.​

 

Failure​

Processing Failure​

0110H​

An internal error occurred during processing of the​

 

 

 

 

N-EVENT-REPORT. A short description of the error will be returned​

 

 

 

in Error Comment (0000,0902).​

 

Failure​

Invalid Argument Value​

0115H​

OneormoreSOPInstanceUIDswiththeReferencedSOPSequence​

 

 

 

(0008,1199)orFailedSOPSequence(0008,1198)wasnotincluded​

 

 

 

intheStorageCommitmentRequestassociatedwiththisTransaction​

 

 

 

UID. The unrecognized SOP Instance UIDs will be returned within​

 

 

 

the Event Information of the N-EVENT-REPORT response.​

B.4.2.1.4 Association Acceptance Policy​

B.4.2.1.4.1 Activity - Receive Storage Commitment Response​

B.4.2.1.4.1.1 Description and Sequencing of Activities​

The Storage AE will accept associations in order to receive responses to a Storage Commitment Request.​

Storage

 

Image

AE

 

Manager

 

 

 

1.Open Association

2.N-EVENT-REPORT (Storage Commitment Response)

3.Close Association

Figure B.4.2-2. Sequencing of Activity - Receive Storage Commitment Response​

A possible sequence of interactions between the Storage AE and an Image Manager (e.g., a storage or archive device supporting​ Storage Commitment SOP Classes as an SCP) is illustrated in the Figure above:​

1.​The Image Manager opens a new association with the Storage AE.​

2.​TheImageManagersendsanN-EVENT-REPORTrequestnotifyingtheStorageAEofthestatusofapreviousStorageCommitment​ Request. The Storage AE replies with a N-EVENT-REPORT response confirming receipt.​

3.​The Image Manager closes the association with the Storage AE.​

TheStorageAEmayrejectassociationattemptsasshownintheTablebelow.TheResult,SourceandReason/Diagcolumnsrepresent​ the values returned in the appropriate fields of an ASSOCIATE-RJ PDU (see Section 9.3.4 in PS3.8). The contents of the Source​ column is abbreviated to save space and the meaning of the abbreviations are:​

a.​1 - DICOM UL service-user​

b.​2 - DICOM UL service-provider (ASCE related function)​

c.​3 - DICOM UL service-provider (Presentation related function)​

- Standard -​