0.1.0 - ci-build

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

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

Official URL: https://fhir.ru/ig/semd/StructureDefinition/semd-encounter Version: 0.1.0
Active as of 2025-07-15 Computable Name: SEMD_Encounter

Профиль Encounter для структурированных электронных медицинских документов

Usages:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter 0..* Core_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:misEncounterId SΣ 1..1 Identifier Номер случая обслуживания в МИС
..... 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: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
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: http://terminology.hl7.org/CodeSystem/v2-0203
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: MR
....... 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
Required Pattern: https://fhir.ru/ig/semd/systems/mis-encounter-id
.... identifier:medicalRecordId SΣ 0..1 Identifier Номер истории болезни
..... 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: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
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: http://terminology.hl7.org/CodeSystem/v2-0203
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: MR
....... 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
Required Pattern: https://fhir.ru/ig/semd/systems/inpatient-case-number
.... identifier:ambulatoryCardId SΣ 0..1 Identifier Номер амбулаторной карты
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type SΣ 1..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
...... Slices for coding SΣ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
....... coding:medicalCardType SΣ 1..1 Coding Code defined by a terminology system
Binding: Типы медицинских карт (required)
........ code ΣC 0..1 code Symbol in syntax defined by the system
Required Pattern: 1
........ display ΣC 0..1 string Representation defined by the system
Required Pattern: Амбулаторная карта
...... text SΣ 0..1 string Plain text representation of the concept
Required Pattern: Номер амбулаторной карты
..... system SΣ 1..1 uri The namespace for the identifier value
Required Pattern: https://fhir.ru/ig/semd/systems/ambulatory-card-number
..... value SΣ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.
... Slices for type SΣ 0..* CodeableConcept Тип случая (форма, вид, условия оказания помощи)
Slice: Unordered, Open by value:coding.system
Binding: EncounterType (example): A specific code indicating type of service provided
.... type:form SΣ 0..1 CodeableConcept Форма оказания медицинской помощи
Binding: Формы оказания медицинской помощи (required)
.... type:type SΣ 0..1 CodeableConcept Вид медицинской помощи
Binding: Виды медицинской помощи (required)
.... type:condition SΣ 0..1 CodeableConcept Условия оказания медицинской помощи
Binding: Условия оказания медицинской помощи (required)
... subject SΣ 1..1 Reference(Core Patient (Пациент)) Пациент
... partOf S 0..1 Reference(Encounter) Ссылка на вышестоящий случай оказания медицинской помощи
... serviceProvider S 0..1 Reference(Core Organization (Организация)) Поставщик медицинских услуг

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Encounter.identifier:misEncounterId.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
Encounter.identifier:misEncounterId.typeextensiblePattern Value: MR
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
Encounter.identifier:medicalRecordId.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
Encounter.identifier:medicalRecordId.typeextensiblePattern Value: MR
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
Encounter.identifier:ambulatoryCardId.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
Encounter.identifier:ambulatoryCardId.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
Encounter.identifier:ambulatoryCardId.type.coding:medicalCardTyperequiredSEMD_Vs_Nsi_Types_Medical_Cards(a valid code from Типы медицинских карт)
https://fhir.ru/ig/semd/ValueSet/semd-vs-nsi-types-medical-cards
From this IG
Encounter.statusrequiredEncounterStatus
http://hl7.org/fhir/ValueSet/encounter-status|5.0.0
From the FHIR Standard
Encounter.typeexampleEncounterType
http://hl7.org/fhir/ValueSet/encounter-type
From the FHIR Standard
Encounter.type:formrequiredSEMD_Vs_Nsi_Service_Form(a valid code from Формы оказания медицинской помощи)
https://fhir.ru/ig/semd/ValueSet/semd-vs-nsi-service-form
From this IG
Encounter.type:typerequiredSEMD_Vs_Nsi_Service_Types(a valid code from Виды медицинской помощи)
https://fhir.ru/ig/semd/ValueSet/semd-vs-nsi-service-types
From this IG
Encounter.type:conditionrequiredSEMD_Vs_Nsi_Service_Setting(a valid code from Условия оказания медицинской помощи)
https://fhir.ru/ig/semd/ValueSet/semd-vs-nsi-service-setting
From this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorEncounterIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorEncounterIf 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-4errorEncounterIf 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-5errorEncounterIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceEncounterA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Core_Encounter

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter Core_Encounter
... Slices for identifier 1..* Identifier Identifier(s) by which this encounter is known
Slice: Unordered, Open by value:system
.... identifier:misEncounterId S 1..1 Identifier Номер случая обслуживания в МИС
..... 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: http://terminology.hl7.org/CodeSystem/v2-0203
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: MR
..... system 1..1 uri The namespace for the identifier value
Required Pattern: https://fhir.ru/ig/semd/systems/mis-encounter-id
.... identifier:medicalRecordId S 0..1 Identifier Номер истории болезни
..... 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: http://terminology.hl7.org/CodeSystem/v2-0203
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: MR
..... system 1..1 uri The namespace for the identifier value
Required Pattern: https://fhir.ru/ig/semd/systems/inpatient-case-number
.... identifier:ambulatoryCardId S 0..1 Identifier Номер амбулаторной карты
..... type S 1..1 CodeableConcept Description of identifier
...... Slices for coding S 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
....... coding:medicalCardType S 1..1 Coding Code defined by a terminology system
Binding: Типы медицинских карт (required)
........ code 0..1 code Symbol in syntax defined by the system
Required Pattern: 1
........ display 0..1 string Representation defined by the system
Required Pattern: Амбулаторная карта
...... text S 0..1 string Plain text representation of the concept
Required Pattern: Номер амбулаторной карты
..... system S 1..1 uri The namespace for the identifier value
Required Pattern: https://fhir.ru/ig/semd/systems/ambulatory-card-number
..... value S 1..1 string The value that is unique
... Slices for type S 0..* CodeableConcept Тип случая (форма, вид, условия оказания помощи)
Slice: Unordered, Open by value:coding.system
.... type:form S 0..1 CodeableConcept Форма оказания медицинской помощи
Binding: Формы оказания медицинской помощи (required)
.... type:type S 0..1 CodeableConcept Вид медицинской помощи
Binding: Виды медицинской помощи (required)
.... type:condition S 0..1 CodeableConcept Условия оказания медицинской помощи
Binding: Условия оказания медицинской помощи (required)
... subject S 1..1 Reference(Core Patient (Пациент)) Пациент
... serviceProvider S 0..1 Reference(Core Organization (Организация)) Поставщик медицинских услуг

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Encounter.identifier:ambulatoryCardId.type.coding:medicalCardTyperequiredSEMD_Vs_Nsi_Types_Medical_Cards(a valid code from Типы медицинских карт)
https://fhir.ru/ig/semd/ValueSet/semd-vs-nsi-types-medical-cards
From this IG
Encounter.type:formrequiredSEMD_Vs_Nsi_Service_Form(a valid code from Формы оказания медицинской помощи)
https://fhir.ru/ig/semd/ValueSet/semd-vs-nsi-service-form
From this IG
Encounter.type:typerequiredSEMD_Vs_Nsi_Service_Types(a valid code from Виды медицинской помощи)
https://fhir.ru/ig/semd/ValueSet/semd-vs-nsi-service-types
From this IG
Encounter.type:conditionrequiredSEMD_Vs_Nsi_Service_Setting(a valid code from Условия оказания медицинской помощи)
https://fhir.ru/ig/semd/ValueSet/semd-vs-nsi-service-setting
From this IG
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter 0..* Core_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 Σ 1..* Identifier Identifier(s) by which this encounter is known
Slice: Unordered, Open by value:system
.... identifier:misEncounterId SΣ 1..1 Identifier Номер случая обслуживания в МИС
..... 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: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
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: http://terminology.hl7.org/CodeSystem/v2-0203
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: MR
....... 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
Required Pattern: https://fhir.ru/ig/semd/systems/mis-encounter-id
..... 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:medicalRecordId SΣ 0..1 Identifier Номер истории болезни
..... 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: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
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: http://terminology.hl7.org/CodeSystem/v2-0203
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: MR
....... 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
Required Pattern: https://fhir.ru/ig/semd/systems/inpatient-case-number
..... 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:ambulatoryCardId SΣ 0..1 Identifier Номер амбулаторной карты
..... 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 SΣ 1..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... Slices for coding SΣ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
....... coding:medicalCardType SΣ 1..1 Coding Code defined by a terminology system
Binding: Типы медицинских карт (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
........ system Σ 0..1 uri Identity of the terminology system
........ version Σ 0..1 string Version of the system - if relevant
........ code ΣC 0..1 code Symbol in syntax defined by the system
Required Pattern: 1
........ display ΣC 0..1 string Representation defined by the system
Required Pattern: Амбулаторная карта
........ userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text SΣ 0..1 string Plain text representation of the concept
Required Pattern: Номер амбулаторной карты
..... system SΣ 1..1 uri The namespace for the identifier value
Required Pattern: https://fhir.ru/ig/semd/systems/ambulatory-card-number
..... value SΣ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.
... Slices for type SΣ 0..* CodeableConcept Тип случая (форма, вид, условия оказания помощи)
Slice: Unordered, Open by value:coding.system
Binding: EncounterType (example): A specific code indicating type of service provided
.... type:form SΣ 0..1 CodeableConcept Форма оказания медицинской помощи
Binding: Формы оказания медицинской помощи (required)
.... type:type SΣ 0..1 CodeableConcept Вид медицинской помощи
Binding: Виды медицинской помощи (required)
.... type:condition SΣ 0..1 CodeableConcept Условия оказания медицинской помощи
Binding: Условия оказания медицинской помощи (required)
... serviceType Σ 0..* CodeableReference(HealthcareService) Specific type of service
Binding: ServiceType (example): Broad categorization of the service that is to be provided.
... subject SΣ 1..1 Reference(Core Patient (Пациент)) Пациент
... 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(Эпизод медицинской помощи) Эпизод медицинской помощи
... 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 S 0..1 Reference(Encounter) Ссылка на вышестоящий случай оказания медицинской помощи
... serviceProvider S 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 The list of diagnosis relevant to this encounter
.... 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
.... condition Σ 0..* CodeableReference(Condition) The diagnosis relevant to the encounter
Binding: ConditionProblemDiagnosisCodes (example)
.... use 0..* CodeableConcept Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …)
Binding: EncounterDiagnosisUse (preferred): The type of diagnosis this condition represents.
... 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

