# Electronic Health Record Data Model - Data Management with FHIR v0.1.0

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **Electronic Health Record Data Model**

## Logical Model: Electronic Health Record Data Model 

| | |
| :--- | :--- |
| *Official URL*:https://interop.aphp.fr/ig/fhir/dm/StructureDefinition/ehr | *Version*:0.1.0 |
| Draft as of 2025-10-23 | *Computable Name*:EHR |

 
Comprehensive logical model representing the Electronic Health Record (EHR) data structure for the EDSH (Entrepôt de Données de Santé Hospitalisé) core variables. 
This model consolidates all healthcare dimensions into a unified structure supporting: 
* Patient demographics and identity management
* Healthcare encounters and administrative data
* Clinical diagnostics and procedures
* Laboratory results and biological examinations
* Medication exposures and prescriptions
* Clinical care measurements and vital signs
* Lifestyle and behavioral factors
 
The model is optimized for healthcare data interoperability, research, and clinical analytics while maintaining alignment with FHIR standards and French healthcare requirements. 

**Usages:**

* This Logical Model is not used by any profiles in this Implementation Guide

You can also check for [usages in the FHIR IG Statistics](https://packages2.fhir.org/xig/aphp.fhir.fr.dm|current/StructureDefinition/ehr)

### Formal Views of Profile Content

 [Description of Profiles, Differentials, Snapshots and how the different presentations work](http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#structure-definitions). 

 

Other representations of profile: [CSV](StructureDefinition-ehr.csv), [Excel](StructureDefinition-ehr.xlsx) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "ehr",
  "url" : "https://interop.aphp.fr/ig/fhir/dm/StructureDefinition/ehr",
  "version" : "0.1.0",
  "name" : "EHR",
  "title" : "Electronic Health Record Data Model",
  "status" : "draft",
  "date" : "2025-10-23T20:49:03+00:00",
  "publisher" : "AP-HP",
  "contact" : [
    {
      "name" : "AP-HP",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://aphp.fr"
        }
      ]
    }
  ],
  "description" : "Comprehensive logical model representing the Electronic Health Record (EHR) data structure\nfor the EDSH (Entrepôt de Données de Santé Hospitalisé) core variables.\n\nThis model consolidates all healthcare dimensions into a unified structure supporting:\n- Patient demographics and identity management\n- Healthcare encounters and administrative data  \n- Clinical diagnostics and procedures\n- Laboratory results and biological examinations\n- Medication exposures and prescriptions\n- Clinical care measurements and vital signs\n- Lifestyle and behavioral factors\n\nThe model is optimized for healthcare data interoperability, research, and clinical analytics\nwhile maintaining alignment with FHIR standards and French healthcare requirements.",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "urn:iso:std:iso:3166",
          "code" : "FR",
          "display" : "France"
        }
      ]
    }
  ],
  "fhirVersion" : "4.0.1",
  "kind" : "logical",
  "abstract" : false,
  "type" : "https://interop.aphp.fr/ig/fhir/dm/StructureDefinition/ehr",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation" : "specialization",
  "differential" : {
    "element" : [
      {
        "id" : "ehr",
        "path" : "ehr",
        "short" : "Electronic Health Record Data Model",
        "definition" : "Comprehensive logical model representing the Electronic Health Record (EHR) data structure\nfor the EDSH (Entrepôt de Données de Santé Hospitalisé) core variables.\n\nThis model consolidates all healthcare dimensions into a unified structure supporting:\n- Patient demographics and identity management\n- Healthcare encounters and administrative data  \n- Clinical diagnostics and procedures\n- Laboratory results and biological examinations\n- Medication exposures and prescriptions\n- Clinical care measurements and vital signs\n- Lifestyle and behavioral factors\n\nThe model is optimized for healthcare data interoperability, research, and clinical analytics\nwhile maintaining alignment with FHIR standards and French healthcare requirements."
      },
      {
        "id" : "ehr.id",
        "path" : "ehr.id",
        "short" : "bundle logical id",
        "definition" : "bundle logical id",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "ehr.patient",
        "path" : "ehr.patient",
        "short" : "Patient Demographics and Identity",
        "definition" : "Patient information consolidating identity data and geographic information.\nBased on FHIR Questionnaire linkIds: 2958000860428 (Patient Identity) and 3816475533472 (Geocoding).\nMaps to SQL table: patient",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ]
      },
      {
        "id" : "ehr.patient.patientId",
        "path" : "ehr.patient.patientId",
        "short" : "Patient Identifier",
        "definition" : "Unique patient identifier (patient_id)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "ehr.patient.nom",
        "path" : "ehr.patient.nom",
        "short" : "Last Name",
        "definition" : "Patient last name - linkId: 8605698058770",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.patient.prenom",
        "path" : "ehr.patient.prenom",
        "short" : "First Name",
        "definition" : "Patient first name - linkId: 6214879623503",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.patient.nir",
        "path" : "ehr.patient.nir",
        "short" : "NIR",
        "definition" : "Numéro inscription au Répertoire (linkId: 5711960356160)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.patient.ins",
        "path" : "ehr.patient.ins",
        "short" : "INS",
        "definition" : "Identité Nationale de Santé (linkId: 3764723550987)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.patient.dateNaissance",
        "path" : "ehr.patient.dateNaissance",
        "short" : "Birth Date",
        "definition" : "Date of birth (date_naissance) - linkId: 5036133558154",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "date"
          }
        ]
      },
      {
        "id" : "ehr.patient.sexe",
        "path" : "ehr.patient.sexe",
        "short" : "Gender",
        "definition" : "Gender consolidated from PMSI - linkId: 3894630481120",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "code"
          }
        ]
      },
      {
        "id" : "ehr.patient.dateDeces",
        "path" : "ehr.patient.dateDeces",
        "short" : "Death Date",
        "definition" : "Date of death (date_deces) - linkId: 5633552097315",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "date"
          }
        ]
      },
      {
        "id" : "ehr.patient.sourceDeces",
        "path" : "ehr.patient.sourceDeces",
        "short" : "Death Source",
        "definition" : "Source of death date (source_deces) - linkId: 9098810065693",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.patient.rangGemellaire",
        "path" : "ehr.patient.rangGemellaire",
        "short" : "Twin Rank",
        "definition" : "Twin ranking (rang_gemellaire) - linkId: 6931296968515",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "integer"
          }
        ]
      },
      {
        "id" : "ehr.patient.createdAt",
        "path" : "ehr.patient.createdAt",
        "short" : "Created At",
        "definition" : "Record creation timestamp (created_at)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.patient.updatedAt",
        "path" : "ehr.patient.updatedAt",
        "short" : "Updated At",
        "definition" : "Record update timestamp (updated_at)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.patientAdresse",
        "path" : "ehr.patientAdresse",
        "short" : "Adresses des patients",
        "definition" : "Depuis la table patient_addresse",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ]
      },
      {
        "id" : "ehr.patientAdresse.patientAdresseId",
        "path" : "ehr.patientAdresse.patientAdresseId",
        "short" : "Patient address identifier",
        "definition" : "Unique identifier",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "ehr.patientAdresse.patientId",
        "path" : "ehr.patientAdresse.patientId",
        "short" : "Patient ID",
        "definition" : "Foreign key to patient (patient_id)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "ehr.patientAdresse.latitude",
        "path" : "ehr.patientAdresse.latitude",
        "short" : "Latitude",
        "definition" : "Latitude - linkId: 3709843054556",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "decimal"
          }
        ]
      },
      {
        "id" : "ehr.patientAdresse.longitude",
        "path" : "ehr.patientAdresse.longitude",
        "short" : "Longitude",
        "definition" : "Longitude - linkId: 7651448032665",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "decimal"
          }
        ]
      },
      {
        "id" : "ehr.patientAdresse.codeIris",
        "path" : "ehr.patientAdresse.codeIris",
        "short" : "IRIS Code",
        "definition" : "INSEE IRIS code (code_iris)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.patientAdresse.libelleIris",
        "path" : "ehr.patientAdresse.libelleIris",
        "short" : "IRIS Label",
        "definition" : "INSEE IRIS label (libelle_iris)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.patientAdresse.codeGeographiqueResidence",
        "path" : "ehr.patientAdresse.codeGeographiqueResidence",
        "short" : "Residence Code",
        "definition" : "Geographic code of residence (code_geographique_residence)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.patientAdresse.libelleGeographiqueResidence",
        "path" : "ehr.patientAdresse.libelleGeographiqueResidence",
        "short" : "Residence Label",
        "definition" : "Geographic label of residence (libelle_geographique_residence)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.patientAdresse.dateRecueil",
        "path" : "ehr.patientAdresse.dateRecueil",
        "short" : "Date de recueil",
        "definition" : "Date de recueil",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "date"
          }
        ]
      },
      {
        "id" : "ehr.patientAdresse.createdAt",
        "path" : "ehr.patientAdresse.createdAt",
        "short" : "Created At",
        "definition" : "Record creation timestamp (created_at)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.patientAdresse.updatedAt",
        "path" : "ehr.patientAdresse.updatedAt",
        "short" : "Updated At",
        "definition" : "Record update timestamp (updated_at)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.donneesPmsi",
        "path" : "ehr.donneesPmsi",
        "short" : "PMSI Data",
        "definition" : "Healthcare encounters and administrative data from PMSI.\nCentral linking entity for all clinical data. Based on linkId: 2825244231605.\nMaps to SQL table: donnees_pmsi",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ]
      },
      {
        "id" : "ehr.donneesPmsi.pmsiId",
        "path" : "ehr.donneesPmsi.pmsiId",
        "short" : "PMSI ID",
        "definition" : "Unique PMSI identifier (pmsi_id)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "ehr.donneesPmsi.patientId",
        "path" : "ehr.donneesPmsi.patientId",
        "short" : "Patient ID",
        "definition" : "Foreign key to patient (patient_id)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "ehr.donneesPmsi.modeSortie",
        "path" : "ehr.donneesPmsi.modeSortie",
        "short" : "Discharge Mode",
        "definition" : "Mode de sortie (mode_sortie)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.donneesPmsi.ageAdmission",
        "path" : "ehr.donneesPmsi.ageAdmission",
        "short" : "Age du patient au début de la prise en charge",
        "definition" : "Au cas ou la date de naissance n'est pas connue",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "integer"
          }
        ]
      },
      {
        "id" : "ehr.donneesPmsi.dateDebutSejour",
        "path" : "ehr.donneesPmsi.dateDebutSejour",
        "short" : "Start Date",
        "definition" : "Date début séjour (date_debut_sejour)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "date"
          }
        ]
      },
      {
        "id" : "ehr.donneesPmsi.dateFinSejour",
        "path" : "ehr.donneesPmsi.dateFinSejour",
        "short" : "End Date",
        "definition" : "Date fin séjour (date_fin_sejour)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "date"
          }
        ]
      },
      {
        "id" : "ehr.donneesPmsi.modeEntree",
        "path" : "ehr.donneesPmsi.modeEntree",
        "short" : "Admission Mode",
        "definition" : "Mode d'entrée (mode_entree)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.donneesPmsi.etablissement",
        "path" : "ehr.donneesPmsi.etablissement",
        "short" : "Facility",
        "definition" : "Établissement",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.donneesPmsi.uniteFonctionnelle",
        "path" : "ehr.donneesPmsi.uniteFonctionnelle",
        "short" : "Functional Unit",
        "definition" : "Unité fonctionnelle (unite_fonctionnelle)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.donneesPmsi.service",
        "path" : "ehr.donneesPmsi.service",
        "short" : "Service",
        "definition" : "Service",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.donneesPmsi.createdAt",
        "path" : "ehr.donneesPmsi.createdAt",
        "short" : "Created At",
        "definition" : "Record creation timestamp (created_at)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.donneesPmsi.updatedAt",
        "path" : "ehr.donneesPmsi.updatedAt",
        "short" : "Updated At",
        "definition" : "Record update timestamp (updated_at)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.diagnostics",
        "path" : "ehr.diagnostics",
        "short" : "Diagnostic",
        "definition" : "Diagnostic codes and information using ICD-10/CIM-10 classifications.\nBased on linkId: 9391816419630. Maps to SQL table: diagnostic",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ]
      },
      {
        "id" : "ehr.diagnostics.diagnosticId",
        "path" : "ehr.diagnostics.diagnosticId",
        "short" : "Diagnostic ID",
        "definition" : "Unique diagnostic identifier (diagnostic_id)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "ehr.diagnostics.patientId",
        "path" : "ehr.diagnostics.patientId",
        "short" : "Patient ID",
        "definition" : "Foreign key to patient (patient_id)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "ehr.diagnostics.pmsiId",
        "path" : "ehr.diagnostics.pmsiId",
        "short" : "PMSI ID",
        "definition" : "Foreign key to donnees_pmsi (pmsi_id)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "ehr.diagnostics.codeDiagnostic",
        "path" : "ehr.diagnostics.codeDiagnostic",
        "short" : "Diagnostic Code",
        "definition" : "Code diagnostic ICD-10/CIM-10 (code_diagnostic)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.diagnostics.typeDiagnostic",
        "path" : "ehr.diagnostics.typeDiagnostic",
        "short" : "Diagnostic Type",
        "definition" : "Type de diagnostic (type_diagnostic)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.diagnostics.libelleDiagnostic",
        "path" : "ehr.diagnostics.libelleDiagnostic",
        "short" : "Diagnostic Label",
        "definition" : "Libellé du diagnostic (libelle_diagnostic)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.diagnostics.dateRecueil",
        "path" : "ehr.diagnostics.dateRecueil",
        "short" : "Collection Date",
        "definition" : "Date recueil (date_recueil)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "date"
          }
        ]
      },
      {
        "id" : "ehr.diagnostics.createdAt",
        "path" : "ehr.diagnostics.createdAt",
        "short" : "Created At",
        "definition" : "Record creation timestamp (created_at)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.diagnostics.updatedAt",
        "path" : "ehr.diagnostics.updatedAt",
        "short" : "Updated At",
        "definition" : "Record update timestamp (updated_at)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.actes",
        "path" : "ehr.actes",
        "short" : "Medical Acts",
        "definition" : "Medical procedures and acts using CCAM classifications.\nBased on linkId: 591926901726. Maps to SQL table: actes",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ]
      },
      {
        "id" : "ehr.actes.acteId",
        "path" : "ehr.actes.acteId",
        "short" : "Act ID",
        "definition" : "Unique act identifier (acte_id)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "ehr.actes.patientId",
        "path" : "ehr.actes.patientId",
        "short" : "Patient ID",
        "definition" : "Foreign key to patient (patient_id)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "ehr.actes.pmsiId",
        "path" : "ehr.actes.pmsiId",
        "short" : "PMSI ID",
        "definition" : "Foreign key to donnees_pmsi (pmsi_id)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "ehr.actes.codeActe",
        "path" : "ehr.actes.codeActe",
        "short" : "Act Code",
        "definition" : "Code acte CCAM (code_acte)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.actes.libelleActe",
        "path" : "ehr.actes.libelleActe",
        "short" : "Act Label",
        "definition" : "Libellé de l'acte (libelle_acte)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.actes.dateActe",
        "path" : "ehr.actes.dateActe",
        "short" : "Act Date",
        "definition" : "Date acte (date_acte)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.actes.executant",
        "path" : "ehr.actes.executant",
        "short" : "Performer",
        "definition" : "Exécutant",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.actes.dateRecueil",
        "path" : "ehr.actes.dateRecueil",
        "short" : "Collection Date",
        "definition" : "Date recueil (date_recueil)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "date"
          }
        ]
      },
      {
        "id" : "ehr.actes.createdAt",
        "path" : "ehr.actes.createdAt",
        "short" : "Created At",
        "definition" : "Record creation timestamp (created_at)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.actes.updatedAt",
        "path" : "ehr.actes.updatedAt",
        "short" : "Updated At",
        "definition" : "Record update timestamp (updated_at)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.biologie",
        "path" : "ehr.biologie",
        "short" : "Laboratory Results",
        "definition" : "Consolidated laboratory test results for all biological examinations.\nBased on linkId: 7702944131447. Maps to SQL table: biologie",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ]
      },
      {
        "id" : "ehr.biologie.biologieId",
        "path" : "ehr.biologie.biologieId",
        "short" : "Biology ID",
        "definition" : "Unique biology identifier (biologie_id)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "ehr.biologie.patientId",
        "path" : "ehr.biologie.patientId",
        "short" : "Patient ID",
        "definition" : "Foreign key to patient (patient_id)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "ehr.biologie.codeLoinc",
        "path" : "ehr.biologie.codeLoinc",
        "short" : "LOINC Code",
        "definition" : "Code LOINC (code_loinc)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.biologie.libelleTest",
        "path" : "ehr.biologie.libelleTest",
        "short" : "Test Label",
        "definition" : "Libellé du test (libelle_test)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.biologie.typeExamen",
        "path" : "ehr.biologie.typeExamen",
        "short" : "Exam Type",
        "definition" : "Type examen (type_examen)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "code"
          }
        ]
      },
      {
        "id" : "ehr.biologie.valeur",
        "path" : "ehr.biologie.valeur",
        "short" : "Value",
        "definition" : "Valeur numérique",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "decimal"
          }
        ]
      },
      {
        "id" : "ehr.biologie.unite",
        "path" : "ehr.biologie.unite",
        "short" : "Unit",
        "definition" : "Unité",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.biologie.valeurTexte",
        "path" : "ehr.biologie.valeurTexte",
        "short" : "Text Value",
        "definition" : "Valeur texte (valeur_texte)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.biologie.datePrelevement",
        "path" : "ehr.biologie.datePrelevement",
        "short" : "Collection Date",
        "definition" : "Date prélèvement (date_prelevement)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.biologie.statutValidation",
        "path" : "ehr.biologie.statutValidation",
        "short" : "Validation Status",
        "definition" : "Statut validation (statut_validation)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.biologie.borneInfNormale",
        "path" : "ehr.biologie.borneInfNormale",
        "short" : "Lower Bound",
        "definition" : "Borne inférieure normale (borne_inf_normale)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "decimal"
          }
        ]
      },
      {
        "id" : "ehr.biologie.borneSupNormale",
        "path" : "ehr.biologie.borneSupNormale",
        "short" : "Upper Bound",
        "definition" : "Borne supérieure normale (borne_sup_normale)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "decimal"
          }
        ]
      },
      {
        "id" : "ehr.biologie.laboratoire",
        "path" : "ehr.biologie.laboratoire",
        "short" : "Laboratory",
        "definition" : "Laboratoire",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.biologie.createdAt",
        "path" : "ehr.biologie.createdAt",
        "short" : "Created At",
        "definition" : "Record creation timestamp (created_at)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.biologie.updatedAt",
        "path" : "ehr.biologie.updatedAt",
        "short" : "Updated At",
        "definition" : "Record update timestamp (updated_at)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.prescription",
        "path" : "ehr.prescription",
        "short" : "Prescription médicamenteuse",
        "definition" : "Prescription data with ATC coding.\nBased on linkId: 817801935685. Maps to SQL table: prescription",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ]
      },
      {
        "id" : "ehr.prescription.prescriptionId",
        "path" : "ehr.prescription.prescriptionId",
        "short" : "Prescription ID",
        "definition" : "Unique prescription identifier (prescription_id)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "ehr.prescription.patientId",
        "path" : "ehr.prescription.patientId",
        "short" : "Patient ID",
        "definition" : "Foreign key to patient (patient_id)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "ehr.prescription.denomination",
        "path" : "ehr.prescription.denomination",
        "short" : "Denomination",
        "definition" : "Dénomination",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.prescription.codeAtc",
        "path" : "ehr.prescription.codeAtc",
        "short" : "médicament prescrit",
        "definition" : "Codé en ATC",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.prescription.voieAdministration",
        "path" : "ehr.prescription.voieAdministration",
        "short" : "Voie administration",
        "definition" : "Codé avec un Standard Term",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.prescription.prescripteur",
        "path" : "ehr.prescription.prescripteur",
        "short" : "Prescriber",
        "definition" : "Prescripteur",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.prescription.datePrescription",
        "path" : "ehr.prescription.datePrescription",
        "short" : "Prescription Date",
        "definition" : "Date prescription (date_prescription)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "date"
          }
        ]
      },
      {
        "id" : "ehr.prescription.dateDebutPrescription",
        "path" : "ehr.prescription.dateDebutPrescription",
        "short" : "Start Date",
        "definition" : "Date début (date_debut)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "date"
          }
        ]
      },
      {
        "id" : "ehr.prescription.dateFinPrescription",
        "path" : "ehr.prescription.dateFinPrescription",
        "short" : "End Date",
        "definition" : "Date fin (date_fin)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "date"
          }
        ]
      },
      {
        "id" : "ehr.prescription.createdAt",
        "path" : "ehr.prescription.createdAt",
        "short" : "Created At",
        "definition" : "Record creation timestamp (created_at)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.prescription.updatedAt",
        "path" : "ehr.prescription.updatedAt",
        "short" : "Updated At",
        "definition" : "Record update timestamp (updated_at)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.posologie",
        "path" : "ehr.posologie",
        "short" : "Posology",
        "definition" : "Detailed dosing information. Based on linkId: 6348237104421.\nMaps to SQL table: posologie",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ]
      },
      {
        "id" : "ehr.posologie.posologieId",
        "path" : "ehr.posologie.posologieId",
        "short" : "Posology ID",
        "definition" : "Unique posology identifier (posologie_id)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "ehr.posologie.prescriptionId",
        "path" : "ehr.posologie.prescriptionId",
        "short" : "Prescription ID",
        "definition" : "Foreign key to prescription (prescription_id)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "ehr.posologie.nombrePrisesParJour",
        "path" : "ehr.posologie.nombrePrisesParJour",
        "short" : "Daily Intakes",
        "definition" : "Nombre prises par jour (nombre_prises_par_jour)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "integer"
          }
        ]
      },
      {
        "id" : "ehr.posologie.quantite",
        "path" : "ehr.posologie.quantite",
        "short" : "quantité de médicament prise",
        "definition" : "à correler avec l'unité",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "decimal"
          }
        ]
      },
      {
        "id" : "ehr.posologie.uniteQuantite",
        "path" : "ehr.posologie.uniteQuantite",
        "short" : "Unité de la quantité",
        "definition" : "Si possible en UCUM, sinon en Standard terms",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.posologie.dateHeureDebut",
        "path" : "ehr.posologie.dateHeureDebut",
        "short" : "DateHeure de début de prise",
        "definition" : "Date de la prise si prise 'instantanée'",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.posologie.dateHeureFin",
        "path" : "ehr.posologie.dateHeureFin",
        "short" : "DateHeure de fin de prise",
        "definition" : "DateHeure de fin de prise",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.posologie.createdAt",
        "path" : "ehr.posologie.createdAt",
        "short" : "Created At",
        "definition" : "Record creation timestamp (created_at)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.posologie.updatedAt",
        "path" : "ehr.posologie.updatedAt",
        "short" : "Updated At",
        "definition" : "Record update timestamp (updated_at)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.administration",
        "path" : "ehr.administration",
        "short" : "Administration",
        "definition" : "Administration\nMaps to SQL table: administration",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ]
      },
      {
        "id" : "ehr.administration.administrationId",
        "path" : "ehr.administration.administrationId",
        "short" : "Administration ID",
        "definition" : "Unique administration identifier (administration_id)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "ehr.administration.patientId",
        "path" : "ehr.administration.patientId",
        "short" : "Patient ID",
        "definition" : "Foreign key to patient (patient_id)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "ehr.administration.prescriptionId",
        "path" : "ehr.administration.prescriptionId",
        "short" : "Prescription ID",
        "definition" : "Foreign key to prescription (prescription_id)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "ehr.administration.denomination",
        "path" : "ehr.administration.denomination",
        "short" : "Médicament administré",
        "definition" : "DCI si possible",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.administration.codeAtc",
        "path" : "ehr.administration.codeAtc",
        "short" : "Classe thérapeutique du médicament administré",
        "definition" : "codé en ATC",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.administration.voieAdministration",
        "path" : "ehr.administration.voieAdministration",
        "short" : "Voie administration",
        "definition" : "Codé avec un Standard Term",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.administration.quantite",
        "path" : "ehr.administration.quantite",
        "short" : "Administered Quantity",
        "definition" : "Quantité administrée (quantite_administree)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "decimal"
          }
        ]
      },
      {
        "id" : "ehr.administration.uniteQuantite",
        "path" : "ehr.administration.uniteQuantite",
        "short" : "Quantity Unit",
        "definition" : "codé en UCUM, subsidiairement en Standard Term",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.administration.dateHeureDebut",
        "path" : "ehr.administration.dateHeureDebut",
        "short" : "Start DateTime",
        "definition" : "Date heure début (date_heure_debut)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.administration.dateHeureFin",
        "path" : "ehr.administration.dateHeureFin",
        "short" : "End DateTime",
        "definition" : "Date heure fin (date_heure_fin)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.administration.createdAt",
        "path" : "ehr.administration.createdAt",
        "short" : "Created At",
        "definition" : "Record creation timestamp (created_at)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.administration.updatedAt",
        "path" : "ehr.administration.updatedAt",
        "short" : "Updated At",
        "definition" : "Record update timestamp (updated_at)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.dossierSoins",
        "path" : "ehr.dossierSoins",
        "short" : "Care Record",
        "definition" : "Clinical care measurements and observations.\nBased on linkId: 305831246173. Maps to SQL table: dossier_soin",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ]
      },
      {
        "id" : "ehr.dossierSoins.soinId",
        "path" : "ehr.dossierSoins.soinId",
        "short" : "Care ID",
        "definition" : "Unique care identifier (soin_id)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "ehr.dossierSoins.patientId",
        "path" : "ehr.dossierSoins.patientId",
        "short" : "Patient ID",
        "definition" : "Foreign key to patient (patient_id)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "ehr.dossierSoins.codeLoinc",
        "path" : "ehr.dossierSoins.codeLoinc",
        "short" : "Observation",
        "definition" : "codé avec LOINC",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.dossierSoins.libelleTest",
        "path" : "ehr.dossierSoins.libelleTest",
        "short" : "Libellé métier de l'observation",
        "definition" : "Libellé métier de l'observation",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.dossierSoins.valeur",
        "path" : "ehr.dossierSoins.valeur",
        "short" : "Valeur de l'observation",
        "definition" : "si quantitative",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "decimal"
          }
        ]
      },
      {
        "id" : "ehr.dossierSoins.unite",
        "path" : "ehr.dossierSoins.unite",
        "short" : "Unité de la valeur",
        "definition" : "idéalement en UCUM",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.dossierSoins.valeurCode",
        "path" : "ehr.dossierSoins.valeurCode",
        "short" : "Valeur de l'observation",
        "definition" : "si qualitative",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.dossierSoins.valeurTexte",
        "path" : "ehr.dossierSoins.valeurTexte",
        "short" : "Valeur de l'observation",
        "definition" : "si textuelle",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.dossierSoins.dateMesure",
        "path" : "ehr.dossierSoins.dateMesure",
        "short" : "Date de mesure",
        "definition" : "Date de mesure",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "date"
          }
        ]
      },
      {
        "id" : "ehr.dossierSoins.uniteSoins",
        "path" : "ehr.dossierSoins.uniteSoins",
        "short" : "Care Unit",
        "definition" : "Unité soins (unite_soins)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.dossierSoins.professionnel",
        "path" : "ehr.dossierSoins.professionnel",
        "short" : "Professional",
        "definition" : "Professionnel",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.dossierSoins.createdAt",
        "path" : "ehr.dossierSoins.createdAt",
        "short" : "Created At",
        "definition" : "Record creation timestamp (created_at)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.dossierSoins.updatedAt",
        "path" : "ehr.dossierSoins.updatedAt",
        "short" : "Updated At",
        "definition" : "Record update timestamp (updated_at)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.styleVie",
        "path" : "ehr.styleVie",
        "short" : "Lifestyle",
        "definition" : "Consolidated lifestyle information.\nBased on linkId: 1693164086678. Maps to SQL table: style_vie",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ]
      },
      {
        "id" : "ehr.styleVie.styleVieId",
        "path" : "ehr.styleVie.styleVieId",
        "short" : "Lifestyle ID",
        "definition" : "Unique lifestyle identifier (style_vie_id)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "ehr.styleVie.patientId",
        "path" : "ehr.styleVie.patientId",
        "short" : "Patient ID",
        "definition" : "Foreign key to patient (patient_id)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ]
      },
      {
        "id" : "ehr.styleVie.consommationTabac",
        "path" : "ehr.styleVie.consommationTabac",
        "short" : "Tobacco Use",
        "definition" : "Consommation tabac (consommation_tabac)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.styleVie.consommationAlcool",
        "path" : "ehr.styleVie.consommationAlcool",
        "short" : "Alcohol Use",
        "definition" : "Consommation alcool (consommation_alcool)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.styleVie.consommationAutresDrogues",
        "path" : "ehr.styleVie.consommationAutresDrogues",
        "short" : "Other Drugs",
        "definition" : "Consommation autres drogues (consommation_autres_drogues)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.styleVie.activitePhysique",
        "path" : "ehr.styleVie.activitePhysique",
        "short" : "Physical Activity",
        "definition" : "Activité physique (activite_physique)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "ehr.styleVie.dateRecueil",
        "path" : "ehr.styleVie.dateRecueil",
        "short" : "Collection Date",
        "definition" : "Date recueil (date_recueil)",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "date"
          }
        ]
      },
      {
        "id" : "ehr.styleVie.createdAt",
        "path" : "ehr.styleVie.createdAt",
        "short" : "Created At",
        "definition" : "Record creation timestamp (created_at)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "ehr.styleVie.updatedAt",
        "path" : "ehr.styleVie.updatedAt",
        "short" : "Updated At",
        "definition" : "Record update timestamp (updated_at)",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      }
    ]
  }
}

```
