xp_comm_proj/rd_dicom/Papyrus3/PapyInitModules3.c
/********************************************************************************/
/*										*/
/*	init_StudyRead : initializes the elements of the module			*/
/*	Study Read 								*/
/*										*/
/********************************************************************************/
init_StudyRead : initializes the elements of the module
Study Read
init_StudyRead : initializes the elements of the module Study Read
void
init_StudyRead (SElement ioElem [])
{
  SElement	*theWrkP;
  theWrkP = &ioElem [papNameofPhysiciansReadingStudySR];
  theWrkP->group = 0x0008;
  theWrkP->element = 0x1060;
  theWrkP->length = 0L;
  theWrkP->vr = PN;
  theWrkP->vm = "1-n";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papStudyReadDate];
  theWrkP->group = 0x0032;
  theWrkP->element = 0x0034;
  theWrkP->length = 0L;
  theWrkP->vr = DA;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papStudyReadTime];
  theWrkP->group = 0x0032;
  theWrkP->element = 0x0035;
  theWrkP->length = 0L;
  theWrkP->vr = TM;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
}
void init_StudyRead ( SElement ioElem [ ] ) { SElement * theWrkP ; theWrkP = & ioElem [ papNameofPhysiciansReadingStudySR ] ; theWrkP -> group = 0x0008 ; theWrkP -> element = 0x1060 ; theWrkP -> length = 0L ; theWrkP -> vr = PN ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papStudyReadDate ] ; theWrkP -> group = 0x0032 ; theWrkP -> element = 0x0034 ; theWrkP -> length = 0L ; theWrkP -> vr = DA ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papStudyReadTime ] ; theWrkP -> group = 0x0032 ; theWrkP -> element = 0x0035 ; theWrkP -> length = 0L ; theWrkP -> vr = TM ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; }
init_StudyRead : initializes the elements of the module
Study Read
init_StudyRead : initializes the elements of the module Study Read