comparison OrthancServer/ServerEnumerations.cpp @ 1724:7e0b5e413c7c db-changes

C-Move SCP for studies using AccessionNumber tag
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 20 Oct 2015 11:02:06 +0200
parents 3bcb01028107
children 53e045b5a8ec
comparison
equal deleted inserted replaced
1723:40a8445fc81d 1724:7e0b5e413c7c
362 362
363 default: 363 default:
364 throw OrthancException(ErrorCode_ParameterOutOfRange); 364 throw OrthancException(ErrorCode_ParameterOutOfRange);
365 } 365 }
366 } 366 }
367
368
369 DicomTag GetIdentifierTag(ResourceType level)
370 {
371 switch (level)
372 {
373 case ResourceType_Patient:
374 return DICOM_TAG_PATIENT_ID;
375
376 case ResourceType_Study:
377 return DICOM_TAG_STUDY_INSTANCE_UID;
378
379 case ResourceType_Series:
380 return DICOM_TAG_SERIES_INSTANCE_UID;
381
382 case ResourceType_Instance:
383 return DICOM_TAG_SOP_INSTANCE_UID;
384
385 default:
386 throw OrthancException(ErrorCode_ParameterOutOfRange);
387 }
388 }
389 } 367 }