xp_comm_proj/rd_dicom/Papyrus3/PapyInitModules3.c
/********************************************************************************/
/*										*/
/*	init_VisitDischarge : initializes the elements of the module		*/
/*	Visit Discharge 							*/
/*										*/
/********************************************************************************/
init_VisitDischarge : initializes the elements of the module
Visit Discharge
init_VisitDischarge : initializes the elements of the module Visit Discharge
void
init_VisitDischarge (SElement ioElem [])
{
  SElement	*theWrkP;
  theWrkP = &ioElem [papDischargeDate];
  theWrkP->group = 0x0038;
  theWrkP->element = 0x0030;
  theWrkP->length = 0L;
  theWrkP->vr = DA;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papDischargeTime];
  theWrkP->group = 0x0038;
  theWrkP->element = 0x0032;
  theWrkP->length = 0L;
  theWrkP->vr = TM;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papDescription];
  theWrkP->group = 0x0038;
  theWrkP->element = 0x0040;
  theWrkP->length = 0L;
  theWrkP->vr = LO;
  theWrkP->vm = "1";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papDischargeDiagnosisCodeSequence];
  theWrkP->group = 0x0038;
  theWrkP->element = 0x0044;
  theWrkP->length = 0L;
  theWrkP->vr = SQ;
  theWrkP->vm = "1-n";
  theWrkP->type_t = T3;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
}
void init_VisitDischarge ( SElement ioElem [ ] ) { SElement * theWrkP ; theWrkP = & ioElem [ papDischargeDate ] ; theWrkP -> group = 0x0038 ; theWrkP -> element = 0x0030 ; theWrkP -> length = 0L ; theWrkP -> vr = DA ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papDischargeTime ] ; theWrkP -> group = 0x0038 ; theWrkP -> element = 0x0032 ; theWrkP -> length = 0L ; theWrkP -> vr = TM ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papDescription ] ; theWrkP -> group = 0x0038 ; theWrkP -> element = 0x0040 ; theWrkP -> length = 0L ; theWrkP -> vr = LO ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papDischargeDiagnosisCodeSequence ] ; theWrkP -> group = 0x0038 ; theWrkP -> element = 0x0044 ; theWrkP -> length = 0L ; theWrkP -> vr = SQ ; theWrkP -> vm = " " ; theWrkP -> type_t = T3 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; }
init_VisitDischarge : initializes the elements of the module
Visit Discharge
init_VisitDischarge : initializes the elements of the module Visit Discharge