0.18.0 - ci-build

RuCoreIG, published by HL7 FHIR Россия. This guide is not an authorized publication; it is the continuous build for version 0.18.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/fhir-ru/RuCoreIG/ and changes regularly. See the Directory of published versions

Resource Profile: Core Encounter (Случай оказания медицинской помощи)

Official URL: https://fhir.ru/ig/core/StructureDefinition/core-encounter Version: 0.18.0
Active as of 2026-09-01 Computable Name: Core_Encounter

Профиль Encounter для RuCore

Core_Encounter — Профиль случая обслуживания

Принятые решения по профилированию

Бизнес-требование Атрибут Решение по профилированию
Необходимо передавать идентификатор случая, номер связанной стационарной карты и идентификатор амбулаторного случая или посещения в экземпляре МИС по правилам СЭМД identifier Определены необязательные срезы misEncounter, misInpatientRecord и misAmbulatoryEncounter кратностью 0..1; открытая нарезка распознает их по семантическому Identifier.type, а точная структура system проверяется инвариантами
Описание субъекта случая обслуживания должно соответствовать требованиям, если ссылка указывает на Patient subject Для Patient должен использоваться профиль Core_Patient, при этом тип Group из базового R5 сохраняется
Описание эпизода лечения должно соответствовать требованиям episodeOfCare Должен быть представлен профилем Core_EpisodeOfCare. Рекомендуется использовать данный атрибут для включения данного Encounter в медицинский эпизод, например, диагностика и лечение определенного заболевания в различных организациях. В то же время, для моделирования учета медицинской помощи в одной организации следует использовать иерархию Encounter, например: Амбулаторная карта – Случай амбулаторного обслуживания – Посещение врача.
Описание исполняющей организации должно соответствовать требованиям serviceProvider Должен быть представлен профилем Core_Organization
Диагноз случая нужно передавать либо ссылкой на Condition, либо кодом и текстом внутри Encounter diagnosis.condition Используется тип FHIR R5 CodeableReference(Condition). Отдельный ресурс Condition не обязателен. МКБ-10 принята как базовый пример кодирования; профильные классификаторы допускаются. Состояния после процедур кодируются как диагнозы, а не ссылками на Procedure
При нескольких диагнозах можно указать структуру диагноза, в том числе основное заболевание diagnosis.use Две оси в множественном CodeableConcept 0..*: рубрика по НСИ 1.2.643.5.1.13.13.11.1077 и этапность по НСИ 1.2.643.5.1.13.13.99.2.795. Стандартный preferred ValueSet HL7 признан недостаточным. Требование ровно одного основного диагноза выносится в прикладные профили СЭМД
Нужно сохранить авторский порядок врача, если в одной рубрике несколько диагнозов diagnosis.extension[rank] Добавлено расширение diagnosis-rank (positiveInt), восстанавливающее исключенный в FHIR R5 элемент Encounter.diagnosis.rank

Описание профиля

Профиль Core_Encounter расширяет стандартный ресурс Encounter для поддержки российских требований:

  • Для идентификаторов СЭМД определены необязательные срезы identifier[misEncounter], identifier[misInpatientRecord] и identifier[misAmbulatoryEncounter] кратностью 0..1 с типовыми узлами OID 15, 16 и 17
  • Срезы распознаются по кодам mis-encounter, mis-inpatient-record и mis-ambulatory-encounter из Core_Cs_Semd_Identifier_Type; нарезка остается открытой для идентификаторов других типов
  • Каждый Identifier.system строго соответствует формуле urn:oid:1.2.643.5.1.13.13.12.2.{субъект РФ}.{медицинская организация ФРМО}.100.{МИС}.{экземпляр МИС}.{типовой узел}; дополнительные узлы после 15, 16 или 17 не допускаются
  • Если subject ссылается на Patient, должен использоваться профиль Core_Patient, при этом тип Group из R5 сохраняется
  • Эпизод лечения должен быть представлен профилем Core_EpisodeOfCare
  • Исполняющая организация должна быть представлена профилем Core_Organization
  • Диагноз случая передается в diagnosis.condition как CodeableReference(Condition): ссылкой на Condition и/или кодом и текстом внутри Encounter
  • Ось diagnosis.use[diagnosisStructure] кодирует рубрику по справочнику НСИ «Виды нозологических единиц диагноза»; ось diagnosis.use[diagnosisStage] кодирует этапность по справочнику НСИ «Степень обоснованности диагноза». Обе оси необязательны
  • Порядок диагнозов внутри рубрики передается расширением diagnosis.extension[rank]

Особенности использования

Профиль поддерживает два основных сценария использования:

  1. Межорганизационные эпизоды - использование атрибута episodeOfCare для связывания случаев обслуживания в различных организациях в рамках одного медицинского эпизода
  2. Внутриорганизационная иерархия - использование иерархии Encounter для моделирования учета медицинской помощи в одной организации (например: Амбулаторная карта → Случай амбулаторного обслуживания → Посещение врача)

Динамическая часть system не используется для распознавания среза: принадлежность определяется стабильным семантическим кодом в Identifier.type. Инварианты отдельно проверяют корень пространства ФРМО, фиксированный узел 100, номера МИС и экземпляра МИС и конечный типовой узел.

Core_Encounter остается гибким национальным профилем: допускаются несколько диагнозов одной рубрики и несколько основных заболеваний. Более строгие правила, например требование ровно одного основного диагноза, должны вводиться прикладным профилем СЭМД как сужение Core.

В стационарной практике предварительный диагноз соответствует диагнозу при поступлении, заключительный клинический — выписному. Эти соответствия относятся к применению справочника этапности и не добавляют отдельных кодов в RuCore.


FSH-код профиля

Profile: Core_Encounter
Parent: Encounter
Id: core-encounter
Title: "Core Encounter (Случай обслуживания)"
Description: "Базовый профиль случая обслуживания для российских FHIR-реализаций"

* identifier.type from Core_Vs_Identifier_Type (extensible)
* identifier ^slicing.discriminator.type = #pattern
* identifier ^slicing.discriminator.path = "type"
* identifier ^slicing.rules = #open
* identifier contains
  misEncounter 0..1 and
  misInpatientRecord 0..1 and
  misAmbulatoryEncounter 0..1

* identifier[misEncounter]
  * type 1..1
  * type = Core_Cs_Semd_Identifier_Type#mis-encounter
  * system 1..1
  * value 1..1
  * obeys core-encounter-mis-encounter-system

* identifier[misInpatientRecord]
  * type 1..1
  * type = Core_Cs_Semd_Identifier_Type#mis-inpatient-record
  * system 1..1
  * value 1..1
  * obeys core-encounter-mis-inpatient-system

* identifier[misAmbulatoryEncounter]
  * type 1..1
  * type = Core_Cs_Semd_Identifier_Type#mis-ambulatory-encounter
  * system 1..1
  * value 1..1
  * obeys core-encounter-mis-ambulatory-system

* subject only Reference(Core_Patient or Group)
* episodeOfCare only Reference(Core_EpisodeOfCare)
* serviceProvider only Reference(Core_Organization)

* diagnosis.extension contains DiagnosisRank named rank 0..1
* diagnosis.condition 1..*
* diagnosis.condition only CodeableReference(Condition)
* diagnosis.use 0..*
* diagnosis.use contains
  diagnosisStructure 0..1 and
  diagnosisStage 0..1
* diagnosis.use[diagnosisStructure] from Core_Vs_Nsi_Diagnosis_Nosology_Kind (required)
* diagnosis.use[diagnosisStage] from Core_Vs_Nsi_Diagnosis_Justification_Degree (extensible)

Invariant: core-encounter-mis-encounter-system
Description: "Система идентификатора общего случая в МИС должна соответствовать структуре с корнем ФРМО и типовым узлом 15"
Severity: #error
Expression: "system.matches('^urn:oid:1[.]2[.]643[.]5[.]1[.]13[.]13[.]12[.]2[.](0|[1-9][0-9]*)[.][1-9][0-9]*[.]100[.][1-9][0-9]*[.][1-9][0-9]*[.]15$')"

