We are currently working on the forum. For the short-term, all forum content will be in read-only format. We apologize for the interruption and look forward to collaborating with you shortly. All the best in your research!
rest/clinicaldata/xml/view/
Hi
I have been messing around with the XML data links that are given as part of the subject casebook functionality, where the link given is in the form: rest/clinicaldata/xml/view/studyoid/subjectoid/eventoid/*
The eventoid can be replaced with a * to output all events for the given subject which works well.
This led me to believe I could do the same with subjectoid to output all information across subjects for the study specified. This appears to work; all study events and info are included in the metadata section of the file, in addition subjectdata is included for all subjects in the clinicaldata section.
However, each of the subjects' data appears identical in the output, this is not the case on the database. I have included extracts of three separate subject's data below. The study includes 50 subjects, the remaining 47 are identical. The demographic information for all 50 subjects clearly shouldn't be identical (and isn't on the screens and created data sets) so looks to be an issue with the displayed data in this format.
<SubjectData SubjectKey="SS_03_2148" OpenClinica:StudySubjectID="03" OpenClinica:Status="signed" OpenClinica:Sex="null" OpenClinica:EnrollmentDate="2014-12-01">
<StudyEventData StudyEventOID="SE_DAY0_6477" OpenClinica:StartDate="2014-12-01" OpenClinica:EndDate="2014-12-01" OpenClinica:Status="signed" StudyEventRepeatKey="1">
<FormData FormOID="F_HVT082DAY0AP_1" OpenClinica:Version="1" OpenClinica:InterviewerName="AlanR" OpenClinica:InterviewDate="2014-12-01" OpenClinica:Status="data entry complete">
<ItemGroupData ItemGroupOID="IG_HVT08_VOLDETS_4144" ItemGroupRepeatKey="1" TransactionType="Insert">
<ItemData ItemOID="I_HVT08_GENDER_1788" Value="1"/>
<ItemData ItemOID="I_HVT08_AGE_3318" Value="43"/>
<ItemData ItemOID="I_HVT08_ELIG_4803" Value="1"/>
<ItemData ItemOID="I_HVT08_TOA_2418" Value="11:30"/>
<ItemData ItemOID="I_HVT08_DOA_9457" Value="2014-12-01"/>
<ItemData ItemOID="I_HVT08_VOLNO_5459" Value="24"/>
</ItemGroupData>
<SubjectData SubjectKey="SS_06_8091" OpenClinica:StudySubjectID="06" OpenClinica:Status="signed" OpenClinica:Sex="null"
...
<ItemGroupData ItemGroupOID="IG_HVT08_VOLDETS_4144" ItemGroupRepeatKey="1" TransactionType="Insert">
<ItemData ItemOID="I_HVT08_GENDER_1788" Value="1"/>
<ItemData ItemOID="I_HVT08_AGE_3318" Value="43"/>
<ItemData ItemOID="I_HVT08_ELIG_4803" Value="1"/>
<ItemData ItemOID="I_HVT08_TOA_2418" Value="11:30"/>
<ItemData ItemOID="I_HVT08_DOA_9457" Value="2014-12-01"/>
<ItemData ItemOID="I_HVT08_VOLNO_5459" Value="24"/>
</ItemGroupData>
<SubjectData SubjectKey="SS_07_3265" OpenClinica:StudySubjectID="07" OpenClinica:Status="signed" OpenClinica:Sex="null"
...
<ItemGroupData ItemGroupOID="IG_HVT08_VOLDETS_4144" ItemGroupRepeatKey="1" TransactionType="Insert">
<ItemData ItemOID="I_HVT08_GENDER_1788" Value="1"/>
<ItemData ItemOID="I_HVT08_AGE_3318" Value="43"/>
<ItemData ItemOID="I_HVT08_ELIG_4803" Value="1"/>
<ItemData ItemOID="I_HVT08_TOA_2418" Value="11:30"/>
<ItemData ItemOID="I_HVT08_DOA_9457" Value="2014-12-01"/>
<ItemData ItemOID="I_HVT08_VOLNO_5459" Value="24"/>
</ItemGroupData>
Does anyone else have this issue?
0
Comments
I am not yet aware of any issue with REST for grouped items. Has an issue
come up?
Thanks,
Alicia
On Wed, Dec 10, 2014 at 11:40 AM, GerbenRienk <[email protected]
Alicia - the example I gave was using grouped items
I can make do with the XML dataset export but it would be nice just to just parse the link without having to manually download and extract the export first