Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] debugging redcap2reproschema during converting HBCD #61

Merged
merged 6 commits into from
Jul 18, 2024

Conversation

yibeichan
Copy link
Contributor

fixed the following

  • add data_dmy as xsd:date to VALUE_TYPE_MAP
  • add datetime_ymd as xsd:datetime to VALUE_TYPE_MAP
  • skip .DS_Store for validation
  • fix response option (e.g., "1,") for completing the survey (see item webcdi_en_completion_status

result from old code:

"responseOptions": {
        "choices": [
            {
                "name": {
                    "en": "1,"
                },
                "value": 0
            }
        ],
        "valueType": [
            "xsd:integer"
        ]
    },

result from new code:

"responseOptions": {
        "choices": [
            {
                "name": {
                    "en": ""
                },
                "value": 1
            }
        ],
        "valueType": [
            "xsd:integer"
        ]
    },

@yibeichan yibeichan requested a review from djarecka June 24, 2024 07:56
@yibeichan yibeichan merged commit 10749c4 into main Jul 18, 2024
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant