xp_comm_proj/rd_dicom/Papyrus3/PapyInitModules3.c
/********************************************************************************/
/*										*/
/*	init_StudyContent : initializes the elements of the module		*/
/*	Study Content 								*/
/*										*/
/********************************************************************************/
init_StudyContent : initializes the elements of the module
Study Content
init_StudyContent : initializes the elements of the module Study Content
void
init_StudyContent (SElement ioElem [])
{
  SElement	*theWrkP;
  theWrkP = &ioElem [papStudyIDSCt];
  theWrkP->group = 0x0020;
  theWrkP->element = 0x0010;
  theWrkP->length = 0L;
  theWrkP->vr = SH;
  theWrkP->vm = "1";
  theWrkP->type_t = T2;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papStudyInstanceUIDSCt];
  theWrkP->group = 0x0020;
  theWrkP->element = 0x000D;
  theWrkP->length = 0L;
  theWrkP->vr = UI;
  theWrkP->vm = "1";
  theWrkP->type_t = T1;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papReferencedSeriesSequenceSCt];
  theWrkP->group = 0x0008;
  theWrkP->element = 0x1115;
  theWrkP->length = 0L;
  theWrkP->vr = SQ;
  theWrkP->vm = "0-n";
  theWrkP->type_t = T1;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
}
void init_StudyContent ( SElement ioElem [ ] ) { SElement * theWrkP ; theWrkP = & ioElem [ papStudyIDSCt ] ; theWrkP -> group = 0x0020 ; theWrkP -> element = 0x0010 ; theWrkP -> length = 0L ; theWrkP -> vr = SH ; theWrkP -> vm = " " ; theWrkP -> type_t = T2 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papStudyInstanceUIDSCt ] ; theWrkP -> group = 0x0020 ; theWrkP -> element = 0x000D ; theWrkP -> length = 0L ; theWrkP -> vr = UI ; theWrkP -> vm = " " ; theWrkP -> type_t = T1 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papReferencedSeriesSequenceSCt ] ; theWrkP -> group = 0x0008 ; theWrkP -> element = 0x1115 ; theWrkP -> length = 0L ; theWrkP -> vr = SQ ; theWrkP -> vm = " " ; theWrkP -> type_t = T1 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; }
init_StudyContent : initializes the elements of the module
Study Content
init_StudyContent : initializes the elements of the module Study Content