use of org.akaza.openclinica.bean.odmbeans.OdmAdminDataBean in project OpenClinica by OpenClinica.
the class AdminDataReportBean method createChunkedOdmXml.
public void createChunkedOdmXml(boolean isDataset) {
String ODMVersion = this.getODMVersion();
if ("oc1.2".equalsIgnoreCase(ODMVersion) || "oc1.3".equalsIgnoreCase(ODMVersion)) {
Iterator<OdmAdminDataBean> ita = this.odmAdminDataMap.values().iterator();
while (ita.hasNext()) {
OdmAdminDataBean a = ita.next();
addNodeAdminData(a);
}
}
}
use of org.akaza.openclinica.bean.odmbeans.OdmAdminDataBean in project OpenClinica by OpenClinica.
the class FullReportBean method createStudyMetaOdmXml.
/**
* Currently, it incudes <MetadataVersion> and <AdminData>
*
* @param isDataset
*/
public void createStudyMetaOdmXml(boolean isDataset) {
this.addHeading();
this.addRootStartLine();
// add the contents here in order
// 1) the information about Study
Iterator<OdmStudyBean> itm = this.odmStudyMap.values().iterator();
while (itm.hasNext()) {
OdmStudyBean s = itm.next();
addNodeStudy(s, isDataset);
}
// 2) the information about administrative data
Iterator<OdmAdminDataBean> ita = this.adminDataMap.values().iterator();
while (ita.hasNext()) {
OdmAdminDataBean a = ita.next();
addNodeAdminData(a);
}
this.addRootEndLine();
}
use of org.akaza.openclinica.bean.odmbeans.OdmAdminDataBean in project OpenClinica by OpenClinica.
the class FullReportBean method createOdmXml.
/**
* Create one ODM XML This method is still under construction. Right now it is for Snapshot filetype only.
*/
@Override
public void createOdmXml(boolean isDataset) {
this.addHeading();
this.addRootStartLine();
// add the contents here in order
// 1) the information about Study
Iterator<OdmStudyBean> itm = this.odmStudyMap.values().iterator();
while (itm.hasNext()) {
OdmStudyBean s = itm.next();
addNodeStudy(s, isDataset);
}
// 2) the information about administrative data
String ODMVersion = this.getODMVersion();
if ("oc1.2".equalsIgnoreCase(ODMVersion) || "oc1.3".equalsIgnoreCase(ODMVersion)) {
Iterator<OdmAdminDataBean> ita = this.adminDataMap.values().iterator();
while (ita.hasNext()) {
OdmAdminDataBean a = ita.next();
addNodeAdminData(a);
}
}
// 3) the information about reference data
// addNodeReferenceData();
// 4) the information about clinical Data
Iterator<OdmClinicalDataBean> itc = this.clinicalDataMap.values().iterator();
while (itc.hasNext()) {
OdmClinicalDataBean c = itc.next();
if (c.getExportSubjectData().size() > 0) {
addNodeClinicalData(c);
}
}
this.addRootEndLine();
}
Aggregations