<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Object Mapping DTD Version 1.0//EN" "http://www.castor.org/mapping.dtd">

<mapping>

  <class name="gov.nih.nci.cabig.caaers.domain.ExpeditedAdverseEventReport">
    <map-to xml="AdverseEventReport"/>
    <field name="id" type="integer">
      <bind-xml name="id" node="element"/>
    </field>
    <!--  
    <field name="detectionDate" type="date">
      <bind-xml name="detectionDate" node="element" />
    </field>
    -->
    <field name="createdAt" type="timestamp">
      <bind-xml name="createdAt" node="element"/>
    </field>
    <!-- 
    <field name="status" type="gov.nih.nci.cabig.caaers.domain.ReportStatus">
      <bind-xml name="status"/>
    </field>
	 -->
    <field name="responseDescription"
      type="gov.nih.nci.cabig.caaers.domain.AdverseEventResponseDescription">
      <bind-xml name="AdverseEventResponseDescription"/>
    </field>
    <field name="physician" type="gov.nih.nci.cabig.caaers.domain.Physician">
      <bind-xml name="Physician"/>
    </field>
    <field name="reporter" type="gov.nih.nci.cabig.caaers.domain.Reporter">
      <bind-xml name="Reporter"/>
    </field>
    <field name="diseaseHistory" type="gov.nih.nci.cabig.caaers.domain.DiseaseHistory">
      <bind-xml name="DiseaseHistory"/>
    </field>
    <field name="participantHistory" type="gov.nih.nci.cabig.caaers.domain.ParticipantHistory">
      <bind-xml name="ParticipantHistory"/>
    </field>
    <field name="assignment" type="gov.nih.nci.cabig.caaers.domain.StudyParticipantAssignment">
      <bind-xml name="StudyParticipantAssignment"/>
    </field>

    <field name="radiationInterventions"
      type="gov.nih.nci.cabig.caaers.domain.RadiationIntervention" collection="arraylist">
      <bind-xml name="RadiationIntervention"/>
    </field>
    <field name="surgeryInterventions" type="gov.nih.nci.cabig.caaers.domain.SurgeryIntervention"
      collection="arraylist">
      <bind-xml name="SurgeryIntervention"/>
    </field>
    <field name="medicalDevices" type="gov.nih.nci.cabig.caaers.domain.MedicalDevice"
      collection="arraylist">
      <bind-xml name="MedicalDevice"/>
    </field>

    <field name="concomitantMedications"
      type="gov.nih.nci.cabig.caaers.domain.ConcomitantMedication" collection="arraylist">
      <bind-xml name="ConcomitantMedication"/>
    </field>
    <field name="adverseEvents" type="gov.nih.nci.cabig.caaers.domain.AdverseEvent"
      collection="arraylist">
      <bind-xml name="AdverseEvent"/>
    </field>
    <field name="labs" type="gov.nih.nci.cabig.caaers.domain.Lab" collection="arraylist">
      <bind-xml name="Lab"/>
    </field>
    <field name="saeReportPriorTherapiesInternal"
      type="gov.nih.nci.cabig.caaers.domain.SAEReportPriorTherapy" collection="arraylist">
      <bind-xml name="SAEReportPriorTherapy"/>
    </field>

    <field name="summary" collection="map">
      <bind-xml name="Summary">
        <class name="org.exolab.castor.mapping.MapItem">
          <field name="key" type="java.lang.String">
            <bind-xml name="id" node="attribute"/>
          </field>
          <field name="value" type="string" node="attribute"/>
        </class>
      </bind-xml>
    </field>

    <field name="treatmentInformation" type="gov.nih.nci.cabig.caaers.domain.TreatmentInformation">
      <bind-xml name="TreatmentInformation"/>
    </field>
    <field name="saeReportPreExistingConditions"
      type="gov.nih.nci.cabig.caaers.domain.SAEReportPreExistingCondition" collection="arraylist">
      <bind-xml name="SAEReportPreExistingCondition"/>
    </field>
    <field name="otherCauses" type="gov.nih.nci.cabig.caaers.domain.OtherCause"
      collection="arraylist">
      <bind-xml name="OtherCause"/>
    </field>
    <field name="additionalInformation" type="gov.nih.nci.cabig.caaers.domain.AdditionalInformation">
      <bind-xml name="AdditionalInformation"/>
    </field>
    <field name="reports"
      type="gov.nih.nci.cabig.caaers.domain.report.Report" collection="arraylist">
      <bind-xml name="Report"/>
    </field>    
    <!--
    <field name="outcomes"
      type="gov.nih.nci.cabig.caaers.domain.Outcome" collection="arraylist">
      <bind-xml name="Outcome"/>
    </field>    
    -->
  </class>

  <class name="gov.nih.nci.cabig.caaers.domain.report.Report">
    <map-to xml="Report"/>
    <field name="id" type="integer">
      <bind-xml name="id" node="element"/>
    </field>
    <field name="assignedIdentifer" type="string">
      <bind-xml name="assignedIdentifer" node="element"/>
    </field>
    <field name="submissionMessage" type="string">
      <bind-xml name="submissionMessage" node="element"/>
    </field>
    <field name="reportDefinition"
      type="gov.nih.nci.cabig.caaers.domain.report.ReportDefinition">
      <bind-xml name="ReportDefinition"/>
    </field> 
    <field name="reportVersions"
      type="gov.nih.nci.cabig.caaers.domain.report.ReportVersion" collection="arraylist">
      <bind-xml name="ReportVersion"/>
    </field>      <commit_msg>aded adeersReportTypeIndicator to Report<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Object Mapping DTD Version 1.0//EN" "http://www.castor.org/mapping.dtd">

