description: Profil de la ressource Observation permettant de représenter si l'usager bénéficie ou non des repas. package_name: ans.fhir.fr.tddui derivation: constraint name: TDDUIObservationRepas type: Observation elements: extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: 1 slices: TDDUIParticipantPresent: match: {url: null} schema: {type: Extension, short: Présence de l'usager au repas., url: 'https://interop.esante.gouv.fr/ig/fhir/tddui/StructureDefinition/tddui-participant-present', index: 1} min: 1 max: 1 identifier: index: 2 elements: type: binding: {strength: required, valueSet: 'https://interop.esante.gouv.fr/ig/fhir/tddui/ValueSet/tddui-observation-identifier-repas'} index: 3 slicing: rules: open discriminator: - {path: type, type: pattern} min: 1 slices: idRepas: match: type: coding: - {code: REP, system: 'https://interop.esante.gouv.fr/ig/fhir/tddui/CodeSystem/tddui-observation-identifier'} schema: short: Identifiant du repas constraint: ObservationRepasIdentifierFormat: {human: 'l''identifiant du repas doit respecter le format : 3+FINESS/identifiantLocalUsagerESSMS-REPAS-numRepas', source: 'https://interop.esante.gouv.fr/ig/fhir/tddui/StructureDefinition/tddui-observation-repas', severity: error, expression: 'value.matches(''^3[0-9]{9}/[A-Za-z0-9]+-REPAS-[A-Za-z0-9]+$'')'} _required: true index: 4 elements: type: pattern: type: CodeableConcept value: coding: - {code: REP, system: 'https://interop.esante.gouv.fr/ig/fhir/tddui/CodeSystem/tddui-observation-identifier'} index: 5 system: pattern: {type: Uri, value: 'https://identifiant-medicosocial-repas.esante.gouv.fr'} index: 6 value: {index: 7} required: [type, system] category: binding: {strength: required, valueSet: 'https://smt.esante.gouv.fr/fhir/ValueSet/jdv-j407-type-repas-ms'} index: 8 code: pattern: type: CodeableConcept value: coding: - {code: REPAS, system: 'https://interop.esante.gouv.fr/ig/fhir/tddui/CodeSystem/tddui-observation-type', display: Repas} index: 9 subject: type: Reference refers: ['https://interop.esante.gouv.fr/ig/fhir/tddui/StructureDefinition/tddui-patient', 'https://interop.esante.gouv.fr/ig/fhir/tddui/StructureDefinition/tddui-patient-ins'] index: 10 effective: choices: [] index: 12 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: effectiveDateTime: match: {} schema: choices: [effectiveDateTime] _required: true index: 14 min: 1 max: 1 effectiveDateTime: type: dateTime choiceOf: effective index: 15 slicing: slices: effectiveDateTime: match: {} schema: {type: dateTime, choiceOf: effective, _required: true, index: 15} min: 1 max: 1 package_version: 2.4.0-ballot extensions: TDDUIParticipantPresent: {url: 'https://interop.esante.gouv.fr/ig/fhir/tddui/StructureDefinition/tddui-participant-present', min: 1, max: 1, type: Extension, short: Présence de l'usager au repas., index: 1} class: profile kind: resource url: https://interop.esante.gouv.fr/ig/fhir/tddui/StructureDefinition/tddui-observation-repas base: http://hl7.org/fhir/StructureDefinition/Observation version: 2.4.0-ballot required: [effectiveDateTime, extension, identifier, subject, category, effective]