use of org.cdisc.ns.odm.v130.ODMcomplexTypeDefinitionFormDef in project OpenClinica by OpenClinica.
the class OdmImportServiceImpl method saveOrUpdateCrf.
private void saveOrUpdateCrf(UserAccount userAccount, Study study, List<ODMcomplexTypeDefinitionMetaDataVersion> odmMetadataVersions, Form[] fmCrfs) {
for (ODMcomplexTypeDefinitionFormDef odmFormDef : odmMetadataVersions.get(0).getFormDef()) {
String crfOid = odmFormDef.getOID();
List<OCodmComplexTypeDefinitionFormLayoutDef> formLayoutDefs = odmFormDef.getFormLayoutDef();
// String crfDescription = odmFormDef.getFormDetails().getDescription();
String crfName = odmFormDef.getName();
saveOrUpdateCrfAndFormLayouts(crfOid, formLayoutDefs, fmCrfs, userAccount, study, crfName);
}
}
Aggregations