ehr
type: StructureDefinition
node role: treeRoot
id:
  v: ehr
text:
  status:
    v: extensions
  div: Narratif généré : DéfinitionStructure ehr Nom Drapeaux Card. Type Description et contraintes<img src="[binary]" alt="doco" style="background-color: inherit"/> <a href="StructureDefinition-ehr-definitions.html#ehr" title="Comprehensive logical model representing the Electronic Health Record (EHR) data structure#xA;for the EDSH (Entrepôt de Données de Santé Hospitalisé) core variables.#xA;#xA;This model consolidates all healthcare dimensions into a unified structure supporting:#xA;- Patient demographics and identity management#xA;- Healthcare encounters and administrative data #xA;- Clinical diagnostics and procedures#xA;- Laboratory results and biological examinations#xA;- Medication exposures and prescriptions#xA;- Clinical care measurements and vital signs#xA;- Lifestyle and behavioral factors#xA;#xA;The model is optimized for healthcare data interoperability, research, and clinical analytics#xA;while maintaining alignment with FHIR standards and French healthcare requirements.">ehr 0..* Base Electronic Health Record Data Model #xD; id 0..1 id bundle logical id #xD; patient 1..1 BackboneElement Patient Demographics and Identity #xD; patientId 1..1 id Patient Identifier #xD; nom 0..1 string Last Name #xD; prenom 0..1 string First Name #xD; nir 0..1 string NIR #xD; ins 0..1 string INS #xD; dateNaissance 0..1 date Birth Date #xD; sexe 0..1 code Gender #xD; dateDeces 0..1 date Death Date #xD; sourceDeces 0..1 string Death Source #xD; rangGemellaire 0..1 integer Twin Rank #xD; createdAt 1..1 dateTime Created At #xD; updatedAt 1..1 dateTime Updated At #xD; patientAdresse 0..* BackboneElement Adresses des patients #xD; patientAdresseId 1..1 id Patient address identifier #xD; patientId 1..1 id Patient ID #xD; latitude 0..1 decimal Latitude #xD; longitude 0..1 decimal Longitude #xD; codeIris 0..1 string IRIS Code #xD; libelleIris 0..1 string IRIS Label #xD; codeGeographiqueResidence 0..1 string Residence Code #xD; libelleGeographiqueResidence 0..1 string Residence Label #xD…
url:
  v: https://interop.aphp.fr/ig/fhir/dm/StructureDefinition/ehr
version:
  v: 0.1.0
name:
  v: EHR
title:
  v: Electronic Health Record Data Model
status:
  v: draft
date:
  v: 2025-10-23T20:49:03+00:00
publisher:
  v: AP-HP
contact:
  name:
    v: AP-HP
  telecom:
    system:
      v: url
    value:
      v: https://aphp.fr
description:
  v: 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.
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
    code:
      v: FR
    display:
      v: France
fhir version:
  v: 4.0.1
kind:
  v: logical
abstract:
  v: false
type:
  v: https://interop.aphp.fr/ig/fhir/dm/StructureDefinition/ehr
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Base
  link: http://hl7.org/fhir/StructureDefinition/Base
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    value: string
      v: 4.0.1
  element:
    id:
      v: ehr
    path:
      v: ehr
    short:
      v: Electronic Health Record Data Model
    definition:
      v: 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.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
  element:
    id:
      v: ehr.id
    path:
      v: ehr.id
    short:
      v: bundle logical id
    definition:
      v: bundle logical id
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: ehr.id
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: id
  element:
    id:
      v: ehr.patient
    path:
      v: ehr.patient
    short:
      v: Patient Demographics and Identity
    definition:
      v: Patient information consolidating identity data and geographic information. Based on FHIR Questionnaire linkIds: 2958000860428 (Patient Identity) and 3816475533472 (Geocoding). Maps to SQL table: patient
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: ehr.patient
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: BackboneElement
    constraint:
      key:
        v: ele-1
      severity:
        v: error
      human:
        v: All FHIR elements must have a @value or children
      expression:
        v: hasValue() or (children().count() > id.count())
      xpath:
        v: @value|f:*|h:div
      source:
        v: http://hl7.org/fhir/StructureDefinition/Element
        link: http://hl7.org/fhir/StructureDefinition/Element
  element:
    id:
      v: ehr.patient.id
    path:
      v: ehr.patient.id
    representation:
      v: xmlAttr
    short:
      v: Unique id for inter-element referencing
    definition:
      v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: Element.id
      min:
        v: 0
      max:
        v: 1
    type:
      extension:
        value: url
      code:
        v: http://hl7.org/fhirpath/System.String
    is modifier:
      v: false
    is summary:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: ehr.patient.extension
    path:
      v: ehr.patient.extension
    slicing:
      description:
        v: Extensions are always sliced by (at least) url
      rules:
        v: open
    short:
      v: Additional content defined by implementations
    definition:
      v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
    comment:
      v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
    alias:
      v: extensions
    alias:
      v: user content
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Element.extension

url
v: string

v: value

v: url

v: 0

v: *

code:
  v: Extension

key:
  v: ele-1
severity:
  v: error
human:
  v: All FHIR elements must have a @value or children
expression:
  v: hasValue() or (children().count() > id.count())
xpath:
  v: @value|f:*|h:div
source:
  v: http://hl7.org/fhir/StructureDefinition/Element
  link: http://hl7.org/fhir/StructureDefinition/Element

key:
  v: ext-1
severity:
  v: error
human:
  v: Must have either extensions or value[x], not both
expression:
  v: extension.exists() != value.exists()
xpath:
  v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
source:
  v: http://hl7.org/fhir/StructureDefinition/Extension
  link: http://hl7.org/fhir/StructureDefinition/Extension

v: false

v: false

identity:
  v: rim
map:
  v: n/a

id:
  v: ehr.patient.modifierExtension
path:
  v: ehr.patient.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ehr.patient.patientId
path:
  v: ehr.patient.patientId
short:
  v: Patient Identifier
definition:
  v: Unique patient identifier (patient_id)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.patient.patientId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id

id:
  v: ehr.patient.nom
path:
  v: ehr.patient.nom
short:
  v: Last Name
definition:
  v: Patient last name - linkId: 8605698058770
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.patient.nom
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.patient.prenom
path:
  v: ehr.patient.prenom
short:
  v: First Name
definition:
  v: Patient first name - linkId: 6214879623503
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.patient.prenom
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.patient.nir
path:
  v: ehr.patient.nir
short:
  v: NIR
definition:
  v: Numéro inscription au Répertoire (linkId: 5711960356160)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.patient.nir
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.patient.ins
path:
  v: ehr.patient.ins
short:
  v: INS
definition:
  v: Identité Nationale de Santé (linkId: 3764723550987)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.patient.ins
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.patient.dateNaissance
path:
  v: ehr.patient.dateNaissance
short:
  v: Birth Date
definition:
  v: Date of birth (date_naissance) - linkId: 5036133558154
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.patient.dateNaissance
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: date

id:
  v: ehr.patient.sexe
path:
  v: ehr.patient.sexe
short:
  v: Gender
definition:
  v: Gender consolidated from PMSI - linkId: 3894630481120
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.patient.sexe
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code

id:
  v: ehr.patient.dateDeces
path:
  v: ehr.patient.dateDeces
short:
  v: Death Date
definition:
  v: Date of death (date_deces) - linkId: 5633552097315
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.patient.dateDeces
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: date

id:
  v: ehr.patient.sourceDeces
path:
  v: ehr.patient.sourceDeces
short:
  v: Death Source
definition:
  v: Source of death date (source_deces) - linkId: 9098810065693
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.patient.sourceDeces
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.patient.rangGemellaire
path:
  v: ehr.patient.rangGemellaire
short:
  v: Twin Rank
definition:
  v: Twin ranking (rang_gemellaire) - linkId: 6931296968515
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.patient.rangGemellaire
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: integer

