Schémas de données de la base document#

Schémas de données d’un établissement dans la base document#

pydantic model FinessDocumentModel[source]#

Données représentant un FINESS Géographique dans la base document

Show JSON schema
{
   "title": "FinessDocumentModel",
   "description": "Donn\u00e9es repr\u00e9sentant un FINESS G\u00e9ographique dans la base document",
   "type": "object",
   "properties": {
      "finess_geo": {
         "title": "Finess Geo",
         "type": "string"
      },
      "taille": {
         "$ref": "#/definitions/TailleEnum"
      },
      "ferme_cette_annee": {
         "title": "Ferme Cette Annee",
         "type": "boolean"
      },
      "identification": {
         "$ref": "#/definitions/FinessIdentificationModel"
      },
      "coordonnees": {
         "$ref": "#/definitions/FinessCoordonnesModel"
      },
      "autorisations": {
         "title": "Autorisations",
         "type": "array",
         "items": {
            "$ref": "#/definitions/FinessAutorisationModel"
         }
      },
      "activites": {
         "title": "Activites",
         "type": "array",
         "items": {
            "$ref": "#/definitions/FinessActivitesModel"
         }
      },
      "IQSS": {
         "title": "Iqss",
         "type": "array",
         "items": {
            "$ref": "#/definitions/FinessIQSSModel"
         }
      },
      "satisfaction_patient": {
         "title": "Satisfaction Patient",
         "type": "array",
         "items": {
            "$ref": "#/definitions/FinessESATISModel"
         }
      },
      "capacite": {
         "title": "Capacite",
         "type": "array",
         "items": {
            "$ref": "#/definitions/FinessCapaciteModel"
         }
      },
      "volumetrie": {
         "title": "Volumetrie",
         "type": "array",
         "items": {
            "$ref": "#/definitions/FinessVolumetrieModel"
         }
      },
      "certification_v2014": {
         "title": "Certification V2014",
         "type": "array",
         "items": {
            "$ref": "#/definitions/FinessCertif2014Model"
         }
      },
      "certification_v2021": {
         "title": "Certification V2021",
         "type": "array",
         "items": {
            "$ref": "#/definitions/FinessCertif2021Model"
         }
      }
   },
   "required": [
      "finess_geo",
      "taille",
      "ferme_cette_annee",
      "identification",
      "coordonnees",
      "autorisations",
      "activites",
      "IQSS",
      "satisfaction_patient",
      "capacite",
      "volumetrie",
      "certification_v2014"
   ],
   "definitions": {
      "TailleEnum": {
         "title": "TailleEnum",
         "description": "Valeurs possibles de taille d'\u00e9tablissement",
         "enum": [
            "petit",
            "moyen",
            "grand"
         ],
         "type": "string"
      },
      "TypeEtablissementEnum": {
         "title": "TypeEtablissementEnum",
         "description": "Valeurs possibles de type d'\u00e9tablissement",
         "enum": [
            "Public",
            "Priv\u00e9",
            "Priv\u00e9 \u00e0 but non lucratif",
            "CH",
            "CHU",
            "CLCC"
         ],
         "type": "string"
      },
      "FinessIdentificationModel": {
         "title": "FinessIdentificationModel",
         "description": "Donn\u00e9es d'identification de l'\u00e9tablissement",
         "type": "object",
         "properties": {
            "num_finess_ej": {
               "title": "Num Finess Ej",
               "type": "string"
            },
            "raison_sociale_et": {
               "title": "Raison Sociale Et",
               "type": "string"
            },
            "raison_sociale_longue_et": {
               "title": "Raison Sociale Longue Et",
               "type": "string"
            },
            "raison_sociale_ej": {
               "title": "Raison Sociale Ej",
               "type": "string"
            },
            "raison_sociale_longue_ej": {
               "title": "Raison Sociale Longue Ej",
               "type": "string"
            },
            "date_ouverture": {
               "title": "Date Ouverture",
               "type": "string",
               "format": "date"
            },
            "statut_juridique": {
               "title": "Statut Juridique",
               "type": "string"
            },
            "statut_juridique_ej": {
               "title": "Statut Juridique Ej",
               "type": "integer"
            },
            "libelle_statut_juridique_ej": {
               "title": "Libelle Statut Juridique Ej",
               "type": "string"
            },
            "type_etablissement": {
               "$ref": "#/definitions/TypeEtablissementEnum"
            }
         },
         "required": [
            "num_finess_ej",
            "raison_sociale_et",
            "raison_sociale_ej",
            "date_ouverture",
            "statut_juridique",
            "statut_juridique_ej",
            "libelle_statut_juridique_ej",
            "type_etablissement"
         ]
      },
      "FinessCoordonnesModel": {
         "title": "FinessCoordonnesModel",
         "description": "Coordonn\u00e9es de l'\u00e9tablissement",
         "type": "object",
         "properties": {
            "adresse_postale_ligne_1": {
               "title": "Adresse Postale Ligne 1",
               "type": "string"
            },
            "adresse_postale_ligne_2": {
               "title": "Adresse Postale Ligne 2",
               "type": "string"
            },
            "libelle_commune": {
               "title": "Libelle Commune",
               "type": "string"
            },
            "code_postal": {
               "title": "Code Postal",
               "type": "string"
            },
            "departement": {
               "title": "Departement",
               "type": "string"
            },
            "libelle_departement": {
               "title": "Libelle Departement",
               "type": "string"
            },
            "telephone": {
               "title": "Telephone",
               "type": "string"
            },
            "latitude": {
               "title": "Latitude",
               "type": "number"
            },
            "longitude": {
               "title": "Longitude",
               "type": "number"
            }
         },
         "required": [
            "adresse_postale_ligne_2",
            "libelle_commune",
            "code_postal",
            "departement",
            "libelle_departement"
         ]
      },
      "FinessAutorisationModel": {
         "title": "FinessAutorisationModel",
         "description": "Donn\u00e9es d'autorisation d'activit\u00e9 de l'\u00e9tablissement",
         "type": "object",
         "properties": {
            "activite": {
               "title": "Activite",
               "type": "integer"
            },
            "libelle_activite": {
               "title": "Libelle Activite",
               "type": "string"
            },
            "date_mise_en_oeuvre": {
               "title": "Date Mise En Oeuvre",
               "type": "string",
               "format": "date"
            }
         },
         "required": [
            "activite",
            "libelle_activite"
         ]
      },
      "ActiviteIdEnum": {
         "title": "ActiviteIdEnum",
         "description": "Identifiants d'activit\u00e9 possibles",
         "enum": [
            "medecine",
            "ssr",
            "sld",
            "amp_dpn",
            "cancerologie",
            "obstetrique",
            "chirurgie",
            "reanimation",
            "nephrologie",
            "psychiatrie",
            "imagerie",
            "diagnostic_genetique"
         ],
         "type": "string"
      },
      "ActiviteLibelleEnum": {
         "title": "ActiviteLibelleEnum",
         "description": "Valeurs possibles d'activit\u00e9 d'\u00e9tablissement",
         "enum": [
            "M\u00e9decine",
            "Soins de Suite et de R\u00e9adaptation",
            "Soins de longue dur\u00e9e",
            "Assistance m\u00e9dicale \u00e0 la procr\u00e9ation - Diagnostic pr\u00e9natal (AMP-DPN)",
            "Canc\u00e9rologie",
            "Obst\u00e9trique",
            "Chirurgie",
            "R\u00e9animation",
            "N\u00e9phrologie",
            "Psychiatrie",
            "Imagerie M\u00e9dicale",
            "Diagnostic g\u00e9n\u00e9tique"
         ],
         "type": "string"
      },
      "FinessActivitesModel": {
         "title": "FinessActivitesModel",
         "description": "Donn\u00e9es d'activit\u00e9s pratiqu\u00e9es par l'\u00e9tablissement",
         "type": "object",
         "properties": {
            "id": {
               "$ref": "#/definitions/ActiviteIdEnum"
            },
            "libelle": {
               "$ref": "#/definitions/ActiviteLibelleEnum"
            }
         },
         "required": [
            "id",
            "libelle"
         ]
      },
      "IQSSSecteurEnum": {
         "title": "IQSSSecteurEnum",
         "description": "Secteurs possibles pour les IQSS",
         "enum": [
            "HAD",
            "SSR",
            "PSY",
            "MHS",
            "TCH",
            "MCO"
         ],
         "type": "string"
      },
      "IQSSThemeEnum": {
         "title": "IQSSThemeEnum",
         "description": "Th\u00e8mes possibles pour les IQSS",
         "enum": [
            "DIA",
            "IDM",
            "DPA",
            "AVC",
            "HPP",
            "ETEORTHO",
            "IAS",
            "ISOORTHO",
            "CA",
            "RCP",
            "DAN",
            "48h"
         ],
         "type": "string"
      },
      "IQSSSourceEnum": {
         "title": "IQSSSourceEnum",
         "description": "Sources possibles des IQSS",
         "enum": [
            "IQSS PMSI",
            "IQSS dossier patient",
            "IQSS questionnaire \u00e9tablissement"
         ],
         "type": "string"
      },
      "IQSSVariableModel": {
         "title": "IQSSVariableModel",
         "type": "object",
         "properties": {
            "title": {
               "title": "Title",
               "type": "string"
            },
            "value": {
               "title": "Value",
               "anyOf": [
                  {
                     "type": "number"
                  },
                  {
                     "type": "string"
                  }
               ]
            },
            "missing_value": {
               "title": "Missing Value",
               "type": "string"
            }
         },
         "required": [
            "title"
         ]
      },
      "IQSSValueModel": {
         "title": "IQSSValueModel",
         "description": "Donn\u00e9es d'un indicateur recueilli pour une ann\u00e9e donn\u00e9e et un \u00e9tablissement donn\u00e9.\nUn indicateur peut \u00eatre constitu\u00e9 d'une ou plusieurs variables.",
         "type": "object",
         "properties": {
            "annee_recueil": {
               "title": "Annee Recueil",
               "type": "integer"
            },
            "status": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "resultat": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "classe": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "denominateur": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "positionnement": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "evolution": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "score": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "intervalle_haut": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "intervalle_bas": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "controle": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "obligatoire": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "resultat_min": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "resultat_strict": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "effectif_cible": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "effectif_observe": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "effectif_attendu": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "capacite": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "volumetrie": {
               "$ref": "#/definitions/IQSSVariableModel"
            }
         },
         "required": [
            "annee_recueil"
         ]
      },
      "FinessIQSSModel": {
         "title": "FinessIQSSModel",
         "description": "Donn\u00e9es des IQSS autres que le questionnaire satisfaction patient",
         "type": "object",
         "properties": {
            "secteur": {
               "$ref": "#/definitions/IQSSSecteurEnum"
            },
            "theme": {
               "$ref": "#/definitions/IQSSThemeEnum"
            },
            "source": {
               "$ref": "#/definitions/IQSSSourceEnum"
            },
            "indicateur": {
               "title": "Indicateur",
               "type": "string"
            },
            "valeurs": {
               "title": "Valeurs",
               "type": "array",
               "items": {
                  "$ref": "#/definitions/IQSSValueModel"
               }
            }
         },
         "required": [
            "secteur",
            "theme",
            "source",
            "indicateur",
            "valeurs"
         ]
      },
      "ESATISSecteurEnum": {
         "title": "ESATISSecteurEnum",
         "description": "Secteurs possibles pour les IQSS questionnaire patient",
         "enum": [
            "MCO"
         ],
         "type": "string"
      },
      "ESATISThemeEnum": {
         "title": "ESATISThemeEnum",
         "description": "Th\u00e8mes possibles pour les IQSS questionnaire patient",
         "enum": [
            "CA",
            "48h"
         ],
         "type": "string"
      },
      "ESATISSourceEnum": {
         "title": "ESATISSourceEnum",
         "description": "Sources possibles des IQSS questionnaire patient",
         "enum": [
            "IQSS questionnaire patient"
         ],
         "type": "string"
      },
      "FinessESATISModel": {
         "title": "FinessESATISModel",
         "description": "Donn\u00e9es des IQSS questionnaire statisfaction patient",
         "type": "object",
         "properties": {
            "secteur": {
               "$ref": "#/definitions/ESATISSecteurEnum"
            },
            "theme": {
               "$ref": "#/definitions/ESATISThemeEnum"
            },
            "source": {
               "$ref": "#/definitions/ESATISSourceEnum"
            },
            "indicateur": {
               "title": "Indicateur",
               "type": "string"
            },
            "valeurs": {
               "title": "Valeurs",
               "type": "array",
               "items": {
                  "$ref": "#/definitions/IQSSValueModel"
               }
            }
         },
         "required": [
            "secteur",
            "theme",
            "source",
            "indicateur",
            "valeurs"
         ]
      },
      "FinessCapaciteModel": {
         "title": "FinessCapaciteModel",
         "description": "Donn\u00e9es de capacit\u00e9 d'activit\u00e9 de l'\u00e9tablissement pour une ann\u00e9e",
         "type": "object",
         "properties": {
            "annee": {
               "title": "Annee",
               "type": "integer"
            },
            "key": {
               "title": "Key",
               "type": "string"
            },
            "title": {
               "title": "Title",
               "type": "string"
            },
            "value": {
               "title": "Value",
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "type": "string"
                  }
               ]
            }
         },
         "required": [
            "annee",
            "key",
            "title",
            "value"
         ]
      },
      "FinessVolumetrieModel": {
         "title": "FinessVolumetrieModel",
         "description": "Donn\u00e9es de volum\u00e9trie d'activit\u00e9 de l'\u00e9tablissement pour une ann\u00e9e",
         "type": "object",
         "properties": {
            "annee": {
               "title": "Annee",
               "type": "integer"
            },
            "key": {
               "title": "Key",
               "type": "string"
            },
            "title": {
               "title": "Title",
               "type": "string"
            },
            "value": {
               "title": "Value",
               "type": "number"
            }
         },
         "required": [
            "annee",
            "key",
            "title",
            "value"
         ]
      },
      "FinessCertif2014Model": {
         "title": "FinessCertif2014Model",
         "description": "Donn\u00e9es de certification du r\u00e9f\u00e9rentiel 2014-2020",
         "type": "object",
         "properties": {
            "key": {
               "title": "Key",
               "type": "string"
            },
            "title": {
               "title": "Title",
               "type": "string"
            },
            "libelle_thematique": {
               "title": "Libelle Thematique",
               "type": "string"
            },
            "value": {
               "title": "Value",
               "anyOf": [
                  {
                     "type": "number"
                  },
                  {
                     "type": "string"
                  },
                  {
                     "type": "string",
                     "format": "date"
                  }
               ]
            }
         },
         "required": [
            "key",
            "title",
            "libelle_thematique",
            "value"
         ]
      },
      "Certif2021ScoreTypeEnum": {
         "title": "Certif2021ScoreTypeEnum",
         "description": "Type de scores possibles pour la certification 2021",
         "enum": [
            "decision",
            "chapitre",
            "objectif",
            "date_decision"
         ],
         "type": "string"
      },
      "FinessCertif2021Model": {
         "title": "FinessCertif2021Model",
         "description": "Donn\u00e9es de certification du r\u00e9f\u00e9rentiel 2021-2025",
         "type": "object",
         "properties": {
            "key": {
               "title": "Key",
               "type": "string"
            },
            "title": {
               "title": "Title",
               "type": "string"
            },
            "value": {
               "title": "Value",
               "anyOf": [
                  {
                     "type": "number"
                  },
                  {
                     "type": "string"
                  },
                  {
                     "type": "integer"
                  }
               ]
            },
            "score_type": {
               "$ref": "#/definitions/Certif2021ScoreTypeEnum"
            },
            "chapitre_id": {
               "title": "Chapitre Id",
               "type": "string"
            },
            "objectif_id": {
               "title": "Objectif Id",
               "type": "string"
            }
         },
         "required": [
            "key",
            "title",
            "value"
         ]
      }
   }
}

