From 380d9353a065f446c6adadc62c1c4478ee237587 Mon Sep 17 00:00:00 2001 From: Peyman-N Date: Mon, 4 Mar 2024 13:52:05 +0100 Subject: [PATCH 1/3] moving clinical research to here --- .../preRecordingExamination.schema.tpl.json | 36 +++++++++++++++++++ .../subjectPreparation.schema.tpl.json | 36 +++++++++++++++++++ schemas/entity/assessment.schema.tpl.json | 21 +++++++++++ 3 files changed, 93 insertions(+) create mode 100644 schemas/activity/preRecordingExamination.schema.tpl.json create mode 100644 schemas/activity/subjectPreparation.schema.tpl.json create mode 100644 schemas/entity/assessment.schema.tpl.json diff --git a/schemas/activity/preRecordingExamination.schema.tpl.json b/schemas/activity/preRecordingExamination.schema.tpl.json new file mode 100644 index 0000000..cbb6bf9 --- /dev/null +++ b/schemas/activity/preRecordingExamination.schema.tpl.json @@ -0,0 +1,36 @@ +{ + "_type": "https://openminds.ebrains.eu/MRI/PreRecordingExamination", + "_extends": "/core/schemas/research/experimentalActivity.schema.tpl.json", + "properties": { + "assessment": { + "type": "array", + "minItems": 1, + "uniqueItems": true, + "_instruction": "Add All the assessments aquired during this session.", + "_linkedTypes": [ + "https://openminds.ebrains.eu/MRI/Assessment" + ] + }, + "behavioralProtocol": { + "type": "array", + "minItems": 1, + "uniqueItems": true, + "_instruction": "Add all behavioral protocols that were performed during this session.", + "_linkedTypes": [ + "https://openminds.ebrains.eu/core/BehavioralProtocol" + ] + }, + "input": { + "_instruction": "Add the state of the subject before this session.", + "_linkedTypes": [ + "https://openminds.ebrains.eu/core/SubjectState" + ] + }, + "output": { + "_instruction": "Add the state of the subject after this session.", + "_linkedTypes": [ + "https://openminds.ebrains.eu/core/SubjectState" + ] + } + } +} diff --git a/schemas/activity/subjectPreparation.schema.tpl.json b/schemas/activity/subjectPreparation.schema.tpl.json new file mode 100644 index 0000000..9b2a1b6 --- /dev/null +++ b/schemas/activity/subjectPreparation.schema.tpl.json @@ -0,0 +1,36 @@ +{ + "_type": "https://openminds.ebrains.eu/MRI/SubjectPreparation", + "_extends": "/core/schemas/research/experimentalActivity.schema.tpl.json", + "properties": { + "assessment": { + "type": "array", + "minItems": 1, + "uniqueItems": true, + "_instruction": "Add All the assessments aquired during this session.", + "_linkedTypes": [ + "https://openminds.ebrains.eu/MRI/Assessment" + ] + }, + "behavioralProtocol": { + "type": "array", + "minItems": 1, + "uniqueItems": true, + "_instruction": "Add all behavioral protocols that were performed during this session.", + "_linkedTypes": [ + "https://openminds.ebrains.eu/core/BehavioralProtocol" + ] + }, + "input": { + "_instruction": "Add the state of the subject before this session.", + "_linkedTypes": [ + "https://openminds.ebrains.eu/core/SubjectState" + ] + }, + "output": { + "_instruction": "Add the state of the subject after this session.", + "_linkedTypes": [ + "https://openminds.ebrains.eu/core/SubjectState" + ] + } + } +} diff --git a/schemas/entity/assessment.schema.tpl.json b/schemas/entity/assessment.schema.tpl.json new file mode 100644 index 0000000..2514bcf --- /dev/null +++ b/schemas/entity/assessment.schema.tpl.json @@ -0,0 +1,21 @@ +{ + "_type": "https://openminds.ebrains.eu/MRI/AssessmentInstrument", + "_extends": "/publications/schemas/creativeWork.schema.tpl.json", + "required": [ + "assessmentType" + ], + "properties": { + "assessmentType": { + "_instruction": "Add the type of this assessment", + "_linkedTypes": [ + "https://openminds.ebrains.eu/controlledTerms/AssessmentType" + ] + }, + "webResource": { + "_instruction": "Add online version of this assetment.", + "_linkedTypes": [ + "https://openminds.ebrains.eu/core/WebResource" + ] + } + } +} From 056463c8adcd5b8cfd4225e4874cd3842a3240c8 Mon Sep 17 00:00:00 2001 From: Peyman-N Date: Mon, 4 Mar 2024 13:58:07 +0100 Subject: [PATCH 2/3] Sorting elements --- .../preRecordingExamination.schema.tpl.json | 20 +++++++++---------- .../subjectPreparation.schema.tpl.json | 20 +++++++++---------- schemas/entity/assessment.schema.tpl.json | 2 +- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/schemas/activity/preRecordingExamination.schema.tpl.json b/schemas/activity/preRecordingExamination.schema.tpl.json index cbb6bf9..30deb82 100644 --- a/schemas/activity/preRecordingExamination.schema.tpl.json +++ b/schemas/activity/preRecordingExamination.schema.tpl.json @@ -1,24 +1,24 @@ { - "_type": "https://openminds.ebrains.eu/MRI/PreRecordingExamination", "_extends": "/core/schemas/research/experimentalActivity.schema.tpl.json", + "_type": "https://openminds.ebrains.eu/specimenPrep/PreRecordingExamination", "properties": { "assessment": { - "type": "array", - "minItems": 1, - "uniqueItems": true, "_instruction": "Add All the assessments aquired during this session.", "_linkedTypes": [ - "https://openminds.ebrains.eu/MRI/Assessment" - ] + "https://openminds.ebrains.eu/specimenPrep/Assessment" + ], + "minItems": 1, + "type": "array", + "uniqueItems": true }, "behavioralProtocol": { - "type": "array", - "minItems": 1, - "uniqueItems": true, "_instruction": "Add all behavioral protocols that were performed during this session.", "_linkedTypes": [ "https://openminds.ebrains.eu/core/BehavioralProtocol" - ] + ], + "minItems": 1, + "type": "array", + "uniqueItems": true }, "input": { "_instruction": "Add the state of the subject before this session.", diff --git a/schemas/activity/subjectPreparation.schema.tpl.json b/schemas/activity/subjectPreparation.schema.tpl.json index 9b2a1b6..d915c8b 100644 --- a/schemas/activity/subjectPreparation.schema.tpl.json +++ b/schemas/activity/subjectPreparation.schema.tpl.json @@ -1,24 +1,24 @@ { - "_type": "https://openminds.ebrains.eu/MRI/SubjectPreparation", "_extends": "/core/schemas/research/experimentalActivity.schema.tpl.json", + "_type": "https://openminds.ebrains.eu/specimenPrep/SubjectPreparation", "properties": { "assessment": { - "type": "array", - "minItems": 1, - "uniqueItems": true, "_instruction": "Add All the assessments aquired during this session.", "_linkedTypes": [ - "https://openminds.ebrains.eu/MRI/Assessment" - ] + "https://openminds.ebrains.eu/specimenPrep/Assessment" + ], + "minItems": 1, + "type": "array", + "uniqueItems": true }, "behavioralProtocol": { - "type": "array", - "minItems": 1, - "uniqueItems": true, "_instruction": "Add all behavioral protocols that were performed during this session.", "_linkedTypes": [ "https://openminds.ebrains.eu/core/BehavioralProtocol" - ] + ], + "minItems": 1, + "type": "array", + "uniqueItems": true }, "input": { "_instruction": "Add the state of the subject before this session.", diff --git a/schemas/entity/assessment.schema.tpl.json b/schemas/entity/assessment.schema.tpl.json index 2514bcf..a5688e6 100644 --- a/schemas/entity/assessment.schema.tpl.json +++ b/schemas/entity/assessment.schema.tpl.json @@ -1,6 +1,6 @@ { - "_type": "https://openminds.ebrains.eu/MRI/AssessmentInstrument", "_extends": "/publications/schemas/creativeWork.schema.tpl.json", + "_type": "https://openminds.ebrains.eu/specimenPrep/AssessmentInstrument", "required": [ "assessmentType" ], From 8f1ef7a34043d9c5434f9e84faab823ad7781a07 Mon Sep 17 00:00:00 2001 From: Peyman Najafi Date: Mon, 5 Aug 2024 14:16:07 +0200 Subject: [PATCH 3/3] Delete schemas/activity/preRecordingExamination.schema.tpl.json --- .../preRecordingExamination.schema.tpl.json | 36 ------------------- 1 file changed, 36 deletions(-) delete mode 100644 schemas/activity/preRecordingExamination.schema.tpl.json diff --git a/schemas/activity/preRecordingExamination.schema.tpl.json b/schemas/activity/preRecordingExamination.schema.tpl.json deleted file mode 100644 index 30deb82..0000000 --- a/schemas/activity/preRecordingExamination.schema.tpl.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "_extends": "/core/schemas/research/experimentalActivity.schema.tpl.json", - "_type": "https://openminds.ebrains.eu/specimenPrep/PreRecordingExamination", - "properties": { - "assessment": { - "_instruction": "Add All the assessments aquired during this session.", - "_linkedTypes": [ - "https://openminds.ebrains.eu/specimenPrep/Assessment" - ], - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "behavioralProtocol": { - "_instruction": "Add all behavioral protocols that were performed during this session.", - "_linkedTypes": [ - "https://openminds.ebrains.eu/core/BehavioralProtocol" - ], - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "input": { - "_instruction": "Add the state of the subject before this session.", - "_linkedTypes": [ - "https://openminds.ebrains.eu/core/SubjectState" - ] - }, - "output": { - "_instruction": "Add the state of the subject after this session.", - "_linkedTypes": [ - "https://openminds.ebrains.eu/core/SubjectState" - ] - } - } -}