id:
  v: ehr.patient.createdAt
path:
  v: ehr.patient.createdAt
short:
  v: Created At
definition:
  v: Record creation timestamp (created_at)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.patient.createdAt
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.patient.updatedAt
path:
  v: ehr.patient.updatedAt
short:
  v: Updated At
definition:
  v: Record update timestamp (updated_at)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.patient.updatedAt
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.patientAdresse
path:
  v: ehr.patientAdresse
short:
  v: Adresses des patients
definition:
  v: Depuis la table patient_addresse
min:
  v: 0
max:
  v: *
base:
  path:
    v: ehr.patientAdresse
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: ehr.patientAdresse.id
path:
  v: ehr.patientAdresse.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ehr.patientAdresse.extension
path:
  v: ehr.patientAdresse.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ehr.patientAdresse.modifierExtension
path:
  v: ehr.patientAdresse.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ehr.patientAdresse.patientAdresseId
path:
  v: ehr.patientAdresse.patientAdresseId
short:
  v: Patient address identifier
definition:
  v: Unique identifier
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.patientAdresse.patientAdresseId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id

id:
  v: ehr.patientAdresse.patientId
path:
  v: ehr.patientAdresse.patientId
short:
  v: Patient ID
definition:
  v: Foreign key to patient (patient_id)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.patientAdresse.patientId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id

id:
  v: ehr.patientAdresse.latitude
path:
  v: ehr.patientAdresse.latitude
short:
  v: Latitude
definition:
  v: Latitude - linkId: 3709843054556
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.patientAdresse.latitude
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal

id:
  v: ehr.patientAdresse.longitude
path:
  v: ehr.patientAdresse.longitude
short:
  v: Longitude
definition:
  v: Longitude - linkId: 7651448032665
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.patientAdresse.longitude
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal

id:
  v: ehr.patientAdresse.codeIris
path:
  v: ehr.patientAdresse.codeIris
short:
  v: IRIS Code
definition:
  v: INSEE IRIS code (code_iris)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.patientAdresse.codeIris
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.patientAdresse.libelleIris
path:
  v: ehr.patientAdresse.libelleIris
short:
  v: IRIS Label
definition:
  v: INSEE IRIS label (libelle_iris)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.patientAdresse.libelleIris
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.patientAdresse.codeGeographiqueResidence
path:
  v: ehr.patientAdresse.codeGeographiqueResidence
short:
  v: Residence Code
definition:
  v: Geographic code of residence (code_geographique_residence)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.patientAdresse.codeGeographiqueResidence
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.patientAdresse.libelleGeographiqueResidence
path:
  v: ehr.patientAdresse.libelleGeographiqueResidence
short:
  v: Residence Label
definition:
  v: Geographic label of residence (libelle_geographique_residence)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.patientAdresse.libelleGeographiqueResidence
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.patientAdresse.dateRecueil
path:
  v: ehr.patientAdresse.dateRecueil
short:
  v: Date de recueil
definition:
  v: Date de recueil
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.patientAdresse.dateRecueil
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: date

id:
  v: ehr.patientAdresse.createdAt
path:
  v: ehr.patientAdresse.createdAt
short:
  v: Created At
definition:
  v: Record creation timestamp (created_at)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.patientAdresse.createdAt
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.patientAdresse.updatedAt
path:
  v: ehr.patientAdresse.updatedAt
short:
  v: Updated At
definition:
  v: Record update timestamp (updated_at)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.patientAdresse.updatedAt
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.donneesPmsi
path:
  v: ehr.donneesPmsi
short:
  v: PMSI Data
definition:
  v: Healthcare encounters and administrative data from PMSI. Central linking entity for all clinical data. Based on linkId: 2825244231605. Maps to SQL table: donnees_pmsi
min:
  v: 0
max:
  v: *
base:
  path:
    v: ehr.donneesPmsi
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: ehr.donneesPmsi.id
path:
  v: ehr.donneesPmsi.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ehr.donneesPmsi.extension
path:
  v: ehr.donneesPmsi.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ehr.donneesPmsi.modifierExtension
path:
  v: ehr.donneesPmsi.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ehr.donneesPmsi.pmsiId
path:
  v: ehr.donneesPmsi.pmsiId
short:
  v: PMSI ID
definition:
  v: Unique PMSI identifier (pmsi_id)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.donneesPmsi.pmsiId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id

id:
  v: ehr.donneesPmsi.patientId
path:
  v: ehr.donneesPmsi.patientId
short:
  v: Patient ID
definition:
  v: Foreign key to patient (patient_id)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.donneesPmsi.patientId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id

id:
  v: ehr.donneesPmsi.modeSortie
path:
  v: ehr.donneesPmsi.modeSortie
short:
  v: Discharge Mode
definition:
  v: Mode de sortie (mode_sortie)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.donneesPmsi.modeSortie
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.donneesPmsi.ageAdmission
path:
  v: ehr.donneesPmsi.ageAdmission
short:
  v: Age du patient au début de la prise en charge
definition:
  v: Au cas ou la date de naissance n'est pas connue
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.donneesPmsi.ageAdmission
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: integer

id:
  v: ehr.donneesPmsi.dateDebutSejour
path:
  v: ehr.donneesPmsi.dateDebutSejour
short:
  v: Start Date
definition:
  v: Date début séjour (date_debut_sejour)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.donneesPmsi.dateDebutSejour
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: date

id:
  v: ehr.donneesPmsi.dateFinSejour
path:
  v: ehr.donneesPmsi.dateFinSejour
short:
  v: End Date
definition:
  v: Date fin séjour (date_fin_sejour)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.donneesPmsi.dateFinSejour
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: date

id:
  v: ehr.donneesPmsi.modeEntree
path:
  v: ehr.donneesPmsi.modeEntree
short:
  v: Admission Mode
definition:
  v: Mode d'entrée (mode_entree)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.donneesPmsi.modeEntree
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.donneesPmsi.etablissement
path:
  v: ehr.donneesPmsi.etablissement
short:
  v: Facility
definition:
  v: Établissement
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.donneesPmsi.etablissement
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.donneesPmsi.uniteFonctionnelle
path:
  v: ehr.donneesPmsi.uniteFonctionnelle
short:
  v: Functional Unit
definition:
  v: Unité fonctionnelle (unite_fonctionnelle)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.donneesPmsi.uniteFonctionnelle
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.donneesPmsi.service
path:
  v: ehr.donneesPmsi.service
short:
  v: Service
definition:
  v: Service
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.donneesPmsi.service
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.donneesPmsi.createdAt
path:
  v: ehr.donneesPmsi.createdAt
short:
  v: Created At
definition:
  v: Record creation timestamp (created_at)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.donneesPmsi.createdAt
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.donneesPmsi.updatedAt
path:
  v: ehr.donneesPmsi.updatedAt
short:
  v: Updated At
definition:
  v: Record update timestamp (updated_at)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.donneesPmsi.updatedAt
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.diagnostics
path:
  v: ehr.diagnostics
short:
  v: Diagnostic
definition:
  v: Diagnostic codes and information using ICD-10/CIM-10 classifications. Based on linkId: 9391816419630. Maps to SQL table: diagnostic
min:
  v: 0
max:
  v: *
base:
  path:
    v: ehr.diagnostics
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: ehr.diagnostics.id
path:
  v: ehr.diagnostics.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ehr.diagnostics.extension
path:
  v: ehr.diagnostics.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ehr.diagnostics.modifierExtension
path:
  v: ehr.diagnostics.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ehr.diagnostics.diagnosticId
path:
  v: ehr.diagnostics.diagnosticId
short:
  v: Diagnostic ID
definition:
  v: Unique diagnostic identifier (diagnostic_id)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.diagnostics.diagnosticId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id

id:
  v: ehr.diagnostics.patientId
path:
  v: ehr.diagnostics.patientId
short:
  v: Patient ID
definition:
  v: Foreign key to patient (patient_id)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.diagnostics.patientId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id

id:
  v: ehr.diagnostics.pmsiId
path:
  v: ehr.diagnostics.pmsiId
short:
  v: PMSI ID
definition:
  v: Foreign key to donnees_pmsi (pmsi_id)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.diagnostics.pmsiId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id

id:
  v: ehr.diagnostics.codeDiagnostic
path:
  v: ehr.diagnostics.codeDiagnostic
short:
  v: Diagnostic Code
definition:
  v: Code diagnostic ICD-10/CIM-10 (code_diagnostic)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.diagnostics.codeDiagnostic
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.diagnostics.typeDiagnostic
path:
  v: ehr.diagnostics.typeDiagnostic
short:
  v: Diagnostic Type
definition:
  v: Type de diagnostic (type_diagnostic)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.diagnostics.typeDiagnostic
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.diagnostics.libelleDiagnostic
path:
  v: ehr.diagnostics.libelleDiagnostic
short:
  v: Diagnostic Label
definition:
  v: Libellé du diagnostic (libelle_diagnostic)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.diagnostics.libelleDiagnostic
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.diagnostics.dateRecueil
path:
  v: ehr.diagnostics.dateRecueil
short:
  v: Collection Date
definition:
  v: Date recueil (date_recueil)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.diagnostics.dateRecueil
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: date

id:
  v: ehr.diagnostics.createdAt
path:
  v: ehr.diagnostics.createdAt
short:
  v: Created At
definition:
  v: Record creation timestamp (created_at)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.diagnostics.createdAt
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.diagnostics.updatedAt
path:
  v: ehr.diagnostics.updatedAt
short:
  v: Updated At
definition:
  v: Record update timestamp (updated_at)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.diagnostics.updatedAt
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.actes
path:
  v: ehr.actes
short:
  v: Medical Acts
definition:
  v: Medical procedures and acts using CCAM classifications. Based on linkId: 591926901726. Maps to SQL table: actes
min:
  v: 0
max:
  v: *
base:
  path:
    v: ehr.actes
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: ehr.actes.id
path:
  v: ehr.actes.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ehr.actes.extension
path:
  v: ehr.actes.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ehr.actes.modifierExtension
path:
  v: ehr.actes.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ehr.actes.acteId
path:
  v: ehr.actes.acteId
short:
  v: Act ID
definition:
  v: Unique act identifier (acte_id)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.actes.acteId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id

id:
  v: ehr.actes.patientId
path:
  v: ehr.actes.patientId
short:
  v: Patient ID
definition:
  v: Foreign key to patient (patient_id)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.actes.patientId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id

id:
  v: ehr.actes.pmsiId
path:
  v: ehr.actes.pmsiId
short:
  v: PMSI ID
definition:
  v: Foreign key to donnees_pmsi (pmsi_id)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.actes.pmsiId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id

id:
  v: ehr.actes.codeActe
path:
  v: ehr.actes.codeActe
short:
  v: Act Code
definition:
  v: Code acte CCAM (code_acte)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.actes.codeActe
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.actes.libelleActe
path:
  v: ehr.actes.libelleActe
short:
  v: Act Label
definition:
  v: Libellé de l'acte (libelle_acte)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.actes.libelleActe
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.actes.dateActe
path:
  v: ehr.actes.dateActe
short:
  v: Act Date
definition:
  v: Date acte (date_acte)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.actes.dateActe
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.actes.executant
path:
  v: ehr.actes.executant
short:
  v: Performer
definition:
  v: Exécutant
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.actes.executant
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.actes.dateRecueil
path:
  v: ehr.actes.dateRecueil
short:
  v: Collection Date
definition:
  v: Date recueil (date_recueil)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.actes.dateRecueil
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: date

id:
  v: ehr.actes.createdAt
path:
  v: ehr.actes.createdAt
short:
  v: Created At
definition:
  v: Record creation timestamp (created_at)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.actes.createdAt
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.actes.updatedAt
path:
  v: ehr.actes.updatedAt
short:
  v: Updated At
definition:
  v: Record update timestamp (updated_at)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.actes.updatedAt
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.biologie
path:
  v: ehr.biologie
short:
  v: Laboratory Results
definition:
  v: Consolidated laboratory test results for all biological examinations. Based on linkId: 7702944131447. Maps to SQL table: biologie
min:
  v: 0
max:
  v: *
base:
  path:
    v: ehr.biologie
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: ehr.biologie.id
path:
  v: ehr.biologie.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ehr.biologie.extension
path:
  v: ehr.biologie.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ehr.biologie.modifierExtension
path:
  v: ehr.biologie.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ehr.biologie.biologieId
path:
  v: ehr.biologie.biologieId
short:
  v: Biology ID
definition:
  v: Unique biology identifier (biologie_id)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.biologie.biologieId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id

id:
  v: ehr.biologie.patientId
path:
  v: ehr.biologie.patientId
short:
  v: Patient ID
definition:
  v: Foreign key to patient (patient_id)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.biologie.patientId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id

id:
  v: ehr.biologie.codeLoinc
path:
  v: ehr.biologie.codeLoinc
short:
  v: LOINC Code
definition:
  v: Code LOINC (code_loinc)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.biologie.codeLoinc
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.biologie.libelleTest
path:
  v: ehr.biologie.libelleTest
short:
  v: Test Label
definition:
  v: Libellé du test (libelle_test)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.biologie.libelleTest
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.biologie.typeExamen
path:
  v: ehr.biologie.typeExamen
short:
  v: Exam Type
definition:
  v: Type examen (type_examen)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.biologie.typeExamen
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code

id:
  v: ehr.biologie.valeur
path:
  v: ehr.biologie.valeur
short:
  v: Value
definition:
  v: Valeur numérique
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.biologie.valeur
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal

id:
  v: ehr.biologie.unite
path:
  v: ehr.biologie.unite
short:
  v: Unit
definition:
  v: Unité
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.biologie.unite
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.biologie.valeurTexte
path:
  v: ehr.biologie.valeurTexte
short:
  v: Text Value
definition:
  v: Valeur texte (valeur_texte)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.biologie.valeurTexte
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.biologie.datePrelevement
path:
  v: ehr.biologie.datePrelevement
short:
  v: Collection Date
definition:
  v: Date prélèvement (date_prelevement)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.biologie.datePrelevement
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.biologie.statutValidation
path:
  v: ehr.biologie.statutValidation
short:
  v: Validation Status
definition:
  v: Statut validation (statut_validation)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.biologie.statutValidation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.biologie.borneInfNormale
path:
  v: ehr.biologie.borneInfNormale
short:
  v: Lower Bound
definition:
  v: Borne inférieure normale (borne_inf_normale)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.biologie.borneInfNormale
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal

id:
  v: ehr.biologie.borneSupNormale
path:
  v: ehr.biologie.borneSupNormale
short:
  v: Upper Bound
definition:
  v: Borne supérieure normale (borne_sup_normale)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.biologie.borneSupNormale
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal

id:
  v: ehr.biologie.laboratoire
path:
  v: ehr.biologie.laboratoire
short:
  v: Laboratory
definition:
  v: Laboratoire
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.biologie.laboratoire
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.biologie.createdAt
path:
  v: ehr.biologie.createdAt
short:
  v: Created At
definition:
  v: Record creation timestamp (created_at)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.biologie.createdAt
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.biologie.updatedAt
path:
  v: ehr.biologie.updatedAt
short:
  v: Updated At
definition:
  v: Record update timestamp (updated_at)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.biologie.updatedAt
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.prescription
path:
  v: ehr.prescription
short:
  v: Prescription médicamenteuse
definition:
  v: Prescription data with ATC coding. Based on linkId: 817801935685. Maps to SQL table: prescription
min:
  v: 0
max:
  v: *
base:
  path:
    v: ehr.prescription
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: ehr.prescription.id
path:
  v: ehr.prescription.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ehr.prescription.extension
path:
  v: ehr.prescription.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ehr.prescription.modifierExtension
path:
  v: ehr.prescription.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ehr.prescription.prescriptionId
path:
  v: ehr.prescription.prescriptionId
short:
  v: Prescription ID
definition:
  v: Unique prescription identifier (prescription_id)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.prescription.prescriptionId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id

id:
  v: ehr.prescription.patientId
path:
  v: ehr.prescription.patientId
short:
  v: Patient ID
definition:
  v: Foreign key to patient (patient_id)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.prescription.patientId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id

id:
  v: ehr.prescription.denomination
path:
  v: ehr.prescription.denomination
short:
  v: Denomination
definition:
  v: Dénomination
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.prescription.denomination
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.prescription.codeAtc
path:
  v: ehr.prescription.codeAtc
short:
  v: médicament prescrit
definition:
  v: Codé en ATC
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.prescription.codeAtc
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.prescription.voieAdministration
path:
  v: ehr.prescription.voieAdministration
short:
  v: Voie administration
definition:
  v: Codé avec un Standard Term
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.prescription.voieAdministration
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.prescription.prescripteur
path:
  v: ehr.prescription.prescripteur
short:
  v: Prescriber
definition:
  v: Prescripteur
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.prescription.prescripteur
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.prescription.datePrescription
path:
  v: ehr.prescription.datePrescription
short:
  v: Prescription Date
definition:
  v: Date prescription (date_prescription)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.prescription.datePrescription
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: date

id:
  v: ehr.prescription.dateDebutPrescription
path:
  v: ehr.prescription.dateDebutPrescription
short:
  v: Start Date
definition:
  v: Date début (date_debut)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.prescription.dateDebutPrescription
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: date

id:
  v: ehr.prescription.dateFinPrescription
path:
  v: ehr.prescription.dateFinPrescription
short:
  v: End Date
definition:
  v: Date fin (date_fin)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.prescription.dateFinPrescription
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: date

id:
  v: ehr.prescription.createdAt
path:
  v: ehr.prescription.createdAt
short:
  v: Created At
definition:
  v: Record creation timestamp (created_at)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.prescription.createdAt
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.prescription.updatedAt
path:
  v: ehr.prescription.updatedAt
short:
  v: Updated At
definition:
  v: Record update timestamp (updated_at)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.prescription.updatedAt
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.posologie
path:
  v: ehr.posologie
short:
  v: Posology
definition:
  v: Detailed dosing information. Based on linkId: 6348237104421. Maps to SQL table: posologie
min:
  v: 0
max:
  v: *
base:
  path:
    v: ehr.posologie
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: ehr.posologie.id
path:
  v: ehr.posologie.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ehr.posologie.extension
path:
  v: ehr.posologie.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ehr.posologie.modifierExtension
path:
  v: ehr.posologie.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ehr.posologie.posologieId
path:
  v: ehr.posologie.posologieId
short:
  v: Posology ID
definition:
  v: Unique posology identifier (posologie_id)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.posologie.posologieId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id

id:
  v: ehr.posologie.prescriptionId
path:
  v: ehr.posologie.prescriptionId
short:
  v: Prescription ID
definition:
  v: Foreign key to prescription (prescription_id)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.posologie.prescriptionId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id

id:
  v: ehr.posologie.nombrePrisesParJour
path:
  v: ehr.posologie.nombrePrisesParJour
short:
  v: Daily Intakes
definition:
  v: Nombre prises par jour (nombre_prises_par_jour)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.posologie.nombrePrisesParJour
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: integer

id:
  v: ehr.posologie.quantite
path:
  v: ehr.posologie.quantite
short:
  v: quantité de médicament prise
definition:
  v: à correler avec l'unité
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.posologie.quantite
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal

id:
  v: ehr.posologie.uniteQuantite
path:
  v: ehr.posologie.uniteQuantite
short:
  v: Unité de la quantité
definition:
  v: Si possible en UCUM, sinon en Standard terms
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.posologie.uniteQuantite
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.posologie.dateHeureDebut
path:
  v: ehr.posologie.dateHeureDebut
short:
  v: DateHeure de début de prise
definition:
  v: Date de la prise si prise 'instantanée'
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.posologie.dateHeureDebut
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.posologie.dateHeureFin
path:
  v: ehr.posologie.dateHeureFin
short:
  v: DateHeure de fin de prise
definition:
  v: DateHeure de fin de prise
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.posologie.dateHeureFin
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.posologie.createdAt
path:
  v: ehr.posologie.createdAt
short:
  v: Created At
definition:
  v: Record creation timestamp (created_at)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.posologie.createdAt
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.posologie.updatedAt
path:
  v: ehr.posologie.updatedAt
short:
  v: Updated At
definition:
  v: Record update timestamp (updated_at)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.posologie.updatedAt
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.administration
path:
  v: ehr.administration
short:
  v: Administration
definition:
  v: Administration Maps to SQL table: administration
min:
  v: 0
max:
  v: *
base:
  path:
    v: ehr.administration
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: ehr.administration.id
path:
  v: ehr.administration.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ehr.administration.extension
path:
  v: ehr.administration.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ehr.administration.modifierExtension
path:
  v: ehr.administration.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ehr.administration.administrationId
path:
  v: ehr.administration.administrationId
short:
  v: Administration ID
definition:
  v: Unique administration identifier (administration_id)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.administration.administrationId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id

id:
  v: ehr.administration.patientId
path:
  v: ehr.administration.patientId
short:
  v: Patient ID
definition:
  v: Foreign key to patient (patient_id)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.administration.patientId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id

id:
  v: ehr.administration.prescriptionId
path:
  v: ehr.administration.prescriptionId
short:
  v: Prescription ID
definition:
  v: Foreign key to prescription (prescription_id)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.administration.prescriptionId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: id

id:
  v: ehr.administration.denomination
path:
  v: ehr.administration.denomination
short:
  v: Médicament administré
definition:
  v: DCI si possible
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.administration.denomination
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.administration.codeAtc
path:
  v: ehr.administration.codeAtc
short:
  v: Classe thérapeutique du médicament administré
definition:
  v: codé en ATC
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.administration.codeAtc
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.administration.voieAdministration
path:
  v: ehr.administration.voieAdministration
short:
  v: Voie administration
definition:
  v: Codé avec un Standard Term
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.administration.voieAdministration
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.administration.quantite
path:
  v: ehr.administration.quantite
short:
  v: Administered Quantity
definition:
  v: Quantité administrée (quantite_administree)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.administration.quantite
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal

id:
  v: ehr.administration.uniteQuantite
path:
  v: ehr.administration.uniteQuantite
short:
  v: Quantity Unit
definition:
  v: codé en UCUM, subsidiairement en Standard Term
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.administration.uniteQuantite
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.administration.dateHeureDebut
path:
  v: ehr.administration.dateHeureDebut
short:
  v: Start DateTime
definition:
  v: Date heure début (date_heure_debut)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.administration.dateHeureDebut
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.administration.dateHeureFin
path:
  v: ehr.administration.dateHeureFin
short:
  v: End DateTime
definition:
  v: Date heure fin (date_heure_fin)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.administration.dateHeureFin
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.administration.createdAt
path:
  v: ehr.administration.createdAt
short:
  v: Created At
definition:
  v: Record creation timestamp (created_at)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.administration.createdAt
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.administration.updatedAt
path:
  v: ehr.administration.updatedAt
short:
  v: Updated At
definition:
  v: Record update timestamp (updated_at)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.administration.updatedAt
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.dossierSoins
path:
  v: ehr.dossierSoins
short:
  v: Care Record
definition:
  v: Clinical care measurements and observations. Based on linkId: 305831246173. Maps to SQL table: dossier_soin
min:
  v: 0
max:
  v: *
base:
  path:
    v: ehr.dossierSoins
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: ehr.dossierSoins.id
path:
  v: ehr.dossierSoins.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ehr.dossierSoins.extension
path:
  v: ehr.dossierSoins.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ehr.dossierSoins.modifierExtension
path:
  v: ehr.dossierSoins.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ehr.dossierSoins.soinId
path:
  v: ehr.dossierSoins.soinId
short:
  v: Care ID
definition:
  v: Unique care identifier (soin_id)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.dossierSoins.soinId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id

id:
  v: ehr.dossierSoins.patientId
path:
  v: ehr.dossierSoins.patientId
short:
  v: Patient ID
definition:
  v: Foreign key to patient (patient_id)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.dossierSoins.patientId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id

id:
  v: ehr.dossierSoins.codeLoinc
path:
  v: ehr.dossierSoins.codeLoinc
short:
  v: Observation
definition:
  v: codé avec LOINC
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.dossierSoins.codeLoinc
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.dossierSoins.libelleTest
path:
  v: ehr.dossierSoins.libelleTest
short:
  v: Libellé métier de l'observation
definition:
  v: Libellé métier de l'observation
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.dossierSoins.libelleTest
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.dossierSoins.valeur
path:
  v: ehr.dossierSoins.valeur
short:
  v: Valeur de l'observation
definition:
  v: si quantitative
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.dossierSoins.valeur
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal

id:
  v: ehr.dossierSoins.unite
path:
  v: ehr.dossierSoins.unite
short:
  v: Unité de la valeur
definition:
  v: idéalement en UCUM
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.dossierSoins.unite
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.dossierSoins.valeurCode
path:
  v: ehr.dossierSoins.valeurCode
short:
  v: Valeur de l'observation
definition:
  v: si qualitative
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.dossierSoins.valeurCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.dossierSoins.valeurTexte
path:
  v: ehr.dossierSoins.valeurTexte
short:
  v: Valeur de l'observation
definition:
  v: si textuelle
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.dossierSoins.valeurTexte
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.dossierSoins.dateMesure
path:
  v: ehr.dossierSoins.dateMesure
short:
  v: Date de mesure
definition:
  v: Date de mesure
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.dossierSoins.dateMesure
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: date

id:
  v: ehr.dossierSoins.uniteSoins
path:
  v: ehr.dossierSoins.uniteSoins
short:
  v: Care Unit
definition:
  v: Unité soins (unite_soins)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.dossierSoins.uniteSoins
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.dossierSoins.professionnel
path:
  v: ehr.dossierSoins.professionnel
short:
  v: Professional
definition:
  v: Professionnel
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.dossierSoins.professionnel
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.dossierSoins.createdAt
path:
  v: ehr.dossierSoins.createdAt
short:
  v: Created At
definition:
  v: Record creation timestamp (created_at)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.dossierSoins.createdAt
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.dossierSoins.updatedAt
path:
  v: ehr.dossierSoins.updatedAt
short:
  v: Updated At
definition:
  v: Record update timestamp (updated_at)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.dossierSoins.updatedAt
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.styleVie
path:
  v: ehr.styleVie
short:
  v: Lifestyle
definition:
  v: Consolidated lifestyle information. Based on linkId: 1693164086678. Maps to SQL table: style_vie
min:
  v: 0
max:
  v: *
base:
  path:
    v: ehr.styleVie
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: ehr.styleVie.id
path:
  v: ehr.styleVie.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ehr.styleVie.extension
path:
  v: ehr.styleVie.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ehr.styleVie.modifierExtension
path:
  v: ehr.styleVie.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ehr.styleVie.styleVieId
path:
  v: ehr.styleVie.styleVieId
short:
  v: Lifestyle ID
definition:
  v: Unique lifestyle identifier (style_vie_id)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.styleVie.styleVieId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id

id:
  v: ehr.styleVie.patientId
path:
  v: ehr.styleVie.patientId
short:
  v: Patient ID
definition:
  v: Foreign key to patient (patient_id)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.styleVie.patientId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: id

id:
  v: ehr.styleVie.consommationTabac
path:
  v: ehr.styleVie.consommationTabac
short:
  v: Tobacco Use
definition:
  v: Consommation tabac (consommation_tabac)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.styleVie.consommationTabac
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.styleVie.consommationAlcool
path:
  v: ehr.styleVie.consommationAlcool
short:
  v: Alcohol Use
definition:
  v: Consommation alcool (consommation_alcool)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.styleVie.consommationAlcool
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.styleVie.consommationAutresDrogues
path:
  v: ehr.styleVie.consommationAutresDrogues
short:
  v: Other Drugs
definition:
  v: Consommation autres drogues (consommation_autres_drogues)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.styleVie.consommationAutresDrogues
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.styleVie.activitePhysique
path:
  v: ehr.styleVie.activitePhysique
short:
  v: Physical Activity
definition:
  v: Activité physique (activite_physique)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.styleVie.activitePhysique
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: ehr.styleVie.dateRecueil
path:
  v: ehr.styleVie.dateRecueil
short:
  v: Collection Date
definition:
  v: Date recueil (date_recueil)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ehr.styleVie.dateRecueil
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: date

id:
  v: ehr.styleVie.createdAt
path:
  v: ehr.styleVie.createdAt
short:
  v: Created At
definition:
  v: Record creation timestamp (created_at)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.styleVie.createdAt
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.styleVie.updatedAt
path:
  v: ehr.styleVie.updatedAt
short:
  v: Updated At
definition:
  v: Record update timestamp (updated_at)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ehr.styleVie.updatedAt
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

element:
  id:
    v: ehr
  path:
    v: ehr
  short:
    v: Electronic Health Record Data Model
  definition:
    v: 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.
element:
  id:
    v: ehr.id
  path:
    v: ehr.id
  short:
    v: bundle logical id
  definition:
    v: bundle logical id
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: id
element:
  id:
    v: ehr.patient
  path:
    v: ehr.patient
  short:
    v: Patient Demographics and Identity
  definition:
    v: Patient information consolidating identity data and geographic information. Based on FHIR Questionnaire linkIds: 2958000860428 (Patient Identity) and 3816475533472 (Geocoding). Maps to SQL table: patient
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
element:
  id:
    v: ehr.patient.patientId
  path:
    v: ehr.patient.patientId
  short:
    v: Patient Identifier
  definition:
    v: Unique patient identifier (patient_id)
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: id
element:
  id:
    v: ehr.patient.nom
  path:
    v: ehr.patient.nom
  short:
    v: Last Name
  definition:
    v: Patient last name - linkId: 8605698058770
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
element:
  id:
    v: ehr.patient.prenom
  path:
    v: ehr.patient.prenom
  short:
    v: First Name
  definition:
    v: Patient first name - linkId: 6214879623503
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
element:
  id:
    v: ehr.patient.nir
  path:
    v: ehr.patient.nir
  short:
    v: NIR
  definition:
    v: Numéro inscription au Répertoire (linkId: 5711960356160)
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
element:
  id:
    v: ehr.patient.ins
  path:
    v: ehr.patient.ins
  short:
    v: INS
  definition:
    v: Identité Nationale de Santé (linkId: 3764723550987)
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
element:
  id:
    v: ehr.patient.dateNaissance
  path:
    v: ehr.patient.dateNaissance
  short:
    v: Birth Date
  definition:
    v: Date of birth (date_naissance) - linkId: 5036133558154
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: date
element:
  id:
    v: ehr.patient.sexe
  path:
    v: ehr.patient.sexe
  short:
    v: Gender
  definition:
    v: Gender consolidated from PMSI - linkId: 3894630481120
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: code
element:
  id:
    v: ehr.patient.dateDeces
  path:
    v: ehr.patient.dateDeces
  short:
    v: Death Date
  definition:
    v: Date of death (date_deces) - linkId: 5633552097315
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: date
element:
  id:
    v: ehr.patient.sourceDeces
  path:
    v: ehr.patient.sourceDeces
  short:
    v: Death Source
  definition:
    v: Source of death date (source_deces) - linkId: 9098810065693
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
element:
  id:
    v: ehr.patient.rangGemellaire
  path:
    v: ehr.patient.rangGemellaire
  short:
    v: Twin Rank
  definition:
    v: Twin ranking (rang_gemellaire) - linkId: 6931296968515
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: integer

id:
  v: ehr.patient.createdAt
path:
  v: ehr.patient.createdAt
short:
  v: Created At
definition:
  v: Record creation timestamp (created_at)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.patient.updatedAt
path:
  v: ehr.patient.updatedAt
short:
  v: Updated At
definition:
  v: Record update timestamp (updated_at)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.patientAdresse
path:
  v: ehr.patientAdresse
short:
  v: Adresses des patients
definition:
  v: Depuis la table patient_addresse
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement

id:
  v: ehr.patientAdresse.patientAdresseId
path:
  v: ehr.patientAdresse.patientAdresseId
short:
  v: Patient address identifier
definition:
  v: Unique identifier
min:
  v: 1
max:
  v: 1
type:
  code:
    v: id

id:
  v: ehr.patientAdresse.patientId
path:
  v: ehr.patientAdresse.patientId
short:
  v: Patient ID
definition:
  v: Foreign key to patient (patient_id)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: id

id:
  v: ehr.patientAdresse.latitude
path:
  v: ehr.patientAdresse.latitude
short:
  v: Latitude
definition:
  v: Latitude - linkId: 3709843054556
min:
  v: 0
max:
  v: 1
type:
  code:
    v: decimal

id:
  v: ehr.patientAdresse.longitude
path:
  v: ehr.patientAdresse.longitude
short:
  v: Longitude
definition:
  v: Longitude - linkId: 7651448032665
min:
  v: 0
max:
  v: 1
type:
  code:
    v: decimal

id:
  v: ehr.patientAdresse.codeIris
path:
  v: ehr.patientAdresse.codeIris
short:
  v: IRIS Code
definition:
  v: INSEE IRIS code (code_iris)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.patientAdresse.libelleIris
path:
  v: ehr.patientAdresse.libelleIris
short:
  v: IRIS Label
definition:
  v: INSEE IRIS label (libelle_iris)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.patientAdresse.codeGeographiqueResidence
path:
  v: ehr.patientAdresse.codeGeographiqueResidence
short:
  v: Residence Code
definition:
  v: Geographic code of residence (code_geographique_residence)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.patientAdresse.libelleGeographiqueResidence
path:
  v: ehr.patientAdresse.libelleGeographiqueResidence
short:
  v: Residence Label
definition:
  v: Geographic label of residence (libelle_geographique_residence)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.patientAdresse.dateRecueil
path:
  v: ehr.patientAdresse.dateRecueil
short:
  v: Date de recueil
definition:
  v: Date de recueil
min:
  v: 0
max:
  v: 1
type:
  code:
    v: date

id:
  v: ehr.patientAdresse.createdAt
path:
  v: ehr.patientAdresse.createdAt
short:
  v: Created At
definition:
  v: Record creation timestamp (created_at)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.patientAdresse.updatedAt
path:
  v: ehr.patientAdresse.updatedAt
short:
  v: Updated At
definition:
  v: Record update timestamp (updated_at)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.donneesPmsi
path:
  v: ehr.donneesPmsi
short:
  v: PMSI Data
definition:
  v: Healthcare encounters and administrative data from PMSI. Central linking entity for all clinical data. Based on linkId: 2825244231605. Maps to SQL table: donnees_pmsi
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement

id:
  v: ehr.donneesPmsi.pmsiId
path:
  v: ehr.donneesPmsi.pmsiId
short:
  v: PMSI ID
definition:
  v: Unique PMSI identifier (pmsi_id)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: id

id:
  v: ehr.donneesPmsi.patientId
path:
  v: ehr.donneesPmsi.patientId
short:
  v: Patient ID
definition:
  v: Foreign key to patient (patient_id)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: id

id:
  v: ehr.donneesPmsi.modeSortie
path:
  v: ehr.donneesPmsi.modeSortie
short:
  v: Discharge Mode
definition:
  v: Mode de sortie (mode_sortie)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.donneesPmsi.ageAdmission
path:
  v: ehr.donneesPmsi.ageAdmission
short:
  v: Age du patient au début de la prise en charge
definition:
  v: Au cas ou la date de naissance n'est pas connue
min:
  v: 0
max:
  v: 1
type:
  code:
    v: integer

id:
  v: ehr.donneesPmsi.dateDebutSejour
path:
  v: ehr.donneesPmsi.dateDebutSejour
short:
  v: Start Date
definition:
  v: Date début séjour (date_debut_sejour)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: date

id:
  v: ehr.donneesPmsi.dateFinSejour
path:
  v: ehr.donneesPmsi.dateFinSejour
short:
  v: End Date
definition:
  v: Date fin séjour (date_fin_sejour)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: date

id:
  v: ehr.donneesPmsi.modeEntree
path:
  v: ehr.donneesPmsi.modeEntree
short:
  v: Admission Mode
definition:
  v: Mode d'entrée (mode_entree)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.donneesPmsi.etablissement
path:
  v: ehr.donneesPmsi.etablissement
short:
  v: Facility
definition:
  v: Établissement
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.donneesPmsi.uniteFonctionnelle
path:
  v: ehr.donneesPmsi.uniteFonctionnelle
short:
  v: Functional Unit
definition:
  v: Unité fonctionnelle (unite_fonctionnelle)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.donneesPmsi.service
path:
  v: ehr.donneesPmsi.service
short:
  v: Service
definition:
  v: Service
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.donneesPmsi.createdAt
path:
  v: ehr.donneesPmsi.createdAt
short:
  v: Created At
definition:
  v: Record creation timestamp (created_at)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.donneesPmsi.updatedAt
path:
  v: ehr.donneesPmsi.updatedAt
short:
  v: Updated At
definition:
  v: Record update timestamp (updated_at)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.diagnostics
path:
  v: ehr.diagnostics
short:
  v: Diagnostic
definition:
  v: Diagnostic codes and information using ICD-10/CIM-10 classifications. Based on linkId: 9391816419630. Maps to SQL table: diagnostic
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement

id:
  v: ehr.diagnostics.diagnosticId
path:
  v: ehr.diagnostics.diagnosticId
short:
  v: Diagnostic ID
definition:
  v: Unique diagnostic identifier (diagnostic_id)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: id

id:
  v: ehr.diagnostics.patientId
path:
  v: ehr.diagnostics.patientId
short:
  v: Patient ID
definition:
  v: Foreign key to patient (patient_id)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: id

id:
  v: ehr.diagnostics.pmsiId
path:
  v: ehr.diagnostics.pmsiId
short:
  v: PMSI ID
definition:
  v: Foreign key to donnees_pmsi (pmsi_id)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: id

id:
  v: ehr.diagnostics.codeDiagnostic
path:
  v: ehr.diagnostics.codeDiagnostic
short:
  v: Diagnostic Code
definition:
  v: Code diagnostic ICD-10/CIM-10 (code_diagnostic)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.diagnostics.typeDiagnostic
path:
  v: ehr.diagnostics.typeDiagnostic
short:
  v: Diagnostic Type
definition:
  v: Type de diagnostic (type_diagnostic)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.diagnostics.libelleDiagnostic
path:
  v: ehr.diagnostics.libelleDiagnostic
short:
  v: Diagnostic Label
definition:
  v: Libellé du diagnostic (libelle_diagnostic)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.diagnostics.dateRecueil
path:
  v: ehr.diagnostics.dateRecueil
short:
  v: Collection Date
definition:
  v: Date recueil (date_recueil)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: date

id:
  v: ehr.diagnostics.createdAt
path:
  v: ehr.diagnostics.createdAt
short:
  v: Created At
definition:
  v: Record creation timestamp (created_at)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.diagnostics.updatedAt
path:
  v: ehr.diagnostics.updatedAt
short:
  v: Updated At
definition:
  v: Record update timestamp (updated_at)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.actes
path:
  v: ehr.actes
short:
  v: Medical Acts
definition:
  v: Medical procedures and acts using CCAM classifications. Based on linkId: 591926901726. Maps to SQL table: actes
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement

id:
  v: ehr.actes.acteId
path:
  v: ehr.actes.acteId
short:
  v: Act ID
definition:
  v: Unique act identifier (acte_id)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: id

id:
  v: ehr.actes.patientId
path:
  v: ehr.actes.patientId
short:
  v: Patient ID
definition:
  v: Foreign key to patient (patient_id)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: id

id:
  v: ehr.actes.pmsiId
path:
  v: ehr.actes.pmsiId
short:
  v: PMSI ID
definition:
  v: Foreign key to donnees_pmsi (pmsi_id)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: id

id:
  v: ehr.actes.codeActe
path:
  v: ehr.actes.codeActe
short:
  v: Act Code
definition:
  v: Code acte CCAM (code_acte)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.actes.libelleActe
path:
  v: ehr.actes.libelleActe
short:
  v: Act Label
definition:
  v: Libellé de l'acte (libelle_acte)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.actes.dateActe
path:
  v: ehr.actes.dateActe
short:
  v: Act Date
definition:
  v: Date acte (date_acte)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.actes.executant
path:
  v: ehr.actes.executant
short:
  v: Performer
definition:
  v: Exécutant
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.actes.dateRecueil
path:
  v: ehr.actes.dateRecueil
short:
  v: Collection Date
definition:
  v: Date recueil (date_recueil)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: date

id:
  v: ehr.actes.createdAt
path:
  v: ehr.actes.createdAt
short:
  v: Created At
definition:
  v: Record creation timestamp (created_at)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.actes.updatedAt
path:
  v: ehr.actes.updatedAt
short:
  v: Updated At
definition:
  v: Record update timestamp (updated_at)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.biologie
path:
  v: ehr.biologie
short:
  v: Laboratory Results
definition:
  v: Consolidated laboratory test results for all biological examinations. Based on linkId: 7702944131447. Maps to SQL table: biologie
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement

id:
  v: ehr.biologie.biologieId
path:
  v: ehr.biologie.biologieId
short:
  v: Biology ID
definition:
  v: Unique biology identifier (biologie_id)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: id

id:
  v: ehr.biologie.patientId
path:
  v: ehr.biologie.patientId
short:
  v: Patient ID
definition:
  v: Foreign key to patient (patient_id)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: id

id:
  v: ehr.biologie.codeLoinc
path:
  v: ehr.biologie.codeLoinc
short:
  v: LOINC Code
definition:
  v: Code LOINC (code_loinc)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.biologie.libelleTest
path:
  v: ehr.biologie.libelleTest
short:
  v: Test Label
definition:
  v: Libellé du test (libelle_test)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.biologie.typeExamen
path:
  v: ehr.biologie.typeExamen
short:
  v: Exam Type
definition:
  v: Type examen (type_examen)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: code

id:
  v: ehr.biologie.valeur
path:
  v: ehr.biologie.valeur
short:
  v: Value
definition:
  v: Valeur numérique
min:
  v: 0
max:
  v: 1
type:
  code:
    v: decimal

id:
  v: ehr.biologie.unite
path:
  v: ehr.biologie.unite
short:
  v: Unit
definition:
  v: Unité
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.biologie.valeurTexte
path:
  v: ehr.biologie.valeurTexte
short:
  v: Text Value
definition:
  v: Valeur texte (valeur_texte)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.biologie.datePrelevement
path:
  v: ehr.biologie.datePrelevement
short:
  v: Collection Date
definition:
  v: Date prélèvement (date_prelevement)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.biologie.statutValidation
path:
  v: ehr.biologie.statutValidation
short:
  v: Validation Status
definition:
  v: Statut validation (statut_validation)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.biologie.borneInfNormale
path:
  v: ehr.biologie.borneInfNormale
short:
  v: Lower Bound
definition:
  v: Borne inférieure normale (borne_inf_normale)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: decimal

id:
  v: ehr.biologie.borneSupNormale
path:
  v: ehr.biologie.borneSupNormale
short:
  v: Upper Bound
definition:
  v: Borne supérieure normale (borne_sup_normale)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: decimal

id:
  v: ehr.biologie.laboratoire
path:
  v: ehr.biologie.laboratoire
short:
  v: Laboratory
definition:
  v: Laboratoire
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.biologie.createdAt
path:
  v: ehr.biologie.createdAt
short:
  v: Created At
definition:
  v: Record creation timestamp (created_at)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.biologie.updatedAt
path:
  v: ehr.biologie.updatedAt
short:
  v: Updated At
definition:
  v: Record update timestamp (updated_at)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.prescription
path:
  v: ehr.prescription
short:
  v: Prescription médicamenteuse
definition:
  v: Prescription data with ATC coding. Based on linkId: 817801935685. Maps to SQL table: prescription
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement

id:
  v: ehr.prescription.prescriptionId
path:
  v: ehr.prescription.prescriptionId
short:
  v: Prescription ID
definition:
  v: Unique prescription identifier (prescription_id)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: id

id:
  v: ehr.prescription.patientId
path:
  v: ehr.prescription.patientId
short:
  v: Patient ID
definition:
  v: Foreign key to patient (patient_id)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: id

id:
  v: ehr.prescription.denomination
path:
  v: ehr.prescription.denomination
short:
  v: Denomination
definition:
  v: Dénomination
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.prescription.codeAtc
path:
  v: ehr.prescription.codeAtc
short:
  v: médicament prescrit
definition:
  v: Codé en ATC
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.prescription.voieAdministration
path:
  v: ehr.prescription.voieAdministration
short:
  v: Voie administration
definition:
  v: Codé avec un Standard Term
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.prescription.prescripteur
path:
  v: ehr.prescription.prescripteur
short:
  v: Prescriber
definition:
  v: Prescripteur
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.prescription.datePrescription
path:
  v: ehr.prescription.datePrescription
short:
  v: Prescription Date
definition:
  v: Date prescription (date_prescription)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: date

id:
  v: ehr.prescription.dateDebutPrescription
path:
  v: ehr.prescription.dateDebutPrescription
short:
  v: Start Date
definition:
  v: Date début (date_debut)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: date

id:
  v: ehr.prescription.dateFinPrescription
path:
  v: ehr.prescription.dateFinPrescription
short:
  v: End Date
definition:
  v: Date fin (date_fin)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: date

id:
  v: ehr.prescription.createdAt
path:
  v: ehr.prescription.createdAt
short:
  v: Created At
definition:
  v: Record creation timestamp (created_at)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.prescription.updatedAt
path:
  v: ehr.prescription.updatedAt
short:
  v: Updated At
definition:
  v: Record update timestamp (updated_at)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.posologie
path:
  v: ehr.posologie
short:
  v: Posology
definition:
  v: Detailed dosing information. Based on linkId: 6348237104421. Maps to SQL table: posologie
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement

id:
  v: ehr.posologie.posologieId
path:
  v: ehr.posologie.posologieId
short:
  v: Posology ID
definition:
  v: Unique posology identifier (posologie_id)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: id

id:
  v: ehr.posologie.prescriptionId
path:
  v: ehr.posologie.prescriptionId
short:
  v: Prescription ID
definition:
  v: Foreign key to prescription (prescription_id)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: id

id:
  v: ehr.posologie.nombrePrisesParJour
path:
  v: ehr.posologie.nombrePrisesParJour
short:
  v: Daily Intakes
definition:
  v: Nombre prises par jour (nombre_prises_par_jour)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: integer

id:
  v: ehr.posologie.quantite
