Skip to content

Commit

Permalink
single-column
Browse files Browse the repository at this point in the history
ref #552
  • Loading branch information
wibeasley committed Nov 4, 2024
1 parent c18cf85 commit 47317c8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
2 changes: 1 addition & 1 deletion inst/misc/coph.credentials
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ redcap_uri,username,project_id,token,comment
"https://redcap.ouhsc.edu/redcap/api/","myusername","2300","6FE8CDC56065D234A7CF2C65AA9106D3","simple-write"
"https://redcap.ouhsc.edu/redcap/api/","myusername","2301","0172DF46EE90004E567F55E2D1BCD3D5","russian"
"https://redcap.ouhsc.edu/redcap/api/","myusername","2302","D143A44FAD05FBEF5C35C797CE227D1E","empty-rows"
"https://redcap.ouhsc.edu/redcap/api/","myusername","0","","single-column"
"https://redcap.ouhsc.edu/redcap/api/","myusername","2303","3F5E579FA2B611341D4A395C1A560EAA","single-column"
"https://redcap.ouhsc.edu/redcap/api/","myusername","0","","super-wide-1"
"https://redcap.ouhsc.edu/redcap/api/","myusername","0","","survey"
"https://redcap.ouhsc.edu/redcap/api/","myusername","0","","clinical-trial-1"
Expand Down
2 changes: 1 addition & 1 deletion inst/misc/project-redirection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
- simple-write: 2300
- russian: 2301
- empty-rows: 2302
- single-column: 0
- single-column: 2303
- super-wide-1: 0
- survey: 0
- clinical-trial-1: 0
Expand Down
22 changes: 9 additions & 13 deletions inst/test-data/projects/single-column/project.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8" ?>
<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="REDCapR Target Empty Columns -see https://github.com/OuhscBbmc/REDCapR" AsOfDateTime="2024-10-11T15:17:21" CreationDateTime="2024-10-11T15:17:21" SourceSystem="REDCap" SourceSystemVersion="14.6.11">
<Study OID="Project.REDCapRTargetEmptyColumnsSeeHt">
<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="REDCapR: single-column" AsOfDateTime="2024-11-04T09:01:30" CreationDateTime="2024-11-04T09:01:30" SourceSystem="REDCap" SourceSystemVersion="14.7.3">
<Study OID="Project.REDCapRSinglecolumn">
<GlobalVariables>
<StudyName>REDCapR Target Empty Columns -see https://github.com/OuhscBbmc/REDCapR</StudyName>
<StudyDescription>This file contains the metadata, events, and data for REDCap project "REDCapR Target Empty Columns -see https://github.com/OuhscBbmc/REDCapR".</StudyDescription>
<ProtocolName>REDCapR Target Empty Columns -see https://github.com/OuhscBbmc/REDCapR</ProtocolName>
<StudyName>REDCapR: single-column</StudyName>
<StudyDescription>This file contains the metadata, events, and data for REDCap project "REDCapR: single-column".</StudyDescription>
<ProtocolName>REDCapR: single-column</ProtocolName>
<redcap:RecordAutonumberingEnabled>1</redcap:RecordAutonumberingEnabled>
<redcap:CustomRecordLabel></redcap:CustomRecordLabel>
<redcap:SecondaryUniqueField></redcap:SecondaryUniqueField>
Expand All @@ -13,13 +13,15 @@
<redcap:SchedulingEnabled>0</redcap:SchedulingEnabled>
<redcap:SurveysEnabled>0</redcap:SurveysEnabled>
<redcap:SurveyInvitationEmailField></redcap:SurveyInvitationEmailField>
<redcap:RandomizationEnabled>0</redcap:RandomizationEnabled>
<redcap:DisplayTodayNowButton>1</redcap:DisplayTodayNowButton>
<redcap:PreventBranchingEraseValues>0</redcap:PreventBranchingEraseValues>
<redcap:RequireChangeReason>0</redcap:RequireChangeReason>
<redcap:DataHistoryPopup>1</redcap:DataHistoryPopup>
<redcap:OrderRecordsByField></redcap:OrderRecordsByField>
<redcap:taskCompleteStatus>0</redcap:taskCompleteStatus>
<redcap:MyCapEnabled>0</redcap:MyCapEnabled>
<redcap:Purpose>0</redcap:Purpose>
<redcap:Purpose>4</redcap:Purpose>
<redcap:PurposeOther></redcap:PurposeOther>
<redcap:ProjectNotes></redcap:ProjectNotes>
<redcap:MissingDataCodes></redcap:MissingDataCodes>
Expand All @@ -35,24 +37,20 @@
<redcap:UserRoles role_name="api" unique_role_name="U-9627L9CNY7" lock_record="0" lock_record_multiform="0" lock_record_customize="0" data_export_tool="" data_export_instruments="[demographics,1]" data_import_tool="0" data_comparison_tool="0" data_logging="0" email_logging="0" file_repository="0" double_data="0" user_rights="0" data_access_groups="0" graphical="0" reports="0" design="0" alerts="0" calendar="0" data_entry="[demographics,1]" api_export="1" api_import="0" api_modules="0" mobile_app="0" mobile_app_download_data="0" record_create="0" record_rename="0" record_delete="0" dts="0" participants="1" data_quality_design="0" data_quality_execute="0" data_quality_resolution="1" random_setup="0" random_dashboard="0" random_perform="0" realtime_webservice_mapping="0" realtime_webservice_adjudicate="0" external_module_config="" mycap_participants="1"/>
</redcap:UserRolesGroup>
</GlobalVariables>
<MetaDataVersion OID="Metadata.REDCapRTargetEmptyColumnsSeeHt_2024-10-11_1517" Name="REDCapR Target Empty Columns -see https://github.com/OuhscBbmc/REDCapR" redcap:RecordIdField="record_id">
<MetaDataVersion OID="Metadata.REDCapRSinglecolumn_2024-11-04_0901" Name="REDCapR: single-column" redcap:RecordIdField="record_id">
<FormDef OID="Form.demographics" Name="demographics" Repeating="No" redcap:FormName="demographics">
<ItemGroupRef ItemGroupOID="demographics.record_id" Mandatory="No"/>
<ItemGroupRef ItemGroupOID="demographics.demographics_complete" Mandatory="No"/>
</FormDef>
<ItemGroupDef OID="demographics.record_id" Name="demographics" Repeating="No">
<ItemRef ItemOID="record_id" Mandatory="No" redcap:Variable="record_id"/>
<ItemRef ItemOID="redcap_data_access_group" Mandatory="No" redcap:Variable="redcap_data_access_group"/>
</ItemGroupDef>
<ItemGroupDef OID="demographics.demographics_complete" Name="Form Status" Repeating="No">
<ItemRef ItemOID="demographics_complete" Mandatory="No" redcap:Variable="demographics_complete"/>
</ItemGroupDef>
<ItemDef OID="record_id" Name="record_id" DataType="text" Length="999" redcap:Variable="record_id" redcap:FieldType="text">
<Question><TranslatedText>Study ID</TranslatedText></Question>
</ItemDef>
<ItemDef OID="redcap_data_access_group" Name="redcap_data_access_group" DataType="text" Length="999" redcap:Variable="redcap_data_access_group">
<Question><TranslatedText>Data Access Group</TranslatedText></Question>
</ItemDef>
<ItemDef OID="demographics_complete" Name="demographics_complete" DataType="text" Length="1" redcap:Variable="demographics_complete" redcap:FieldType="select" redcap:SectionHeader="Form Status">
<Question><TranslatedText>Complete?</TranslatedText></Question>
<CodeListRef CodeListOID="demographics_complete.choices"/>
Expand All @@ -64,6 +62,4 @@
</CodeList>
</MetaDataVersion>
</Study>
<ClinicalData StudyOID="Project.REDCapRTargetEmptyColumnsSeeHt" MetaDataVersionOID="Metadata.REDCapRTargetEmptyColumnsSeeHt_2024-10-11_1517">
</ClinicalData>
</ODM>

0 comments on commit 47317c8

Please sign in to comment.