|
| 1 | +Field,User Guide,ETL Conventions,Datatype,Required,Primary Key,Foreign Key,FK Table |
| 2 | +data_num,Unique identifier, ,bigint(64),Yes,Yes,No," " |
| 3 | +patient_num, , ,bigint(64),`Yes`,No,Yes,dwh_patient |
| 4 | +thesaurus_data_num,"The concept identifier associated with the data record (e.g., diagnosis, procedure, lab test).", ,bigint(64),`Yes`,No,Yes,dwh_thesaurus_data |
| 5 | +thesaurus_code,"The source vocabulary code corresponding to the associated concept (e.g., ICD-10, LOINC, ATC).", ,varchar(40),`Yes`,No,No," " |
| 6 | + |
| 7 | +document_date,The date the data was recorded in the source system., ,timestamptz,`Yes`,No,No," " |
| 8 | +start_date,"The start date of the clinical event, observation or drugs.", ,timestamptz,`Yes`,No,No," " |
| 9 | +end_date,"The end date of the clinical event, observation or drugs, if applicable.", ,timestamptz,No,No,No," " |
| 10 | +age_patient,The age of the patient at the time of the data record., ,double(53),No,No,No," " |
| 11 | + |
| 12 | + |
| 13 | +val_numeric,"A numeric value associated with the data record (e.g., lab result, measurement).", ,double(53),No,No,No," " |
| 14 | +operator,"The operator applied to the value (e.g. *<*, *>*, *=*).", ,varchar(5),No,No,No," " |
| 15 | + |
| 16 | +val_text,A textual or categorical value associated with the data record., ,varchar(10000),No,No,No," " |
| 17 | + |
| 18 | +lower_bound,"The lower boundary of a value range, if applicable.", ,double(53),No,No,No," " |
| 19 | +upper_bound,"The upper boundary of a value range, if applicable.", ,double(53),No,No,No," " |
| 20 | + |
| 21 | + |
| 22 | +instance_data_id,"Code of the healthcare center, see *hospital_instance* for more informations.", ,varchar(40),No,No,No," " |
| 23 | +document_origin_code,Indicate source software for this record., ,varchar(60),No,No,No," " |
| 24 | +id_data_source,Unique identifier in source software., ,varchar(300),No,No,No," " |
| 25 | + |
| 26 | +stay_num,The visit during which the data record was generated., ,bigint(64),No,No,Yes,dwh_patient_stay |
| 27 | +department_num,The service associated with the data record., ,bigint(64),No,No,Yes,dwh_thesaurus_department |
| 28 | +document_num,The identifier of the document grouping multiple related data records (e.g. all results from a lab report)., ,bigint(64),No,No,Yes,dwh_document |
| 29 | + |
| 30 | +data_pid,"Optional pseudo-identifier for a data. Mainly included for structural consistency; not required for standard analytical use.",Generated as a hash of *id_data_source* combined with *data_salt*.,varchar(300),No,No,No," " |
| 31 | +data_salt,Optional random salt used in the hash algorithm to generate *data_pid*., ,varchar(300),No,No,No," " |
| 32 | + |
| 33 | +upload_id,ETL Pipeline identifier,Defined at the start of the pipeline as `datetime.now().strftime("%Y%m%d%H%M%S")`,bigint(64),No,No,No," " |
| 34 | +updated_date,Last modification of this record., ,date,Yes,No,No," " |
0 commit comments