field IQSS: List[FinessIQSSModel] [Required]#
field activites: List[FinessActivitesModel] [Required]#
field autorisations: List[FinessAutorisationModel] [Required]#
field capacite: List[FinessCapaciteModel] [Required]#
field certification_v2014: List[FinessCertif2014Model] [Required]#
field certification_v2021: Optional[List[FinessCertif2021Model]] [Required]#
field coordonnees: FinessCoordonnesModel [Required]#
field ferme_cette_annee: bool [Required]#
field finess_geo: str [Required]#
field identification: FinessIdentificationModel [Required]#
field satisfaction_patient: List[FinessESATISModel] [Required]#
field taille: TailleEnum [Required]#
field volumetrie: List[FinessVolumetrieModel] [Required]#

Schéma détaillé des données des établissements#

class TailleEnum(value)[source]#

Valeurs possibles de taille d’établissement

class TypeEtablissementEnum(value)[source]#

Valeurs possibles de type d’établissement

class ActiviteLibelleEnum(value)[source]#

Valeurs possibles d’activité d’établissement

class ActiviteIdEnum(value)[source]#

Identifiants d’activité possibles

class IQSSSourceEnum(value)[source]#

Sources possibles des IQSS

class ESATISSourceEnum(value)[source]#

Sources possibles des IQSS questionnaire patient

class IQSSSecteurEnum(value)[source]#

Secteurs possibles pour les IQSS

class IQSSThemeEnum(value)[source]#

Thèmes possibles pour les IQSS

class ESATISSecteurEnum(value)[source]#

Secteurs possibles pour les IQSS questionnaire patient

class ESATISThemeEnum(value)[source]#

Thèmes possibles pour les IQSS questionnaire patient

class Certif2021ScoreTypeEnum(value)[source]#

Type de scores possibles pour la certification 2021

pydantic model FinessIdentificationModel[source]#

Données d’identification de l’établissement

Show JSON schema
{
   "title": "FinessIdentificationModel",
   "description": "Donn\u00e9es d'identification de l'\u00e9tablissement",
   "type": "object",
   "properties": {
      "num_finess_ej": {
         "title": "Num Finess Ej",
         "type": "string"
      },
      "raison_sociale_et": {
         "title": "Raison Sociale Et",
         "type": "string"
      },
      "raison_sociale_longue_et": {
         "title": "Raison Sociale Longue Et",
         "type": "string"
      },
      "raison_sociale_ej": {
         "title": "Raison Sociale Ej",
         "type": "string"
      },
      "raison_sociale_longue_ej": {
         "title": "Raison Sociale Longue Ej",
         "type": "string"
      },
      "date_ouverture": {
         "title": "Date Ouverture",
         "type": "string",
         "format": "date"
      },
      "statut_juridique": {
         "title": "Statut Juridique",
         "type": "string"
      },
      "statut_juridique_ej": {
         "title": "Statut Juridique Ej",
         "type": "integer"
      },
      "libelle_statut_juridique_ej": {
         "title": "Libelle Statut Juridique Ej",
         "type": "string"
      },
      "type_etablissement": {
         "$ref": "#/definitions/TypeEtablissementEnum"
      }
   },
   "required": [
      "num_finess_ej",
      "raison_sociale_et",
      "raison_sociale_ej",
      "date_ouverture",
      "statut_juridique",
      "statut_juridique_ej",
      "libelle_statut_juridique_ej",
      "type_etablissement"
   ],
   "definitions": {
      "TypeEtablissementEnum": {
         "title": "TypeEtablissementEnum",
         "description": "Valeurs possibles de type d'\u00e9tablissement",
         "enum": [
            "Public",
            "Priv\u00e9",
            "Priv\u00e9 \u00e0 but non lucratif",
            "CH",
            "CHU",
            "CLCC"
         ],
         "type": "string"
      }
   }
}

field num_finess_ej: str [Required]#
field raison_sociale_et: str [Required]#
field raison_sociale_longue_et: Optional[str] [Required]#
field raison_sociale_ej: str [Required]#
field raison_sociale_longue_ej: Optional[str] [Required]#
field date_ouverture: date [Required]#
field statut_juridique: str [Required]#
field statut_juridique_ej: int [Required]#
field libelle_statut_juridique_ej: str [Required]#
field type_etablissement: TypeEtablissementEnum [Required]#
pydantic model FinessCoordonnesModel[source]#

Coordonnées de l’établissement

Show JSON schema
{
   "title": "FinessCoordonnesModel",
   "description": "Coordonn\u00e9es de l'\u00e9tablissement",
   "type": "object",
   "properties": {
      "adresse_postale_ligne_1": {
         "title": "Adresse Postale Ligne 1",
         "type": "string"
      },
      "adresse_postale_ligne_2": {
         "title": "Adresse Postale Ligne 2",
         "type": "string"
      },
      "libelle_commune": {
         "title": "Libelle Commune",
         "type": "string"
      },
      "code_postal": {
         "title": "Code Postal",
         "type": "string"
      },
      "departement": {
         "title": "Departement",
         "type": "string"
      },
      "libelle_departement": {
         "title": "Libelle Departement",
         "type": "string"
      },
      "telephone": {
         "title": "Telephone",
         "type": "string"
      },
      "latitude": {
         "title": "Latitude",
         "type": "number"
      },
      "longitude": {
         "title": "Longitude",
         "type": "number"
      }
   },
   "required": [
      "adresse_postale_ligne_2",
      "libelle_commune",
      "code_postal",
      "departement",
      "libelle_departement"
   ]
}

field adresse_postale_ligne_1: Optional[str] [Required]#
field adresse_postale_ligne_2: str [Required]#
field libelle_commune: str [Required]#
field code_postal: str [Required]#
field departement: str [Required]#
field libelle_departement: str [Required]#
field telephone: Optional[str] [Required]#
field latitude: Optional[float] [Required]#
field longitude: Optional[float] [Required]#
pydantic model FinessAutorisationModel[source]#

Données d’autorisation d’activité de l’établissement

Show JSON schema
{
   "title": "FinessAutorisationModel",
   "description": "Donn\u00e9es d'autorisation d'activit\u00e9 de l'\u00e9tablissement",
   "type": "object",
   "properties": {
      "activite": {
         "title": "Activite",
         "type": "integer"
      },
      "libelle_activite": {
         "title": "Libelle Activite",
         "type": "string"
      },
      "date_mise_en_oeuvre": {
         "title": "Date Mise En Oeuvre",
         "type": "string",
         "format": "date"
      }
   },
   "required": [
      "activite",
      "libelle_activite"
   ]
}

field activite: int [Required]#
field libelle_activite: str [Required]#
field date_mise_en_oeuvre: Optional[date] [Required]#
pydantic model FinessActivitesModel[source]#

Données d’activités pratiquées par l’établissement

Show JSON schema
{
   "title": "FinessActivitesModel",
   "description": "Donn\u00e9es d'activit\u00e9s pratiqu\u00e9es par l'\u00e9tablissement",
   "type": "object",
   "properties": {
      "id": {
         "$ref": "#/definitions/ActiviteIdEnum"
      },
      "libelle": {
         "$ref": "#/definitions/ActiviteLibelleEnum"
      }
   },
   "required": [
      "id",
      "libelle"
   ],
   "definitions": {
      "ActiviteIdEnum": {
         "title": "ActiviteIdEnum",
         "description": "Identifiants d'activit\u00e9 possibles",
         "enum": [
            "medecine",
            "ssr",
            "sld",
            "amp_dpn",
            "cancerologie",
            "obstetrique",
            "chirurgie",
            "reanimation",
            "nephrologie",
            "psychiatrie",
            "imagerie",
            "diagnostic_genetique"
         ],
         "type": "string"
      },
      "ActiviteLibelleEnum": {
         "title": "ActiviteLibelleEnum",
         "description": "Valeurs possibles d'activit\u00e9 d'\u00e9tablissement",
         "enum": [
            "M\u00e9decine",
            "Soins de Suite et de R\u00e9adaptation",
            "Soins de longue dur\u00e9e",
            "Assistance m\u00e9dicale \u00e0 la procr\u00e9ation - Diagnostic pr\u00e9natal (AMP-DPN)",
            "Canc\u00e9rologie",
            "Obst\u00e9trique",
            "Chirurgie",
            "R\u00e9animation",
            "N\u00e9phrologie",
            "Psychiatrie",
            "Imagerie M\u00e9dicale",
            "Diagnostic g\u00e9n\u00e9tique"
         ],
         "type": "string"
      }
   }
}

field id: ActiviteIdEnum [Required]#
field libelle: ActiviteLibelleEnum [Required]#
pydantic model IQSSValueModel[source]#

Données d’un indicateur recueilli pour une année donnée et un établissement donné. Un indicateur peut être constitué d’une ou plusieurs variables.

Show JSON schema
{
   "title": "IQSSValueModel",
   "description": "Donn\u00e9es d'un indicateur recueilli pour une ann\u00e9e donn\u00e9e et un \u00e9tablissement donn\u00e9.\nUn indicateur peut \u00eatre constitu\u00e9 d'une ou plusieurs variables.",
   "type": "object",
   "properties": {
      "annee_recueil": {
         "title": "Annee Recueil",
         "type": "integer"
      },
      "status": {
         "$ref": "#/definitions/IQSSVariableModel"
      },
      "resultat": {
         "$ref": "#/definitions/IQSSVariableModel"
      },
      "classe": {
         "$ref": "#/definitions/IQSSVariableModel"
      },
      "denominateur": {
         "$ref": "#/definitions/IQSSVariableModel"
      },
      "positionnement": {
         "$ref": "#/definitions/IQSSVariableModel"
      },
      "evolution": {
         "$ref": "#/definitions/IQSSVariableModel"
      },
      "score": {
         "$ref": "#/definitions/IQSSVariableModel"
      },
      "intervalle_haut": {
         "$ref": "#/definitions/IQSSVariableModel"
      },
      "intervalle_bas": {
         "$ref": "#/definitions/IQSSVariableModel"
      },
      "controle": {
         "$ref": "#/definitions/IQSSVariableModel"
      },
      "obligatoire": {
         "$ref": "#/definitions/IQSSVariableModel"
      },
      "resultat_min": {
         "$ref": "#/definitions/IQSSVariableModel"
      },
      "resultat_strict": {
         "$ref": "#/definitions/IQSSVariableModel"
      },
      "effectif_cible": {
         "$ref": "#/definitions/IQSSVariableModel"
      },
      "effectif_observe": {
         "$ref": "#/definitions/IQSSVariableModel"
      },
      "effectif_attendu": {
         "$ref": "#/definitions/IQSSVariableModel"
      },
      "capacite": {
         "$ref": "#/definitions/IQSSVariableModel"
      },
      "volumetrie": {
         "$ref": "#/definitions/IQSSVariableModel"
      }
   },
   "required": [
      "annee_recueil"
   ],
   "definitions": {
      "IQSSVariableModel": {
         "title": "IQSSVariableModel",
         "type": "object",
         "properties": {
            "title": {
               "title": "Title",
               "type": "string"
            },
            "value": {
               "title": "Value",
               "anyOf": [
                  {
                     "type": "number"
                  },
                  {
                     "type": "string"
                  }
               ]
            },
            "missing_value": {
               "title": "Missing Value",
               "type": "string"
            }
         },
         "required": [
            "title"
         ]
      }
   }
}

