# Domaine 'Procedure' - DCIR
# Variables et tables utilisées dans le SNDS
_ER_CAM_F
- etb_pre_fin
- dcir_visit_id
- quantity
- cam_prs_ide
# Règles de transformation
Champ | Règle | Jointure | Filtre | |
Gauche | Droite | |||
id* | hash(source_value) | |||
person_id* | person_id de VISIT_OCCURRENCE | _ER_CAM_F ‘dciraa’ || ‘_’ || etb_pre_fin || dcir_visit_id | VISIT_OCCURRENCE visit_occurrence_source_value | |
start_date* | visit_start_date de VISIT_OCCURRENCE | _ER_CAM_F ‘dciraa’ || ‘_’ || etb_pre_fin || dcir_visit_id | VISIT_OCCURRENCE visit_occurrence_source_value | |
start_datetime | start_date + ‘00:00:00’ | |||
end_date | visit_end_date de VISIT_OCCURRENCE | _ER_CAM_F ‘dciraa’ || ‘_’ || etb_pre_fin || dcir_visit_id | VISIT_OCCURRENCE visit_occurrence_source_value | |
end_datetime | end_date + ‘00:00:00’ | |||
type_concept_id* | 32810 | |||
status_concept_id | 0 | |||
quantity | quantity de _ER_CAM_F | |||
provider_id | provider_id de VISIT_OCCURRENCE | _ER_CAM_F ‘dciraa’ || ‘_’ || etb_pre_fin || dcir_visit_id | VISIT_OCCURRENCE visit_occurrence_source_value | |
visit_occurrence_id | visit_occurrence_id de VISIT_OCCURRENCE | _ER_CAM_F ‘dciraa’ || ‘_’ || etb_pre_fin || dcir_visit_id | VISIT_OCCURRENCE visit_occurrence_source_value | |
source_value | cam_prs_ide de _ER_CAM_F | |||
source_concept_id | source_concept_id de SOURCE_TO_CONCEPT_MAP | _ER_CAM_F cam_prs_ide | SOURCE_TO_CONCEPT_MAP source_code | source_vocabulary_id = ‘CCAM’ ou source_vocabulary_id = ‘CSARR’ |
concept_id* | concept_id de SOURCE_TO_CONCEPT_MAP | _ER_CAM_F cam_prs_ide | SOURCE_TO_CONCEPT_MAP source_code | source_vocabulary_id = ‘CCAM’ ou source_vocabulary_id = ‘CSARR’ |
status_source_value | null | |||
domain_id |
| Jointure 1: _ER_CAM_F cam_prs_ide Jointure 2: SOURCE_TO_CONCEPT_MAP concept_id | Jointure 1: SOURCE_TO_CONCEPT_MAP source_code Jointure2: CONCEPT concept_id |
# Domaine 'Procedure' - PMSI
# Tables et variables utilisées dans le SNDS
T_MCOaaA :
| T_SSRaaCCAM :
| T_HADaaA :
| T_SSRaaFMSTC :
|
T_SSRaaCSARR :
| T_MCOaaFMSTC :
| T_RIPaaCCAM :
|
# Règles de transformation
Champ | Règle | Jointure | Filtre | |
Gauche | Droite | |||
id* | hash(source_value) | |||
person_id* | person_id de VISIT_OCCURRENCE | cf visit_occurrence_id | ||
start_date* | visit_start_date de VISIT_OCCURRENCE + nombre de jours écoulés entre le début de la visite et l’événement :
| cf visit_occurrence_id | ||
start_datetime | start_date + ‘00:00:00’ | |||
end_date | visit_start_date de VISIT_OCCURRENCE | cf visit_occurrence_id | ||
end_datetime | end_date + ‘00:00:00’ | |||
type_concept_id* | 32810 | |||
status_concept_id | 0 | |||
quantity |
| |||
provider_id | provider_id de VISIT_OCCURRENCE | cf visit_occurrence_id | ||
visit_occurrence_id | visit_occurrence_id de VISIT_OCCURRENCE | T_MCOaaA ‘mcoaa’ || ‘_’ || eta_num || ‘_’ || rsa_num T_SSRaaCCAM ‘ssr’ || ‘_’ || eta_num || ‘_’ || rha_num T_RIPaaCCAM ‘ripaa’ || ‘_’ || eta_num_epmsi || ’_’ || rip_num T_HADaaA ‘hadaa’ || ‘_’ || eta_num_epmsi || ‘_’ || rhad_num T_SSRaaFMSTC ‘ssraaace’ || ‘_’ || eta_num || ‘_’ || seq_num T_SSRaaCSARR ‘ssr’ || ‘_’ || eta_num || ‘_’ || rha_num T_MCOaaFMSTC ‘mcoaaace’ || ‘_’ || eta_num || ‘_’ || seq_num | VISIT_ OCCURRENCE visit_occurrence_source_value | |
visit_detail_id | visit_detail_id de VISIT_DETAIL | T_MCOaaA ‘mcoaa’ || ‘_’ || eta_num || ‘_’ || rsa_num del_dat_ent | VISIT_DETAIL visit_occurrence_id >visit_detail_start_date and < visit_detail_end_date | |
source_value |
|
ph_act = 0 ou 1
pha_act = 0 ou 1
pha_cod = 0 ou 1
pha_act = 0 ou 1
pha_act = 0 ou 1 | ||
source_concept_id | source_concept_id de SOURCE_TO_CONCEPT_MAP | T_MCOaaA : cdc_act T_SSRaaCCAM : ccam_act T_RIPaaCCAM : cdc_act T_HADaaA : ccam_cod T_SSRaaFMSTC : ccam_cod T_SSRaaCSARR : csarr_cod T_MCOaaFMSTC : ccam_cod | SOURCE_TO_ CONCEPT_MAP source_code | source_vocabulary_id = ‘CCAM’ et source_vocabulary_id = ‘CSARR’ |
concept_id* | concept_id de SOURCE_TO_CONCEPT_MAP | cf jointure source_concept_id | source_vocabulary_id = ‘CCAM’ et source_vocabulary_id = ‘CSARR’ | |
domain_id |
| Jointure 1: T_MCOaaA : cdc_act T_SSRaaCCAM : ccam_act T_RIPaaCCAM : cdc_act T_HADaaA : ccam_cod T_SSRaaFMSTC : ccam_cod T_SSRaaCSARR : csarr_cod T_MCOaaFMSTC : ccam_cod Jointure 2: SOURCE_TO_CONCEPT_MAP concept_id | Jointure 1: SOURCE_TO_ CONCEPT_MAP source_code Jointure 2: CONCEPT concept_id | source_vocabulary_id = ‘CCAM’ et source_vocabulary_id = ‘CSARR’ |
Accéder au code source
Le code source est disponible sur le dépôt Gitlab suivant (opens new window)