Skip to content

Instantly share code, notes, and snippets.

@tomhickerson
Created June 10, 2011 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomhickerson/1019120 to your computer and use it in GitHub Desktop.
Save tomhickerson/1019120 to your computer and use it in GitHub Desktop.
ItemDef for CDISC ODM XML
<ItemDef OID="I_PHYS_DIASTOLIC" Name="DIASTOLIC" DataType="text" Length="2" SASFieldName="DIASTOLI" Comment="Diastolic" OpenClinica:FormOIDs="F_PHYS_ENGL">
<Question>
<TranslatedText>
Diastolic:
</TranslatedText>
</Question>
<MeasurementUnitRef MeasurementUnitOID="MU_HG"/>
<RangeCheck Comparator="GE" SoftHard="Hard">
<CheckValue>70</CheckValue>
<MeasurementUnitRef MeasurementUnitOID="MU_HG"/>
<ErrorMessage><TranslatedText>Out of expected range. Diastolic expected range of 70-90.</TranslatedText></ErrorMessage>
</RangeCheck>
<RangeCheck Comparator="LE" SoftHard="Hard">
<CheckValue>90</CheckValue>
<MeasurementUnitRef MeasurementUnitOID="MU_HG"/>
<ErrorMessage><TranslatedText>Out of expected range. Diastolic expected range of 70-90.</TranslatedText></ErrorMessage>
</RangeCheck>
</ItemDef>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment