Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<?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"> <!-- The Subject Identifier --> <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"" /> <!-- The units for the leukocytes measurement <Source>--> <ItemRef ItemOID="ODM.IT.LB.WBC.LBORRESU" <SourceItem> Mandatory="Yes" /> <!-- LOINC Thecode valueof itselfthe istest obtainedto from Observation.valueQuantity.valuebe performed --> <Coding <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"> 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> <Source> <SourceItem> <!-- The Subject-ID is obtained from ResearchSubject.identifier --> <!-- The ItemOID valuereferences itselfthe isItemDef obtainedproviding from Observation.valueQuantity.unitthe metadata --> <Resource Type="HL7-FHIR" Name="ObservationResearchSubject" Attribute="identifier" ItemOID="valueQuantity.unitODM.IT.LB.SUBJID"/> </SourceItem> <SourceItem> <!-- The value itself is obtained from Observation.valueQuantity.value </Source> </Origin> </ItemRef>--> <!-- The ItemOID references the ItemDef providing the metadata --> <!-- LOINC code of the test to be performed --> <Resource <Coding CodeType="26464HL7-8FHIR" SystemName="http://loinc.orgObservation" SystemNameAttribute="LOINCvalueQuantity.value" SystemVersionItemOID="2.92ODM.IT.LB.WBC.LBORRES"/> <!-- 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> </SourceItem> <SourceItem> <!-- The Subject-IDvalue itself is obtained from ResearchSubjectObservation.valueQuantity.identifierunit --> <!-- The ItemOID references the ItemDef providing the metadata --> <Resource Type="HL7-FHIR" Name="ResearchSubjectObservation" Attribute="identifiervalueQuantity.unit" ItemOID="ODM.IT.LB.SUBJIDWBC.LBORRESU"/> </SourceItem> </Source> </Origin> </ItemGroupDef> |
Page History
Overview
Content Tools