Skip to content

Commit

Permalink
GitHub Action: convert *.model.csv to *.model.jsonld
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 30, 2024
1 parent 9d41c7c commit 021c933
Showing 1 changed file with 53 additions and 66 deletions.
119 changes: 53 additions & 66 deletions HTAN.model.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -42527,9 +42527,6 @@
{
"@id": "bts:BarrettsEsophagusGobletCellsPresent"
},
{
"@id": "bts:PrecancerCase"
},
{
"@id": "bts:TreatmentorTherapy"
}
Expand Down Expand Up @@ -59268,9 +59265,12 @@
{
"@id": "bts:Alive",
"@type": "rdfs:Class",
"rdfs:comment": "TBD",
"rdfs:comment": "This indicates the participant is alive and defines further required metadata",
"rdfs:label": "Alive",
"rdfs:subClassOf": [
{
"@id": "bts:Patient"
},
{
"@id": "bts:VitalStatus"
}
Expand All @@ -59280,6 +59280,11 @@
},
"sms:displayName": "Alive",
"sms:required": "sms:false",
"sms:requiresDependency": [
{
"@id": "bts:DaystoVitalStatusReference"
}
],
"sms:validationRules": []
},
{
Expand Down Expand Up @@ -150938,7 +150943,7 @@
{
"@id": "bts:ParticipantVitalStatusUpdate",
"@type": "rdfs:Class",
"rdfs:comment": "Updates to a participants vlial status",
"rdfs:comment": "Updates to a participants vital status",
"rdfs:label": "ParticipantVitalStatusUpdate",
"rdfs:subClassOf": [
{
Expand All @@ -150952,42 +150957,17 @@
"sms:required": "sms:false",
"sms:requiresDependency": [
{
"@id": "bts:VitalStatus"
},
{
"@id": "bts:DaystoVitalStatusReference"
},
{
"@id": "bts:CauseofDeath"
"@id": "bts:Component"
},
{
"@id": "bts:CauseofDeathSource"
"@id": "bts:HTANParticipantID"
},
{
"@id": "bts:DaystoDeath"
"@id": "bts:VitalStatus"
}
],
"sms:validationRules": []
},
{
"@id": "bts:DaystoVitalStatusReference",
"@type": "rdfs:Class",
"rdfs:comment": "Number of days between the date used for index and the reference date for designation of vital status",
"rdfs:label": "DaystoVitalStatusReference",
"rdfs:subClassOf": [
{
"@id": "bts:Patient"
}
],
"schema:isPartOf": {
"@id": "http://schema.biothings.io"
},
"sms:displayName": "Days to Vital Status Reference",
"sms:required": "sms:false",
"sms:validationRules": [
"int"
]
},
{
"@id": "bts:PrecancerDiagnosis",
"@type": "rdfs:Class",
Expand All @@ -151005,16 +150985,13 @@
"sms:required": "sms:false",
"sms:requiresDependency": [
{
"@id": "bts:PrecancerCase"
},
{
"@id": "bts:DaystoPrecancerCaseDesignation"
"@id": "bts:Component"
},
{
"@id": "bts:PrecancerousConditionType"
"@id": "bts:HTANParticipantID"
},
{
"@id": "bts:WHOPrecursorLesionCode"
"@id": "bts:PrecancerCase"
}
],
"sms:validationRules": []
Expand All @@ -151034,7 +151011,7 @@
},
"schema:rangeIncludes": [
{
"@id": "bts:Yes"
"@id": "bts:Yes-PrecancerCase"
},
{
"@id": "bts:No"
Expand All @@ -151047,14 +151024,14 @@
}
],
"sms:displayName": "Precancer Case",
"sms:required": "sms:false",
"sms:required": "sms:true",
"sms:validationRules": []
},
{
"@id": "bts:DaystoPrecancerCaseDesignation",
"@id": "bts:DaystoVitalStatusReference",
"@type": "rdfs:Class",
"rdfs:comment": "Number of days between the date used for index and the reference date for designation of precancer status.",
"rdfs:label": "DaystoPrecancerCaseDesignation",
"rdfs:comment": "Number of days between the date used for index and the reference date for designation of vital status",
"rdfs:label": "DaystoVitalStatusReference",
"rdfs:subClassOf": [
{
"@id": "bts:Patient"
Expand All @@ -151063,70 +151040,80 @@
"schema:isPartOf": {
"@id": "http://schema.biothings.io"
},
"sms:displayName": "Days to Precancer Case Designation",
"sms:required": "sms:false",
"sms:displayName": "Days to Vital Status Reference",
"sms:required": "sms:true",
"sms:validationRules": [
"int"
]
},
{
"@id": "bts:WHOPrecursorLesionCode",
"@id": "bts:Yes-PrecancerCase",
"@type": "rdfs:Class",
"rdfs:comment": "World Health Organization Classification of Tumour cytopathology-based coding system, includes 'precursor lesion' designations for precancers. ICD-O-3 morphology axis format",
"rdfs:label": "WHOPrecursorLesionCode",
"rdfs:comment": "Indicates that the participant is a precancer case",
"rdfs:label": "Yes-PrecancerCase",
"rdfs:subClassOf": [
{
"@id": "bts:Patient"
},
{
"@id": "bts:PrecancerCase"
}
],
"schema:isPartOf": {
"@id": "http://schema.biothings.io"
},
"schema:rangeIncludes": [
"sms:displayName": "Yes - Precancer Case",
"sms:required": "sms:false",
"sms:requiresDependency": [
{
"@id": "bts:PrecancerousConditionType"
},
{
"@id": "bts:Thisprecursor:1234/1"
"@id": "bts:DaystoPrecancerCaseDesignation"
},
{
"@id": "bts:Thatprecursor:4321/2"
"@id": "bts:WHOPrecursorLesionCode"
}
],
"sms:displayName": "WHO Precursor Lesion Code",
"sms:required": "sms:false",
"sms:validationRules": []
},
{
"@id": "bts:Thisprecursor:1234/1",
"@id": "bts:DaystoPrecancerCaseDesignation",
"@type": "rdfs:Class",
"rdfs:comment": "TBD",
"rdfs:label": "Thisprecursor:1234/1",
"rdfs:comment": "Number of days between the date used for index and the reference date for designation of precancer status.",
"rdfs:label": "DaystoPrecancerCaseDesignation",
"rdfs:subClassOf": [
{
"@id": "bts:WHOPrecursorLesionCode"
"@id": "bts:Patient"
}
],
"schema:isPartOf": {
"@id": "http://schema.biothings.io"
},
"sms:displayName": "This precursor: 1234/1",
"sms:displayName": "Days to Precancer Case Designation",
"sms:required": "sms:false",
"sms:validationRules": []
"sms:validationRules": [
"int"
]
},
{
"@id": "bts:Thatprecursor:4321/2",
"@id": "bts:WHOPrecursorLesionCode",
"@type": "rdfs:Class",
"rdfs:comment": "TBD",
"rdfs:label": "Thatprecursor:4321/2",
"rdfs:comment": "World Health Organization Classification of Tumour cytopathology-based coding system, includes 'precursor lesion' designations for precancers. ICD-O-3 morphology axis format eg 1234/1",
"rdfs:label": "WHOPrecursorLesionCode",
"rdfs:subClassOf": [
{
"@id": "bts:WHOPrecursorLesionCode"
"@id": "bts:Patient"
}
],
"schema:isPartOf": {
"@id": "http://schema.biothings.io"
},
"sms:displayName": "That precursor: 4321/2",
"sms:displayName": "WHO Precursor Lesion Code",
"sms:required": "sms:false",
"sms:validationRules": []
"sms:validationRules": [
"regex match ^\\d{4}\\/[0-3]$"
]
}
],
"@id": "http://schema.biothings.io/#0.1"
Expand Down

0 comments on commit 021c933

Please sign in to comment.