You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

<?xml version="1.0" encoding="UTF-8"?>
<ItemGroupDef OID="ODM.IG.LB.WBC" Name="WBC Lab Results with Unit" Repeating="No" MethodOID="ODM.MT.LB.LBORRES">
    <!-- Subject -->
    <ItemRef ItemOID="ODM.IT.LB.SUBJID" Mandatory="Yes" />
    <!-- Collected Leukocytes (White Blood Count) with units -->
    <!-- The value itself -->
    <!-- Remark the reference to the units item using UnitsItemOID -->
    <ItemRef ItemOID="ODM.IT.LB.WBC.LBORRES" Mandatory="Yes" UnitsItemOID="ODM.IT.LB.WBC.LBORRESU">
        <Origin Type="Collected" Source="Investigator">
            <Source>
                <SourceItem>
                    <!-- The value itself is obtained from Observation.valueQuantity.value -->
                    <Resource Type="HL7-FHIR" Name="Observation" Attribute="valueQuantity.value"/>
                </SourceItem>
            </Source>
        </Origin>
    </ItemRef>
    <!-- The units for the leukocytes measurement -->
    <ItemRef ItemOID="ODM.IT.LB.WBC.LBORRESU" Mandatory="Yes">
        <Origin Type="Collected" Source="Investigator">
            <Source>
                <SourceItem>
                    <!-- The value itself is obtained from Observation.valueQuantity.unit -->
                    <Resource Type="HL7-FHIR" Name="Observation" Attribute="valueQuantity.unit"/>
                </SourceItem>
            </Source>
        </Origin>
    </ItemRef>
    <!-- LOINC code of the test to be performed -->
    <Coding Code="26464-8" System="http://loinc.org" SystemName="LOINC" SystemVersion="2.92"/>
	<!-- Alternative way of stating the origin of the data in the group
		as coming from an Electronic Health Record using the FHIR API, 
		retrieved by the investigator -->
 	<Origin Type="Collected" Source="Investigator">
    	<Source>
			<SourceItem>
            	<!-- The Subject-ID is obtained from ResearchSubject.identifier -->
				<!-- The ItemOID references the ItemDef providing the metadata -->
                <Resource Type="HL7-FHIR" Name="ResearchSubject" Attribute="identifier" ItemOID="ODM.IT.LB.SUBJID"/>
            </SourceItem>
        </Source>
   </Origin>
</ItemGroupDef>

  • No labels