Lab Test

Overview
Because lab tests are often done in large, grouped panels (e.g. complete blood counts), the Indivo lab schema is built in a hierarchical fashion. Each lab document begins with a  element, an extension of the , and may contain either a single   element or a single   element. A, in turn, may contain additional  , or any number of individual.

Schema

 * Syntax-Highlighted Schema
 * Raw Schema

LabRootType

 * dateTime (optional)
 * The date the laboratory test was performed, if this document describes a single test, or the administrative date representing when a panel of tests was performed, even if individual tests in the panel were all performed at different times.
 * The date the laboratory test was performed, if this document describes a single test, or the administrative date representing when a panel of tests was performed, even if individual tests in the panel were all performed at different times.


 * ConciseContactInformationType (optional)
 * The institution which provided the data in this document. Use the LaboratoryContact field to describe the lab which processed this result, if applicable.
 * The institution which provided the data in this document. Use the LaboratoryContact field to describe the lab which processed this result, if applicable.


 * string (optional)
 * Any free-text comments about this document.
 * Any free-text comments about this document.


 * ConciseContactInformationType (optional)
 * The provider (physician, nurse, etc.) who ordered the test.
 * The provider (physician, nurse, etc.) who ordered the test.


 * string (optional)
 * An identifier which is unique across an Indivo Record, used to identify documents which originated from a discrete health encounter.
 * An identifier which is unique across an Indivo Record, used to identify documents which originated from a discrete health encounter.


 * string (required)
 * The type of laboratory which performed these tests, i.e. genetics, immunology, bacteriology. This field may be used to organize tests results in a user interface.
 * The type of laboratory which performed these tests, i.e. genetics, immunology, bacteriology. This field may be used to organize tests results in a user interface.


 * ConciseContactInformationType (optional)
 * Contact information for the lab that processed the test result.
 * Contact information for the lab that processed the test result.


 * LabGroupType
 * A lab group is specified only when a LabRoot includes multiple test results.
 * A lab group is specified only when a LabRoot includes multiple test results.


 * LabTestType
 * A lab test is specified only when a LabRoot includes only a single test result.
 * A lab test is specified only when a LabRoot includes only a single test result.

LabGroupType

 * string (required)
 * The name of this group of lab tests.
 * The name of this group of lab tests.


 * LabGroupType (optional, multiple)
 * Any subgroupings of lab tests in this group.
 * Any subgroupings of lab tests in this group.


 * LabTestType (optional, multiple)
 * Individual lab tests in this group.
 * Individual lab tests in this group.

LabTestType

 * string (optional)
 * The name of this lab test.
 * The name of this lab test.


 * string (optional)
 * The biological substance upon which this test was performed.
 * The biological substance upon which this test was performed.


 * string (optional)
 * The method used to collect the test substance.
 * The method used to collect the test substance.


 * string (optional)
 * Abbreviated form of the test name.
 * Abbreviated form of the test name.


 * string (optional)
 * Free-text description of this test.
 * Free-text description of this test.


 * dateTime (required)
 * The date and time this individual test was performed. If the LabRoot describes only a single test, this value should be identical to the  ’s   field.
 * The date and time this individual test was performed. If the LabRoot describes only a single test, this value should be identical to the  ’s   field.


 * CodedValueType (optional, multiple)
 * A code which identifies this type of test. This field may be used in place of some of the above LabTest fields, when such information can be interpreted from the code.
 * A code which identifies this type of test. This field may be used in place of some of the above LabTest fields, when such information can be interpreted from the code.


 * ResultType (optional)
 * The result of this test. A blank result indicates that the test has not yet been processed.
 * The result of this test. A blank result indicates that the test has not yet been processed.


 * CodedValueType (optional)
 * Code to indicate test status.
 * &raquo; Refer to coding system indivo-lab-status-1.0.
 * &raquo; Refer to coding system indivo-lab-status-1.0.

ResultType
Test results may either be defined in a numeric fashion (using the Value, Unit, ReferenceRange, and ToxicRange fields) or as text (using the TextValue field). Either result format may also specify a result flag.


 * double (optional)
 * The numeric value of the test result.
 * The numeric value of the test result.


 * CodedValueType (optional)
 * The unit of measure of the test result.
 * &raquo; Refer to coding system indivo-lab-units-1.0.
 * &raquo; Refer to coding system indivo-lab-units-1.0.


 * DoubleRangeType (optional)
 * The range of numeric values indicating a normal test result, in the same unit of measure as the result value.
 * The range of numeric values indicating a normal test result, in the same unit of measure as the result value.


 * DoubleRangeType (optional)
 * The range of numeric values indicating a toxic test result, in the same unit of measure as the result value, e.g. blood alcohol concentration greater than 1.00 gram per liter.
 * The range of numeric values indicating a toxic test result, in the same unit of measure as the result value, e.g. blood alcohol concentration greater than 1.00 gram per liter.


 * string (optional)
 * In place of above fields, a textual result may be specified for lab results not numerically quantifiable. This field should not be used to store a text-formatted numeric result.
 * In place of above fields, a textual result may be specified for lab results not numerically quantifiable. This field should not be used to store a text-formatted numeric result.


 * CodedValueType (optional)
 * Optional code to mark an abnormal test result.
 * &raquo; Refer to coding system hl7-abnormal-flag-2.5.
 * &raquo; Refer to coding system hl7-abnormal-flag-2.5.

XML Usage Example
Needs clean-up.

 2005-07-18T00:00:00.000-04:00 Hematology  Complete Blood Count with Differential  Complete Blood Count  WBC WBC <DateTime>2005-07-18T00:00:00.000-04:00</DateTime> <Result> <Value>8.88</Value> <Unit> <CodingSystem> <ServiceLocation>http://indivo.org/codingsystems/indivo-lab-units-1.0</ServiceLocation> <ShortDescription>Common Compound Lab Units</ShortDescription> </CodingSystem> <HistoricalValue>K/uL</HistoricalValue> </Unit> <ReferenceRange> <Minimum>6.3</Minimum> <Maximum>14.8</Maximum> <Unit> <CodingSystem> <ServiceLocation>http://indivo.org/codingsystems/indivo-lab-units-1.0</ServiceLocation> <ShortDescription>Common Compound Lab Units</ShortDescription> </CodingSystem> <HistoricalValue>K/uL</HistoricalValue> </Unit> </ReferenceRange> </Result> </LabTests> <LabTests> RBC</Name> RBC</Abbreviation> <DateTime>2005-07-18T00:00:00.000-04:00</DateTime> <Result> <Value>4.82</Value> <ReferenceRange> <Minimum>4.2</Minimum> <Maximum>5.1</Maximum> </ReferenceRange> </Result> </LabTests> <LabTests> Hemoglobin</Name> Hemoglobin</Abbreviation> <DateTime>2005-07-18T00:00:00.000-04:00</DateTime> <Result> <Value>12.0</Value> <ReferenceRange> <Minimum>10.5</Minimum> <Maximum>12.6</Maximum> </ReferenceRange> </Result> </LabTests> <LabTests> Hematocrit</Name> Hematocrit</Abbreviation> <DateTime>2005-07-18T00:00:00.000-04:00</DateTime> <Result> <Value>35.9</Value> <Unit> <CodingSystem> <ServiceLocation>http://indivo.org/codingsystems/indivo-lab-units-1.0</ServiceLocation> <ShortDescription>Common Compound Lab Units</ShortDescription> </CodingSystem> <HistoricalValue>%</HistoricalValue> </Unit> <ReferenceRange> <Minimum>31.5</Minimum> <Maximum>37.7</Maximum> <Unit> <CodingSystem> <ServiceLocation>http://indivo.org/codingsystems/indivo-lab-units-1.0</ServiceLocation> <ShortDescription>Common Compound Lab Units</ShortDescription> </CodingSystem> <HistoricalValue>%</HistoricalValue> </Unit> </ReferenceRange> </Result> </LabTests> <LabTests> MCV</Name> MCV</Abbreviation> <DateTime>2005-07-18T00:00:00.000-04:00</DateTime> <Result> <Value>74.5</Value> <ReferenceRange> <Minimum>72.0</Minimum> <Maximum>83.0</Maximum> </ReferenceRange> </Result> </LabTests> <LabTests> %Micro</Name> % Micro</Abbreviation> <DateTime>2005-07-18T00:00:00.000-04:00</DateTime> <Result> <Value>7.2</Value> <Unit> <CodingSystem> <ServiceLocation>http://indivo.org/codingsystems/indivo-lab-units-1.0</ServiceLocation> <ShortDescription>Common Compound Lab Units</ShortDescription> </CodingSystem> <HistoricalValue>%</HistoricalValue> </Unit> </Result> </LabTests> <LabTests> MCH</Name> MCH</Abbreviation> <DateTime>2005-07-18T00:00:00.000-04:00</DateTime> <Result> <Value>24.9</Value> <ReferenceRange> <Minimum>23.2</Minimum> <Maximum>27.5</Maximum> </ReferenceRange> </Result> </LabTests> <LabTests> MCHC</Name> MCHC</Abbreviation> <DateTime>2005-07-18T00:00:00.000-04:00</DateTime> <Result> <Value>33.4</Value> <ReferenceRange> <Minimum>31.9</Minimum> <Maximum>35.0</Maximum> </ReferenceRange> </Result> </LabTests> <LabTests> RDW</Name> RDW</Abbreviation> <DateTime>2005-07-18T00:00:00.000-04:00</DateTime> <Result> <Value>13.6</Value> <Unit> <CodingSystem> <ServiceLocation>http://indivo.org/codingsystems/indivo-lab-units-1.0</ServiceLocation> <ShortDescription>Common Compound Lab Units</ShortDescription> </CodingSystem> <HistoricalValue>%</HistoricalValue> </Unit> <ReferenceRange> <Minimum>13.1</Minimum> <Maximum>15.6</Maximum> <Unit> <CodingSystem> <ServiceLocation>http://indivo.org/codingsystems/indivo-lab-units-1.0</ServiceLocation> <ShortDescription>Common Compound Lab Units</ShortDescription> </CodingSystem> <HistoricalValue>%</HistoricalValue> </Unit> </ReferenceRange> </Result> </LabTests> <LabTests> <Name>HDW</Name> <Abbreviation>HDW</Abbreviation> <DateTime>2005-07-18T00:00:00.000-04:00</DateTime> <Result> <Value>2.49</Value> <ReferenceRange> <Minimum>1.8</Minimum> <Maximum>3.2</Maximum> </ReferenceRange> </Result> </LabTests> <LabTests> <Name>MPV</Name> <Abbreviation>MPV</Abbreviation> <DateTime>2005-07-18T00:00:00.000-04:00</DateTime> <Result> <Value>6.2</Value> <ReferenceRange> <Minimum>7.1</Minimum> <Maximum>9.3</Maximum> </ReferenceRange> <Flag> <CodingSystem> <ServiceLocation>http://indivo.org/codingsystems/hl7-abnormal-flag-2.5</ServiceLocation> <ShortDescription>Abnormal Flags</ShortDescription> </CodingSystem> <HistoricalValue>Low</HistoricalValue> </Flag> </Result> </LabTests> <LabTests> <Name>Platelet</Name> <Abbreviation>Platelet</Abbreviation> <DateTime>2005-07-18T00:00:00.000-04:00</DateTime> <Result> <Value>474.0</Value> <Unit> <CodingSystem> <ServiceLocation>http://indivo.org/codingsystems/indivo-lab-units-1.0</ServiceLocation> <ShortDescription>Common Compound Lab Units</ShortDescription> </CodingSystem> <HistoricalValue>K/uL</HistoricalValue> </Unit> <ReferenceRange> <Minimum>223.0</Minimum> <Maximum>461.0</Maximum> <Unit> <CodingSystem> <ServiceLocation>http://indivo.org/codingsystems/indivo-lab-units-1.0</ServiceLocation> <ShortDescription>Common Compound Lab Units</ShortDescription> </CodingSystem> <HistoricalValue>K/uL</HistoricalValue> </Unit> </ReferenceRange> <Flag> <CodingSystem> <ServiceLocation>http://indivo.org/codingsystems/hl7-abnormal-flag-2.5</ServiceLocation> <ShortDescription>Abnormal Flags</ShortDescription> </CodingSystem> <HistoricalValue>High</HistoricalValue> </Flag> </Result> </LabTests> </SubGroups> <SubGroups> <GroupName>WBC Differential, Automated</GroupName> <LabTests> <Name>Automated Diff?</Name> <Abbreviation>Automated Diff?</Abbreviation> <DateTime>2005-07-18T00:00:00.000-04:00</DateTime> <Result> <TextValue>NOT DONE</TextValue> </Result> </LabTests> </SubGroups> </LabGroup> </LabRoot>