xp_comm_proj/rd_dicom/Papyrus3/PapyInitGroups3.c
/********************************************************************************/
/*										*/
/*	init_group2 : initializes the elements of the group 2			*/
/*										*/
/********************************************************************************/
init_group2 : initializes the elements of the group 2
init_group2 : initializes the elements of the group 2
void
init_group2 (SElement ioElem [])
{
  SElement	*theWrkP;
  theWrkP = &ioElem [papGroupLength];
  theWrkP->group = 0x0002;
  theWrkP->element = 0x0000;
  theWrkP->length = 0L;
  theWrkP->vr = UL;
  theWrkP->vm = "1";
  theWrkP->type_t = T1;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papFileMetaInformationVersionGr];
  theWrkP->group = 0x0002;
  theWrkP->element = 0x0001;
  theWrkP->length = 0L;
  theWrkP->vr = OB;
  theWrkP->vm = "1";
  theWrkP->type_t = T1;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papMediaStorageSOPClassUIDGr];
  theWrkP->group = 0x0002;
  theWrkP->element = 0x0002;
  theWrkP->length = 0L;
  theWrkP->vr = UI;
  theWrkP->vm = "1";
  theWrkP->type_t = T1;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papMediaStorageSOPInstanceUIDGr];
  theWrkP->group = 0x0002;
  theWrkP->element = 0x0003;
  theWrkP->length = 0L;
  theWrkP->vr = UI;
  theWrkP->vm = "1";
  theWrkP->type_t = T1;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papTransferSyntaxUIDGr];
  theWrkP->group = 0x0002;
  theWrkP->element = 0x0010;
  theWrkP->length = 0L;
  theWrkP->vr = UI;
  theWrkP->vm = "1";
  theWrkP->type_t = T1;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papImplementationClassUIDGr];
  theWrkP->group = 0x0002;
  theWrkP->element = 0x0012;
  theWrkP->length = 0L;
  theWrkP->vr = UI;
  theWrkP->vm = "1";
  theWrkP->type_t = T1;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papImplementationVersionNameGr];
  theWrkP->group = 0x0002;
  theWrkP->element = 0x0013;
  theWrkP->length = 0L;
  theWrkP->vr = SH;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papSourceApplicationEntityTitleGr];
  theWrkP->group = 0x0002;
  theWrkP->element = 0x0016;
  theWrkP->length = 0L;
  theWrkP->vr = AE;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papPrivateInformationCreatorUIDGr];
  theWrkP->group = 0x0002;
  theWrkP->element = 0x0100;
  theWrkP->length = 0L;
  theWrkP->vr = UI;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papPrivateInformationGr];
  theWrkP->group = 0x0002;
  theWrkP->element = 0x0102;
  theWrkP->length = 0L;
  theWrkP->vr = OB;
  theWrkP->vm = "1";
  theWrkP->type_t = T1C;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
}
void init_group2 ( SElement ioElem [ ] ) { SElement * theWrkP ; theWrkP = & ioElem [ papGroupLength ] ; theWrkP -> group = 0x0002 ; theWrkP -> element = 0x0000 ; theWrkP -> length = 0L ; theWrkP -> vr = UL ; theWrkP -> vm = " " ; theWrkP -> type_t = T1 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papFileMetaInformationVersionGr ] ; theWrkP -> group = 0x0002 ; theWrkP -> element = 0x0001 ; theWrkP -> length = 0L ; theWrkP -> vr = OB ; theWrkP -> vm = " " ; theWrkP -> type_t = T1 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papMediaStorageSOPClassUIDGr ] ; theWrkP -> group = 0x0002 ; theWrkP -> element = 0x0002 ; theWrkP -> length = 0L ; theWrkP -> vr = UI ; theWrkP -> vm = " " ; theWrkP -> type_t = T1 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papMediaStorageSOPInstanceUIDGr ] ; theWrkP -> group = 0x0002 ; theWrkP -> element = 0x0003 ; theWrkP -> length = 0L ; theWrkP -> vr = UI ; theWrkP -> vm = " " ; theWrkP -> type_t = T1 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papTransferSyntaxUIDGr ] ; theWrkP -> group = 0x0002 ; theWrkP -> element = 0x0010 ; theWrkP -> length = 0L ; theWrkP -> vr = UI ; theWrkP -> vm = " " ; theWrkP -> type_t = T1 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papImplementationClassUIDGr ] ; theWrkP -> group = 0x0002 ; theWrkP -> element = 0x0012 ; theWrkP -> length = 0L ; theWrkP -> vr = UI ; theWrkP -> vm = " " ; theWrkP -> type_t = T1 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papImplementationVersionNameGr ] ; theWrkP -> group = 0x0002 ; theWrkP -> element = 0x0013 ; theWrkP -> length = 0L ; theWrkP -> vr = SH ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papSourceApplicationEntityTitleGr ] ; theWrkP -> group = 0x0002 ; theWrkP -> element = 0x0016 ; theWrkP -> length = 0L ; theWrkP -> vr = AE ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papPrivateInformationCreatorUIDGr ] ; theWrkP -> group = 0x0002 ; theWrkP -> element = 0x0100 ; theWrkP -> length = 0L ; theWrkP -> vr = UI ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papPrivateInformationGr ] ; theWrkP -> group = 0x0002 ; theWrkP -> element = 0x0102 ; theWrkP -> length = 0L ; theWrkP -> vr = OB ; theWrkP -> vm = " " ; theWrkP -> type_t = T1C ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; }
init_group2 : initializes the elements of the group 2
init_group2 : initializes the elements of the group 2