field annee_recueil: int [Required]#
field status: Optional[bqss.bqss.models.documents.IQSSVariableModel] [Required]#
field resultat: Optional[bqss.bqss.models.documents.IQSSVariableModel] [Required]#
field classe: Optional[bqss.bqss.models.documents.IQSSVariableModel] [Required]#
field denominateur: Optional[bqss.bqss.models.documents.IQSSVariableModel] [Required]#
field positionnement: Optional[bqss.bqss.models.documents.IQSSVariableModel] [Required]#
field evolution: Optional[bqss.bqss.models.documents.IQSSVariableModel] [Required]#
field score: Optional[bqss.bqss.models.documents.IQSSVariableModel] [Required]#
field intervalle_haut: Optional[bqss.bqss.models.documents.IQSSVariableModel] [Required]#
field intervalle_bas: Optional[bqss.bqss.models.documents.IQSSVariableModel] [Required]#
field controle: Optional[bqss.bqss.models.documents.IQSSVariableModel] [Required]#
field obligatoire: Optional[bqss.bqss.models.documents.IQSSVariableModel] [Required]#
field resultat_min: Optional[bqss.bqss.models.documents.IQSSVariableModel] [Required]#
field resultat_strict: Optional[bqss.bqss.models.documents.IQSSVariableModel] [Required]#
field effectif_cible: Optional[bqss.bqss.models.documents.IQSSVariableModel] [Required]#
field effectif_observe: Optional[bqss.bqss.models.documents.IQSSVariableModel] [Required]#
field effectif_attendu: Optional[bqss.bqss.models.documents.IQSSVariableModel] [Required]#
field capacite: Optional[bqss.bqss.models.documents.IQSSVariableModel] [Required]#
field volumetrie: Optional[bqss.bqss.models.documents.IQSSVariableModel] [Required]#
pydantic model FinessIQSSModel[source]#

Données des IQSS autres que le questionnaire satisfaction patient

Show JSON schema
{
   "title": "FinessIQSSModel",
   "description": "Donn\u00e9es des IQSS autres que le questionnaire satisfaction patient",
   "type": "object",
   "properties": {
      "secteur": {
         "$ref": "#/definitions/IQSSSecteurEnum"
      },
      "theme": {
         "$ref": "#/definitions/IQSSThemeEnum"
      },
      "source": {
         "$ref": "#/definitions/IQSSSourceEnum"
      },
      "indicateur": {
         "title": "Indicateur",
         "type": "string"
      },
      "valeurs": {
         "title": "Valeurs",
         "type": "array",
         "items": {
            "$ref": "#/definitions/IQSSValueModel"
         }
      }
   },
   "required": [
      "secteur",
      "theme",
      "source",
      "indicateur",
      "valeurs"
   ],
   "definitions": {
      "IQSSSecteurEnum": {
         "title": "IQSSSecteurEnum",
         "description": "Secteurs possibles pour les IQSS",
         "enum": [
            "HAD",
            "SSR",
            "PSY",
            "MHS",
            "TCH",
            "MCO"
         ],
         "type": "string"
      },
      "IQSSThemeEnum": {
         "title": "IQSSThemeEnum",
         "description": "Th\u00e8mes possibles pour les IQSS",
         "enum": [
            "DIA",
            "IDM",
            "DPA",
            "AVC",
            "HPP",
            "ETEORTHO",
            "IAS",
            "ISOORTHO",
            "CA",
            "RCP",
            "DAN",
            "48h"
         ],
         "type": "string"
      },
      "IQSSSourceEnum": {
         "title": "IQSSSourceEnum",
         "description": "Sources possibles des IQSS",
         "enum": [
            "IQSS PMSI",
            "IQSS dossier patient",
            "IQSS questionnaire \u00e9tablissement"
         ],
         "type": "string"
      },
      "IQSSVariableModel": {
         "title": "IQSSVariableModel",
         "type": "object",
         "properties": {
            "title": {
               "title": "Title",
               "type": "string"
            },
            "value": {
               "title": "Value",
               "anyOf": [
                  {
                     "type": "number"
                  },
                  {
                     "type": "string"
                  }
               ]
            },
            "missing_value": {
               "title": "Missing Value",
               "type": "string"
            }
         },
         "required": [
            "title"
         ]
      },
      "IQSSValueModel": {
         "title": "IQSSValueModel",
         "description": "Donn\u00e9es d'un indicateur recueilli pour une ann\u00e9e donn\u00e9e et un \u00e9tablissement donn\u00e9.\nUn indicateur peut \u00eatre constitu\u00e9 d'une ou plusieurs variables.",
         "type": "object",
         "properties": {
            "annee_recueil": {
               "title": "Annee Recueil",
               "type": "integer"
            },
            "status": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "resultat": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "classe": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "denominateur": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "positionnement": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "evolution": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "score": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "intervalle_haut": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "intervalle_bas": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "controle": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "obligatoire": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "resultat_min": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "resultat_strict": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "effectif_cible": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "effectif_observe": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "effectif_attendu": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "capacite": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "volumetrie": {
               "$ref": "#/definitions/IQSSVariableModel"
            }
         },
         "required": [
            "annee_recueil"
         ]
      }
   }
}

Validators

field secteur: IQSSSecteurEnum [Required]#
field theme: IQSSThemeEnum [Required]#
field source: IQSSSourceEnum [Required]#
field indicateur: str [Required]#
field valeurs: List[IQSSValueModel] [Required]#
Validated by
  • check_indicateur_unicity

pydantic model FinessESATISModel[source]#

Données des IQSS questionnaire statisfaction patient