path:
  v: ehr.posologie.quantite
short:
  v: quantité de médicament prise
definition:
  v: à correler avec l'unité
min:
  v: 0
max:
  v: 1
type:
  code:
    v: decimal

id:
  v: ehr.posologie.uniteQuantite
path:
  v: ehr.posologie.uniteQuantite
short:
  v: Unité de la quantité
definition:
  v: Si possible en UCUM, sinon en Standard terms
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.posologie.dateHeureDebut
path:
  v: ehr.posologie.dateHeureDebut
short:
  v: DateHeure de début de prise
definition:
  v: Date de la prise si prise 'instantanée'
min:
  v: 0
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.posologie.dateHeureFin
path:
  v: ehr.posologie.dateHeureFin
short:
  v: DateHeure de fin de prise
definition:
  v: DateHeure de fin de prise
min:
  v: 0
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.posologie.createdAt
path:
  v: ehr.posologie.createdAt
short:
  v: Created At
definition:
  v: Record creation timestamp (created_at)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.posologie.updatedAt
path:
  v: ehr.posologie.updatedAt
short:
  v: Updated At
definition:
  v: Record update timestamp (updated_at)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.administration
path:
  v: ehr.administration
short:
  v: Administration
definition:
  v: Administration Maps to SQL table: administration
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement

id:
  v: ehr.administration.administrationId
path:
  v: ehr.administration.administrationId
short:
  v: Administration ID
definition:
  v: Unique administration identifier (administration_id)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: id

id:
  v: ehr.administration.patientId
path:
  v: ehr.administration.patientId
short:
  v: Patient ID
definition:
  v: Foreign key to patient (patient_id)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: id

id:
  v: ehr.administration.prescriptionId
path:
  v: ehr.administration.prescriptionId
short:
  v: Prescription ID
definition:
  v: Foreign key to prescription (prescription_id)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: id

id:
  v: ehr.administration.denomination
path:
  v: ehr.administration.denomination
short:
  v: Médicament administré
definition:
  v: DCI si possible
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.administration.codeAtc
path:
  v: ehr.administration.codeAtc
short:
  v: Classe thérapeutique du médicament administré
definition:
  v: codé en ATC
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.administration.voieAdministration
path:
  v: ehr.administration.voieAdministration
short:
  v: Voie administration
definition:
  v: Codé avec un Standard Term
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.administration.quantite
path:
  v: ehr.administration.quantite
short:
  v: Administered Quantity
definition:
  v: Quantité administrée (quantite_administree)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: decimal

id:
  v: ehr.administration.uniteQuantite
path:
  v: ehr.administration.uniteQuantite
short:
  v: Quantity Unit
definition:
  v: codé en UCUM, subsidiairement en Standard Term
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.administration.dateHeureDebut
path:
  v: ehr.administration.dateHeureDebut
short:
  v: Start DateTime
definition:
  v: Date heure début (date_heure_debut)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.administration.dateHeureFin
path:
  v: ehr.administration.dateHeureFin
short:
  v: End DateTime
definition:
  v: Date heure fin (date_heure_fin)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.administration.createdAt
path:
  v: ehr.administration.createdAt
short:
  v: Created At
definition:
  v: Record creation timestamp (created_at)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.administration.updatedAt
path:
  v: ehr.administration.updatedAt
short:
  v: Updated At
definition:
  v: Record update timestamp (updated_at)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.dossierSoins
path:
  v: ehr.dossierSoins
short:
  v: Care Record
definition:
  v: Clinical care measurements and observations. Based on linkId: 305831246173. Maps to SQL table: dossier_soin
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement

id:
  v: ehr.dossierSoins.soinId
path:
  v: ehr.dossierSoins.soinId
short:
  v: Care ID
definition:
  v: Unique care identifier (soin_id)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: id

id:
  v: ehr.dossierSoins.patientId
path:
  v: ehr.dossierSoins.patientId
short:
  v: Patient ID
definition:
  v: Foreign key to patient (patient_id)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: id

id:
  v: ehr.dossierSoins.codeLoinc
path:
  v: ehr.dossierSoins.codeLoinc
short:
  v: Observation
definition:
  v: codé avec LOINC
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.dossierSoins.libelleTest
path:
  v: ehr.dossierSoins.libelleTest
short:
  v: Libellé métier de l'observation
definition:
  v: Libellé métier de l'observation
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.dossierSoins.valeur
path:
  v: ehr.dossierSoins.valeur
short:
  v: Valeur de l'observation
definition:
  v: si quantitative
min:
  v: 0
max:
  v: 1
type:
  code:
    v: decimal

id:
  v: ehr.dossierSoins.unite
path:
  v: ehr.dossierSoins.unite
short:
  v: Unité de la valeur
definition:
  v: idéalement en UCUM
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.dossierSoins.valeurCode
path:
  v: ehr.dossierSoins.valeurCode
short:
  v: Valeur de l'observation
definition:
  v: si qualitative
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.dossierSoins.valeurTexte
path:
  v: ehr.dossierSoins.valeurTexte
short:
  v: Valeur de l'observation
definition:
  v: si textuelle
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.dossierSoins.dateMesure
path:
  v: ehr.dossierSoins.dateMesure
short:
  v: Date de mesure
definition:
  v: Date de mesure
min:
  v: 0
max:
  v: 1
type:
  code:
    v: date

id:
  v: ehr.dossierSoins.uniteSoins
path:
  v: ehr.dossierSoins.uniteSoins
short:
  v: Care Unit
definition:
  v: Unité soins (unite_soins)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.dossierSoins.professionnel
path:
  v: ehr.dossierSoins.professionnel
short:
  v: Professional
definition:
  v: Professionnel
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.dossierSoins.createdAt
path:
  v: ehr.dossierSoins.createdAt
short:
  v: Created At
definition:
  v: Record creation timestamp (created_at)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.dossierSoins.updatedAt
path:
  v: ehr.dossierSoins.updatedAt
short:
  v: Updated At
definition:
  v: Record update timestamp (updated_at)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.styleVie
path:
  v: ehr.styleVie
short:
  v: Lifestyle
definition:
  v: Consolidated lifestyle information. Based on linkId: 1693164086678. Maps to SQL table: style_vie
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement

id:
  v: ehr.styleVie.styleVieId
path:
  v: ehr.styleVie.styleVieId
short:
  v: Lifestyle ID
definition:
  v: Unique lifestyle identifier (style_vie_id)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: id

id:
  v: ehr.styleVie.patientId
path:
  v: ehr.styleVie.patientId
short:
  v: Patient ID
definition:
  v: Foreign key to patient (patient_id)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: id

id:
  v: ehr.styleVie.consommationTabac
path:
  v: ehr.styleVie.consommationTabac
short:
  v: Tobacco Use
definition:
  v: Consommation tabac (consommation_tabac)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.styleVie.consommationAlcool
path:
  v: ehr.styleVie.consommationAlcool
short:
  v: Alcohol Use
definition:
  v: Consommation alcool (consommation_alcool)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.styleVie.consommationAutresDrogues
path:
  v: ehr.styleVie.consommationAutresDrogues
short:
  v: Other Drugs
definition:
  v: Consommation autres drogues (consommation_autres_drogues)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.styleVie.activitePhysique
path:
  v: ehr.styleVie.activitePhysique
short:
  v: Physical Activity
definition:
  v: Activité physique (activite_physique)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: ehr.styleVie.dateRecueil
path:
  v: ehr.styleVie.dateRecueil
short:
  v: Collection Date
definition:
  v: Date recueil (date_recueil)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: date

id:
  v: ehr.styleVie.createdAt
path:
  v: ehr.styleVie.createdAt
short:
  v: Created At
definition:
  v: Record creation timestamp (created_at)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ehr.styleVie.updatedAt
path:
  v: ehr.styleVie.updatedAt
short:
  v: Updated At
definition:
  v: Record update timestamp (updated_at)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime