Skip to content

Commit aab15b2

Browse files
committed
new Sample Project with Heart Rate store
new Sample Project with Heart Rate store
1 parent 066d58f commit aab15b2

1 file changed

Lines changed: 42 additions & 8 deletions

File tree

FitbitDataSync_2021-10-11_1812_SampleProject.REDCap.xml

Lines changed: 42 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
2-
<ODM xmlns="http://www.cdisc.org/ns/odm/v1.3" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:redcap="https://projectredcap.org" xsi:schemaLocation="http://www.cdisc.org/ns/odm/v1.3 schema/odm/ODM1-3-1.xsd" ODMVersion="1.3.1" FileOID="000-00-0000" FileType="Snapshot" Description="FitbitDataSync" AsOfDateTime="2021-10-11T18:12:20" CreationDateTime="2021-10-11T18:12:20" SourceSystem="REDCap" SourceSystemVersion="10.8.4">
3-
<Study OID="Project.FitbitDataSync">
2+
<ODM xmlns="http://www.cdisc.org/ns/odm/v1.3" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:redcap="https://projectredcap.org" xsi:schemaLocation="http://www.cdisc.org/ns/odm/v1.3 schema/odm/ODM1-3-1.xsd" ODMVersion="1.3.1" FileOID="000-00-0000" FileType="Snapshot" Description="FitbitDataSyncExternalModuleProjectDemo" AsOfDateTime="2022-04-08T15:07:46" CreationDateTime="2022-04-08T15:07:46" SourceSystem="REDCap" SourceSystemVersion="12.0.5">
3+
<Study OID="Project.FitbitDataSyncExternalModulePr">
44
<GlobalVariables>
5-
<StudyName>FitbitDataSync</StudyName>
6-
<StudyDescription>This file contains the metadata, events, and data for REDCap project "FitbitDataSync".</StudyDescription>
7-
<ProtocolName>FitbitDataSync</ProtocolName>
5+
<StudyName>FitbitDataSyncExternalModuleProjectDemo</StudyName>
6+
<StudyDescription>This file contains the metadata, events, and data for REDCap project "FitbitDataSyncExternalModuleProjectDemo".</StudyDescription>
7+
<ProtocolName>FitbitDataSyncExternalModuleProjectDemo</ProtocolName>
88
<redcap:RecordAutonumberingEnabled>1</redcap:RecordAutonumberingEnabled>
99
<redcap:CustomRecordLabel></redcap:CustomRecordLabel>
1010
<redcap:SecondaryUniqueField></redcap:SecondaryUniqueField>
@@ -15,19 +15,27 @@
1515
<redcap:PurposeOther></redcap:PurposeOther>
1616
<redcap:ProjectNotes></redcap:ProjectNotes>
1717
<redcap:MissingDataCodes></redcap:MissingDataCodes>
18+
<redcap:ProtectedEmailMode>0</redcap:ProtectedEmailMode>
19+
<redcap:ProtectedEmailModeCustomText></redcap:ProtectedEmailModeCustomText>
20+
<redcap:ProtectedEmailModeTrigger>ALL</redcap:ProtectedEmailModeTrigger>
21+
<redcap:ProtectedEmailModeLogo></redcap:ProtectedEmailModeLogo>
1822
<redcap:RepeatingInstrumentsAndEvents>
1923
<redcap:RepeatingInstruments>
2024
<redcap:RepeatingInstrument redcap:UniqueEventName="event_1_arm_1" redcap:RepeatInstrument="sleep_data" redcap:CustomLabel="[dateofsleep]"/>
2125
<redcap:RepeatingInstrument redcap:UniqueEventName="event_1_arm_1" redcap:RepeatInstrument="activity_data" redcap:CustomLabel="[dateofactivity]"/>
26+
<redcap:RepeatingInstrument redcap:UniqueEventName="event_1_arm_1" redcap:RepeatInstrument="heart_rate_data" redcap:CustomLabel="[dateofheartrate]"/>
2227
</redcap:RepeatingInstruments>
2328
</redcap:RepeatingInstrumentsAndEvents>
2429
<redcap:SurveysGroup>
2530
<redcap:Surveys form_name="fitbit_data_sync_invite_survey" title="Fitbit Data Sync Invite Survey" instructions="&lt;p&gt;&lt;strong&gt;Please complete the survey below.&lt;/strong&gt;&lt;/p&gt;
26-
&lt;p&gt;Thank you!&lt;/p&gt;" acknowledgement="&lt;p&gt;&lt;strong&gt;Thank you for taking the survey.&lt;/strong&gt;&lt;/p&gt;
27-
&lt;p&gt;Have a nice day!&lt;/p&gt;" question_by_section="0" display_page_number="0" question_auto_numbering="1" survey_enabled="1" save_and_return="0" save_and_return_code_bypass="0" logo="" hide_title="0" view_results="0" min_responses_view_results="10" check_diversity_view_results="0" end_survey_redirect_url="" survey_expiration="" promis_skip_question="0" survey_auth_enabled_single="0" edit_completed_response="0" hide_back_button="0" show_required_field_text="1" confirmation_email_subject="" confirmation_email_content="" confirmation_email_from="" confirmation_email_from_display="" confirmation_email_attach_pdf="0" confirmation_email_attachment="" text_to_speech="0" text_to_speech_language="en" end_survey_redirect_next_survey="0" theme="" text_size="1" font_family="16" theme_text_buttons="" theme_bg_page="" theme_text_title="" theme_bg_title="" theme_text_sectionheader="" theme_bg_sectionheader="" theme_text_question="" theme_bg_question="" enhanced_choices="0" repeat_survey_enabled="0" repeat_survey_btn_text="" repeat_survey_btn_location="HIDDEN" response_limit="" response_limit_include_partials="1" response_limit_custom_text="&lt;p&gt;Thank you for your interest; however, the survey is closed because the maximum number of responses has been reached.&lt;/p&gt;" survey_time_limit_days="" survey_time_limit_hours="" survey_time_limit_minutes="" email_participant_field="" end_of_survey_pdf_download="0" pdf_save_to_field="" pdf_save_to_event_id="" pdf_auto_archive="0" pdf_econsent_version="" pdf_econsent_type="" pdf_econsent_firstname_field="" pdf_econsent_firstname_event_id="" pdf_econsent_lastname_field="" pdf_econsent_lastname_event_id="" pdf_econsent_dob_field="" pdf_econsent_dob_event_id="" pdf_econsent_allow_edit="1" pdf_econsent_signature_field1="" pdf_econsent_signature_field2="" pdf_econsent_signature_field3="" pdf_econsent_signature_field4="" pdf_econsent_signature_field5=""/>
31+
&lt;p&gt;Thank you!&lt;/p&gt;" offline_instructions="" acknowledgement="&lt;p&gt;&lt;strong&gt;Thank you for taking the survey.&lt;/strong&gt;&lt;/p&gt;
32+
&lt;p&gt;Have a nice day!&lt;/p&gt;" stop_action_acknowledgement="" stop_action_delete_response="0" question_by_section="0" display_page_number="0" question_auto_numbering="1" survey_enabled="1" save_and_return="0" save_and_return_code_bypass="0" logo="" hide_title="0" view_results="0" min_responses_view_results="10" check_diversity_view_results="0" end_survey_redirect_url="" survey_expiration="" promis_skip_question="0" survey_auth_enabled_single="0" edit_completed_response="0" hide_back_button="0" show_required_field_text="1" confirmation_email_subject="" confirmation_email_content="" confirmation_email_from="" confirmation_email_from_display="" confirmation_email_attach_pdf="0" confirmation_email_attachment="" text_to_speech="0" text_to_speech_language="en" end_survey_redirect_next_survey="0" theme="" text_size="1" font_family="16" theme_text_buttons="" theme_bg_page="" theme_text_title="" theme_bg_title="" theme_text_sectionheader="" theme_bg_sectionheader="" theme_text_question="" theme_bg_question="" enhanced_choices="0" repeat_survey_enabled="0" repeat_survey_btn_text="" repeat_survey_btn_location="HIDDEN" response_limit="" response_limit_include_partials="1" response_limit_custom_text="&lt;p&gt;Thank you for your interest; however, the survey is closed because the maximum number of responses has been reached.&lt;/p&gt;" survey_time_limit_days="" survey_time_limit_hours="" survey_time_limit_minutes="" email_participant_field="" end_of_survey_pdf_download="0" pdf_save_to_field="" pdf_save_to_event_id="" pdf_auto_archive="0" pdf_econsent_version="" pdf_econsent_type="" pdf_econsent_firstname_field="" pdf_econsent_firstname_event_id="" pdf_econsent_lastname_field="" pdf_econsent_lastname_event_id="" pdf_econsent_dob_field="" pdf_econsent_dob_event_id="" pdf_econsent_allow_edit="1" pdf_econsent_signature_field1="" pdf_econsent_signature_field2="" pdf_econsent_signature_field3="" pdf_econsent_signature_field4="" pdf_econsent_signature_field5=""/>
2833
</redcap:SurveysGroup>
34+
<redcap:ReportsGroup>
35+
<redcap:Reports title="Test" unique_report_name="R-973RJFRREH" report_order="1" user_access="ALL" user_edit_access="ALL" description="" combine_checkbox_values="0" output_dags="0" output_survey_fields="0" output_missing_data_codes="0" remove_line_breaks_in_values="1" orderby_field1="record_id" orderby_sort1="ASC" orderby_field2="" orderby_sort2="" orderby_field3="" orderby_sort3="" advanced_logic="" filter_type="RECORD" dynamic_filter1="" dynamic_filter2="" dynamic_filter3="" hash="JCPR43JERR8CAE9Y" short_url="" is_public="0" report_display_include_repeating_fields="1" report_display_header="BOTH" report_display_data="BOTH" limiter_logic="" redcap_reports_fields="record_id,oauth_unique_state" redcap_reports_filter_dags="" redcap_reports_filter_events="" ID="58eb9140e6391df425e463cf6d6057f0ef92e90b"/>
36+
</redcap:ReportsGroup>
2937
</GlobalVariables>
30-
<MetaDataVersion OID="Metadata.FitbitDataSync_2021-10-11_1812" Name="FitbitDataSync" redcap:RecordIdField="record_id">
38+
<MetaDataVersion OID="Metadata.FitbitDataSyncExternalModulePr_2022-04-08_1507" Name="FitbitDataSyncExternalModuleProjectDemo" redcap:RecordIdField="record_id">
3139
<FormDef OID="Form.basic_demography" Name="Basic Demography" Repeating="No" redcap:FormName="basic_demography">
3240
<ItemGroupRef ItemGroupOID="basic_demography.record_id" Mandatory="No"/>
3341
<ItemGroupRef ItemGroupOID="basic_demography.basic_demography_complete" Mandatory="No"/>
@@ -44,6 +52,10 @@
4452
<ItemGroupRef ItemGroupOID="activity_data.dateofactivity" Mandatory="No"/>
4553
<ItemGroupRef ItemGroupOID="activity_data.activity_data_complete" Mandatory="No"/>
4654
</FormDef>
55+
<FormDef OID="Form.heart_rate_data" Name="Heart Rate Data" Repeating="No" redcap:FormName="heart_rate_data">
56+
<ItemGroupRef ItemGroupOID="heart_rate_data.dateofheartrate" Mandatory="No"/>
57+
<ItemGroupRef ItemGroupOID="heart_rate_data.heart_rate_data_complete" Mandatory="No"/>
58+
</FormDef>
4759
<ItemGroupDef OID="basic_demography.record_id" Name="Basic Demography" Repeating="No">
4860
<ItemRef ItemOID="record_id" Mandatory="No" redcap:Variable="record_id"/>
4961
<ItemRef ItemOID="email_addr" Mandatory="Yes" redcap:Variable="email_addr"/>
@@ -75,6 +87,13 @@
7587
<ItemGroupDef OID="activity_data.activity_data_complete" Name="Form Status" Repeating="No">
7688
<ItemRef ItemOID="activity_data_complete" Mandatory="No" redcap:Variable="activity_data_complete"/>
7789
</ItemGroupDef>
90+
<ItemGroupDef OID="heart_rate_data.dateofheartrate" Name="Heart Rate Data" Repeating="No">
91+
<ItemRef ItemOID="dateofheartrate" Mandatory="No" redcap:Variable="dateofheartrate"/>
92+
<ItemRef ItemOID="heartratelog_response" Mandatory="No" redcap:Variable="heartratelog_response"/>
93+
</ItemGroupDef>
94+
<ItemGroupDef OID="heart_rate_data.heart_rate_data_complete" Name="Form Status" Repeating="No">
95+
<ItemRef ItemOID="heart_rate_data_complete" Mandatory="No" redcap:Variable="heart_rate_data_complete"/>
96+
</ItemGroupDef>
7897
<ItemDef OID="record_id" Name="record_id" DataType="text" Length="999" redcap:Variable="record_id" redcap:FieldType="text">
7998
<Question><TranslatedText>Record ID</TranslatedText></Question>
8099
</ItemDef>
@@ -126,6 +145,16 @@ Fitbit Data Linking</TranslatedText><redcap:FormattedTranslatedText>&lt;div clas
126145
<Question><TranslatedText>Complete?</TranslatedText></Question>
127146
<CodeListRef CodeListOID="activity_data_complete.choices"/>
128147
</ItemDef>
148+
<ItemDef OID="dateofheartrate" Name="dateofheartrate" DataType="text" Length="999" redcap:Variable="dateofheartrate" redcap:FieldType="text">
149+
<Question><TranslatedText>Date of Heart Rate Log from Fitbit</TranslatedText></Question>
150+
</ItemDef>
151+
<ItemDef OID="heartratelog_response" Name="heartratelog_response" DataType="text" Length="999" redcap:Variable="heartratelog_response" redcap:FieldType="textarea">
152+
<Question><TranslatedText>Full Heart Rate Log Response : </TranslatedText></Question>
153+
</ItemDef>
154+
<ItemDef OID="heart_rate_data_complete" Name="heart_rate_data_complete" DataType="text" Length="1" redcap:Variable="heart_rate_data_complete" redcap:FieldType="select" redcap:SectionHeader="Form Status">
155+
<Question><TranslatedText>Complete?</TranslatedText></Question>
156+
<CodeListRef CodeListOID="heart_rate_data_complete.choices"/>
157+
</ItemDef>
129158
<CodeList OID="basic_demography_complete.choices" Name="basic_demography_complete" DataType="text" redcap:Variable="basic_demography_complete">
130159
<CodeListItem CodedValue="0"><Decode><TranslatedText>Incomplete</TranslatedText></Decode></CodeListItem>
131160
<CodeListItem CodedValue="1"><Decode><TranslatedText>Unverified</TranslatedText></Decode></CodeListItem>
@@ -146,6 +175,11 @@ Fitbit Data Linking</TranslatedText><redcap:FormattedTranslatedText>&lt;div clas
146175
<CodeListItem CodedValue="1"><Decode><TranslatedText>Unverified</TranslatedText></Decode></CodeListItem>
147176
<CodeListItem CodedValue="2"><Decode><TranslatedText>Complete</TranslatedText></Decode></CodeListItem>
148177
</CodeList>
178+
<CodeList OID="heart_rate_data_complete.choices" Name="heart_rate_data_complete" DataType="text" redcap:Variable="heart_rate_data_complete">
179+
<CodeListItem CodedValue="0"><Decode><TranslatedText>Incomplete</TranslatedText></Decode></CodeListItem>
180+
<CodeListItem CodedValue="1"><Decode><TranslatedText>Unverified</TranslatedText></Decode></CodeListItem>
181+
<CodeListItem CodedValue="2"><Decode><TranslatedText>Complete</TranslatedText></Decode></CodeListItem>
182+
</CodeList>
149183
</MetaDataVersion>
150184
</Study>
151185
</ODM>

0 commit comments

Comments
 (0)