Invariant: core-encounter-mis-inpatient-system
Description: "Система номера стационарной карты в МИС должна соответствовать структуре с корнем ФРМО и типовым узлом 16"
Severity: #error
Expression: "system.matches('^urn:oid:1[.]2[.]643[.]5[.]1[.]13[.]13[.]12[.]2[.](0|[1-9][0-9]*)[.][1-9][0-9]*[.]100[.][1-9][0-9]*[.][1-9][0-9]*[.]16$')"

Invariant: core-encounter-mis-ambulatory-system
Description: "Система идентификатора амбулаторного случая или посещения в МИС должна соответствовать структуре с корнем ФРМО и типовым узлом 17"
Severity: #error
Expression: "system.matches('^urn:oid:1[.]2[.]643[.]5[.]1[.]13[.]13[.]12[.]2[.](0|[1-9][0-9]*)[.][1-9][0-9]*[.]100[.][1-9][0-9]*[.][1-9][0-9]*[.]17$')"

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter 0..* Encounter An interaction during which services are provided to the patient
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... identifier:All Slices Content/Rules for all slices
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Core ValueSet Типы идентификаторов (extensible)
.... identifier:misEncounter ΣC 0..1 Identifier Идентификатор случая оказания медицинской помощи в экземпляре МИС
Constraints: core-encounter-mis-encounter-system
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 1..1 CodeableConcept Description of identifier
Binding: Core ValueSet Типы идентификаторов (extensible)
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.ru/ig/core/CodeSystem/core-cs-semd-identifier-type
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: mis-encounter
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value ΣC 1..1 string The value that is unique
Example General: 123456
.... identifier:misInpatientRecord ΣC 0..1 Identifier Номер стационарной медицинской карты в экземпляре МИС
Constraints: core-encounter-mis-inpatient-system
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 1..1 CodeableConcept Description of identifier
Binding: Core ValueSet Типы идентификаторов (extensible)
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.ru/ig/core/CodeSystem/core-cs-semd-identifier-type
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: mis-inpatient-record
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value ΣC 1..1 string The value that is unique
Example General: 123456
.... identifier:misAmbulatoryEncounter ΣC 0..1 Identifier Идентификатор амбулаторного случая или посещения в экземпляре МИС
Constraints: core-encounter-mis-ambulatory-system
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 1..1 CodeableConcept Description of identifier
Binding: Core ValueSet Типы идентификаторов (extensible)
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.ru/ig/core/CodeSystem/core-cs-semd-identifier-type
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: mis-ambulatory-encounter
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value ΣC 1..1 string The value that is unique
Example General: 123456
... status ?!Σ 1..1 code planned | in-progress | on-hold | discharged | completed | cancelled | discontinued | entered-in-error | unknown
Binding: EncounterStatus (required): Current state of the encounter.
... subject Σ 0..1 Reference(Core Patient (Пациент) | Group) Пациент
... episodeOfCare Σ 0..* Reference(Core EpisodeOfCare (Эпизод медицинской помощи)) Эпизод медицинской помощи
... serviceProvider 0..1 Reference(Core Organization (Организация)) Поставщик медицинских услуг
... diagnosis Σ 0..* BackboneElement Диагноз случая оказания медицинской помощи
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:rank 0..1 positiveInt Порядок диагноза в авторской последовательности врача
URL: https://fhir.ru/ig/core/StructureDefinition/diagnosis-rank
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... condition ΣC 1..* CodeableReference(Condition) Диагноз как код/текст и/или ссылка на Condition
Binding: ConditionProblemDiagnosisCodes (example)
Constraints: core-encounter-diagnosis-condition
.... Slices for use 0..* CodeableConcept Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …)
Slice: Unordered, Open by value:coding.system
Binding: EncounterDiagnosisUse (preferred): The type of diagnosis this condition represents.
..... use:diagnosisStructure 0..1 CodeableConcept Структура диагноза (рубрика)
Binding: Core ValueSet Виды нозологических единиц диагноза (required)
...... coding Σ 1..1 Coding Code defined by a terminology system
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: https://fhir.ru/ig/core/CodeSystem/core-cs-nsi-diagnosis-nosology-kind
....... code ΣC 1..1 code Symbol in syntax defined by the system
Binding: Core ValueSet Виды нозологических единиц диагноза (required)
..... use:diagnosisStage 0..1 CodeableConcept Этапность установления диагноза
Binding: Core ValueSet Степень обоснованности диагноза (extensible)
...... coding Σ 1..1 Coding Code defined by a terminology system
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: https://fhir.ru/ig/core/CodeSystem/core-cs-nsi-diagnosis-justification-degree
....... code ΣC 1..1 code Symbol in syntax defined by the system
Binding: Core ValueSet Степень обоснованности диагноза (extensible)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Encounter.identifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Encounter.identifier.​type Base extensible Core ValueSet Типы идентификаторов 📦0.18.0 This IG
Encounter.identifier:misEncounter.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Encounter.identifier:misEncounter.​type Base extensible Core ValueSet Типы идентификаторов 📦0.18.0 This IG
Encounter.identifier:misInpatientRecord.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Encounter.identifier:misInpatientRecord.​type Base extensible Core ValueSet Типы идентификаторов 📦0.18.0 This IG
Encounter.identifier:misAmbulatoryEncounter.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Encounter.identifier:misAmbulatoryEncounter.​type Base extensible Core ValueSet Типы идентификаторов 📦0.18.0 This IG
Encounter.status Base required Encounter Status 📍5.0.0 FHIR Std.
Encounter.diagnosis.​condition Base example Condition/Problem/Diagnosis Codes 📍5.0.0 FHIR Std.
Encounter.diagnosis.​use Base preferred Encounter Diagnosis Use 📍5.0.0 FHIR Std.
Encounter.diagnosis.​use:diagnosisStructure Base required Core ValueSet Виды нозологических единиц диагноза 📦0.18.0 This IG
Encounter.diagnosis.​use:diagnosisStructure.​coding.code Base required Core ValueSet Виды нозологических единиц диагноза 📦0.18.0 This IG
Encounter.diagnosis.​use:diagnosisStage Base extensible Core ValueSet Степень обоснованности диагноза 📦0.18.0 This IG
Encounter.diagnosis.​use:diagnosisStage.coding.​code Base extensible Core ValueSet Степень обоснованности диагноза 📦0.18.0 This IG

Constraints

Id Grade Path(s) Description Expression
core-encounter-diagnosis-condition error Encounter.diagnosis.condition В диагнозе случая должен быть указан код и/или текст и/или ссылка на ресурс Condition concept.exists() or reference.exists()
core-encounter-mis-ambulatory-system error Encounter.identifier:misAmbulatoryEncounter Система идентификатора амбулаторного случая или посещения в МИС должна соответствовать структуре urn:oid:1.2.643.5.1.13.13.12.2.{субъект РФ}.{медицинская организация ФРМО}.100.{МИС}.{экземпляр МИС}.17 system.matches('^urn:oid:1[.]2[.]643[.]5[.]1[.]13[.]13[.]12[.]2[.](0|[1-9][0-9]*)[.][1-9][0-9]*[.]100[.][1-9][0-9]*[.][1-9][0-9]*[.]17$')
core-encounter-mis-encounter-system error Encounter.identifier:misEncounter Система идентификатора общего случая в МИС должна соответствовать структуре urn:oid:1.2.643.5.1.13.13.12.2.{субъект РФ}.{медицинская организация ФРМО}.100.{МИС}.{экземпляр МИС}.15 system.matches('^urn:oid:1[.]2[.]643[.]5[.]1[.]13[.]13[.]12[.]2[.](0|[1-9][0-9]*)[.][1-9][0-9]*[.]100[.][1-9][0-9]*[.][1-9][0-9]*[.]15$')
core-encounter-mis-inpatient-system error Encounter.identifier:misInpatientRecord Система номера стационарной медицинской карты в МИС должна соответствовать структуре urn:oid:1.2.643.5.1.13.13.12.2.{субъект РФ}.{медицинская организация ФРМО}.100.{МИС}.{экземпляр МИС}.16 system.matches('^urn:oid:1[.]2[.]643[.]5[.]1[.]13[.]13[.]12[.]2[.](0|[1-9][0-9]*)[.][1-9][0-9]*[.]100[.][1-9][0-9]*[.][1-9][0-9]*[.]16$')
dom-2 error Encounter If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Encounter If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Encounter If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Encounter If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Encounter A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from Encounter

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter 0..* Encounter An interaction during which services are provided to the patient
... Slices for identifier 0..* Identifier Identifier(s) by which this encounter is known
Slice: Unordered, Open by pattern:type
.... identifier:All Slices Content/Rules for all slices
..... type 0..1 CodeableConcept Description of identifier
Binding: Core ValueSet Типы идентификаторов (extensible)
.... identifier:misEncounter C 0..1 Identifier Идентификатор случая оказания медицинской помощи в экземпляре МИС
Constraints: core-encounter-mis-encounter-system
..... type 1..1 CodeableConcept Description of identifier
Required Pattern: At least the following
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.ru/ig/core/CodeSystem/core-cs-semd-identifier-type
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: mis-encounter
..... system 1..1 uri The namespace for the identifier value
..... value 1..1 string The value that is unique
.... identifier:misInpatientRecord C 0..1 Identifier Номер стационарной медицинской карты в экземпляре МИС
Constraints: core-encounter-mis-inpatient-system
..... type 1..1 CodeableConcept Description of identifier
Required Pattern: At least the following
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.ru/ig/core/CodeSystem/core-cs-semd-identifier-type
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: mis-inpatient-record
..... system 1..1 uri The namespace for the identifier value
..... value 1..1 string The value that is unique
.... identifier:misAmbulatoryEncounter C 0..1 Identifier Идентификатор амбулаторного случая или посещения в экземпляре МИС
Constraints: core-encounter-mis-ambulatory-system
..... type 1..1 CodeableConcept Description of identifier
Required Pattern: At least the following
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.ru/ig/core/CodeSystem/core-cs-semd-identifier-type
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: mis-ambulatory-encounter
..... system 1..1 uri The namespace for the identifier value
..... value 1..1 string The value that is unique
... subject 0..1 Reference(Core Patient (Пациент) | Group) Пациент
... episodeOfCare 0..* Reference(Core EpisodeOfCare (Эпизод медицинской помощи)) Эпизод медицинской помощи
... diagnosis 0..* BackboneElement Диагноз случая оказания медицинской помощи
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:rank 0..1 positiveInt Порядок диагноза в авторской последовательности врача
URL: https://fhir.ru/ig/core/StructureDefinition/diagnosis-rank
.... condition C 1..* CodeableReference(Condition) Диагноз как код/текст и/или ссылка на Condition
Constraints: core-encounter-diagnosis-condition
.... Slices for use 0..* CodeableConcept Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …)
Slice: Unordered, Open by value:coding.system
..... use:diagnosisStructure 0..1 CodeableConcept Структура диагноза (рубрика)
Binding: Core ValueSet Виды нозологических единиц диагноза (required)
...... coding 1..1 Coding Code defined by a terminology system
....... system 1..1 uri Identity of the terminology system
Required Pattern: https://fhir.ru/ig/core/CodeSystem/core-cs-nsi-diagnosis-nosology-kind
....... code 1..1 code Symbol in syntax defined by the system
Binding: Core ValueSet Виды нозологических единиц диагноза (required)
..... use:diagnosisStage 0..1 CodeableConcept Этапность установления диагноза
Binding: Core ValueSet Степень обоснованности диагноза (extensible)
...... coding 1..1 Coding Code defined by a terminology system
....... system 1..1 uri Identity of the terminology system
Required Pattern: https://fhir.ru/ig/core/CodeSystem/core-cs-nsi-diagnosis-justification-degree
....... code 1..1 code Symbol in syntax defined by the system
Binding: Core ValueSet Степень обоснованности диагноза (extensible)

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Encounter.identifier.​type Base extensible Core ValueSet Типы идентификаторов 📦0.18.0 This IG
Encounter.diagnosis.​use:diagnosisStructure Base required Core ValueSet Виды нозологических единиц диагноза 📦0.18.0 This IG
Encounter.diagnosis.​use:diagnosisStructure.​coding.code Base required Core ValueSet Виды нозологических единиц диагноза 📦0.18.0 This IG
Encounter.diagnosis.​use:diagnosisStage Base extensible Core ValueSet Степень обоснованности диагноза 📦0.18.0 This IG
Encounter.diagnosis.​use:diagnosisStage.coding.​code Base extensible Core ValueSet Степень обоснованности диагноза 📦0.18.0 This IG

Constraints

Id Grade Path(s) Description Expression
core-encounter-diagnosis-condition error Encounter.diagnosis.condition В диагнозе случая должен быть указан код и/или текст и/или ссылка на ресурс Condition concept.exists() or reference.exists()
core-encounter-mis-ambulatory-system error Encounter.identifier:misAmbulatoryEncounter Система идентификатора амбулаторного случая или посещения в МИС должна соответствовать структуре urn:oid:1.2.643.5.1.13.13.12.2.{субъект РФ}.{медицинская организация ФРМО}.100.{МИС}.{экземпляр МИС}.17 system.matches('^urn:oid:1[.]2[.]643[.]5[.]1[.]13[.]13[.]12[.]2[.](0|[1-9][0-9]*)[.][1-9][0-9]*[.]100[.][1-9][0-9]*[.][1-9][0-9]*[.]17$')
core-encounter-mis-encounter-system error Encounter.identifier:misEncounter Система идентификатора общего случая в МИС должна соответствовать структуре urn:oid:1.2.643.5.1.13.13.12.2.{субъект РФ}.{медицинская организация ФРМО}.100.{МИС}.{экземпляр МИС}.15 system.matches('^urn:oid:1[.]2[.]643[.]5[.]1[.]13[.]13[.]12[.]2[.](0|[1-9][0-9]*)[.][1-9][0-9]*[.]100[.][1-9][0-9]*[.][1-9][0-9]*[.]15$')
core-encounter-mis-inpatient-system error Encounter.identifier:misInpatientRecord Система номера стационарной медицинской карты в МИС должна соответствовать структуре urn:oid:1.2.643.5.1.13.13.12.2.{субъект РФ}.{медицинская организация ФРМО}.100.{МИС}.{экземпляр МИС}.16 system.matches('^urn:oid:1[.]2[.]643[.]5[.]1[.]13[.]13[.]12[.]2[.](0|[1-9][0-9]*)[.][1-9][0-9]*[.]100[.][1-9][0-9]*[.][1-9][0-9]*[.]16$')
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter 0..* Encounter An interaction during which services are provided to the patient
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: AllLanguages (required): IETF language tag for a human language
Additional BindingsPurpose
CommonLanguages Starter
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... Slices for identifier Σ 0..* Identifier Identifier(s) by which this encounter is known
Slice: Unordered, Open by pattern:type
.... identifier:All Slices Content/Rules for all slices
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Core ValueSet Типы идентификаторов (extensible)
..... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value ΣC 0..1 string The value that is unique
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... identifier:misEncounter ΣC 0..1 Identifier Идентификатор случая оказания медицинской помощи в экземпляре МИС
Constraints: core-encounter-mis-encounter-system
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 1..1 CodeableConcept Description of identifier
Binding: Core ValueSet Типы идентификаторов (extensible)
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.ru/ig/core/CodeSystem/core-cs-semd-identifier-type
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: mis-encounter
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value ΣC 1..1 string The value that is unique
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... identifier:misInpatientRecord ΣC 0..1 Identifier Номер стационарной медицинской карты в экземпляре МИС
Constraints: core-encounter-mis-inpatient-system
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 1..1 CodeableConcept Description of identifier
Binding: Core ValueSet Типы идентификаторов (extensible)
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.ru/ig/core/CodeSystem/core-cs-semd-identifier-type
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: mis-inpatient-record
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value ΣC 1..1 string The value that is unique
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... identifier:misAmbulatoryEncounter ΣC 0..1 Identifier Идентификатор амбулаторного случая или посещения в экземпляре МИС
Constraints: core-encounter-mis-ambulatory-system
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 1..1 CodeableConcept Description of identifier
Binding: Core ValueSet Типы идентификаторов (extensible)
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.ru/ig/core/CodeSystem/core-cs-semd-identifier-type
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: mis-ambulatory-encounter
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value ΣC 1..1 string The value that is unique
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... status ?!Σ 1..1 code planned | in-progress | on-hold | discharged | completed | cancelled | discontinued | entered-in-error | unknown
Binding: EncounterStatus (required): Current state of the encounter.
... class Σ 0..* CodeableConcept Classification of patient encounter context - e.g. Inpatient, outpatient
Binding: Encounter class (preferred): Classification of the encounter.
... priority 0..1 CodeableConcept Indicates the urgency of the encounter
Binding: ActPriority (example): Indicates the urgency of the encounter.
... type Σ 0..* CodeableConcept Specific type of encounter (e.g. e-mail consultation, surgical day-care, ...)
Binding: EncounterType (example): A specific code indicating type of service provided
... serviceType Σ 0..* CodeableReference(HealthcareService) Specific type of service
Binding: ServiceType (example): Broad categorization of the service that is to be provided.
... subject Σ 0..1 Reference(Core Patient (Пациент) | Group) Пациент
... subjectStatus 0..1 CodeableConcept The current status of the subject in relation to the Encounter
Binding: EncounterSubjectStatus (example): Current status of the subject within the encounter.
... episodeOfCare Σ 0..* Reference(Core EpisodeOfCare (Эпизод медицинской помощи)) Эпизод медицинской помощи
... basedOn 0..* Reference(CarePlan | DeviceRequest | MedicationRequest | ServiceRequest) The request that initiated this encounter
... careTeam 0..* Reference(CareTeam) The group(s) that are allocated to participate in this encounter
... partOf 0..1 Reference(Encounter) Another Encounter this encounter is part of
... serviceProvider 0..1 Reference(Core Organization (Организация)) Поставщик медицинских услуг
... participant ΣC 0..* BackboneElement List of participants involved in the encounter
Constraints: enc-1, enc-2
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type ΣC 0..* CodeableConcept Role of participant in encounter
Binding: ParticipantType (extensible): Role of participant in encounter.
.... period 0..1 Period Period of time during the encounter that the participant participated
.... actor ΣC 0..1 Reference(Patient | Group | RelatedPerson | Practitioner | PractitionerRole | Device | HealthcareService) The individual, device, or service participating in the encounter
... appointment Σ 0..* Reference(Appointment) The appointment that scheduled this encounter
... virtualService 0..* VirtualServiceDetail Connection details of a virtual service (e.g. conference call)
... actualPeriod 0..1 Period The actual start and end time of the encounter
... plannedStartDate 0..1 dateTime The planned start date/time (or admission date) of the encounter
... plannedEndDate 0..1 dateTime The planned end date/time (or discharge date) of the encounter
... length 0..1 Duration Actual quantity of time the encounter lasted (less time absent)
... reason Σ 0..* BackboneElement The list of medical reasons that are expected to be addressed during the episode of care
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... use Σ 0..* CodeableConcept What the reason value should be used for/as
Binding: EncounterReasonUse (example)
.... value Σ 0..* CodeableReference(Condition | DiagnosticReport | Observation | ImmunizationRecommendation | Procedure) Reason the encounter takes place (core or reference)
Binding: EncounterReasonCodes (preferred): Reason why the encounter takes place.
... diagnosis Σ 0..* BackboneElement Диагноз случая оказания медицинской помощи
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:rank 0..1 positiveInt Порядок диагноза в авторской последовательности врача
URL: https://fhir.ru/ig/core/StructureDefinition/diagnosis-rank
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... condition ΣC 1..* CodeableReference(Condition) Диагноз как код/текст и/или ссылка на Condition
Binding: ConditionProblemDiagnosisCodes (example)
Constraints: core-encounter-diagnosis-condition
.... Slices for use 0..* CodeableConcept Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …)
Slice: Unordered, Open by value:coding.system
Binding: EncounterDiagnosisUse (preferred): The type of diagnosis this condition represents.
..... use:diagnosisStructure 0..1 CodeableConcept Структура диагноза (рубрика)
Binding: Core ValueSet Виды нозологических единиц диагноза (required)
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..1 Coding Code defined by a terminology system
....... id 0..1 id Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: https://fhir.ru/ig/core/CodeSystem/core-cs-nsi-diagnosis-nosology-kind
....... version Σ 0..1 string Version of the system - if relevant
....... code ΣC 1..1 code Symbol in syntax defined by the system
Binding: Core ValueSet Виды нозологических единиц диагноза (required)
....... display ΣC 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... use:diagnosisStage 0..1 CodeableConcept Этапность установления диагноза
Binding: Core ValueSet Степень обоснованности диагноза (extensible)
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..1 Coding Code defined by a terminology system
....... id 0..1 id Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: https://fhir.ru/ig/core/CodeSystem/core-cs-nsi-diagnosis-justification-degree
....... version Σ 0..1 string Version of the system - if relevant
....... code ΣC 1..1 code Symbol in syntax defined by the system
Binding: Core ValueSet Степень обоснованности диагноза (extensible)
....... display ΣC 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
... account 0..* Reference(Account) The set of accounts that may be used for billing for this Encounter
... dietPreference 0..* CodeableConcept Diet preferences reported by the patient
Binding: EncounterDiet (example): Medical, cultural or ethical food preferences to help with catering requirements.
... specialArrangement 0..* CodeableConcept Wheelchair, translator, stretcher, etc
Binding: SpecialArrangements (preferred): Special arrangements.
... specialCourtesy 0..* CodeableConcept Special courtesies (VIP, board member)
Binding: SpecialCourtesy (preferred): Special courtesies.
... admission 0..1 BackboneElement Details about the admission to a healthcare service
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... preAdmissionIdentifier 0..1 Identifier Pre-admission identifier
.... origin 0..1 Reference(Location | Organization) The location/organization from which the patient came before admission
.... admitSource 0..1 CodeableConcept From where patient was admitted (physician referral, transfer)
Binding: AdmitSource (preferred): From where the patient was admitted.
.... reAdmission 0..1 CodeableConcept Indicates that the patient is being re-admitted
Binding: hl7VS-re-admissionIndicator (example): The reason for re-admission of this admission encounter.
.... destination 0..1 Reference(Location | Organization) Location/organization to which the patient is discharged
.... dischargeDisposition 0..1 CodeableConcept Category or kind of location after discharge
Binding: DischargeDisposition (example): Discharge Disposition.
... location 0..* BackboneElement List of locations where the patient has been
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... location 1..1 Reference(Location) Location the encounter takes place
.... status 0..1 code planned | active | reserved | completed
Binding: EncounterLocationStatus (required): The status of the location.
.... form 0..1 CodeableConcept The physical type of the location (usually the level in the location hierarchy - bed, room, ward, virtual etc.)
Binding: LocationForm (example): Physical form of the location.
.... period 0..1 Period Time period during which the patient was present at the location

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Encounter.language Base required All Languages 📍5.0.0 FHIR Std.
Encounter.identifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Encounter.identifier.​type Base extensible Core ValueSet Типы идентификаторов 📦0.18.0 This IG
Encounter.identifier:misEncounter.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Encounter.identifier:misEncounter.​type Base extensible Core ValueSet Типы идентификаторов 📦0.18.0 This IG
Encounter.identifier:misInpatientRecord.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Encounter.identifier:misInpatientRecord.​type Base extensible Core ValueSet Типы идентификаторов 📦0.18.0 This IG
Encounter.identifier:misAmbulatoryEncounter.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Encounter.identifier:misAmbulatoryEncounter.​type Base extensible Core ValueSet Типы идентификаторов 📦0.18.0 This IG
Encounter.status Base required Encounter Status 📍5.0.0 FHIR Std.
Encounter.class Base preferred Encounter class 📦2.0.1 THO v7.3
Encounter.priority Base example ActPriority 📦3.0.0 THO v7.3
Encounter.type Base example Encounter Type 📍5.0.0 FHIR Std.
Encounter.serviceType Base example Service Type 📍5.0.0 FHIR Std.
Encounter.subjectStatus Base example Encounter Subject Status 📍5.0.0 FHIR Std.
Encounter.participant.​type Base extensible Participant Type 📍5.0.0 FHIR Std.
Encounter.reason.use Base example Encounter Reason Use 📍5.0.0 FHIR Std.
Encounter.reason.value Base preferred Encounter Reason Codes 📍5.0.0 FHIR Std.
Encounter.diagnosis.​condition Base example Condition/Problem/Diagnosis Codes 📍5.0.0 FHIR Std.
Encounter.diagnosis.​use Base preferred Encounter Diagnosis Use 📍5.0.0 FHIR Std.
Encounter.diagnosis.​use:diagnosisStructure Base required Core ValueSet Виды нозологических единиц диагноза 📦0.18.0 This IG
Encounter.diagnosis.​use:diagnosisStructure.​coding.code Base required Core ValueSet Виды нозологических единиц диагноза 📦0.18.0 This IG
Encounter.diagnosis.​use:diagnosisStage Base extensible Core ValueSet Степень обоснованности диагноза 📦0.18.0 This IG
Encounter.diagnosis.​use:diagnosisStage.coding.​code Base extensible Core ValueSet Степень обоснованности диагноза 📦0.18.0 This IG
Encounter.dietPreference Base example Diet 📍5.0.0 FHIR Std.
Encounter.specialArrangement Base preferred Special Arrangements 📍5.0.0 FHIR Std.
Encounter.specialCourtesy Base preferred Special Courtesy 📍5.0.0 FHIR Std.
Encounter.admission.​admitSource Base preferred Admit Source 📍5.0.0 FHIR Std.
Encounter.admission.​reAdmission Base example hl7VS-re-admissionIndicator 📦3.0.0 THO v7.3
Encounter.admission.​dischargeDisposition Base example Discharge Disposition 📍5.0.0 FHIR Std.
Encounter.location.status Base required Encounter Location Status 📍5.0.0 FHIR Std.
Encounter.location.form Base example Location Form 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
core-encounter-diagnosis-condition error Encounter.diagnosis.condition В диагнозе случая должен быть указан код и/или текст и/или ссылка на ресурс Condition concept.exists() or reference.exists()
core-encounter-mis-ambulatory-system error Encounter.identifier:misAmbulatoryEncounter Система идентификатора амбулаторного случая или посещения в МИС должна соответствовать структуре urn:oid:1.2.643.5.1.13.13.12.2.{субъект РФ}.{медицинская организация ФРМО}.100.{МИС}.{экземпляр МИС}.17 system.matches('^urn:oid:1[.]2[.]643[.]5[.]1[.]13[.]13[.]12[.]2[.](0|[1-9][0-9]*)[.][1-9][0-9]*[.]100[.][1-9][0-9]*[.][1-9][0-9]*[.]17$')
core-encounter-mis-encounter-system error Encounter.identifier:misEncounter Система идентификатора общего случая в МИС должна соответствовать структуре urn:oid:1.2.643.5.1.13.13.12.2.{субъект РФ}.{медицинская организация ФРМО}.100.{МИС}.{экземпляр МИС}.15 system.matches('^urn:oid:1[.]2[.]643[.]5[.]1[.]13[.]13[.]12[.]2[.](0|[1-9][0-9]*)[.][1-9][0-9]*[.]100[.][1-9][0-9]*[.][1-9][0-9]*[.]15$')
core-encounter-mis-inpatient-system error Encounter.identifier:misInpatientRecord Система номера стационарной медицинской карты в МИС должна соответствовать структуре urn:oid:1.2.643.5.1.13.13.12.2.{субъект РФ}.{медицинская организация ФРМО}.100.{МИС}.{экземпляр МИС}.16 system.matches('^urn:oid:1[.]2[.]643[.]5[.]1[.]13[.]13[.]12[.]2[.](0|[1-9][0-9]*)[.][1-9][0-9]*[.]100[.][1-9][0-9]*[.][1-9][0-9]*[.]16$')
dom-2 error Encounter If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Encounter If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Encounter If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Encounter If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Encounter A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
enc-1 error Encounter.participant A type must be provided when no explicit actor is specified actor.exists() or type.exists()
enc-2 error Encounter.participant A type cannot be provided for a patient or group participant actor.exists(resolve() is Patient or resolve() is Group) implies type.exists().not()
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from Encounter

Summary

Mandatory: 0 element(16 nested mandatory elements)

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Encounter.identifier
  • The element 1 is sliced based on the value of Encounter.diagnosis.use

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter 0..* Encounter An interaction during which services are provided to the patient
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... identifier:All Slices Content/Rules for all slices
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Core ValueSet Типы идентификаторов (extensible)
.... identifier:misEncounter ΣC 0..1 Identifier Идентификатор случая оказания медицинской помощи в экземпляре МИС
Constraints: core-encounter-mis-encounter-system
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 1..1 CodeableConcept Description of identifier
Binding: Core ValueSet Типы идентификаторов (extensible)
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.ru/ig/core/CodeSystem/core-cs-semd-identifier-type
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: mis-encounter
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value ΣC 1..1 string The value that is unique
Example General: 123456
.... identifier:misInpatientRecord ΣC 0..1 Identifier Номер стационарной медицинской карты в экземпляре МИС
Constraints: core-encounter-mis-inpatient-system
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 1..1 CodeableConcept Description of identifier
Binding: Core ValueSet Типы идентификаторов (extensible)
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.ru/ig/core/CodeSystem/core-cs-semd-identifier-type
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: mis-inpatient-record
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value ΣC 1..1 string The value that is unique
Example General: 123456
.... identifier:misAmbulatoryEncounter ΣC 0..1 Identifier Идентификатор амбулаторного случая или посещения в экземпляре МИС
Constraints: core-encounter-mis-ambulatory-system
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 1..1 CodeableConcept Description of identifier
Binding: Core ValueSet Типы идентификаторов (extensible)
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.ru/ig/core/CodeSystem/core-cs-semd-identifier-type
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: mis-ambulatory-encounter
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value ΣC 1..1 string The value that is unique
Example General: 123456
... status ?!Σ 1..1 code planned | in-progress | on-hold | discharged | completed | cancelled | discontinued | entered-in-error | unknown
Binding: EncounterStatus (required): Current state of the encounter.
... subject Σ 0..1 Reference(Core Patient (Пациент) | Group) Пациент
... episodeOfCare Σ 0..* Reference(Core EpisodeOfCare (Эпизод медицинской помощи)) Эпизод медицинской помощи
... serviceProvider 0..1 Reference(Core Organization (Организация)) Поставщик медицинских услуг
... diagnosis Σ 0..* BackboneElement Диагноз случая оказания медицинской помощи
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:rank 0..1 positiveInt Порядок диагноза в авторской последовательности врача
URL: https://fhir.ru/ig/core/StructureDefinition/diagnosis-rank
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... condition ΣC 1..* CodeableReference(Condition) Диагноз как код/текст и/или ссылка на Condition
Binding: ConditionProblemDiagnosisCodes (example)
Constraints: core-encounter-diagnosis-condition
.... Slices for use 0..* CodeableConcept Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …)
Slice: Unordered, Open by value:coding.system
Binding: EncounterDiagnosisUse (preferred): The type of diagnosis this condition represents.
..... use:diagnosisStructure 0..1 CodeableConcept Структура диагноза (рубрика)
Binding: Core ValueSet Виды нозологических единиц диагноза (required)
...... coding Σ 1..1 Coding Code defined by a terminology system
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: https://fhir.ru/ig/core/CodeSystem/core-cs-nsi-diagnosis-nosology-kind
....... code ΣC 1..1 code Symbol in syntax defined by the system
Binding: Core ValueSet Виды нозологических единиц диагноза (required)
..... use:diagnosisStage 0..1 CodeableConcept Этапность установления диагноза
Binding: Core ValueSet Степень обоснованности диагноза (extensible)
...... coding Σ 1..1 Coding Code defined by a terminology system
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: https://fhir.ru/ig/core/CodeSystem/core-cs-nsi-diagnosis-justification-degree
....... code ΣC 1..1 code Symbol in syntax defined by the system
Binding: Core ValueSet Степень обоснованности диагноза (extensible)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Encounter.identifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Encounter.identifier.​type Base extensible Core ValueSet Типы идентификаторов 📦0.18.0 This IG
Encounter.identifier:misEncounter.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Encounter.identifier:misEncounter.​type Base extensible Core ValueSet Типы идентификаторов 📦0.18.0 This IG
Encounter.identifier:misInpatientRecord.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Encounter.identifier:misInpatientRecord.​type Base extensible Core ValueSet Типы идентификаторов 📦0.18.0 This IG
Encounter.identifier:misAmbulatoryEncounter.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Encounter.identifier:misAmbulatoryEncounter.​type Base extensible Core ValueSet Типы идентификаторов 📦0.18.0 This IG
Encounter.status Base required Encounter Status 📍5.0.0 FHIR Std.
Encounter.diagnosis.​condition Base example Condition/Problem/Diagnosis Codes 📍5.0.0 FHIR Std.
Encounter.diagnosis.​use Base preferred Encounter Diagnosis Use 📍5.0.0 FHIR Std.
Encounter.diagnosis.​use:diagnosisStructure Base required Core ValueSet Виды нозологических единиц диагноза 📦0.18.0 This IG
Encounter.diagnosis.​use:diagnosisStructure.​coding.code Base required Core ValueSet Виды нозологических единиц диагноза 📦0.18.0 This IG
Encounter.diagnosis.​use:diagnosisStage Base extensible Core ValueSet Степень обоснованности диагноза 📦0.18.0 This IG
Encounter.diagnosis.​use:diagnosisStage.coding.​code Base extensible Core ValueSet Степень обоснованности диагноза 📦0.18.0 This IG

Constraints

Id Grade Path(s) Description Expression
core-encounter-diagnosis-condition error Encounter.diagnosis.condition В диагнозе случая должен быть указан код и/или текст и/или ссылка на ресурс Condition concept.exists() or reference.exists()
core-encounter-mis-ambulatory-system error Encounter.identifier:misAmbulatoryEncounter Система идентификатора амбулаторного случая или посещения в МИС должна соответствовать структуре urn:oid:1.2.643.5.1.13.13.12.2.{субъект РФ}.{медицинская организация ФРМО}.100.{МИС}.{экземпляр МИС}.17 system.matches('^urn:oid:1[.]2[.]643[.]5[.]1[.]13[.]13[.]12[.]2[.](0|[1-9][0-9]*)[.][1-9][0-9]*[.]100[.][1-9][0-9]*[.][1-9][0-9]*[.]17$')
core-encounter-mis-encounter-system error Encounter.identifier:misEncounter Система идентификатора общего случая в МИС должна соответствовать структуре urn:oid:1.2.643.5.1.13.13.12.2.{субъект РФ}.{медицинская организация ФРМО}.100.{МИС}.{экземпляр МИС}.15 system.matches('^urn:oid:1[.]2[.]643[.]5[.]1[.]13[.]13[.]12[.]2[.](0|[1-9][0-9]*)[.][1-9][0-9]*[.]100[.][1-9][0-9]*[.][1-9][0-9]*[.]15$')
core-encounter-mis-inpatient-system error Encounter.identifier:misInpatientRecord Система номера стационарной медицинской карты в МИС должна соответствовать структуре urn:oid:1.2.643.5.1.13.13.12.2.{субъект РФ}.{медицинская организация ФРМО}.100.{МИС}.{экземпляр МИС}.16 system.matches('^urn:oid:1[.]2[.]643[.]5[.]1[.]13[.]13[.]12[.]2[.](0|[1-9][0-9]*)[.][1-9][0-9]*[.]100[.][1-9][0-9]*[.][1-9][0-9]*[.]16$')
dom-2 error Encounter If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Encounter If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Encounter If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Encounter If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Encounter A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from Encounter

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter 0..* Encounter An interaction during which services are provided to the patient
... Slices for identifier 0..* Identifier Identifier(s) by which this encounter is known
Slice: Unordered, Open by pattern:type
.... identifier:All Slices Content/Rules for all slices
..... type 0..1 CodeableConcept Description of identifier
Binding: Core ValueSet Типы идентификаторов (extensible)
.... identifier:misEncounter C 0..1 Identifier Идентификатор случая оказания медицинской помощи в экземпляре МИС
Constraints: core-encounter-mis-encounter-system
..... type 1..1 CodeableConcept Description of identifier
Required Pattern: At least the following
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.ru/ig/core/CodeSystem/core-cs-semd-identifier-type
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: mis-encounter
..... system 1..1 uri The namespace for the identifier value
..... value 1..1 string The value that is unique
.... identifier:misInpatientRecord C 0..1 Identifier Номер стационарной медицинской карты в экземпляре МИС
Constraints: core-encounter-mis-inpatient-system
..... type 1..1 CodeableConcept Description of identifier
Required Pattern: At least the following
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.ru/ig/core/CodeSystem/core-cs-semd-identifier-type
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: mis-inpatient-record
..... system 1..1 uri The namespace for the identifier value
..... value 1..1 string The value that is unique
.... identifier:misAmbulatoryEncounter C 0..1 Identifier Идентификатор амбулаторного случая или посещения в экземпляре МИС
Constraints: core-encounter-mis-ambulatory-system
..... type 1..1 CodeableConcept Description of identifier
Required Pattern: At least the following
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.ru/ig/core/CodeSystem/core-cs-semd-identifier-type
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: mis-ambulatory-encounter
..... system 1..1 uri The namespace for the identifier value
..... value 1..1 string The value that is unique
... subject 0..1 Reference(Core Patient (Пациент) | Group) Пациент
... episodeOfCare 0..* Reference(Core EpisodeOfCare (Эпизод медицинской помощи)) Эпизод медицинской помощи
... diagnosis 0..* BackboneElement Диагноз случая оказания медицинской помощи
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:rank 0..1 positiveInt Порядок диагноза в авторской последовательности врача
URL: https://fhir.ru/ig/core/StructureDefinition/diagnosis-rank
.... condition C 1..* CodeableReference(Condition) Диагноз как код/текст и/или ссылка на Condition
Constraints: core-encounter-diagnosis-condition
.... Slices for use 0..* CodeableConcept Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …)
Slice: Unordered, Open by value:coding.system
..... use:diagnosisStructure 0..1 CodeableConcept Структура диагноза (рубрика)
Binding: Core ValueSet Виды нозологических единиц диагноза (required)
...... coding 1..1 Coding Code defined by a terminology system
....... system 1..1 uri Identity of the terminology system
Required Pattern: https://fhir.ru/ig/core/CodeSystem/core-cs-nsi-diagnosis-nosology-kind
....... code 1..1 code Symbol in syntax defined by the system
Binding: Core ValueSet Виды нозологических единиц диагноза (required)
..... use:diagnosisStage 0..1 CodeableConcept Этапность установления диагноза
Binding: Core ValueSet Степень обоснованности диагноза (extensible)
...... coding 1..1 Coding Code defined by a terminology system
....... system 1..1 uri Identity of the terminology system
Required Pattern: https://fhir.ru/ig/core/CodeSystem/core-cs-nsi-diagnosis-justification-degree
....... code 1..1 code Symbol in syntax defined by the system
Binding: Core ValueSet Степень обоснованности диагноза (extensible)

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Encounter.identifier.​type Base extensible Core ValueSet Типы идентификаторов 📦0.18.0 This IG
Encounter.diagnosis.​use:diagnosisStructure Base required Core ValueSet Виды нозологических единиц диагноза 📦0.18.0 This IG
Encounter.diagnosis.​use:diagnosisStructure.​coding.code Base required Core ValueSet Виды нозологических единиц диагноза 📦0.18.0 This IG
Encounter.diagnosis.​use:diagnosisStage Base extensible Core ValueSet Степень обоснованности диагноза 📦0.18.0 This IG
Encounter.diagnosis.​use:diagnosisStage.coding.​code Base extensible Core ValueSet Степень обоснованности диагноза 📦0.18.0 This IG

Constraints

Id Grade Path(s) Description Expression
core-encounter-diagnosis-condition error Encounter.diagnosis.condition В диагнозе случая должен быть указан код и/или текст и/или ссылка на ресурс Condition concept.exists() or reference.exists()
core-encounter-mis-ambulatory-system error Encounter.identifier:misAmbulatoryEncounter Система идентификатора амбулаторного случая или посещения в МИС должна соответствовать структуре urn:oid:1.2.643.5.1.13.13.12.2.{субъект РФ}.{медицинская организация ФРМО}.100.{МИС}.{экземпляр МИС}.17 system.matches('^urn:oid:1[.]2[.]643[.]5[.]1[.]13[.]13[.]12[.]2[.](0|[1-9][0-9]*)[.][1-9][0-9]*[.]100[.][1-9][0-9]*[.][1-9][0-9]*[.]17$')
core-encounter-mis-encounter-system error Encounter.identifier:misEncounter Система идентификатора общего случая в МИС должна соответствовать структуре urn:oid:1.2.643.5.1.13.13.12.2.{субъект РФ}.{медицинская организация ФРМО}.100.{МИС}.{экземпляр МИС}.15 system.matches('^urn:oid:1[.]2[.]643[.]5[.]1[.]13[.]13[.]12[.]2[.](0|[1-9][0-9]*)[.][1-9][0-9]*[.]100[.][1-9][0-9]*[.][1-9][0-9]*[.]15$')
core-encounter-mis-inpatient-system error Encounter.identifier:misInpatientRecord Система номера стационарной медицинской карты в МИС должна соответствовать структуре urn:oid:1.2.643.5.1.13.13.12.2.{субъект РФ}.{медицинская организация ФРМО}.100.{МИС}.{экземпляр МИС}.16 system.matches('^urn:oid:1[.]2[.]643[.]5[.]1[.]13[.]13[.]12[.]2[.](0|[1-9][0-9]*)[.][1-9][0-9]*[.]100[.][1-9][0-9]*[.][1-9][0-9]*[.]16$')

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter 0..* Encounter An interaction during which services are provided to the patient
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: AllLanguages (required): IETF language tag for a human language
Additional BindingsPurpose
CommonLanguages Starter
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... Slices for identifier Σ 0..* Identifier Identifier(s) by which this encounter is known
Slice: Unordered, Open by pattern:type
.... identifier:All Slices Content/Rules for all slices
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Core ValueSet Типы идентификаторов (extensible)
..... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value ΣC 0..1 string The value that is unique
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... identifier:misEncounter ΣC 0..1 Identifier Идентификатор случая оказания медицинской помощи в экземпляре МИС
Constraints: core-encounter-mis-encounter-system
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 1..1 CodeableConcept Description of identifier
Binding: Core ValueSet Типы идентификаторов (extensible)
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.ru/ig/core/CodeSystem/core-cs-semd-identifier-type
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: mis-encounter
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value ΣC 1..1 string The value that is unique
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... identifier:misInpatientRecord ΣC 0..1 Identifier Номер стационарной медицинской карты в экземпляре МИС
Constraints: core-encounter-mis-inpatient-system
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 1..1 CodeableConcept Description of identifier
Binding: Core ValueSet Типы идентификаторов (extensible)
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.ru/ig/core/CodeSystem/core-cs-semd-identifier-type
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: mis-inpatient-record
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value ΣC 1..1 string The value that is unique
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... identifier:misAmbulatoryEncounter ΣC 0..1 Identifier Идентификатор амбулаторного случая или посещения в экземпляре МИС
Constraints: core-encounter-mis-ambulatory-system
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 1..1 CodeableConcept Description of identifier
Binding: Core ValueSet Типы идентификаторов (extensible)
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.ru/ig/core/CodeSystem/core-cs-semd-identifier-type
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: mis-ambulatory-encounter
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value ΣC 1..1 string The value that is unique
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... status ?!Σ 1..1 code planned | in-progress | on-hold | discharged | completed | cancelled | discontinued | entered-in-error | unknown
Binding: EncounterStatus (required): Current state of the encounter.
... class Σ 0..* CodeableConcept Classification of patient encounter context - e.g. Inpatient, outpatient
Binding: Encounter class (preferred): Classification of the encounter.
... priority 0..1 CodeableConcept Indicates the urgency of the encounter
Binding: ActPriority (example): Indicates the urgency of the encounter.
... type Σ 0..* CodeableConcept Specific type of encounter (e.g. e-mail consultation, surgical day-care, ...)
Binding: EncounterType (example): A specific code indicating type of service provided
... serviceType Σ 0..* CodeableReference(HealthcareService) Specific type of service
Binding: ServiceType (example): Broad categorization of the service that is to be provided.
... subject Σ 0..1 Reference(Core Patient (Пациент) | Group) Пациент
... subjectStatus 0..1 CodeableConcept The current status of the subject in relation to the Encounter
Binding: EncounterSubjectStatus (example): Current status of the subject within the encounter.
... episodeOfCare Σ 0..* Reference(Core EpisodeOfCare (Эпизод медицинской помощи)) Эпизод медицинской помощи
... basedOn 0..* Reference(CarePlan | DeviceRequest | MedicationRequest | ServiceRequest) The request that initiated this encounter
... careTeam 0..* Reference(CareTeam) The group(s) that are allocated to participate in this encounter
... partOf 0..1 Reference(Encounter) Another Encounter this encounter is part of
... serviceProvider 0..1 Reference(Core Organization (Организация)) Поставщик медицинских услуг
... participant ΣC 0..* BackboneElement List of participants involved in the encounter
Constraints: enc-1, enc-2
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type ΣC 0..* CodeableConcept Role of participant in encounter
Binding: ParticipantType (extensible): Role of participant in encounter.
.... period 0..1 Period Period of time during the encounter that the participant participated
.... actor ΣC 0..1 Reference(Patient | Group | RelatedPerson | Practitioner | PractitionerRole | Device | HealthcareService) The individual, device, or service participating in the encounter
... appointment Σ 0..* Reference(Appointment) The appointment that scheduled this encounter
... virtualService 0..* VirtualServiceDetail Connection details of a virtual service (e.g. conference call)
... actualPeriod 0..1 Period The actual start and end time of the encounter
... plannedStartDate 0..1 dateTime The planned start date/time (or admission date) of the encounter
... plannedEndDate 0..1 dateTime The planned end date/time (or discharge date) of the encounter
... length 0..1 Duration Actual quantity of time the encounter lasted (less time absent)
... reason Σ 0..* BackboneElement The list of medical reasons that are expected to be addressed during the episode of care
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... use Σ 0..* CodeableConcept What the reason value should be used for/as
Binding: EncounterReasonUse (example)
.... value Σ 0..* CodeableReference(Condition | DiagnosticReport | Observation | ImmunizationRecommendation | Procedure) Reason the encounter takes place (core or reference)
Binding: EncounterReasonCodes (preferred): Reason why the encounter takes place.
... diagnosis Σ 0..* BackboneElement Диагноз случая оказания медицинской помощи
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:rank 0..1 positiveInt Порядок диагноза в авторской последовательности врача
URL: https://fhir.ru/ig/core/StructureDefinition/diagnosis-rank
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... condition ΣC 1..* CodeableReference(Condition) Диагноз как код/текст и/или ссылка на Condition
Binding: ConditionProblemDiagnosisCodes (example)
Constraints: core-encounter-diagnosis-condition
.... Slices for use 0..* CodeableConcept Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …)
Slice: Unordered, Open by value:coding.system
Binding: EncounterDiagnosisUse (preferred): The type of diagnosis this condition represents.
..... use:diagnosisStructure 0..1 CodeableConcept Структура диагноза (рубрика)
Binding: Core ValueSet Виды нозологических единиц диагноза (required)
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..1 Coding Code defined by a terminology system
....... id 0..1 id Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: https://fhir.ru/ig/core/CodeSystem/core-cs-nsi-diagnosis-nosology-kind
....... version Σ 0..1 string Version of the system - if relevant
....... code ΣC 1..1 code Symbol in syntax defined by the system
Binding: Core ValueSet Виды нозологических единиц диагноза (required)
....... display ΣC 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... use:diagnosisStage 0..1 CodeableConcept Этапность установления диагноза
Binding: Core ValueSet Степень обоснованности диагноза (extensible)
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..1 Coding Code defined by a terminology system
....... id 0..1 id Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: https://fhir.ru/ig/core/CodeSystem/core-cs-nsi-diagnosis-justification-degree
....... version Σ 0..1 string Version of the system - if relevant
....... code ΣC 1..1 code Symbol in syntax defined by the system
Binding: Core ValueSet Степень обоснованности диагноза (extensible)
....... display ΣC 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
... account 0..* Reference(Account) The set of accounts that may be used for billing for this Encounter
... dietPreference 0..* CodeableConcept Diet preferences reported by the patient
Binding: EncounterDiet (example): Medical, cultural or ethical food preferences to help with catering requirements.
... specialArrangement 0..* CodeableConcept Wheelchair, translator, stretcher, etc
Binding: SpecialArrangements (preferred): Special arrangements.
... specialCourtesy 0..* CodeableConcept Special courtesies (VIP, board member)
Binding: SpecialCourtesy (preferred): Special courtesies.
... admission 0..1 BackboneElement Details about the admission to a healthcare service
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... preAdmissionIdentifier 0..1 Identifier Pre-admission identifier
.... origin 0..1 Reference(Location | Organization) The location/organization from which the patient came before admission
.... admitSource 0..1 CodeableConcept From where patient was admitted (physician referral, transfer)
Binding: AdmitSource (preferred): From where the patient was admitted.
.... reAdmission 0..1 CodeableConcept Indicates that the patient is being re-admitted
Binding: hl7VS-re-admissionIndicator (example): The reason for re-admission of this admission encounter.
.... destination 0..1 Reference(Location | Organization) Location/organization to which the patient is discharged
.... dischargeDisposition 0..1 CodeableConcept Category or kind of location after discharge
Binding: DischargeDisposition (example): Discharge Disposition.
... location 0..* BackboneElement List of locations where the patient has been
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... location 1..1 Reference(Location) Location the encounter takes place
.... status 0..1 code planned | active | reserved | completed
Binding: EncounterLocationStatus (required): The status of the location.
.... form 0..1 CodeableConcept The physical type of the location (usually the level in the location hierarchy - bed, room, ward, virtual etc.)
Binding: LocationForm (example): Physical form of the location.
.... period 0..1 Period Time period during which the patient was present at the location

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Encounter.language Base required All Languages 📍5.0.0 FHIR Std.
Encounter.identifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Encounter.identifier.​type Base extensible Core ValueSet Типы идентификаторов 📦0.18.0 This IG
Encounter.identifier:misEncounter.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Encounter.identifier:misEncounter.​type Base extensible Core ValueSet Типы идентификаторов 📦0.18.0 This IG
Encounter.identifier:misInpatientRecord.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Encounter.identifier:misInpatientRecord.​type Base extensible Core ValueSet Типы идентификаторов 📦0.18.0 This IG
Encounter.identifier:misAmbulatoryEncounter.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Encounter.identifier:misAmbulatoryEncounter.​type Base extensible Core ValueSet Типы идентификаторов 📦0.18.0 This IG
Encounter.status Base required Encounter Status 📍5.0.0 FHIR Std.
Encounter.class Base preferred Encounter class 📦2.0.1 THO v7.3
Encounter.priority Base example ActPriority 📦3.0.0 THO v7.3
Encounter.type Base example Encounter Type 📍5.0.0 FHIR Std.
Encounter.serviceType Base example Service Type 📍5.0.0 FHIR Std.
Encounter.subjectStatus Base example Encounter Subject Status 📍5.0.0 FHIR Std.
Encounter.participant.​type Base extensible Participant Type 📍5.0.0 FHIR Std.
Encounter.reason.use Base example Encounter Reason Use 📍5.0.0 FHIR Std.
Encounter.reason.value Base preferred Encounter Reason Codes 📍5.0.0 FHIR Std.
Encounter.diagnosis.​condition Base example Condition/Problem/Diagnosis Codes 📍5.0.0 FHIR Std.
Encounter.diagnosis.​use Base preferred Encounter Diagnosis Use 📍5.0.0 FHIR Std.
Encounter.diagnosis.​use:diagnosisStructure Base required Core ValueSet Виды нозологических единиц диагноза 📦0.18.0 This IG
Encounter.diagnosis.​use:diagnosisStructure.​coding.code Base required Core ValueSet Виды нозологических единиц диагноза 📦0.18.0 This IG
Encounter.diagnosis.​use:diagnosisStage Base extensible Core ValueSet Степень обоснованности диагноза 📦0.18.0 This IG
Encounter.diagnosis.​use:diagnosisStage.coding.​code Base extensible Core ValueSet Степень обоснованности диагноза 📦0.18.0 This IG
Encounter.dietPreference Base example Diet 📍5.0.0 FHIR Std.
Encounter.specialArrangement Base preferred Special Arrangements 📍5.0.0 FHIR Std.
Encounter.specialCourtesy Base preferred Special Courtesy 📍5.0.0 FHIR Std.
Encounter.admission.​admitSource Base preferred Admit Source 📍5.0.0 FHIR Std.
Encounter.admission.​reAdmission Base example hl7VS-re-admissionIndicator 📦3.0.0 THO v7.3
Encounter.admission.​dischargeDisposition Base example Discharge Disposition 📍5.0.0 FHIR Std.
Encounter.location.status Base required Encounter Location Status 📍5.0.0 FHIR Std.
Encounter.location.form Base example Location Form 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
core-encounter-diagnosis-condition error Encounter.diagnosis.condition В диагнозе случая должен быть указан код и/или текст и/или ссылка на ресурс Condition concept.exists() or reference.exists()
core-encounter-mis-ambulatory-system error Encounter.identifier:misAmbulatoryEncounter Система идентификатора амбулаторного случая или посещения в МИС должна соответствовать структуре urn:oid:1.2.643.5.1.13.13.12.2.{субъект РФ}.{медицинская организация ФРМО}.100.{МИС}.{экземпляр МИС}.17 system.matches('^urn:oid:1[.]2[.]643[.]5[.]1[.]13[.]13[.]12[.]2[.](0|[1-9][0-9]*)[.][1-9][0-9]*[.]100[.][1-9][0-9]*[.][1-9][0-9]*[.]17$')
core-encounter-mis-encounter-system error Encounter.identifier:misEncounter Система идентификатора общего случая в МИС должна соответствовать структуре urn:oid:1.2.643.5.1.13.13.12.2.{субъект РФ}.{медицинская организация ФРМО}.100.{МИС}.{экземпляр МИС}.15 system.matches('^urn:oid:1[.]2[.]643[.]5[.]1[.]13[.]13[.]12[.]2[.](0|[1-9][0-9]*)[.][1-9][0-9]*[.]100[.][1-9][0-9]*[.][1-9][0-9]*[.]15$')
core-encounter-mis-inpatient-system error Encounter.identifier:misInpatientRecord Система номера стационарной медицинской карты в МИС должна соответствовать структуре urn:oid:1.2.643.5.1.13.13.12.2.{субъект РФ}.{медицинская организация ФРМО}.100.{МИС}.{экземпляр МИС}.16 system.matches('^urn:oid:1[.]2[.]643[.]5[.]1[.]13[.]13[.]12[.]2[.](0|[1-9][0-9]*)[.][1-9][0-9]*[.]100[.][1-9][0-9]*[.][1-9][0-9]*[.]16$')
dom-2 error Encounter If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Encounter If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Encounter If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Encounter If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Encounter A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
enc-1 error Encounter.participant A type must be provided when no explicit actor is specified actor.exists() or type.exists()
enc-2 error Encounter.participant A type cannot be provided for a patient or group participant actor.exists(resolve() is Patient or resolve() is Group) implies type.exists().not()
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from Encounter

Summary

Mandatory: 0 element(16 nested mandatory elements)

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Encounter.identifier
  • The element 1 is sliced based on the value of Encounter.diagnosis.use

 

Other representations of profile: CSV, Excel, Schematron