xp_comm_proj/rd_dicom/Papyrus3/PapyInitModules3.c
/********************************************************************************/
/*										*/
/*	init_VisitStatus : initializes the elements of the module		*/
/*	Visit Status 								*/
/*										*/
/********************************************************************************/
init_VisitStatus : initializes the elements of the module
Visit Status
init_VisitStatus : initializes the elements of the module Visit Status
void
init_VisitStatus (SElement ioElem [])
{
  SElement	*theWrkP;
  theWrkP = &ioElem [papVisitStatusID];
  theWrkP->group = 0x0038;
  theWrkP->element = 0x0008;
  theWrkP->length = 0L;
  theWrkP->vr = CS;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papCurrentPatientLocationVS];
  theWrkP->group = 0x0038;
  theWrkP->element = 0x0300;
  theWrkP->length = 0L;
  theWrkP->vr = LO;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papPatientsInstitutionResidenceVS];
  theWrkP->group = 0x0038;
  theWrkP->element = 0x0400;
  theWrkP->length = 0L;
  theWrkP->vr = LO;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papVisitComments];
  theWrkP->group = 0x0038;
  theWrkP->element = 0x4000;
  theWrkP->length = 0L;
  theWrkP->vr = LT;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
}
void init_VisitStatus ( SElement ioElem [ ] ) { SElement * theWrkP ; theWrkP = & ioElem [ papVisitStatusID ] ; theWrkP -> group = 0x0038 ; theWrkP -> element = 0x0008 ; theWrkP -> length = 0L ; theWrkP -> vr = CS ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papCurrentPatientLocationVS ] ; theWrkP -> group = 0x0038 ; theWrkP -> element = 0x0300 ; theWrkP -> length = 0L ; theWrkP -> vr = LO ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papPatientsInstitutionResidenceVS ] ; theWrkP -> group = 0x0038 ; theWrkP -> element = 0x0400 ; theWrkP -> length = 0L ; theWrkP -> vr = LO ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papVisitComments ] ; theWrkP -> group = 0x0038 ; theWrkP -> element = 0x4000 ; theWrkP -> length = 0L ; theWrkP -> vr = LT ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; }
init_VisitStatus : initializes the elements of the module
Visit Status
init_VisitStatus : initializes the elements of the module Visit Status