15.5.3.1 View Study Details to Determine OIDs
- Select Tasks > View Study.
A page with details about the current study opens. - From the Oveview section, record the Study OID.
- From the Sites section, record the Site OID.
- From the Event Definitions section, record the Event OIDs.
- For the Event Definition whose CRF OIDs you want, click the View icon.
The View Event Definition page opens, displaying a table of CRFs for that Event. - In the CRFs table, click the View icon for the CRF whose OIDs you want.
The View CRF Details page opens and displays a table of Versions. - From the Versions table, record the OID for the version of the CRF you want to use.
- For the CRF version you want, click the Metadata icon .
The View CRF Version Details page opens. - From the View CRF Version Details page, record the OIDs for the Item Groups and Items.
15.5.3.2 View the Study Metadata File to Determine OIDs
If you are familiar with XML file structure, you can determine OIDs using the Study metadata file:
- Download the Study metadata file: Select Tasks > View Study, then follow the instructions at the top of the page.
- Open the Study metadata file in a browser or text editor.
Following is an excerpt of a Study metadata file that provides an example of the structure, showing only the tags that are relevant to finding and determining OIDs needed for the data import file. Comments <!– … –> indicate where the OID values are. You can download and view the complete Study metadata file for the example Study.
Starting with the <Protocol> tag, the general structure is that the OID for an element is defined in a <…Ref> tag. After that, a <…Def> tag for the element contains tags that define the OIDs for the subelements, and so on, through the hierarchy. The heirarchy is: Study Event Definition > Form (CRF) > Item Group > Item.
<?xml version …?>
<ODM … >
<Study OID=”YourStudyOID“> <!– Get the Study OID here. –>
<GlobalVariables>
…
</GlobalVariables>
<BasicDefinitions>
…
</BasicDefinitions>
<MetaDataVersion OID=”YourMetaDataVersionOID“… > <!– Get the MetaDataVersion OID here. –>
<Protocol>
<StudyEventRef StudyEventOID=”YourFirstStudyEventOID” …/> <!– Get the OID for your first Study Event here –>
<StudyEventRef StudyEventOID=”YourSecondStudyEventOID” …/> <!– Get the OID for your second Study Event here –>
…
</Protocol>
<StudyEventDef OID=”YourFirstStudyEventOID” … > <!– This section contains the OIDs for the Forms (CRFs) in the Study Event whose OID is YourFirstStudyEventOID –>
<FormRef FormOID=”YourFirstFormOID” … /> <!– Get the OID for the first CRF used in this Study Event here –>
<FormRef FormOID=”YourSecondFormOID” … /> <!– Get the OID for the second CRF used in this Study Event here –>
…
</StudyEventDef>
<StudyEventDef OID=”YourSecondStudyEventOID” … > <!– This section contains the OIDs for the Forms (CRFs) in the Study Event whose OID is YourSecondStudyEventOID –>
</StudyEventDef>
…
<FormDef OID=”YourFirstFormOID” …> <!– This section contains the OIDs for the Item Groups in the CRF whose OID is YourFirstFormOID –>
<ItemGroupRef ItemGroupOID=”YourFirstItemGroupOID” … /> <!– Get the OID for the first Item Group in this CRF here –>
<ItemGroupRef ItemGroupOID=”YourSecondItemGroupOID” …/> <!– Get the OID for the second Item Group in this CRF here –>
…
<OpenClinica:FormDetails … >
…
</OpenClinica:FormDetails>
</FormDef>
<FormDef OID=”YourSecondFormOID” …> <!– This section contains the OIDs for the Item Groups in the CRF whose OID is YourSecondFormOID –>
…
</FormDef>
<ItemGroupDef OID=”YourFirstItemGroupOID” … > <!– This section contains the OIDs for the Items in the Item Group whose OID is YourFirstItemGroupOID –>
<ItemRef ItemOID=”YourFirstItemOIDInYourFirstItemGroup” /> <!– Get the OID for the first Item in this Item Group here –>
<ItemRef ItemOID=”YourSecondItemOIDInYourFirstItemGroup” /> <!– Get the OID for the second Item in this Item Group here –>
…
<OpenClinica:ItemGroupDetails … >
…
</OpenClinica:ItemGroupDetails …>
</ItemGroupDef>
<ItemGroupDef OID=”YourSecondItemGroupOID” … > <!– This section contains the OIDs for the Items in the Item Group whose OID is YourSecondItemGroupOID –>
…
</ItemGroupDef>
…
<ItemDef OID=”YourFirstItemOIDInYourFirstItemGroup” … > <!– This section contains details for the Item whose OID is YourFirstItemOIDInYourFirstItemGroup –>
…
</ItemDef>
<ItemDef OID=”YourSecondItemOIDInYourFirstItemGroup” … > <!– This section contains details for the Item whose OID is YourSecondItemOIDInYourFirstItemGroup –>
…
</ItemDef>
…