PathConformanceValueSet / CodeURI
Encounter.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
From the FHIR Standard
Encounter.identifier:misEncounterId.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
Encounter.identifier:misEncounterId.typeextensiblePattern Value: MR
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
Encounter.identifier:medicalRecordId.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
Encounter.identifier:medicalRecordId.typeextensiblePattern Value: MR
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
Encounter.identifier:ambulatoryCardId.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
Encounter.identifier:ambulatoryCardId.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
Encounter.identifier:ambulatoryCardId.type.coding:medicalCardTyperequiredSEMD_Vs_Nsi_Types_Medical_Cards(a valid code from Типы медицинских карт)
https://fhir.ru/ig/semd/ValueSet/semd-vs-nsi-types-medical-cards
From this IG
Encounter.statusrequiredEncounterStatus
http://hl7.org/fhir/ValueSet/encounter-status|5.0.0
From the FHIR Standard
Encounter.classpreferredEncounterClass
http://terminology.hl7.org/ValueSet/encounter-class
Encounter.priorityexampleActPriority
http://terminology.hl7.org/ValueSet/v3-ActPriority
Encounter.typeexampleEncounterType
http://hl7.org/fhir/ValueSet/encounter-type
From the FHIR Standard
Encounter.type:formrequiredSEMD_Vs_Nsi_Service_Form(a valid code from Формы оказания медицинской помощи)
https://fhir.ru/ig/semd/ValueSet/semd-vs-nsi-service-form
From this IG
Encounter.type:typerequiredSEMD_Vs_Nsi_Service_Types(a valid code from Виды медицинской помощи)
https://fhir.ru/ig/semd/ValueSet/semd-vs-nsi-service-types
From this IG
Encounter.type:conditionrequiredSEMD_Vs_Nsi_Service_Setting(a valid code from Условия оказания медицинской помощи)
https://fhir.ru/ig/semd/ValueSet/semd-vs-nsi-service-setting
From this IG
Encounter.serviceTypeexampleServiceType
http://hl7.org/fhir/ValueSet/service-type
From the FHIR Standard
Encounter.subjectStatusexampleEncounterSubjectStatus
http://hl7.org/fhir/ValueSet/encounter-subject-status
From the FHIR Standard
Encounter.participant.typeextensibleParticipantType
http://hl7.org/fhir/ValueSet/encounter-participant-type
From the FHIR Standard
Encounter.reason.useexampleEncounterReasonUse
http://hl7.org/fhir/ValueSet/encounter-reason-use
From the FHIR Standard
Encounter.reason.valuepreferredEncounterReasonCodes
http://hl7.org/fhir/ValueSet/encounter-reason
From the FHIR Standard
Encounter.diagnosis.conditionexampleConditionProblemDiagnosisCodes
http://hl7.org/fhir/ValueSet/condition-code
From the FHIR Standard
Encounter.diagnosis.usepreferredEncounterDiagnosisUse
http://hl7.org/fhir/ValueSet/encounter-diagnosis-use
From the FHIR Standard
Encounter.dietPreferenceexampleEncounterDiet
http://hl7.org/fhir/ValueSet/encounter-diet
From the FHIR Standard
Encounter.specialArrangementpreferredSpecialArrangements
http://hl7.org/fhir/ValueSet/encounter-special-arrangements
From the FHIR Standard
Encounter.specialCourtesypreferredSpecialCourtesy
http://hl7.org/fhir/ValueSet/encounter-special-courtesy
From the FHIR Standard
Encounter.admission.admitSourcepreferredAdmitSource
http://hl7.org/fhir/ValueSet/encounter-admit-source
From the FHIR Standard
Encounter.admission.reAdmissionexampleHl7VSReAdmissionIndicator
http://terminology.hl7.org/ValueSet/v2-0092
Encounter.admission.dischargeDispositionexampleDischargeDisposition
http://hl7.org/fhir/ValueSet/encounter-discharge-disposition
From the FHIR Standard
Encounter.location.statusrequiredEncounterLocationStatus
http://hl7.org/fhir/ValueSet/encounter-location-status|5.0.0
From the FHIR Standard
Encounter.location.formexampleLocationForm
http://hl7.org/fhir/ValueSet/location-form
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorEncounterIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorEncounterIf 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-4errorEncounterIf 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-5errorEncounterIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceEncounterA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
enc-1errorEncounter.participantA type must be provided when no explicit actor is specified
: actor.exists() or type.exists()
enc-2errorEncounter.participantA type cannot be provided for a patient or group participant
: actor.exists(resolve() is Patient or resolve() is Group) implies type.exists().not()
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Core_Encounter

