xp_comm_proj/rd_dicom/Papyrus3/PapyInitModules3.c
/********************************************************************************/
/*										*/
/*	init_UINOverlaySequence : initializes the elements of the module 	*/
/*	UIN Overlay Sequence		 					*/
/*										*/
/********************************************************************************/
init_UINOverlaySequence : initializes the elements of the module
UIN Overlay Sequence
init_UINOverlaySequence : initializes the elements of the module UIN Overlay Sequence
void
init_UINOverlaySequence (SElement ioElem [])
{
  SElement	*theWrkP;
  theWrkP = &ioElem [papOwnerID];
  theWrkP->group = 0x6001;
  theWrkP->element = 0x0010;
  theWrkP->length = 0L;
  theWrkP->vr = LT;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 1L;
  theWrkP->value = (UValue_T *) emalloc3 ((PapyULong) sizeof (UValue_T));
  theWrkP->value->a = (char *) ecalloc3 ((PapyULong) 12, (PapyULong) sizeof (char));
  strcpy (theWrkP->value->a, "PAPYRUS 3.0");
  theWrkP = &ioElem [papUINOverlaySequence];
  theWrkP->group = 0x6001;
  theWrkP->element = 0x10C0;
  theWrkP->length = 0L;
  theWrkP->vr = SQ;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0L;
  theWrkP->value = NULL;
}
void init_UINOverlaySequence ( SElement ioElem [ ] ) { SElement * theWrkP ; theWrkP = & ioElem [ papOwnerID ] ; theWrkP -> group = 0x6001 ; theWrkP -> element = 0x0010 ; theWrkP -> length = 0L ; theWrkP -> vr = LT ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 1L ; theWrkP -> value = ( UValue_T * ) emalloc3 ( ( PapyULong ) sizeof ( UValue_T ) ) ; theWrkP -> value -> a = ( char * ) ecalloc3 ( ( PapyULong ) 12 , ( PapyULong ) sizeof ( char ) ) ; strcpy ( theWrkP -> value -> a , " " ) ; theWrkP = & ioElem [ papUINOverlaySequence ] ; theWrkP -> group = 0x6001 ; theWrkP -> element = 0x10C0 ; theWrkP -> length = 0L ; theWrkP -> vr = SQ ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0L ; theWrkP -> value = NULL ; }
init_UINOverlaySequence : initializes the elements of the module
UIN Overlay Sequence
init_UINOverlaySequence : initializes the elements of the module UIN Overlay Sequence