33 lines
1.3 KiB
TypeScript
33 lines
1.3 KiB
TypeScript
/* 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';
|
|
|
|
/**
|
|
* Cómo se ve en el diagrama.
|
|
*/
|
|
label?: string;
|
|
position?: (Position | null);
|
|
}
|