Summary

Mandatory: 5 elements(7 nested mandatory elements)
Must-Support: 16 elements

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.identifier.type.coding
  • The element 1 is sliced based on the value of Encounter.type

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter 0..* Core_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:misEncounterId SΣ 1..1 Identifier Номер случая обслуживания в МИС
..... 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: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
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: http://terminology.hl7.org/CodeSystem/v2-0203
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: MR
....... 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
Required Pattern: https://fhir.ru/ig/semd/systems/mis-encounter-id
.... identifier:medicalRecordId SΣ 0..1 Identifier Номер истории болезни
..... 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: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
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: http://terminology.hl7.org/CodeSystem/v2-0203
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: MR
....... 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
Required Pattern: https://fhir.ru/ig/semd/systems/inpatient-case-number
.... identifier:ambulatoryCardId SΣ 0..1 Identifier Номер амбулаторной карты
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type SΣ 1..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
...... Slices for coding SΣ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
....... coding:medicalCardType SΣ 1..1 Coding Code defined by a terminology system
Binding: Типы медицинских карт (required)
........ code ΣC 0..1 code Symbol in syntax defined by the system
Required Pattern: 1
........ display ΣC 0..1 string Representation defined by the system
Required Pattern: Амбулаторная карта
...... text SΣ 0..1 string Plain text representation of the concept
Required Pattern: Номер амбулаторной карты
..... system SΣ 1..1 uri The namespace for the identifier value
Required Pattern: https://fhir.ru/ig/semd/systems/ambulatory-card-number
..... value SΣ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.
... Slices for type SΣ 0..* CodeableConcept Тип случая (форма, вид, условия оказания помощи)
Slice: Unordered, Open by value:coding.system
Binding: EncounterType (example): A specific code indicating type of service provided
.... type:form SΣ 0..1 CodeableConcept Форма оказания медицинской помощи
Binding: Формы оказания медицинской помощи (required)
.... type:type SΣ 0..1 CodeableConcept Вид медицинской помощи
Binding: Виды медицинской помощи (required)
.... type:condition SΣ 0..1 CodeableConcept Условия оказания медицинской помощи
Binding: Условия оказания медицинской помощи (required)
... subject SΣ 1..1 Reference(Core Patient (Пациент)) Пациент
... partOf S 0..1 Reference(Encounter) Ссылка на вышестоящий случай оказания медицинской помощи
... serviceProvider S 0..1 Reference(Core Organization (Организация)) Поставщик медицинских услуг

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Encounter.identifier:misEncounterId.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
Encounter.identifier:misEncounterId.typeextensiblePattern Value: MR
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
Encounter.identifier:medicalRecordId.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
Encounter.identifier:medicalRecordId.typeextensiblePattern Value: MR
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
Encounter.identifier:ambulatoryCardId.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
Encounter.identifier:ambulatoryCardId.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
Encounter.identifier:ambulatoryCardId.type.coding:medicalCardTyperequiredSEMD_Vs_Nsi_Types_Medical_Cards(a valid code from Типы медицинских карт)
https://fhir.ru/ig/semd/ValueSet/semd-vs-nsi-types-medical-cards
From this IG
Encounter.statusrequiredEncounterStatus
http://hl7.org/fhir/ValueSet/encounter-status|5.0.0
From the FHIR Standard
Encounter.typeexampleEncounterType
http://hl7.org/fhir/ValueSet/encounter-type
From the FHIR Standard
Encounter.type:formrequiredSEMD_Vs_Nsi_Service_Form(a valid code from Формы оказания медицинской помощи)
https://fhir.ru/ig/semd/ValueSet/semd-vs-nsi-service-form
From this IG
Encounter.type:typerequiredSEMD_Vs_Nsi_Service_Types(a valid code from Виды медицинской помощи)
https://fhir.ru/ig/semd/ValueSet/semd-vs-nsi-service-types
From this IG
Encounter.type:conditionrequiredSEMD_Vs_Nsi_Service_Setting(a valid code from Условия оказания медицинской помощи)
https://fhir.ru/ig/semd/ValueSet/semd-vs-nsi-service-setting
From this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorEncounterIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorEncounterIf 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-4errorEncounterIf 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-5errorEncounterIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceEncounterA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Differential View