<mapping>

  <class name="gov.nih.nci.cabig.caaers.domain.ExpeditedAdverseEventReport">
    <map-to xml="AdverseEventReport"/>
    <field name="id" type="integer">
      <bind-xml name="id" node="element"/>
    </field>
    <!--  
    <field name="detectionDate" type="date">
      <bind-xml name="detectionDate" node="element" />
    </field>
    -->
    <field name="createdAt" type="timestamp">
      <bind-xml name="createdAt" node="element"/>
    </field>
    <!-- 
    <field name="status" type="gov.nih.nci.cabig.caaers.domain.ReportStatus">
      <bind-xml name="status"/>
    </field>
	 -->
    <field name="responseDescription"
      type="gov.nih.nci.cabig.caaers.domain.AdverseEventResponseDescription">
      <bind-xml name="AdverseEventResponseDescription"/>
    </field>
    <field name="physician" type="gov.nih.nci.cabig.caaers.domain.Physician">
      <bind-xml name="Physician"/>
    </field>
    <field name="reporter" type="gov.nih.nci.cabig.caaers.domain.Reporter">
      <bind-xml name="Reporter"/>
    </field>
    <field name="diseaseHistory" type="gov.nih.nci.cabig.caaers.domain.DiseaseHistory">
      <bind-xml name="DiseaseHistory"/>
    </field>
    <field name="participantHistory" type="gov.nih.nci.cabig.caaers.domain.ParticipantHistory">
      <bind-xml name="ParticipantHistory"/>
    </field>
    <field name="assignment" type="gov.nih.nci.cabig.caaers.domain.StudyParticipantAssignment">
      <bind-xml name="StudyParticipantAssignment"/>
    </field>

    <field name="radiationInterventions"
      type="gov.nih.nci.cabig.caaers.domain.RadiationIntervention" collection="arraylist">
      <bind-xml name="RadiationIntervention"/>
    </field>
    <field name="surgeryInterventions" type="gov.nih.nci.cabig.caaers.domain.SurgeryIntervention"
      collection="arraylist">
      <bind-xml name="SurgeryIntervention"/>
    </field>
    <field name="medicalDevices" type="gov.nih.nci.cabig.caaers.domain.MedicalDevice"
      collection="arraylist">
      <bind-xml name="MedicalDevice"/>
    </field>

    <field name="concomitantMedications"
      type="gov.nih.nci.cabig.caaers.domain.ConcomitantMedication" collection="arraylist">
      <bind-xml name="ConcomitantMedication"/>
    </field>
    <field name="adverseEvents" type="gov.nih.nci.cabig.caaers.domain.AdverseEvent"
      collection="arraylist">
      <bind-xml name="AdverseEvent"/>
    </field>
    <field name="labs" type="gov.nih.nci.cabig.caaers.domain.Lab" collection="arraylist">
      <bind-xml name="Lab"/>
    </field>
    <field name="saeReportPriorTherapiesInternal"
      type="gov.nih.nci.cabig.caaers.domain.SAEReportPriorTherapy" collection="arraylist">
      <bind-xml name="SAEReportPriorTherapy"/>
    </field>

    <field name="summary" collection="map">
      <bind-xml name="Summary">
        <class name="org.exolab.castor.mapping.MapItem">
          <field name="key" type="java.lang.String">
            <bind-xml name="id" node="attribute"/>
          </field>
          <field name="value" type="string" node="attribute"/>
        </class>
      </bind-xml>
    </field>

    <field name="treatmentInformation" type="gov.nih.nci.cabig.caaers.domain.TreatmentInformation">
      <bind-xml name="TreatmentInformation"/>
    </field>
    <field name="saeReportPreExistingConditions"
      type="gov.nih.nci.cabig.caaers.domain.SAEReportPreExistingCondition" collection="arraylist">
      <bind-xml name="SAEReportPreExistingCondition"/>
    </field>
    <field name="otherCauses" type="gov.nih.nci.cabig.caaers.domain.OtherCause"
      collection="arraylist">
      <bind-xml name="OtherCause"/>
    </field>
    <field name="additionalInformation" type="gov.nih.nci.cabig.caaers.domain.AdditionalInformation">
      <bind-xml name="AdditionalInformation"/>
    </field>
    <field name="reports"
      type="gov.nih.nci.cabig.caaers.domain.report.Report" collection="arraylist">
      <bind-xml name="Report"/>
    </field>    
    <!--
    <field name="outcomes"
      type="gov.nih.nci.cabig.caaers.domain.Outcome" collection="arraylist">
      <bind-xml name="Outcome"/>
    </field>    
    -->
  </class>

  <class name="gov.nih.nci.cabig.caaers.domain.report.Report">
    <map-to xml="Report"/>
    <field name="id" type="integer">
      <bind-xml name="id" node="element"/>
    </field>
    <field name="assignedIdentifer" type="string">
      <bind-xml name="assignedIdentifer" node="element"/>
    </field>
    <field name="submissionMessage" type="string">
      <bind-xml name="submissionMessage" node="element"/>
    </field>
    <field name="adeersReportTypeIndicator" type="string">
      <bind-xml name="adeersReportTypeIndicator" node="element"/>
    </field>    
    <field name="reportDefinition"
      type="gov.nih.nci.cabig.caaers.domain.report.ReportDefinition">
      <bind-xml name="ReportDefinition"/>
    </field> 
    <field name="reportVersions"
      type="gov.nih.nci.cabig.caaers.domain.report.ReportVersion" collection="arraylist">
      <bind-xml name="ReportVersion"/>
    </field>      
{'fraction_non_alphanumeric': 0.16839152722700454, 'fraction_numerical': 0.0009672115291614276, 'mean_word_length': 3.5350877192982457, 'pattern_counts': {'":': 0, '<': 216, '<?xml version=': 2, '>': 216, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 69}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3318843', 'n_tokens_mistral': 3516, 'n_tokens_neox': 3411, 'n_words': 470}