-
Notifications
You must be signed in to change notification settings - Fork 3
DCIR Events
The following describes all the available to extractions Events from DCIR table in SNDS. The link in the title redirects to the implementation of the Extractor. You can call that Extractor to get the Event.
Values are coded in CCAM coding system.
| Event field | PatientID | category | groupID | value | weight | start | end |
|---|---|---|---|---|---|---|---|
| Mapping | NUM_ENQ from ER_PRS_F | dcir_act | Look to the groupID section | CAM_PRS_IDE from ER_CAM_F | 1.0 (non used) | EXE_SOI_DTD from ER_PRS_F | null(non used) |
The groupID carries the information about the type of the institution where the act was carried. Here are the values:
- Liberal: Done in cabinet of a doctor.
- Private Ambulatory: service in a private institution, given in ambulatory mode, i.e. without hospitalisation.
- Public Ambulatory: service in a public institution, given in ambulatory mode, i.e. without hospitalisation.
- Private hospitalisation: service in a private institution, given within hospitalisation. Maybe duplicated with MCO-Act.
- DCIR-Act: For legacy purpose, works with old DCIR schemas.
- unknown_source.
Here how to get them from DCIR.
- if PRS_PPU_SEC from ER_ETE_F is equal to 1, then groupID = public_ambulatory.
- Else
- if ETE_GHS_NUM from ER_ETE_F is null, then groupID = Liberal.
- else:
- if ETE_GHS_NUM from ER_ETE_F is 0 and ETE_TYP_COD is one of : (4, 5, 6, 7), then groupID = private_ambulatory.
- else unknown_source.
| Event field | PatientID | category | groupID | value | weight | start | end |
|---|---|---|---|---|---|---|---|
| Mapping | NUM_ENQ from ER_PRS_F | dcir_act | Look to the groupID section | BIO_PRS_IDE from ER_BIO_F | 1.0 (non used) | EXE_SOI_DTD from ER_PRS_F | null(non used) |
| Event field | PatientID | category | groupID | value | weight | start | end |
|---|---|---|---|---|---|---|---|
| Mapping | NUM_ENQ from ER_PRS_F | drug_purchase | prescription id | drug id | 1.0 for small box, 2.0 for big box | EXE_SOI_DTD from ER_PRS_F | null(non used) |
The prescription ID is the hash of the concactenation of (FLX_DIS_DTD,FLX_TRT_DTD,FLX_EMT_TYP,FLX_EMT_NUM,FLX_EMT_ORD,ORG_CLE_NUM,DCT_ORD_NUM) all from ER_PRS_F.
The drug id depends on the level pass in the DrugConfig. Available levels:
- CIP13: gives the CIP13.
- Molecule combination: gives the actif molecules in the drug.
- Pharmaceutical level: gives the pharmaceutical classification of the drug.
- Therapeutical level: gives the therapeutical classification of the drug.
The CIP13 is directly available. For the molecules level, a special IR_PHA_R with a molecules column defined. One is available here.
For Pharmaceutical and Therapeutic level, you must define a DrugClassConfig of interest for you. Here is an example of antidepressants
NGAP stands for nomenclature générale des actes professionnels, a codification largely replaced by CCAM, but still used by some medical practionners especially in the liberal sector.
| Event field | PatientID | category | groupID | value | weight | start | end |
|---|---|---|---|---|---|---|---|
| Mapping | NUM_ENQ from ER_PRS_F | ngap_act | Same as CCAM act | look below | 1.0 (non used) | EXE_SOI_DTD from ER_PRS_F | null(non used) |
String concatenation of the following, in that order, seperated by _:
- PRS_NAT_REF from ER_PRS_F.
- PRS_NAT_CB2 from IR_NAT_V.
- PRS_ACT_CFT from ER_PRS_F.
Get the speciality of the practionner for the delivered act.
| Event field | PatientID | category | groupID | value | weight | start | end |
|---|---|---|---|---|---|---|---|
| Mapping | NUM_ENQ from ER_PRS_F | medical_practitioner_claim | PFS_EXE_NUM from ER_PRS_F | PSE_SPE_COD from ER_PRS_F | 1.0 (non used) | EXE_SOI_DTD from ER_PRS_F, or FLX_DIS_DTD from ER_PRS_F if previous is null | null(non used) |
| Event field | PatientID | category | groupID | value | weight | start | end |
|---|---|---|---|---|---|---|---|
| Mapping | NUM_ENQ from ER_PRS_F | non_medical_practitioner_claim | PFS_EXE_NUM from ER_PRS_F | PSE_ACT_NAT from ER_PRS_F | 1.0 (non used) | EXE_SOI_DTD from ER_PRS_F, or FLX_DIS_DTD from ER_PRS_F if previous is null | null(non used) |
- Section One: Events Mapping
- DCIR
- PMSI
- Referentials
- Section Two: Extraction Elements
- Section Three: Patients Mapping
- Section Four: Transformers