Show JSON schema
{
   "title": "FinessESATISModel",
   "description": "Donn\u00e9es des IQSS questionnaire statisfaction patient",
   "type": "object",
   "properties": {
      "secteur": {
         "$ref": "#/definitions/ESATISSecteurEnum"
      },
      "theme": {
         "$ref": "#/definitions/ESATISThemeEnum"
      },
      "source": {
         "$ref": "#/definitions/ESATISSourceEnum"
      },
      "indicateur": {
         "title": "Indicateur",
         "type": "string"
      },
      "valeurs": {
         "title": "Valeurs",
         "type": "array",
         "items": {
            "$ref": "#/definitions/IQSSValueModel"
         }
      }
   },
   "required": [
      "secteur",
      "theme",
      "source",
      "indicateur",
      "valeurs"
   ],
   "definitions": {
      "ESATISSecteurEnum": {
         "title": "ESATISSecteurEnum",
         "description": "Secteurs possibles pour les IQSS questionnaire patient",
         "enum": [
            "MCO"
         ],
         "type": "string"
      },
      "ESATISThemeEnum": {
         "title": "ESATISThemeEnum",
         "description": "Th\u00e8mes possibles pour les IQSS questionnaire patient",
         "enum": [
            "CA",
            "48h"
         ],
         "type": "string"
      },
      "ESATISSourceEnum": {
         "title": "ESATISSourceEnum",
         "description": "Sources possibles des IQSS questionnaire patient",
         "enum": [
            "IQSS questionnaire patient"
         ],
         "type": "string"
      },
      "IQSSVariableModel": {
         "title": "IQSSVariableModel",
         "type": "object",
         "properties": {
            "title": {
               "title": "Title",
               "type": "string"
            },
            "value": {
               "title": "Value",
               "anyOf": [
                  {
                     "type": "number"
                  },
                  {
                     "type": "string"
                  }
               ]
            },
            "missing_value": {
               "title": "Missing Value",
               "type": "string"
            }
         },
         "required": [
            "title"
         ]
      },
      "IQSSValueModel": {
         "title": "IQSSValueModel",
         "description": "Donn\u00e9es d'un indicateur recueilli pour une ann\u00e9e donn\u00e9e et un \u00e9tablissement donn\u00e9.\nUn indicateur peut \u00eatre constitu\u00e9 d'une ou plusieurs variables.",
         "type": "object",
         "properties": {
            "annee_recueil": {
               "title": "Annee Recueil",
               "type": "integer"
            },
            "status": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "resultat": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "classe": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "denominateur": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "positionnement": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "evolution": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "score": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "intervalle_haut": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "intervalle_bas": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "controle": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "obligatoire": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "resultat_min": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "resultat_strict": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "effectif_cible": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "effectif_observe": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "effectif_attendu": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "capacite": {
               "$ref": "#/definitions/IQSSVariableModel"
            },
            "volumetrie": {
               "$ref": "#/definitions/IQSSVariableModel"
            }
         },
         "required": [
            "annee_recueil"
         ]
      }
   }
}

Validators

field secteur: ESATISSecteurEnum [Required]#
field theme: ESATISThemeEnum [Required]#
field source: ESATISSourceEnum [Required]#
field indicateur: str [Required]#
field valeurs: List[IQSSValueModel] [Required]#
Validated by
  • check_indicateur_unicity

pydantic model FinessCapaciteModel[source]#

Données de capacité d’activité de l’établissement pour une année

Show JSON schema
{
   "title": "FinessCapaciteModel",
   "description": "Donn\u00e9es de capacit\u00e9 d'activit\u00e9 de l'\u00e9tablissement pour une ann\u00e9e",
   "type": "object",
   "properties": {
      "annee": {
         "title": "Annee",
         "type": "integer"
      },
      "key": {
         "title": "Key",
         "type": "string"
      },
      "title": {
         "title": "Title",
         "type": "string"
      },
      "value": {
         "title": "Value",
         "anyOf": [
            {
               "type": "boolean"
            },
            {
               "type": "number"
            },
            {
               "type": "string"
            }
         ]
      }
   },
   "required": [
      "annee",
      "key",
      "title",
      "value"
   ]
}

field annee: int [Required]#
field key: str [Required]#
field title: str [Required]#
field value: Union[bool, float, str] [Required]#
pydantic model FinessVolumetrieModel[source]#

Données de volumétrie d’activité de l’établissement pour une année

Show JSON schema
{
   "title": "FinessVolumetrieModel",
   "description": "Donn\u00e9es de volum\u00e9trie d'activit\u00e9 de l'\u00e9tablissement pour une ann\u00e9e",
   "type": "object",
   "properties": {
      "annee": {
         "title": "Annee",
         "type": "integer"
      },
      "key": {
         "title": "Key",
         "type": "string"
      },
      "title": {
         "title": "Title",
         "type": "string"
      },
      "value": {
         "title": "Value",
         "type": "number"
      }
   },
   "required": [
      "annee",
      "key",
      "title",
      "value"
   ]
}

field annee: int [Required]#
field key: str [Required]#
field title: str [Required]#
field value: float [Required]#
pydantic model FinessCertif2014Model[source]#

Données de certification du référentiel 2014-2020

Show JSON schema
{
   "title": "FinessCertif2014Model",
   "description": "Donn\u00e9es de certification du r\u00e9f\u00e9rentiel 2014-2020",
   "type": "object",
   "properties": {
      "key": {
         "title": "Key",
         "type": "string"
      },
      "title": {
         "title": "Title",
         "type": "string"
      },
      "libelle_thematique": {
         "title": "Libelle Thematique",
         "type": "string"
      },
      "value": {
         "title": "Value",
         "anyOf": [
            {
               "type": "number"
            },
            {
               "type": "string"
            },
            {
               "type": "string",
               "format": "date"
            }
         ]
      }
   },
   "required": [
      "key",
      "title",
      "libelle_thematique",
      "value"
   ]
}

field key: str [Required]#
field title: str [Required]#
field libelle_thematique: str [Required]#
field value: Union[float, str, date] [Required]#
pydantic model FinessCertif2021Model[source]#

Données de certification du référentiel 2021-2025

Show JSON schema
{
   "title": "FinessCertif2021Model",
   "description": "Donn\u00e9es de certification du r\u00e9f\u00e9rentiel 2021-2025",
   "type": "object",
   "properties": {
      "key": {
         "title": "Key",
         "type": "string"
      },
      "title": {
         "title": "Title",
         "type": "string"
      },
      "value": {
         "title": "Value",
         "anyOf": [
            {
               "type": "number"
            },
            {
               "type": "string"
            },
            {
               "type": "integer"
            }
         ]
      },
      "score_type": {
         "$ref": "#/definitions/Certif2021ScoreTypeEnum"
      },
      "chapitre_id": {
         "title": "Chapitre Id",
         "type": "string"
      },
      "objectif_id": {
         "title": "Objectif Id",
         "type": "string"
      }
   },
   "required": [
      "key",
      "title",
      "value"
   ],
   "definitions": {
      "Certif2021ScoreTypeEnum": {
         "title": "Certif2021ScoreTypeEnum",
         "description": "Type de scores possibles pour la certification 2021",
         "enum": [
            "decision",
            "chapitre",
            "objectif",
            "date_decision"
         ],
         "type": "string"
      }
   }
}

