Client for the edf pipeline node; the canvas shows a kind it has no form for by its raw name and leaves it out of the palette

This commit is contained in:
2026-11-28 10:30:49 -06:00
parent 43b5523f99
commit 5ce225df5a
5 changed files with 98 additions and 4 deletions
+57
View File
@@ -236,6 +236,59 @@
"title": "Domain",
"type": "string"
},
"Edf": {
"additionalProperties": false,
"description": "EDF files (a column of file hashes) to the facts their header holds: patient code, sex,\nbirth date, recording date, record code, duration and channel count, as `edf_*` columns.\nAn unreadable file keeps its row with `edf_error` set.\n\nUse a filesystem source (`dlt.sources.filesystem:filesystem`) with the uploads folder as\n`bucket_url`, `file_glob: \"*.edf\"`, and `then: \"persistance.readers:read_bytes\"`. Read its\n`content` column with this node. Map `edf_patient_code`, `edf_birth_date`, and `edf_sex` to\nidentity's `record_number`, `birth_date`, and `sex`, using the site's formats and ConceptMap.\n\nThe patient code must match the hospital's record number including its prefix. Feed the\nidentity map into the pipeline's link node alongside the hospital identity source. Map\n`edf_study_date` to `study_date` (format `%Y-%m-%d`), `edf_record_code` to `lab_record_id`,\nand `content` to `edf`, then feed that map and the link into a target with entity `eeg`.",
"properties": {
"column": {
"title": "Column",
"type": "string"
},
"id": {
"maxLength": 40,
"pattern": "^[a-z][a-z0-9_]*$",
"title": "Id",
"type": "string"
},
"inputs": {
"default": [],
"items": {
"maxLength": 40,
"pattern": "^[a-z][a-z0-9_]*$",
"type": "string"
},
"title": "Inputs",
"type": "array"
},
"kind": {
"const": "edf",
"default": "edf",
"title": "Kind",
"type": "string"
},
"label": {
"default": "",
"title": "Label",
"type": "string"
},
"position": {
"anyOf": [
{
"$ref": "#/components/schemas/Position"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"column"
],
"title": "Edf",
"type": "object"
},
"Execution": {
"additionalProperties": false,
"description": "What a request or a job config carries: None means the deployment's default.",
@@ -986,6 +1039,7 @@
"items": {
"discriminator": {
"mapping": {
"edf": "#/components/schemas/Edf",
"extract": "#/components/schemas/Extract",
"fhir": "#/components/schemas/Fhir",
"join": "#/components/schemas/Join",
@@ -1014,6 +1068,9 @@
{
"$ref": "#/components/schemas/Extract"
},
{
"$ref": "#/components/schemas/Edf"
},
{
"$ref": "#/components/schemas/Fhir"
},