up config healthcare

This commit is contained in:
Tykayn 2024-10-10 14:22:33 +02:00 committed by tykayn
parent c28741d751
commit cb87b60c48
2 changed files with 293707 additions and 1004 deletions

View File

@ -31,9 +31,13 @@ const mappingFINESS: MappingConfigType = {
}, },
nofinesset: 'ref:FR:FINESS:et', nofinesset: 'ref:FR:FINESS:et',
nofinessej: 'ref:FR:FINESS:ej', nofinessej: 'ref:FR:FINESS:ej',
codemft: 'ref:FR:code_mft',
datemaj_structure: 'date:structure:update',
datemaj_geo: 'date:geolocalisation:update',
// categetab: 'ref:FR:categtab', // categetab: 'ref:FR:categtab',
epci_code: 'ref:FR:code_EPCI', epci_code: 'ref:FR:code_EPCI',
epci_name: 'ref:FR:EPCI', epci_name: 'ref:FR:EPCI',
categagretab: 'ref:FR:FINESS:category_agreg',
codeape: 'ref:FR:NAF', // https://wiki.openstreetmap.org/wiki/FR:Key:ref:FR:NAF codeape: 'ref:FR:NAF', // https://wiki.openstreetmap.org/wiki/FR:Key:ref:FR:NAF
// categtab: 'type:FR:FINESS', // categtab: 'type:FR:FINESS',
dateouv: 'start_date', dateouv: 'start_date',
@ -47,17 +51,83 @@ const mappingFINESS: MappingConfigType = {
convert_to_phone: true, convert_to_phone: true,
}, },
categetab: { categetab: {
// remove_original_key: true, remove_original_key: true,
key_converted: 'ref:FR:FINESS:category', key_converted: 'type:FR:FINESS',
conditional_values: { conditional_values: {
// doc https://wiki.openstreetmap.org/wiki/FR:Key:type:FR:FINESS
// Centre Hospitalier Régional
101: {
tags_to_add: {
"amenity": "hospital",
"emergency": "yes",
"healthcare:speciality": "psychiatry",
}
},
// Centre Hospitalier ex Hôpital local
106: {
tags_to_add: {
"amenity": "hospital",
"emergency": "yes",
"healthcare:speciality": "psychiatry",
}
},
// Soins de Suite et Réadaptation
109: {
tags_to_add: {
"amenity": "hospital",
"healthcare:speciality": "psychiatry",
}
},
// Hôpital des armées
114: {
tags_to_add: {
"amenity": "hospital",
}
},
//Établissement de Soins Obstétriques Chirurgico-Gynécologiques
122: {
tags_to_add: {
"amenity": "hospital",
"healthcare:speciality": "obstetrics"
}
},
// Centre de Santé
124: {
tags_to_add: {
"healthcare": "center",
}
},
// Centre de Santé Dentaire
125: {
tags_to_add: {
"amenity": "dentist",
"healthcare": "dentist",
"healthcare:speciality": "dentist",
}
},
// Centre Médico-Psychologique (C.M.P.)
156: {
tags_to_add: {
"healthcare": "centre",
"healthcare:speciality": "psychiatry"
}
},
// "Laboratoires de Biologie Médicale": { // "Laboratoires de Biologie Médicale": {
611: { 611: {
tags_to_add: { tags_to_add: {
"healthcare": "laboratory" "healthcare": "laboratory"
} }
}, },
// Centre d'Accueil Th\u00e9rapeutique \u00e0 temps partiel (C.A.T.T.P.)
425: {
tags_to_add: {
"healthcare": "centre",
"healthcare:speciality": "psychiatry"
}
},
// "Centre Hospitalier (C.H.)": { // "Centre Hospitalier (C.H.)": {
"412": { 412: {
tags_to_add: { tags_to_add: {
"amenity": "hospital", "amenity": "hospital",
"healthcare": "hospital" "healthcare": "hospital"
@ -70,7 +140,7 @@ const mappingFINESS: MappingConfigType = {
} }
}, },
// "Maison de santé (L.6223-3)": { // "Maison de santé (L.6223-3)": {
"603": { 603: {
tags_to_add: { tags_to_add: {
"healthcare": "centre" "healthcare": "centre"
} }

File diff suppressed because it is too large Load Diff