field key: str [Required]#
Validated by
field title: str [Required]#
Validated by
field value: Union[float, str, int] [Required]#
Validated by
field score_type: Optional[Certif2021ScoreTypeEnum] [Required]#
Validated by
field chapitre_id: Optional[str] [Required]#
Validated by
field objectif_id: Optional[str] [Required]#
Validated by
validator check_certif_score_type_coherence  »  all fields[source]#

Schémas de données des statistiques nationales#

pydantic model IndicateurStatsModel[source]#

Statistiques nationales d’un indicateur donné

Show JSON schema
{
   "title": "IndicateurStatsModel",
   "description": "Statistiques nationales d'un indicateur donn\u00e9",
   "type": "object",
   "properties": {
      "indicateur": {
         "title": "Indicateur",
         "type": "string"
      },
      "statistiques_annuelles": {
         "title": "Statistiques Annuelles",
         "type": "array",
         "items": {
            "$ref": "#/definitions/IndicateurYearStatsModel"
         }
      }
   },
   "required": [
      "indicateur",
      "statistiques_annuelles"
   ],
   "definitions": {
      "ClasseEnum": {
         "title": "ClasseEnum",
         "description": "Valeurs possibles pour la classe d'un indicateur",
         "enum": [
            "A",
            "B",
            "C",
            "D"
         ],
         "type": "string"
      },
      "BinaryClasseEnum": {
         "title": "BinaryClasseEnum",
         "description": "Valeurs possibles pour les classes binaires",
         "enum": [
            0,
            1
         ],
         "type": "integer"
      },
      "DistributionModel": {
         "title": "DistributionModel",
         "description": "Distribution des valeurs recueillies",
         "type": "object",
         "properties": {
            "classe": {
               "title": "Classe",
               "anyOf": [
                  {
                     "$ref": "#/definitions/ClasseEnum"
                  },
                  {
                     "$ref": "#/definitions/BinaryClasseEnum"
                  }
               ]
            },
            "nb_etablissements": {
               "title": "Nb Etablissements",
               "type": "integer"
            },
            "part_etablissements": {
               "title": "Part Etablissements",
               "type": "number"
            }
         },
         "required": [
            "classe",
            "nb_etablissements",
            "part_etablissements"
         ]
      },
      "MissingClasseEnum": {
         "title": "MissingClasseEnum",
         "description": "Valeurs manquantes possibles",
         "enum": [
            "Non concern\u00e9",
            "Non r\u00e9pondant",
            "Non valid\u00e9",
            "Donn\u00e9es insuffisantes"
         ],
         "type": "string"
      },
      "MissingDistributionModel": {
         "title": "MissingDistributionModel",
         "description": "Distribution des valeurs manquantes",
         "type": "object",
         "properties": {
            "classe": {
               "$ref": "#/definitions/MissingClasseEnum"
            }
         },
         "required": [
            "classe"
         ]
      },
      "IndicateurYearStatsModel": {
         "title": "IndicateurYearStatsModel",
         "description": "Statistiques d'un indicateur donn\u00e9 pour une ann\u00e9e de recueil donn\u00e9e",
         "type": "object",
         "properties": {
            "annee_recueil": {
               "title": "Annee Recueil",
               "type": "integer"
            },
            "distribution": {
               "title": "Distribution",
               "type": "array",
               "items": {
                  "$ref": "#/definitions/DistributionModel"
               }
            },
            "missing_distribution": {
               "title": "Missing Distribution",
               "type": "array",
               "items": {
                  "$ref": "#/definitions/MissingDistributionModel"
               }
            }
         },
         "required": [
            "annee_recueil",
            "distribution",
            "missing_distribution"
         ]
      }
   }
}

field indicateur: str [Required]#
field statistiques_annuelles: List[IndicateurYearStatsModel] [Required]#

Schéma détaillé des statistiques nationales#

class ClasseEnum(value)[source]#

Valeurs possibles pour la classe d’un indicateur

class BinaryClasseEnum(value)[source]#

Valeurs possibles pour les classes binaires

class MissingClasseEnum(value)[source]#

Valeurs manquantes possibles

pydantic model DistributionModel[source]#

Distribution des valeurs recueillies

Show JSON schema
{
   "title": "DistributionModel",
   "description": "Distribution des valeurs recueillies",
   "type": "object",
   "properties": {
      "classe": {
         "title": "Classe",
         "anyOf": [
            {
               "$ref": "#/definitions/ClasseEnum"
            },
            {
               "$ref": "#/definitions/BinaryClasseEnum"
            }
         ]
      },
      "nb_etablissements": {
         "title": "Nb Etablissements",
         "type": "integer"
      },
      "part_etablissements": {
         "title": "Part Etablissements",
         "type": "number"
      }
   },
   "required": [
      "classe",
      "nb_etablissements",
      "part_etablissements"
   ],
   "definitions": {
      "ClasseEnum": {
         "title": "ClasseEnum",
         "description": "Valeurs possibles pour la classe d'un indicateur",
         "enum": [
            "A",
            "B",
            "C",
            "D"
         ],
         "type": "string"
      },
      "BinaryClasseEnum": {
         "title": "BinaryClasseEnum",
         "description": "Valeurs possibles pour les classes binaires",
         "enum": [
            0,
            1
         ],
         "type": "integer"
      }
   }
}

field classe: Union[ClasseEnum, BinaryClasseEnum] [Required]#
field nb_etablissements: int [Required]#
field part_etablissements: float [Required]#
pydantic model MissingDistributionModel[source]#

Distribution des valeurs manquantes

Show JSON schema
{
   "title": "MissingDistributionModel",
   "description": "Distribution des valeurs manquantes",
   "type": "object",
   "properties": {
      "classe": {
         "$ref": "#/definitions/MissingClasseEnum"
      }
   },
   "required": [
      "classe"
   ],
   "definitions": {
      "MissingClasseEnum": {
         "title": "MissingClasseEnum",
         "description": "Valeurs manquantes possibles",
         "enum": [
            "Non concern\u00e9",
            "Non r\u00e9pondant",
            "Non valid\u00e9",
            "Donn\u00e9es insuffisantes"
         ],
         "type": "string"
      }
   }
}

