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
+1
View File
@@ -10,6 +10,7 @@ export type { Cancel } from './models/cancel';
export type { Condition } from './models/condition';
export type { Correction } from './models/correction';
export type { Domain } from './models/domain';
export type { Edf } from './models/edf';
export type { Execution } from './models/execution';
export type { Extract } from './models/extract';
export type { Fhir } from './models/fhir';
+28
View File
@@ -0,0 +1,28 @@
/* eslint-disable */
/* Code generated by ng-openapi-gen DO NOT EDIT. */
import { Position } from '../models/position';
/**
* EDF files (a column of file hashes) to the facts their header holds: patient code, sex,
* birth date, recording date, record code, duration and channel count, as `edf_*` columns.
* An unreadable file keeps its row with `edf_error` set.
*
* Use a filesystem source (`dlt.sources.filesystem:filesystem`) with the uploads folder as
* `bucket_url`, `file_glob: "*.edf"`, and `then: "persistance.readers:read_bytes"`. Read its
* `content` column with this node. Map `edf_patient_code`, `edf_birth_date`, and `edf_sex` to
* identity's `record_number`, `birth_date`, and `sex`, using the site's formats and ConceptMap.
*
* The patient code must match the hospital's record number including its prefix. Feed the
* identity map into the pipeline's link node alongside the hospital identity source. Map
* `edf_study_date` to `study_date` (format `%Y-%m-%d`), `edf_record_code` to `lab_record_id`,
* and `content` to `edf`, then feed that map and the link into a target with entity `eeg`.
*/
export interface Edf {
column: string;
id: string;
inputs?: Array<string>;
kind?: 'edf';
label?: string;
position?: (Position | null);
}
+2 -1
View File
@@ -1,6 +1,7 @@
/* eslint-disable */
/* Code generated by ng-openapi-gen DO NOT EDIT. */
import { Edf } from '../models/edf';
import { Extract } from '../models/extract';
import { Fhir } from '../models/fhir';
import { Join } from '../models/join';
@@ -11,5 +12,5 @@ import { Route } from '../models/route';
import { Source } from '../models/source';
import { Target } from '../models/target';
export interface Pipeline {
nodes: Array<(Source | Read | Route | Map | Extract | Fhir | Join | Link | Target)>;
nodes: Array<(Source | Read | Route | Map | Extract | Edf | Fhir | Join | Link | Target)>;
}