User Tools

Site Tools


odm_referencedata

This is an old revision of the document!


Recently I was asked by a customer to explain how ODM “ReferenceData” works.

As I do not use it myself a lot, I went back to the ODM v.1.3.1. specification. It states:

Reference data provides information on how to interpret clinical data. For example, reference data might include lab normal ranges”.

That's it…

ReferenceData's structure is very similar to ClinicalData's structure, except that ReferenceData has no “SubjectData”, no “StudyEventData”, and no “FormData”. It only has “ItemGroupData and ItemData”. So essentially it is transporting 2-dimensional data, i.e. tables. And I think that is also its primary usage: transport of tables between applications between about data for which there are no subjects, no visits and no forms.

So I started creating a very simple example:

  <ItemGroupData ItemGroupOID="IG.VSNORMALVALUES">
      <ItemData ItemOID="IT.DIABP" Value="80">
          <MeasurementUnitRef MeasurementUnitOID="MU.MMHG"/>
      </ItemData>
      <ItemData ItemOID="IT.SYSBP" Value="120">
          <MeasurementUnitRef MeasurementUnitOID="MU.MMHG"/>
      </ItemData>
      <ItemData ItemOID="IT.HR" Value="70">
          <MeasurementUnitRef MeasurementUnitOID="MU.BPM"/>
      </ItemData>
  </ItemGroupData>
  

Of course a reference data point only usually makes sense when it has units attached, otherwise we do not know what we exactly are talking about.

So, what does this say? Not much, except that it represents SOME table data. There is little information in it, as the OIDs are arbitrary, so we cannot rely them to have a meaning. For that we need metadata. Now the specification also states:

Since reference data can be independent of any particular study, it may be desirable to keep the reference metadata separate from clinical metadata. This can be done by creating a Study element with no Protocol, StudyEventDef, or FormDef elements. All the ItemGroupDefs would have IsReferenceData=Yes. Such a study would have no clinical data.”.

OK, let's do so. We create a study with OID “ReferenceDataStudy”, with a MetaDataVersion “MV.REFDATA” which ONLY contains ItemGroupDef elements and ItemDef elements, and maybe “CodeList” elements. For our example, such a file could look like (ODM element omitted here):

  <Study OID="ReferenceDataStudy">
      <GlobalVariables>...</GlobalVariables>
      <BasicDefinitions>
          <MeasurementUnit OID="MU.MMHG" Name="millimeter mercury">
              <Symbol>
                  <TranslatedText>mmHg</TranslatedText>
              </Symbol>
          </MeasurementUnit>
          <MeasurementUnit OID="MU.BPM" Name="beats per minute">
              <Symbol>
                  <TranslatedText>beats/min</TranslatedText>
              </Symbol>
          </MeasurementUnit>
      </BasicDefinitions>
      <MetaDataVersion OID="MV.REFDATA" Name="Study-metadata only containing reference data definitions">
          <!-- we only define ItemGroups here all with IsReferenceData="Yes" -->
          <ItemGroupDef OID="IG.VSNORMALVALUES" Name="Vital Signs Normal Values" Repeating="No" IsReferenceData="Yes">
              <ItemRef ItemOID="IT.SYSBP" Mandatory="No"/>
              <ItemRef ItemOID="IT.DIABP" Mandatory="No"/>
              <ItemRef ItemOID="IT.HR" Mandatory="No"/>
          </ItemGroupDef>
          <!-- correspobnding ItemDefs -->
              <ItemDef OID="IT.SYSBP" Name="Systolic Blood Pressure" DataType="integer" Length="3">               
                  <MeasurementUnitRef MeasurementUnitOID="MU.MMHG"/>
              </ItemDef>
              <ItemDef OID="IT.DIABP" Name="Diastolic Blood Pressure" DataType="integer" Length="3">
                  <MeasurementUnitRef MeasurementUnitOID="MU.MMHG"/>
              </ItemDef>
              <ItemDef OID="IT.HR" Name="Heart Rate" DataType="integer" Length="3">
                  <MeasurementUnitRef MeasurementUnitOID="MU.BPM"/>
              </ItemDef>
          </MetaDataVersion>
      </Study>
odm_referencedata.1434655378.txt.gz · Last modified: 2015/06/18 21:22 by manager