pour déploiement auto v2 via gitlab
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

71 lines
1.7 KiB

columns:
code:
type: text
date_effet_autorisation:
type: date
default: "'2099-12-31'::date"
finess_geographique:
type: text
medecin_par_defaut_id:
type: bigint
default: "0"
mode_hospitalisation:
type: character(1)
default: "'M'::bpchar"
comment: |
* C pour Hospitalisation Complète
* P pour Hospitalisation Partielle
* M pour Hospitalisation Mixte
nb_lits:
type: integer
default: "0"
oid:
type: bigint
not_null: NOT NULL
default: "nextval('s_unites_medicales'::regclass)"
section_code:
type: 'text[]'
section_id:
type: 'bigint[]'
section_texte:
type: 'text[]'
texte:
type: text
type_autorisation:
type: text
default: "''::bpchar"
type_eclatement:
type: character(1)
default: "''::bpchar"
comment: |
Eclatement : Le code est suffixé avec :
1=Première unité médicale
2=Spécialité du médecin séjour
type_sejour:
type: text
default: "'1'::bpchar"
comment: |
Forcage type séjour (fil de l''eau)
* 3 Externes
* 9 Ignorer
type_ventilation_ca:
type: character(1)
default: "''::bpchar"
um_expedition_id:
type: bigint
default: "0"
comment: "Dans certaint établissements, les Unités Médicales sont regroupées dans une Unité Médicale plus générale avant la génération du lot. Ce champ permet de pointer vers l''um de regroupement"
constraints:
t_unites_medicales_pkey:
type: PRIMARY KEY
column: oid
t_unites_medicales_ukey1:
type: UNIQUE
column: code
indexes:
i_unites_medicales_1:
column: code
method: btree
i_unites_medicales_2:
column: type_autorisation
method: btree