Exemplo n.º 1
0
        protected void InternalAddStorageInstance(StorageInstance instance)
        {
            if (_participantObjectList.ContainsKey(instance.StudyInstanceUid))
            {
                AuditStudyParticipantObject study = _participantObjectList[instance.StudyInstanceUid] as AuditStudyParticipantObject;

                if (study != null)
                {
                    study.AddStorageInstance(instance);
                }
            }
            else
            {
                AuditStudyParticipantObject o = new AuditStudyParticipantObject(instance.StudyInstanceUid);
                o.AddStorageInstance(instance);
                _participantObjectList.Add(instance.StudyInstanceUid, o);
            }
        }
 /// <summary>
 /// Add details of a study.
 /// </summary>
 /// <param name="study"></param>
 public void AddStudyParticipantObject(AuditStudyParticipantObject study)
 {
     InternalAddParticipantObject(study.StudyInstanceUid, study);
 }