This structure is derived from Core_Encounter

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter Core_Encounter
... Slices for identifier 1..* Identifier Identifier(s) by which this encounter is known
Slice: Unordered, Open by value:system
.... identifier:misEncounterId S 1..1 Identifier Номер случая обслуживания в МИС
..... 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: http://terminology.hl7.org/CodeSystem/v2-0203
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: MR
..... system 1..1 uri The namespace for the identifier value
Required Pattern: https://fhir.ru/ig/semd/systems/mis-encounter-id
.... identifier:medicalRecordId S 0..1 Identifier Номер истории болезни
..... 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: http://terminology.hl7.org/CodeSystem/v2-0203
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: MR
..... system 1..1 uri The namespace for the identifier value
Required Pattern: https://fhir.ru/ig/semd/systems/inpatient-case-number
.... identifier:ambulatoryCardId S 0..1 Identifier Номер амбулаторной карты
..... type S 1..1 CodeableConcept Description of identifier
...... Slices for coding S 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
....... coding:medicalCardType S 1..1 Coding Code defined by a terminology system
Binding: Типы медицинских карт (required)
........ code 0..1 code Symbol in syntax defined by the system
Required Pattern: 1
........ display 0..1 string Representation defined by the system
Required Pattern: Амбулаторная карта
...... text S 0..1 string Plain text representation of the concept
Required Pattern: Номер амбулаторной карты
..... system S 1..1 uri The namespace for the identifier value
Required Pattern: https://fhir.ru/ig/semd/systems/ambulatory-card-number
..... value S 1..1 string The value that is unique
... Slices for type S 0..* CodeableConcept Тип случая (форма, вид, условия оказания помощи)
Slice: Unordered, Open by value:coding.system
.... type:form S 0..1 CodeableConcept Форма оказания медицинской помощи
Binding: Формы оказания медицинской помощи (required)
.... type:type S 0..1 CodeableConcept Вид медицинской помощи
Binding: Виды медицинской помощи (required)
.... type:condition S 0..1 CodeableConcept Условия оказания медицинской помощи
Binding: Условия оказания медицинской помощи (required)
... subject S 1..1 Reference(Core Patient (Пациент)) Пациент
... serviceProvider S 0..1 Reference(Core Organization (Организация)) Поставщик медицинских услуг

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Encounter.identifier:ambulatoryCardId.type.coding:medicalCardTyperequiredSEMD_Vs_Nsi_Types_Medical_Cards(a valid code from Типы медицинских карт)
https://fhir.ru/ig/semd/ValueSet/semd-vs-nsi-types-medical-cards
From this IG
Encounter.type:formrequiredSEMD_Vs_Nsi_Service_Form(a valid code from Формы оказания медицинской помощи)
https://fhir.ru/ig/semd/ValueSet/semd-vs-nsi-service-form
From this IG
Encounter.type:typerequiredSEMD_Vs_Nsi_Service_Types(a valid code from Виды медицинской помощи)
https://fhir.ru/ig/semd/ValueSet/semd-vs-nsi-service-types
From this IG
Encounter.type:conditionrequiredSEMD_Vs_Nsi_Service_Setting(a valid code from Условия оказания медицинской помощи)
https://fhir.ru/ig/semd/ValueSet/semd-vs-nsi-service-setting
From this IG

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter 0..* Core_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 Σ 1..* Identifier Identifier(s) by which this encounter is known
Slice: Unordered, Open by value:system
.... identifier:misEncounterId SΣ 1..1 Identifier Номер случая обслуживания в МИС
..... 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: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
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: http://terminology.hl7.org/CodeSystem/v2-0203
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: MR
....... 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
Required Pattern: https://fhir.ru/ig/semd/systems/mis-encounter-id
..... 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:medicalRecordId SΣ 0..1 Identifier Номер истории болезни
..... 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: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
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: http://terminology.hl7.org/CodeSystem/v2-0203
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: MR
....... 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
Required Pattern: https://fhir.ru/ig/semd/systems/inpatient-case-number
..... 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:ambulatoryCardId SΣ 0..1 Identifier Номер амбулаторной карты
..... 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 SΣ 1..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... Slices for coding SΣ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
....... coding:medicalCardType SΣ 1..1 Coding Code defined by a terminology system
Binding: Типы медицинских карт (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
........ system Σ 0..1 uri Identity of the terminology system
........ version Σ 0..1 string Version of the system - if relevant
........ code ΣC 0..1 code Symbol in syntax defined by the system
Required Pattern: 1
........ display ΣC 0..1 string Representation defined by the system
Required Pattern: Амбулаторная карта
........ userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text SΣ 0..1 string Plain text representation of the concept
Required Pattern: Номер амбулаторной карты
..... system SΣ 1..1 uri The namespace for the identifier value
Required Pattern: https://fhir.ru/ig/semd/systems/ambulatory-card-number
..... value SΣ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.
... Slices for type SΣ 0..* CodeableConcept Тип случая (форма, вид, условия оказания помощи)
Slice: Unordered, Open by value:coding.system
Binding: EncounterType (example): A specific code indicating type of service provided
.... type:form SΣ 0..1 CodeableConcept Форма оказания медицинской помощи
Binding: Формы оказания медицинской помощи (required)
.... type:type SΣ 0..1 CodeableConcept Вид медицинской помощи
Binding: Виды медицинской помощи (required)
.... type:condition SΣ 0..1 CodeableConcept Условия оказания медицинской помощи
Binding: Условия оказания медицинской помощи (required)
... serviceType Σ 0..* CodeableReference(HealthcareService) Specific type of service
Binding: ServiceType (example): Broad categorization of the service that is to be provided.
... subject SΣ 1..1 Reference(Core Patient (Пациент)) Пациент
... 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(Эпизод медицинской помощи) Эпизод медицинской помощи
... 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 S 0..1 Reference(Encounter) Ссылка на вышестоящий случай оказания медицинской помощи
... serviceProvider S 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 The list of diagnosis relevant to this encounter
.... 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
.... condition Σ 0..* CodeableReference(Condition) The diagnosis relevant to the encounter
Binding: ConditionProblemDiagnosisCodes (example)
.... use 0..* CodeableConcept Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …)
Binding: EncounterDiagnosisUse (preferred): The type of diagnosis this condition represents.
... 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

PathConformanceValueSet / CodeURI
Encounter.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
From the FHIR Standard
Encounter.identifier:misEncounterId.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
Encounter.identifier:misEncounterId.typeextensiblePattern Value: MR
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
Encounter.identifier:medicalRecordId.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
Encounter.identifier:medicalRecordId.typeextensiblePattern Value: MR
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
Encounter.identifier:ambulatoryCardId.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
Encounter.identifier:ambulatoryCardId.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
Encounter.identifier:ambulatoryCardId.type.coding:medicalCardTyperequiredSEMD_Vs_Nsi_Types_Medical_Cards(a valid code from Типы медицинских карт)
https://fhir.ru/ig/semd/ValueSet/semd-vs-nsi-types-medical-cards
From this IG
Encounter.statusrequiredEncounterStatus
http://hl7.org/fhir/ValueSet/encounter-status|5.0.0
From the FHIR Standard
Encounter.classpreferredEncounterClass
http://terminology.hl7.org/ValueSet/encounter-class
Encounter.priorityexampleActPriority
http://terminology.hl7.org/ValueSet/v3-ActPriority
Encounter.typeexampleEncounterType
http://hl7.org/fhir/ValueSet/encounter-type
From the FHIR Standard
Encounter.type:formrequiredSEMD_Vs_Nsi_Service_Form(a valid code from Формы оказания медицинской помощи)
https://fhir.ru/ig/semd/ValueSet/semd-vs-nsi-service-form
From this IG
Encounter.type:typerequiredSEMD_Vs_Nsi_Service_Types(a valid code from Виды медицинской помощи)
https://fhir.ru/ig/semd/ValueSet/semd-vs-nsi-service-types
From this IG
Encounter.type:conditionrequiredSEMD_Vs_Nsi_Service_Setting(a valid code from Условия оказания медицинской помощи)
https://fhir.ru/ig/semd/ValueSet/semd-vs-nsi-service-setting
From this IG
Encounter.serviceTypeexampleServiceType
http://hl7.org/fhir/ValueSet/service-type
From the FHIR Standard
Encounter.subjectStatusexampleEncounterSubjectStatus
http://hl7.org/fhir/ValueSet/encounter-subject-status
From the FHIR Standard
Encounter.participant.typeextensibleParticipantType
http://hl7.org/fhir/ValueSet/encounter-participant-type
From the FHIR Standard
Encounter.reason.useexampleEncounterReasonUse
http://hl7.org/fhir/ValueSet/encounter-reason-use
From the FHIR Standard
Encounter.reason.valuepreferredEncounterReasonCodes
http://hl7.org/fhir/ValueSet/encounter-reason
From the FHIR Standard
Encounter.diagnosis.conditionexampleConditionProblemDiagnosisCodes
http://hl7.org/fhir/ValueSet/condition-code
From the FHIR Standard
Encounter.diagnosis.usepreferredEncounterDiagnosisUse
http://hl7.org/fhir/ValueSet/encounter-diagnosis-use
From the FHIR Standard
Encounter.dietPreferenceexampleEncounterDiet
http://hl7.org/fhir/ValueSet/encounter-diet
From the FHIR Standard
Encounter.specialArrangementpreferredSpecialArrangements
http://hl7.org/fhir/ValueSet/encounter-special-arrangements
From the FHIR Standard
Encounter.specialCourtesypreferredSpecialCourtesy
http://hl7.org/fhir/ValueSet/encounter-special-courtesy
From the FHIR Standard
Encounter.admission.admitSourcepreferredAdmitSource
http://hl7.org/fhir/ValueSet/encounter-admit-source
From the FHIR Standard
Encounter.admission.reAdmissionexampleHl7VSReAdmissionIndicator
http://terminology.hl7.org/ValueSet/v2-0092
Encounter.admission.dischargeDispositionexampleDischargeDisposition
http://hl7.org/fhir/ValueSet/encounter-discharge-disposition
From the FHIR Standard
Encounter.location.statusrequiredEncounterLocationStatus
http://hl7.org/fhir/ValueSet/encounter-location-status|5.0.0
From the FHIR Standard
Encounter.location.formexampleLocationForm
http://hl7.org/fhir/ValueSet/location-form
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorEncounterIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorEncounterIf 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-4errorEncounterIf 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-5errorEncounterIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceEncounterA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
enc-1errorEncounter.participantA type must be provided when no explicit actor is specified
: actor.exists() or type.exists()
enc-2errorEncounter.participantA type cannot be provided for a patient or group participant
: actor.exists(resolve() is Patient or resolve() is Group) implies type.exists().not()
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Core_Encounter

Summary

Mandatory: 5 elements(7 nested mandatory elements)
Must-Support: 16 elements

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.identifier.type.coding
  • The element 1 is sliced based on the value of Encounter.type

 

Other representations of profile: CSV, Excel, Schematron