ConceptMap editor, names and CURP shown, catalog codes read
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
export interface Correction {
|
||||
field: 'record_number' | 'full_name' | 'curp' | 'nss' | 'birth_date' | 'sex' | 'postal_code';
|
||||
field: 'record_number' | 'full_name' | 'curp' | 'nss' | 'birth_date' | 'sex';
|
||||
record: string;
|
||||
value: string;
|
||||
}
|
||||
|
||||
@@ -8,12 +8,13 @@ import { Position } from '../models/position';
|
||||
*
|
||||
* `auto` asks the LLM when one is configured and answering, else applies `patterns`;
|
||||
* with neither, the row is held. Patterns are regexes with one group, per field (the
|
||||
* LLM can propose them from sample documents); their values go through `values` and
|
||||
* `formats` as in `map`.
|
||||
* LLM can propose them from sample documents); their values go through the ConceptMap
|
||||
* and `formats` as in `map`.
|
||||
*/
|
||||
export interface Extract {
|
||||
column: string;
|
||||
entity: 'identity' | 'death' | 'clinical_note' | 'cervical_cytology' | 'cervical_biopsy' | 'mammography' | 'breast_biopsy';
|
||||
concept_map?: (string | null);
|
||||
entity: 'identity' | 'cervical_cytology' | 'cervical_biopsy' | 'mammography' | 'breast_biopsy' | 'clinical_note' | 'death';
|
||||
formats?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
@@ -27,9 +28,4 @@ export interface Extract {
|
||||
[key: string]: string;
|
||||
};
|
||||
position?: (Position | null);
|
||||
values?: {
|
||||
[key: string]: {
|
||||
[key: string]: string;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
/* eslint-disable */
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
import { Position } from '../models/position';
|
||||
|
||||
/**
|
||||
* FHIR R4 Bundles a standard hospital sent (a column of their JSON) as rows of one
|
||||
* entity: identity, death or a study (core.fhir_in). The sender's own codes go through
|
||||
* its ConceptMap.
|
||||
*/
|
||||
export interface Fhir {
|
||||
column?: string;
|
||||
concept_map?: (string | null);
|
||||
entity: 'identity' | 'cervical_cytology' | 'cervical_biopsy' | 'mammography' | 'breast_biopsy' | 'clinical_note' | 'death';
|
||||
id: string;
|
||||
inputs?: Array<string>;
|
||||
kind?: 'fhir';
|
||||
label?: string;
|
||||
position?: (Position | null);
|
||||
}
|
||||
@@ -4,9 +4,11 @@
|
||||
import { Position } from '../models/position';
|
||||
|
||||
/**
|
||||
* Columns to platform fields, with the site's codes and date formats.
|
||||
* Columns to platform fields, the site's codes translated by its ConceptMap
|
||||
* (core.concept_map), and its date formats.
|
||||
*/
|
||||
export interface Map {
|
||||
concept_map?: (string | null);
|
||||
fields: {
|
||||
[key: string]: string;
|
||||
};
|
||||
@@ -18,9 +20,4 @@ export interface Map {
|
||||
kind?: 'map';
|
||||
label?: string;
|
||||
position?: (Position | null);
|
||||
values?: {
|
||||
[key: string]: {
|
||||
[key: string]: string;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
import { Extract } from '../models/extract';
|
||||
import { Fhir } from '../models/fhir';
|
||||
import { Join } from '../models/join';
|
||||
import { Link } from '../models/link';
|
||||
import { Map } from '../models/map';
|
||||
@@ -10,5 +11,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 | Join | Link | Target)>;
|
||||
nodes: Array<(Source | Read | Route | Map | Extract | Fhir | Join | Link | Target)>;
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
export interface Rejection {
|
||||
entity: 'identity' | 'death' | 'clinical_note' | 'cervical_cytology' | 'cervical_biopsy' | 'mammography' | 'breast_biopsy';
|
||||
entity: 'identity' | 'cervical_cytology' | 'cervical_biopsy' | 'mammography' | 'breast_biopsy' | 'clinical_note' | 'death';
|
||||
reason: string;
|
||||
record: string;
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ import { Position } from '../models/position';
|
||||
* one `link` node among the inputs. Rule breaks are held for review.
|
||||
*/
|
||||
export interface Target {
|
||||
entity: 'identity' | 'death' | 'clinical_note' | 'cervical_cytology' | 'cervical_biopsy' | 'mammography' | 'breast_biopsy';
|
||||
entity: 'identity' | 'cervical_cytology' | 'cervical_biopsy' | 'mammography' | 'breast_biopsy' | 'clinical_note' | 'death';
|
||||
id: string;
|
||||
inputs?: Array<string>;
|
||||
kind?: 'target';
|
||||
|
||||
Reference in New Issue
Block a user