field classe: MissingClasseEnum [Required]#
pydantic model IndicateurYearStatsModel[source]#

Statistiques d’un indicateur donné pour une année de recueil donnée

Show JSON schema
{
   "title": "IndicateurYearStatsModel",
   "description": "Statistiques d'un indicateur donn\u00e9 pour une ann\u00e9e de recueil donn\u00e9e",
   "type": "object",
   "properties": {
      "annee_recueil": {
         "title": "Annee Recueil",
         "type": "integer"
      },
      "distribution": {
         "title": "Distribution",
         "type": "array",
         "items": {
            "$ref": "#/definitions/DistributionModel"
         }
      },
      "missing_distribution": {
         "title": "Missing Distribution",
         "type": "array",
         "items": {
            "$ref": "#/definitions/MissingDistributionModel"
         }
      }
   },
   "required": [
      "annee_recueil",
      "distribution",
      "missing_distribution"
   ],
   "definitions": {
      "ClasseEnum": {
         "title": "ClasseEnum",
         "description": "Valeurs possibles pour la classe d'un indicateur",
         "enum": [
            "A",
            "B",
            "C",
            "D"
         ],
         "type": "string"
      },
      "BinaryClasseEnum": {
         "title": "BinaryClasseEnum",
         "description": "Valeurs possibles pour les classes binaires",
         "enum": [
            0,
            1
         ],
         "type": "integer"
      },
      "DistributionModel": {
         "title": "DistributionModel",
         "description": "Distribution des valeurs recueillies",
         "type": "object",
         "properties": {
            "classe": {
               "title": "Classe",
               "anyOf": [
                  {
                     "$ref": "#/definitions/ClasseEnum"
                  },
                  {
                     "$ref": "#/definitions/BinaryClasseEnum"
                  }
               ]
            },
            "nb_etablissements": {
               "title": "Nb Etablissements",
               "type": "integer"
            },
            "part_etablissements": {
               "title": "Part Etablissements",
               "type": "number"
            }
         },
         "required": [
            "classe",
            "nb_etablissements",
            "part_etablissements"
         ]
      },
      "MissingClasseEnum": {
         "title": "MissingClasseEnum",
         "description": "Valeurs manquantes possibles",
         "enum": [
            "Non concern\u00e9",
            "Non r\u00e9pondant",
            "Non valid\u00e9",
            "Donn\u00e9es insuffisantes"
         ],
         "type": "string"
      },
      "MissingDistributionModel": {
         "title": "MissingDistributionModel",
         "description": "Distribution des valeurs manquantes",
         "type": "object",
         "properties": {
            "classe": {
               "$ref": "#/definitions/MissingClasseEnum"
            }
         },
         "required": [
            "classe"
         ]
      }
   }
}

field annee_recueil: int [Required]#
field distribution: List[DistributionModel] [Required]#
field missing_distribution: List[MissingDistributionModel] [Required]#
pydantic model StatsModel[source]#

Statistiques sur les établissements de santé

Show JSON schema
{
   "title": "StatsModel",
   "description": "Statistiques sur les \u00e9tablissements de sant\u00e9",
   "type": "object",
   "properties": {
      "distributions_nationales_indicateurs": {
         "title": "Distributions Nationales Indicateurs",
         "type": "array",
         "items": {
            "$ref": "#/definitions/IndicateurStatsModel"
         }
      }
   },
   "required": [
      "distributions_nationales_indicateurs"
   ],
   "definitions": {
      "ClasseEnum": {
         "title": "ClasseEnum",
         "description": "Valeurs possibles pour la classe d'un indicateur",
         "enum": [
            "A",
            "B",
            "C",
            "D"
         ],
         "type": "string"
      },
      "BinaryClasseEnum": {
         "title": "BinaryClasseEnum",
         "description": "Valeurs possibles pour les classes binaires",
         "enum": [
            0,
            1
         ],
         "type": "integer"
      },
      "DistributionModel": {
         "title": "DistributionModel",
         "description": "Distribution des valeurs recueillies",
         "type": "object",
         "properties": {
            "classe": {
               "title": "Classe",
               "anyOf": [
                  {
                     "$ref": "#/definitions/ClasseEnum"
                  },
                  {
                     "$ref": "#/definitions/BinaryClasseEnum"
                  }
               ]
            },
            "nb_etablissements": {
               "title": "Nb Etablissements",
               "type": "integer"
            },
            "part_etablissements": {
               "title": "Part Etablissements",
               "type": "number"
            }
         },
         "required": [
            "classe",
            "nb_etablissements",
            "part_etablissements"
         ]
      },
      "MissingClasseEnum": {
         "title": "MissingClasseEnum",
         "description": "Valeurs manquantes possibles",
         "enum": [
            "Non concern\u00e9",
            "Non r\u00e9pondant",
            "Non valid\u00e9",
            "Donn\u00e9es insuffisantes"
         ],
         "type": "string"
      },
      "MissingDistributionModel": {
         "title": "MissingDistributionModel",
         "description": "Distribution des valeurs manquantes",
         "type": "object",
         "properties": {
            "classe": {
               "$ref": "#/definitions/MissingClasseEnum"
            }
         },
         "required": [
            "classe"
         ]
      },
      "IndicateurYearStatsModel": {
         "title": "IndicateurYearStatsModel",
         "description": "Statistiques d'un indicateur donn\u00e9 pour une ann\u00e9e de recueil donn\u00e9e",
         "type": "object",
         "properties": {
            "annee_recueil": {
               "title": "Annee Recueil",
               "type": "integer"
            },
            "distribution": {
               "title": "Distribution",
               "type": "array",
               "items": {
                  "$ref": "#/definitions/DistributionModel"
               }
            },
            "missing_distribution": {
               "title": "Missing Distribution",
               "type": "array",
               "items": {
                  "$ref": "#/definitions/MissingDistributionModel"
               }
            }
         },
         "required": [
            "annee_recueil",
            "distribution",
            "missing_distribution"
         ]
      },
      "IndicateurStatsModel": {
         "title": "IndicateurStatsModel",
         "description": "Statistiques nationales d'un indicateur donn\u00e9",
         "type": "object",
         "properties": {
            "indicateur": {
               "title": "Indicateur",
               "type": "string"
            },
            "statistiques_annuelles": {
               "title": "Statistiques Annuelles",
               "type": "array",
               "items": {
                  "$ref": "#/definitions/IndicateurYearStatsModel"
               }
            }
         },
         "required": [
            "indicateur",
            "statistiques_annuelles"
         ]
      }
   }
}

field distributions_nationales_indicateurs: List[IndicateurStatsModel] [Required]#