-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add instrument (e.g., CRF form) to VLMD schema #39
Comments
I have reviewed this Mike, and think it reflects our discussion accurately and will work well. My only final comment would be that we might consider adding/restoring the |
I think that makes sense @pschumm . Previously we had proposed a {
"title":"Adult Demographics",
"standardsMappings": [
{
"instrument": {
"source": "heal-cde",
"title": "adult-demographics"
}
],
"fields":[
{"name":"race",
"title":"Racial Category",
"description":"This is an example CDE using racial category",
"type":"string",
"constraints":{"enum":["White","Black",...,...],
....
"standardsMappings": [
"item": {
"source": "CDISC",
"id": "C74457"
},
}
]
} |
Right. Moreover, the unnecessary use of a different property name (i.e., |
Upon implementing this, realized it would increase interoperability and ease of conversion to use relative json paths as the csv variable names. So, for example. With standardMappings instruments: "standardsMappings": [
{
"instrument": {
"source": "heal-cde",
"title": "adult-demographics"
},
"item": {
"source": "CDISC",
"id": "C74457"
},
}
] Corresponds to:
|
Implementation rule for csv to json conversion: if a property is defined at root level, is also defined at field level, then carry up to root level? This will work well for defining standardsMappings instrument values (and also schema versions -- but would need to clearly define difference between |
Could also add another rule: if variable name begins with |
Closing out #50 |
The
standardsMappings
property has been developed to over time to make a general enough property that encompasses both HEAL CDEs and external CDEs. However, as we get further into development there is a need to add instrument (eg form level of details). This proposed change creates nests two sub properties: item and instrument. The below word document contains this proposal as well.**Note: see comments for addition of root level
standardsMappings
amendment to proposal.standardsMappings-proposed-changes-datataskforce-10-17.docx
Current
The current
standardsMappings
property was designed with the NIH CDE repository in mind with the idea that folks would look up a common data element on the website and map to VLMD (or we would do “fuzzy matching.” Below is used in the current filled out examples (this example uses a race var from NIH CDE repo). Note, an investigator can fill in any one of these (see attached doc)Examples
JSON heal vlmd schema
CSV heal vmld schema
Json example:
Proposed
In the proposed schema, we have introduced two nested properties,
instrument
anditem
, understandardsMappings
. These sub-properties allow for flexibility and accommodate additional sources and IDs as needed (ie non NIH HEAL CDEs discussed in data TF). The properties are not required, so users can fill them out as desired (exceptsource
orurl
if nosource
). Additionally,title
is included in the instrument as no other VLMD properties address instrument info. Also, we reduce complexity and confusion by removing other potentially ambiguous properties such astype
. Below are snippets showing combinations of valid entries for this property.All Fields Mapped (Both Instrument and Item)
Only Instrument Title of Form CDE File Mapped
In this scenario, especially as CDE variables do not have associated CDISC ids listed, only instrument information is given.
Only Instrument ID of HEAL CDE Mapped
Other Non-HEAL CDE Use Cases
Only item matched (for example if found in the NIH (not HEAL) CDE repository). Folks would enter the information in the "Identifier" section. Similar to the above, they could also just enter the "url".
Multiple CDE Mappings
Two separate records. If desired, multiple standard mappings can be entered, say from the NIH HEAL CDE repo and the NIH CDE lookup (NLM) by way of two separate records in the list.
The text was updated successfully, but these errors were encountered: