DIPS Core Implementation Guide
0.1.0 - ci-build Norway

DIPS Core Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: DIPSR4Encounter

Official URL: http://dips.no/fhir/R4/StructureDefinition/DIPSR4Encounter Version: 0.1.0
Draft as of 2026-09-03 Computable Name: DIPSR4Encounter

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
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:ReferredBy 0..1 Reference(DIPSBasisPractitionerR4 | PractitionerRole) Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/ReferredBy
.... extension:DiagnoseGroup 0..1 CodeableConcept Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/DiagnoseGroupExtension
.... extension:PlannedContactEndTime 0..1 dateTime Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/PlannedContactEndTimeExtension
.... extension:Termination 0..1 CodeableConcept Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/TerminationExtension
.... extension:VideoUrl 0..1 string Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/VideoUrl
.... extension:DIPSLocation 0..1 Reference() Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/DipsLocationExtension
.... extension:departmentId 0..1 Reference() Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/Department
.... extension:Sectionid 0..1 Reference() Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/SectionExtension
.... extension:Reminder 0..1 boolean Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/Reminder
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier Σ 1..3 Identifier Identifier(s) by which this encounter is known
Slice: Unordered, Open by value:system
.... identifier:DIPS_Episode_of_CareID Σ 0..1 Identifier DIPS: ID of episode of care in DIPS (omsorgsepisode)
..... system Σ 1..1 uri DIPS: system for episode of care in DIPS
Fixed Value: http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid
..... value Σ 1..1 string DIPS: episode of care ID in DIPS
Example General: 123456
.... identifier:DIPSBookingId Σ 0..1 Identifier Identifier(s) by which this encounter is known
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-bookingid
..... value Σ 1..1 string The value that is unique
Example General: 123456
.... identifier:DIPSPlannedContactId Σ 0..1 Identifier Identifier(s) by which this encounter is known
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-plannedcontactid
..... value Σ 1..1 string The value that is unique
Example General: 123456
... class Σ 1..1 Coding DIPS: 'inpatient' for admitted patients, 'outpatient' for policlinical patients
Binding: DIPSEncounterV3 (required)
.... code Σ 0..1 code DIPS: 'inpatient' for admitted patients, 'short stay' for policlinical patients
... Slices for type Σ 0..* CodeableConcept Specific type of encounter
Slice: Unordered, Open by value:id
Binding: EncounterType (example): The type of encounter.
.... type:NprLevelOfCare Σ 0..1 CodeableConcept Specific type of encounter
Binding: EncounterType (example): The type of encounter.
..... id 1..1 string Unique id for inter-element referencing
Fixed Value: NprLevelOfCare
..... Slices for coding Σ 2..2 Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... Slices for coding Content/Rules for all slices
...... coding:DipsNprLevelOfCareCodeId Σ 1..1 Coding Code defined by a terminology system
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://dips.no/fhir/namingsystem/dips-nprlevelofcarecodeid
...... coding:NprLevelOfCareVolvenCode Σ 1..1 Coding Code defined by a terminology system
Binding: NprLevelOfCare (required)
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.8406
.... type:ContactType Σ 0..1 CodeableConcept Specific type of encounter
Binding: EncounterType (example): The type of encounter.
..... id 1..1 string Unique id for inter-element referencing
Fixed Value: ContactType
..... Slices for coding Σ 2..2 Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... Slices for coding Content/Rules for all slices
...... coding:DipsContactTypeCodeId Σ 1..1 Coding Code defined by a terminology system
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://dips.no/fhir/namingsystem/dips-contacttypecodeid
...... coding:ContactTypeVolvenCode Σ 1..1 Coding Code defined by a terminology system
Binding: DIPSEncounterTypeCom (required)
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.8240
... subject Σ 1..1 Reference(DIPSEncounterSubjectReference) The patient or group present at the encounter
... basedOn 0..1 Reference(DIPSEncounterServiceRequest) DIPS: a reference to the primary referral
... participant Σ 0..1 BackboneElement DIPS: ansvarlig behandler
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type Σ 1..1 CodeableConcept Role of participant in encounter
Binding: ParticipantType (extensible): Role of participant in encounter.
..... coding Σ 1..1 Coding Code defined by a terminology system
...... system Σ 0..1 uri DIPS: fixed system for participant type
Fixed Value: http://dips.no/fhir/encounter/participanttype
...... code Σ 0..1 code DIPS: always 'attending-doctor'
Fixed Value: attending-doctor
.... individual Σ 1..1 Reference(DIPSEncounterPractitionerReference) DIPS: a reference to the Practitioner resource for the requester
... appointment Σ 0..* Reference(DIPSAppointment) The appointment that scheduled this encounter
... period 0..1 Period DIPS: start and end date and time for the encounter.
.... start ΣC 1..1 dateTime DIPS: "oppmøtetid" for planned contacts, "inntid" with date and time for episodes of care (both in- and out-patients)
.... end ΣC 0..1 dateTime DIPS: "oppmøtetid" for planned contacts if finished, "uttid" with date and time for episodes of care (both in- and out-patients). "Planlagt uttid" of the current (non intensive care) ward stay is used for in-patients if there is no end time and the encounter is not finished.
... reasonCode Σ 0..1 CodeableConcept DIPS: reason as text
Binding: EncounterReasonCodes (preferred): Reason why the encounter takes place.
... location 0..* BackboneElement DIPS: bed or ward
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:bedTime 0..1 dateTime Extension
URL: http://dips.no/fhir/R4/StructureDefinition/BedTime
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... location 1..1 Reference(DIPSLocationReference) Location the encounter takes place
.... status 0..1 code DIPS: active | reserved | completed (see the definition for details)
Binding: EncounterLocationStatus (required)
.... period 0..1 Period DIPS: For bed/ward on ward stays, this is the in- and out times for the stay
... serviceProvider 1..1 Reference(DIPSEncounterOrganization | DipsOrganizationRef) DIPS: section if specified, otherwise department as a contained resource. The organization hierarchy is represented using partOf on the referenced resources (section -> department -> hospital).
... partOf 0..1 Reference(Encounter) DIPS: a reference to the "hospital stay" which is a minimal Encounter with an ID that is the same for the all episode(s) of care, also when a paitent has been transferred between departments
.... reference ΣC 0..1 string DIPS: reference to the Encounter for the planned contact that led to this Encounter

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Encounter.text.status Base required NarrativeStatus 📦4.0.1 FHIR Std.
Encounter.status Base required EncounterStatus 📍4.0.1 FHIR Std.
Encounter.statusHistory.​status Base required EncounterStatus 📍4.0.1 FHIR Std.
Encounter.class Base required DIPSEncounterV3 📦0.1.0 This IG
Encounter.classHistory.​class Base extensible ActEncounterCode 📦3.0.0 THO v7.3
Encounter.type Base example Encounter type 📍4.0.1 FHIR Std.
Encounter.type:NprLevelOfCare Base example Encounter type 📍4.0.1 FHIR Std.
Encounter.type:NprLevelOfCare.​coding:NprLevelOfCareVolvenCode Base required NprLevelOfCare 📦0.1.0 This IG
Encounter.type:ContactType Base example Encounter type 📍4.0.1 FHIR Std.
Encounter.type:ContactType.​coding:ContactTypeVolvenCode Base required DIPSEncounterTypeCom 📦0.1.0 This IG
Encounter.participant.​type Base extensible Participant type 📍4.0.1 FHIR Std.
Encounter.reasonCode Base preferred Encounter Reason Codes 📍4.0.1 FHIR Std.
Encounter.location.status Base required EncounterLocationStatus 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(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()
txt-1 error Encounter.text.div The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes htmlChecks()
txt-2 error Encounter.text.div The narrative SHALL have some non-whitespace content htmlChecks()

This structure is derived from Encounter

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter 0..* Encounter An interaction during which services are provided to the patient
... meta
.... id 0..0 Unique id for inter-element referencing
.... versionId 0..0 Version specific identifier
.... lastUpdated 0..0 When the resource version last changed
.... source 0..0 Identifies where the resource comes from
.... profile 0..1 canonical(StructureDefinition) Profiles this resource claims to conform to
.... security 0..1 Coding Security Labels applied to this resource
Binding: V3 Value SetConfidentialityClassification (required)
..... id 0..0 Unique id for inter-element referencing
..... version 0..0 Version of the system - if relevant
..... code 0..1 code supports normal and Very Restricted security labels only
Binding: V3 Value SetConfidentialityClassification (required)
..... display 0..0 Representation defined by the system
..... userSelected 0..0 If this coding was chosen directly by the user
.... tag 0..1 Coding Tags applied to this resource
..... id 0..0 Unique id for inter-element referencing
..... system 0..1 uri Identity of the terminology system
Fixed Value: http://dips.no/fhir/namingsystem/encountersource
..... version 0..0 Version of the system - if relevant
..... code 0..1 code episodeofcare | plannedcontact
Fixed Value: episodeofcare
..... display 0..0 Representation defined by the system
..... userSelected 0..0 If this coding was chosen directly by the user
... implicitRules 0..0 A set of rules under which this content was created
... language 0..0 Language of the resource content
... text 0..0 Text summary of the resource, for human interpretation
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:ReferredBy 0..1 Reference(DIPSBasisPractitionerR4 | PractitionerRole) Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/ReferredBy
.... extension:DiagnoseGroup 0..1 CodeableConcept Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/DiagnoseGroupExtension
.... extension:PlannedContactEndTime 0..1 dateTime Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/PlannedContactEndTimeExtension
.... extension:Termination 0..1 CodeableConcept Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/TerminationExtension
.... extension:VideoUrl 0..1 string Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/VideoUrl
.... extension:DIPSLocation 0..1 Reference() Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/DipsLocationExtension
.... extension:departmentId 0..1 Reference() Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/Department
.... extension:Sectionid 0..1 Reference() Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/SectionExtension
.... extension:Reminder 0..1 boolean Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/Reminder
... Slices for identifier 1..3 Identifier Identifier(s) by which this encounter is known
Slice: Unordered, Open by value:system
.... identifier:DIPS_Episode_of_CareID 0..1 Identifier DIPS: ID of episode of care in DIPS (omsorgsepisode)
..... id 0..0 Unique id for inter-element referencing
..... use 0..0 usual | official | temp | secondary | old (If known)
..... type 0..0 Description of identifier
..... system 1..1 uri DIPS: system for episode of care in DIPS
Fixed Value: http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid
..... value 1..1 string DIPS: episode of care ID in DIPS
..... period 0..0 Time period when id is/was valid for use
..... assigner 0..0 Organization that issued id (may be just text)
.... identifier:DIPSBookingId 0..1 Identifier Identifier(s) by which this encounter is known
..... id 0..0 Unique id for inter-element referencing
..... use 0..0 usual | official | temp | secondary | old (If known)
..... type 0..0 Description of identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-bookingid
..... value 1..1 string The value that is unique
..... period 0..0 Time period when id is/was valid for use
..... assigner 0..0 Organization that issued id (may be just text)
.... identifier:DIPSPlannedContactId 0..1 Identifier Identifier(s) by which this encounter is known
..... id 0..0 Unique id for inter-element referencing
..... use 0..0 usual | official | temp | secondary | old (If known)
..... type 0..0 Description of identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-plannedcontactid
..... value 1..1 string The value that is unique
..... period 0..0 Time period when id is/was valid for use
..... assigner 0..0 Organization that issued id (may be just text)
... status 1..1 code DIPS: planned | arrived | in-progress | onleave | finished | cancelled (see definition for details)
... statusHistory 0..0 List of past encounter statuses
... class 1..1 Coding DIPS: 'inpatient' for admitted patients, 'outpatient' for policlinical patients
Binding: DIPSEncounterV3 (required)
.... id 0..0 Unique id for inter-element referencing
.... version 0..0 Version of the system - if relevant
.... code 0..1 code DIPS: 'inpatient' for admitted patients, 'short stay' for policlinical patients
.... userSelected 0..0 If this coding was chosen directly by the user
... classHistory 0..0 List of past encounter classes
... Slices for type 0..* CodeableConcept Specific type of encounter
Slice: Unordered, Open by value:id
.... type:NprLevelOfCare 0..1 CodeableConcept Specific type of encounter
..... id 1..1 string Unique id for inter-element referencing
Fixed Value: NprLevelOfCare
..... Slices for coding 2..2 Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... Slices for coding Content/Rules for all slices
...... coding:DipsNprLevelOfCareCodeId 1..1 Coding Code defined by a terminology system
....... id 0..0 Unique id for inter-element referencing
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://dips.no/fhir/namingsystem/dips-nprlevelofcarecodeid
....... version 0..0 Version of the system - if relevant
....... userSelected 0..0 If this coding was chosen directly by the user
...... coding:NprLevelOfCareVolvenCode 1..1 Coding Code defined by a terminology system
Binding: NprLevelOfCare (required)
....... id 0..0 Unique id for inter-element referencing
....... system 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.8406
....... version 0..0 Version of the system - if relevant
....... userSelected 0..0 If this coding was chosen directly by the user
..... text 0..0 Plain text representation of the concept
.... type:ContactType 0..1 CodeableConcept Specific type of encounter
..... id 1..1 string Unique id for inter-element referencing
Fixed Value: ContactType
..... Slices for coding 2..2 Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... Slices for coding Content/Rules for all slices
...... coding:DipsContactTypeCodeId 1..1 Coding Code defined by a terminology system
....... id 0..0 Unique id for inter-element referencing
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://dips.no/fhir/namingsystem/dips-contacttypecodeid
....... version 0..0 Version of the system - if relevant
....... userSelected 0..0 If this coding was chosen directly by the user
...... coding:ContactTypeVolvenCode 1..1 Coding Code defined by a terminology system
Binding: DIPSEncounterTypeCom (required)
....... id 0..0 Unique id for inter-element referencing
....... system 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.8240
....... version 0..0 Version of the system - if relevant
....... userSelected 0..0 If this coding was chosen directly by the user
..... text 0..0 Plain text representation of the concept
... serviceType 0..0 Specific type of service
... priority 0..0 Indicates the urgency of the encounter
... subject 1..1 Reference(DIPSEncounterSubjectReference) The patient or group present at the encounter
... episodeOfCare 0..0 Episode(s) of care that this encounter should be recorded against
... basedOn 0..1 Reference(DIPSEncounterServiceRequest) DIPS: a reference to the primary referral
.... id 0..0 Unique id for inter-element referencing
.... type 0..0 Type the reference refers to (e.g. "Patient")
.... display 0..0 Text alternative for the resource
... participant 0..1 BackboneElement DIPS: ansvarlig behandler
.... id 0..0 Unique id for inter-element referencing
.... type 1..1 CodeableConcept Role of participant in encounter
..... coding 1..1 Coding Code defined by a terminology system
...... system 0..1 uri DIPS: fixed system for participant type
Fixed Value: http://dips.no/fhir/encounter/participanttype
...... version 0..0 Version of the system - if relevant
...... code 0..1 code DIPS: always 'attending-doctor'
Fixed Value: attending-doctor
...... display 0..0 Representation defined by the system
...... userSelected 0..0 If this coding was chosen directly by the user
.... period 0..0 Period of time during the encounter that the participant participated
.... individual 1..1 Reference(DIPSEncounterPractitionerReference) DIPS: a reference to the Practitioner resource for the requester
... appointment 0..* Reference(DIPSAppointment) The appointment that scheduled this encounter
.... id 0..0 Unique id for inter-element referencing
.... type 0..0 Type the reference refers to (e.g. "Patient")
... period 0..1 Period DIPS: start and end date and time for the encounter.
.... id 0..0 Unique id for inter-element referencing
.... start 1..1 dateTime DIPS: "oppmøtetid" for planned contacts, "inntid" with date and time for episodes of care (both in- and out-patients)
.... end 0..1 dateTime DIPS: "oppmøtetid" for planned contacts if finished, "uttid" with date and time for episodes of care (both in- and out-patients). "Planlagt uttid" of the current (non intensive care) ward stay is used for in-patients if there is no end time and the encounter is not finished.
... length 0..0 Quantity of time the encounter lasted (less time absent)
... reasonCode 0..1 CodeableConcept DIPS: reason as text
.... id 0..0 Unique id for inter-element referencing
.... coding 0..0 Code defined by a terminology system
... reasonReference 0..0 Reason the encounter takes place (reference)
... diagnosis 0..0 The list of diagnosis relevant to this encounter
... account 0..0 The set of accounts that may be used for billing for this Encounter
... hospitalization 0..0 Details about the admission to a healthcare service
... location 0..* BackboneElement DIPS: bed or ward
.... id 0..0 Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:bedTime 0..1 dateTime Extension
URL: http://dips.no/fhir/R4/StructureDefinition/BedTime
.... location 1..1 Reference(DIPSLocationReference) Location the encounter takes place
..... id 0..0 Unique id for inter-element referencing
..... type 0..0 Type the reference refers to (e.g. "Patient")
.... status 0..1 code DIPS: active | reserved | completed (see the definition for details)
Binding: EncounterLocationStatus (required)
.... physicalType
..... id 0..0 Unique id for inter-element referencing
..... coding 0..* Coding Code defined by a terminology system
Binding: LocationType (required)
...... id 0..0 Unique id for inter-element referencing
...... version 0..0 Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
Binding: LocationType (required)
...... userSelected 0..0 If this coding was chosen directly by the user
.... period 0..1 Period DIPS: For bed/ward on ward stays, this is the in- and out times for the stay
... serviceProvider 1..1 Reference(DIPSEncounterOrganization | DipsOrganizationRef) DIPS: section if specified, otherwise department as a contained resource. The organization hierarchy is represented using partOf on the referenced resources (section -> department -> hospital).
... partOf 0..1 Reference(Encounter) DIPS: a reference to the "hospital stay" which is a minimal Encounter with an ID that is the same for the all episode(s) of care, also when a paitent has been transferred between departments
.... id 0..0 Unique id for inter-element referencing
.... reference 0..1 string DIPS: reference to the Encounter for the planned contact that led to this Encounter
.... type 0..0 Type the reference refers to (e.g. "Patient")
.... identifier 0..0 Logical reference, when literal reference is not known
.... display 0..0 Text alternative for the resource

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Encounter.meta.security Base required V3 Value SetConfidentialityClassification 📦2014-03-26 FHIR Std.
Encounter.meta.security.​code Base required V3 Value SetConfidentialityClassification 📦2014-03-26 FHIR Std.
Encounter.text.status Base required NarrativeStatus 📦4.0.1 FHIR Std.
Encounter.class Base required DIPSEncounterV3 📦0.1.0 This IG
Encounter.type:NprLevelOfCare.​coding:NprLevelOfCareVolvenCode Base required NprLevelOfCare 📦0.1.0 This IG
Encounter.type:ContactType.​coding:ContactTypeVolvenCode Base required DIPSEncounterTypeCom 📦0.1.0 This IG
Encounter.location.status Base required EncounterLocationStatus 📦4.0.1 FHIR Std.
Encounter.location.physicalType.​coding Base required Location type 📦4.0.1 FHIR Std.
Encounter.location.physicalType.​coding.code Base required Location type 📦4.0.1 FHIR Std.
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
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... profile Σ 0..1 canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..1 Coding Security Labels applied to this resource
Binding: V3 Value SetConfidentialityClassification (required)
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 0..1 uri Identity of the terminology system
..... code Σ 0..1 code supports normal and Very Restricted security labels only
Binding: V3 Value SetConfidentialityClassification (required)
.... tag Σ 0..1 Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 0..1 uri Identity of the terminology system
Fixed Value: http://dips.no/fhir/namingsystem/encountersource
..... code Σ 0..1 code episodeofcare | plannedcontact
Fixed Value: episodeofcare
... contained 0..* Resource Contained, inline Resources
.... extension:ReferredBy 0..1 Reference(DIPSBasisPractitionerR4 | PractitionerRole) Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/ReferredBy
.... extension:DiagnoseGroup 0..1 CodeableConcept Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/DiagnoseGroupExtension
.... extension:PlannedContactEndTime 0..1 dateTime Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/PlannedContactEndTimeExtension
.... extension:Termination 0..1 CodeableConcept Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/TerminationExtension
.... extension:VideoUrl 0..1 string Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/VideoUrl
.... extension:DIPSLocation 0..1 Reference() Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/DipsLocationExtension
.... extension:departmentId 0..1 Reference() Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/Department
.... extension:Sectionid 0..1 Reference() Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/SectionExtension
.... extension:Reminder 0..1 boolean Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/Reminder
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier Σ 1..3 Identifier Identifier(s) by which this encounter is known
Slice: Unordered, Open by value:system
.... identifier:DIPS_Episode_of_CareID Σ 0..1 Identifier DIPS: ID of episode of care in DIPS (omsorgsepisode)
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri DIPS: system for episode of care in DIPS
Fixed Value: http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid
..... value Σ 1..1 string DIPS: episode of care ID in DIPS
Example General: 123456
.... identifier:DIPSBookingId Σ 0..1 Identifier Identifier(s) by which this encounter is known
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-bookingid
..... value Σ 1..1 string The value that is unique
Example General: 123456
.... identifier:DIPSPlannedContactId Σ 0..1 Identifier Identifier(s) by which this encounter is known
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-plannedcontactid
..... value Σ 1..1 string The value that is unique
Example General: 123456
... status ?!Σ 1..1 code DIPS: planned | arrived | in-progress | onleave | finished | cancelled (see definition for details)
Binding: EncounterStatus (required): Current state of the encounter.
... class Σ 1..1 Coding DIPS: 'inpatient' for admitted patients, 'outpatient' for policlinical patients
Binding: DIPSEncounterV3 (required)
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... system Σ 0..1 uri Identity of the terminology system
.... code Σ 0..1 code DIPS: 'inpatient' for admitted patients, 'short stay' for policlinical patients
.... display Σ 0..1 string Representation defined by the system
... Slices for type Σ 0..* CodeableConcept Specific type of encounter
Slice: Unordered, Open by value:id
Binding: EncounterType (example): The type of encounter.
.... type:NprLevelOfCare Σ 0..1 CodeableConcept Specific type of encounter
Binding: EncounterType (example): The type of encounter.
..... id 1..1 string Unique id for inter-element referencing
Fixed Value: NprLevelOfCare
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... Slices for coding Σ 2..2 Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... Slices for coding Content/Rules for all slices
...... coding:DipsNprLevelOfCareCodeId Σ 1..1 Coding Code defined by a terminology system
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://dips.no/fhir/namingsystem/dips-nprlevelofcarecodeid
....... code Σ 0..1 code Symbol in syntax defined by the system
....... display Σ 0..1 string Representation defined by the system
...... coding:NprLevelOfCareVolvenCode Σ 1..1 Coding Code defined by a terminology system
Binding: NprLevelOfCare (required)
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.8406
....... code Σ 0..1 code Symbol in syntax defined by the system
....... display Σ 0..1 string Representation defined by the system
.... type:ContactType Σ 0..1 CodeableConcept Specific type of encounter
Binding: EncounterType (example): The type of encounter.
..... id 1..1 string Unique id for inter-element referencing
Fixed Value: ContactType
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... Slices for coding Σ 2..2 Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... Slices for coding Content/Rules for all slices
...... coding:DipsContactTypeCodeId Σ 1..1 Coding Code defined by a terminology system
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://dips.no/fhir/namingsystem/dips-contacttypecodeid
....... code Σ 0..1 code Symbol in syntax defined by the system
....... display Σ 0..1 string Representation defined by the system
...... coding:ContactTypeVolvenCode Σ 1..1 Coding Code defined by a terminology system
Binding: DIPSEncounterTypeCom (required)
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.8240
....... code Σ 0..1 code Symbol in syntax defined by the system
....... display Σ 0..1 string Representation defined by the system
... subject Σ 1..1 Reference(DIPSEncounterSubjectReference) The patient or group present at the encounter
... basedOn 0..1 Reference(DIPSEncounterServiceRequest) DIPS: a reference to the primary referral
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
... participant Σ 0..1 BackboneElement DIPS: ansvarlig behandler
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type Σ 1..1 CodeableConcept Role of participant in encounter
Binding: ParticipantType (extensible): Role of participant in encounter.
..... id 0..1 string 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 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 0..1 uri DIPS: fixed system for participant type
Fixed Value: http://dips.no/fhir/encounter/participanttype
...... code Σ 0..1 code DIPS: always 'attending-doctor'
Fixed Value: attending-doctor
..... text Σ 0..1 string Plain text representation of the concept
.... individual Σ 1..1 Reference(DIPSEncounterPractitionerReference) DIPS: a reference to the Practitioner resource for the requester
... appointment Σ 0..* Reference(DIPSAppointment) The appointment that scheduled this encounter
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... period 0..1 Period DIPS: start and end date and time for the encounter.
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... start ΣC 1..1 dateTime DIPS: "oppmøtetid" for planned contacts, "inntid" with date and time for episodes of care (both in- and out-patients)
.... end ΣC 0..1 dateTime DIPS: "oppmøtetid" for planned contacts if finished, "uttid" with date and time for episodes of care (both in- and out-patients). "Planlagt uttid" of the current (non intensive care) ward stay is used for in-patients if there is no end time and the encounter is not finished.
... reasonCode Σ 0..1 CodeableConcept DIPS: reason as text
Binding: EncounterReasonCodes (preferred): Reason why the encounter takes place.
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... text Σ 0..1 string Plain text representation of the concept
... location 0..* BackboneElement DIPS: bed or ward
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:bedTime 0..1 dateTime Extension
URL: http://dips.no/fhir/R4/StructureDefinition/BedTime
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... location 1..1 Reference(DIPSLocationReference) Location the encounter takes place
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... display Σ 0..1 string Text alternative for the resource
.... status 0..1 code DIPS: active | reserved | completed (see the definition for details)
Binding: EncounterLocationStatus (required)
.... physicalType 0..1 CodeableConcept The physical type of the location (usually the level in the location hierachy - bed room ward etc.)
Binding: LocationType (example): Physical form of the location.
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ 0..* Coding Code defined by a terminology system
Binding: LocationType (required)
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 0..1 uri Identity of the terminology system
...... code Σ 0..1 code Symbol in syntax defined by the system
Binding: LocationType (required)
...... display Σ 0..1 string Representation defined by the system
..... text Σ 0..1 string Plain text representation of the concept
.... period 0..1 Period DIPS: For bed/ward on ward stays, this is the in- and out times for the stay
... serviceProvider 1..1 Reference(DIPSEncounterOrganization | DipsOrganizationRef) DIPS: section if specified, otherwise department as a contained resource. The organization hierarchy is represented using partOf on the referenced resources (section -> department -> hospital).
... partOf 0..1 Reference(Encounter) DIPS: a reference to the "hospital stay" which is a minimal Encounter with an ID that is the same for the all episode(s) of care, also when a paitent has been transferred between departments
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string DIPS: reference to the Encounter for the planned contact that led to this Encounter

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Encounter.meta.security Base required V3 Value SetConfidentialityClassification 📦2014-03-26 FHIR Std.
Encounter.meta.security.​code Base required V3 Value SetConfidentialityClassification 📦2014-03-26 FHIR Std.
Encounter.meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
Encounter.text.status Base required NarrativeStatus 📦4.0.1 FHIR Std.
Encounter.status Base required EncounterStatus 📍4.0.1 FHIR Std.
Encounter.statusHistory.​status Base required EncounterStatus 📍4.0.1 FHIR Std.
Encounter.class Base required DIPSEncounterV3 📦0.1.0 This IG
Encounter.classHistory.​class Base extensible ActEncounterCode 📦3.0.0 THO v7.3
Encounter.type Base example Encounter type 📍4.0.1 FHIR Std.
Encounter.type:NprLevelOfCare Base example Encounter type 📍4.0.1 FHIR Std.
Encounter.type:NprLevelOfCare.​coding:NprLevelOfCareVolvenCode Base required NprLevelOfCare 📦0.1.0 This IG
Encounter.type:ContactType Base example Encounter type 📍4.0.1 FHIR Std.
Encounter.type:ContactType.​coding:ContactTypeVolvenCode Base required DIPSEncounterTypeCom 📦0.1.0 This IG
Encounter.participant.​type Base extensible Participant type 📍4.0.1 FHIR Std.
Encounter.reasonCode Base preferred Encounter Reason Codes 📍4.0.1 FHIR Std.
Encounter.diagnosis.​use Base preferred DiagnosisRole 📍4.0.1 FHIR Std.
Encounter.hospitalization.​admitSource Base preferred Admit source 📍4.0.1 FHIR Std.
Encounter.hospitalization.​reAdmission Base example hl7VS-re-admissionIndicator 📦3.0.0 THO v7.3
Encounter.hospitalization.​dietPreference Base example Diet 📍4.0.1 FHIR Std.
Encounter.hospitalization.​specialCourtesy Base preferred Special courtesy 📍4.0.1 FHIR Std.
Encounter.hospitalization.​specialArrangement Base preferred Special arrangements 📍4.0.1 FHIR Std.
Encounter.hospitalization.​dischargeDisposition Base example Discharge disposition 📍4.0.1 FHIR Std.
Encounter.location.status Base required EncounterLocationStatus 📦4.0.1 FHIR Std.
Encounter.location.physicalType Base example Location type 📍4.0.1 FHIR Std.
Encounter.location.physicalType.​coding Base required Location type 📦4.0.1 FHIR Std.
Encounter.location.physicalType.​coding.code Base required Location type 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(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()
txt-1 error Encounter.text.div The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes htmlChecks()
txt-2 error Encounter.text.div The narrative SHALL have some non-whitespace content htmlChecks()

This structure is derived from Encounter

Summary

Mandatory: 3 elements(20 nested mandatory elements)
Fixed: 13 elements
Prohibited: 83 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.type
  • The element 1 is sliced based on the value of Encounter.type.coding

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter 0..* Encounter An interaction during which services are provided to the patient
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:ReferredBy 0..1 Reference(DIPSBasisPractitionerR4 | PractitionerRole) Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/ReferredBy
.... extension:DiagnoseGroup 0..1 CodeableConcept Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/DiagnoseGroupExtension
.... extension:PlannedContactEndTime 0..1 dateTime Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/PlannedContactEndTimeExtension
.... extension:Termination 0..1 CodeableConcept Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/TerminationExtension
.... extension:VideoUrl 0..1 string Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/VideoUrl
.... extension:DIPSLocation 0..1 Reference() Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/DipsLocationExtension
.... extension:departmentId 0..1 Reference() Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/Department
.... extension:Sectionid 0..1 Reference() Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/SectionExtension
.... extension:Reminder 0..1 boolean Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/Reminder
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier Σ 1..3 Identifier Identifier(s) by which this encounter is known
Slice: Unordered, Open by value:system
.... identifier:DIPS_Episode_of_CareID Σ 0..1 Identifier DIPS: ID of episode of care in DIPS (omsorgsepisode)
..... system Σ 1..1 uri DIPS: system for episode of care in DIPS
Fixed Value: http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid
..... value Σ 1..1 string DIPS: episode of care ID in DIPS
Example General: 123456
.... identifier:DIPSBookingId Σ 0..1 Identifier Identifier(s) by which this encounter is known
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-bookingid
..... value Σ 1..1 string The value that is unique
Example General: 123456
.... identifier:DIPSPlannedContactId Σ 0..1 Identifier Identifier(s) by which this encounter is known
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-plannedcontactid
..... value Σ 1..1 string The value that is unique
Example General: 123456
... class Σ 1..1 Coding DIPS: 'inpatient' for admitted patients, 'outpatient' for policlinical patients
Binding: DIPSEncounterV3 (required)
.... code Σ 0..1 code DIPS: 'inpatient' for admitted patients, 'short stay' for policlinical patients
... Slices for type Σ 0..* CodeableConcept Specific type of encounter
Slice: Unordered, Open by value:id
Binding: EncounterType (example): The type of encounter.
.... type:NprLevelOfCare Σ 0..1 CodeableConcept Specific type of encounter
Binding: EncounterType (example): The type of encounter.
..... id 1..1 string Unique id for inter-element referencing
Fixed Value: NprLevelOfCare
..... Slices for coding Σ 2..2 Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... Slices for coding Content/Rules for all slices
...... coding:DipsNprLevelOfCareCodeId Σ 1..1 Coding Code defined by a terminology system
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://dips.no/fhir/namingsystem/dips-nprlevelofcarecodeid
...... coding:NprLevelOfCareVolvenCode Σ 1..1 Coding Code defined by a terminology system
Binding: NprLevelOfCare (required)
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.8406
.... type:ContactType Σ 0..1 CodeableConcept Specific type of encounter
Binding: EncounterType (example): The type of encounter.
..... id 1..1 string Unique id for inter-element referencing
Fixed Value: ContactType
..... Slices for coding Σ 2..2 Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... Slices for coding Content/Rules for all slices
...... coding:DipsContactTypeCodeId Σ 1..1 Coding Code defined by a terminology system
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://dips.no/fhir/namingsystem/dips-contacttypecodeid
...... coding:ContactTypeVolvenCode Σ 1..1 Coding Code defined by a terminology system
Binding: DIPSEncounterTypeCom (required)
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.8240
... subject Σ 1..1 Reference(DIPSEncounterSubjectReference) The patient or group present at the encounter
... basedOn 0..1 Reference(DIPSEncounterServiceRequest) DIPS: a reference to the primary referral
... participant Σ 0..1 BackboneElement DIPS: ansvarlig behandler
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type Σ 1..1 CodeableConcept Role of participant in encounter
Binding: ParticipantType (extensible): Role of participant in encounter.
..... coding Σ 1..1 Coding Code defined by a terminology system
...... system Σ 0..1 uri DIPS: fixed system for participant type
Fixed Value: http://dips.no/fhir/encounter/participanttype
...... code Σ 0..1 code DIPS: always 'attending-doctor'
Fixed Value: attending-doctor
.... individual Σ 1..1 Reference(DIPSEncounterPractitionerReference) DIPS: a reference to the Practitioner resource for the requester
... appointment Σ 0..* Reference(DIPSAppointment) The appointment that scheduled this encounter
... period 0..1 Period DIPS: start and end date and time for the encounter.
.... start ΣC 1..1 dateTime DIPS: "oppmøtetid" for planned contacts, "inntid" with date and time for episodes of care (both in- and out-patients)
.... end ΣC 0..1 dateTime DIPS: "oppmøtetid" for planned contacts if finished, "uttid" with date and time for episodes of care (both in- and out-patients). "Planlagt uttid" of the current (non intensive care) ward stay is used for in-patients if there is no end time and the encounter is not finished.
... reasonCode Σ 0..1 CodeableConcept DIPS: reason as text
Binding: EncounterReasonCodes (preferred): Reason why the encounter takes place.
... location 0..* BackboneElement DIPS: bed or ward
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:bedTime 0..1 dateTime Extension
URL: http://dips.no/fhir/R4/StructureDefinition/BedTime
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... location 1..1 Reference(DIPSLocationReference) Location the encounter takes place
.... status 0..1 code DIPS: active | reserved | completed (see the definition for details)
Binding: EncounterLocationStatus (required)
.... period 0..1 Period DIPS: For bed/ward on ward stays, this is the in- and out times for the stay
... serviceProvider 1..1 Reference(DIPSEncounterOrganization | DipsOrganizationRef) DIPS: section if specified, otherwise department as a contained resource. The organization hierarchy is represented using partOf on the referenced resources (section -> department -> hospital).
... partOf 0..1 Reference(Encounter) DIPS: a reference to the "hospital stay" which is a minimal Encounter with an ID that is the same for the all episode(s) of care, also when a paitent has been transferred between departments
.... reference ΣC 0..1 string DIPS: reference to the Encounter for the planned contact that led to this Encounter

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Encounter.text.status Base required NarrativeStatus 📦4.0.1 FHIR Std.
Encounter.status Base required EncounterStatus 📍4.0.1 FHIR Std.
Encounter.statusHistory.​status Base required EncounterStatus 📍4.0.1 FHIR Std.
Encounter.class Base required DIPSEncounterV3 📦0.1.0 This IG
Encounter.classHistory.​class Base extensible ActEncounterCode 📦3.0.0 THO v7.3
Encounter.type Base example Encounter type 📍4.0.1 FHIR Std.
Encounter.type:NprLevelOfCare Base example Encounter type 📍4.0.1 FHIR Std.
Encounter.type:NprLevelOfCare.​coding:NprLevelOfCareVolvenCode Base required NprLevelOfCare 📦0.1.0 This IG
Encounter.type:ContactType Base example Encounter type 📍4.0.1 FHIR Std.
Encounter.type:ContactType.​coding:ContactTypeVolvenCode Base required DIPSEncounterTypeCom 📦0.1.0 This IG
Encounter.participant.​type Base extensible Participant type 📍4.0.1 FHIR Std.
Encounter.reasonCode Base preferred Encounter Reason Codes 📍4.0.1 FHIR Std.
Encounter.location.status Base required EncounterLocationStatus 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(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()
txt-1 error Encounter.text.div The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes htmlChecks()
txt-2 error Encounter.text.div The narrative SHALL have some non-whitespace content htmlChecks()

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
... meta
.... id 0..0 Unique id for inter-element referencing
.... versionId 0..0 Version specific identifier
.... lastUpdated 0..0 When the resource version last changed
.... source 0..0 Identifies where the resource comes from
.... profile 0..1 canonical(StructureDefinition) Profiles this resource claims to conform to
.... security 0..1 Coding Security Labels applied to this resource
Binding: V3 Value SetConfidentialityClassification (required)
..... id 0..0 Unique id for inter-element referencing
..... version 0..0 Version of the system - if relevant
..... code 0..1 code supports normal and Very Restricted security labels only
Binding: V3 Value SetConfidentialityClassification (required)
..... display 0..0 Representation defined by the system
..... userSelected 0..0 If this coding was chosen directly by the user
.... tag 0..1 Coding Tags applied to this resource
..... id 0..0 Unique id for inter-element referencing
..... system 0..1 uri Identity of the terminology system
Fixed Value: http://dips.no/fhir/namingsystem/encountersource
..... version 0..0 Version of the system - if relevant
..... code 0..1 code episodeofcare | plannedcontact
Fixed Value: episodeofcare
..... display 0..0 Representation defined by the system
..... userSelected 0..0 If this coding was chosen directly by the user
... implicitRules 0..0 A set of rules under which this content was created
... language 0..0 Language of the resource content
... text 0..0 Text summary of the resource, for human interpretation
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:ReferredBy 0..1 Reference(DIPSBasisPractitionerR4 | PractitionerRole) Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/ReferredBy
.... extension:DiagnoseGroup 0..1 CodeableConcept Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/DiagnoseGroupExtension
.... extension:PlannedContactEndTime 0..1 dateTime Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/PlannedContactEndTimeExtension
.... extension:Termination 0..1 CodeableConcept Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/TerminationExtension
.... extension:VideoUrl 0..1 string Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/VideoUrl
.... extension:DIPSLocation 0..1 Reference() Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/DipsLocationExtension
.... extension:departmentId 0..1 Reference() Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/Department
.... extension:Sectionid 0..1 Reference() Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/SectionExtension
.... extension:Reminder 0..1 boolean Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/Reminder
... Slices for identifier 1..3 Identifier Identifier(s) by which this encounter is known
Slice: Unordered, Open by value:system
.... identifier:DIPS_Episode_of_CareID 0..1 Identifier DIPS: ID of episode of care in DIPS (omsorgsepisode)
..... id 0..0 Unique id for inter-element referencing
..... use 0..0 usual | official | temp | secondary | old (If known)
..... type 0..0 Description of identifier
..... system 1..1 uri DIPS: system for episode of care in DIPS
Fixed Value: http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid
..... value 1..1 string DIPS: episode of care ID in DIPS
..... period 0..0 Time period when id is/was valid for use
..... assigner 0..0 Organization that issued id (may be just text)
.... identifier:DIPSBookingId 0..1 Identifier Identifier(s) by which this encounter is known
..... id 0..0 Unique id for inter-element referencing
..... use 0..0 usual | official | temp | secondary | old (If known)
..... type 0..0 Description of identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-bookingid
..... value 1..1 string The value that is unique
..... period 0..0 Time period when id is/was valid for use
..... assigner 0..0 Organization that issued id (may be just text)
.... identifier:DIPSPlannedContactId 0..1 Identifier Identifier(s) by which this encounter is known
..... id 0..0 Unique id for inter-element referencing
..... use 0..0 usual | official | temp | secondary | old (If known)
..... type 0..0 Description of identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-plannedcontactid
..... value 1..1 string The value that is unique
..... period 0..0 Time period when id is/was valid for use
..... assigner 0..0 Organization that issued id (may be just text)
... status 1..1 code DIPS: planned | arrived | in-progress | onleave | finished | cancelled (see definition for details)
... statusHistory 0..0 List of past encounter statuses
... class 1..1 Coding DIPS: 'inpatient' for admitted patients, 'outpatient' for policlinical patients
Binding: DIPSEncounterV3 (required)
.... id 0..0 Unique id for inter-element referencing
.... version 0..0 Version of the system - if relevant
.... code 0..1 code DIPS: 'inpatient' for admitted patients, 'short stay' for policlinical patients
.... userSelected 0..0 If this coding was chosen directly by the user
... classHistory 0..0 List of past encounter classes
... Slices for type 0..* CodeableConcept Specific type of encounter
Slice: Unordered, Open by value:id
.... type:NprLevelOfCare 0..1 CodeableConcept Specific type of encounter
..... id 1..1 string Unique id for inter-element referencing
Fixed Value: NprLevelOfCare
..... Slices for coding 2..2 Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... Slices for coding Content/Rules for all slices
...... coding:DipsNprLevelOfCareCodeId 1..1 Coding Code defined by a terminology system
....... id 0..0 Unique id for inter-element referencing
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://dips.no/fhir/namingsystem/dips-nprlevelofcarecodeid
....... version 0..0 Version of the system - if relevant
....... userSelected 0..0 If this coding was chosen directly by the user
...... coding:NprLevelOfCareVolvenCode 1..1 Coding Code defined by a terminology system
Binding: NprLevelOfCare (required)
....... id 0..0 Unique id for inter-element referencing
....... system 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.8406
....... version 0..0 Version of the system - if relevant
....... userSelected 0..0 If this coding was chosen directly by the user
..... text 0..0 Plain text representation of the concept
.... type:ContactType 0..1 CodeableConcept Specific type of encounter
..... id 1..1 string Unique id for inter-element referencing
Fixed Value: ContactType
..... Slices for coding 2..2 Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... Slices for coding Content/Rules for all slices
...... coding:DipsContactTypeCodeId 1..1 Coding Code defined by a terminology system
....... id 0..0 Unique id for inter-element referencing
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://dips.no/fhir/namingsystem/dips-contacttypecodeid
....... version 0..0 Version of the system - if relevant
....... userSelected 0..0 If this coding was chosen directly by the user
...... coding:ContactTypeVolvenCode 1..1 Coding Code defined by a terminology system
Binding: DIPSEncounterTypeCom (required)
....... id 0..0 Unique id for inter-element referencing
....... system 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.8240
....... version 0..0 Version of the system - if relevant
....... userSelected 0..0 If this coding was chosen directly by the user
..... text 0..0 Plain text representation of the concept
... serviceType 0..0 Specific type of service
... priority 0..0 Indicates the urgency of the encounter
... subject 1..1 Reference(DIPSEncounterSubjectReference) The patient or group present at the encounter
... episodeOfCare 0..0 Episode(s) of care that this encounter should be recorded against
... basedOn 0..1 Reference(DIPSEncounterServiceRequest) DIPS: a reference to the primary referral
.... id 0..0 Unique id for inter-element referencing
.... type 0..0 Type the reference refers to (e.g. "Patient")
.... display 0..0 Text alternative for the resource
... participant 0..1 BackboneElement DIPS: ansvarlig behandler
.... id 0..0 Unique id for inter-element referencing
.... type 1..1 CodeableConcept Role of participant in encounter
..... coding 1..1 Coding Code defined by a terminology system
...... system 0..1 uri DIPS: fixed system for participant type
Fixed Value: http://dips.no/fhir/encounter/participanttype
...... version 0..0 Version of the system - if relevant
...... code 0..1 code DIPS: always 'attending-doctor'
Fixed Value: attending-doctor
...... display 0..0 Representation defined by the system
...... userSelected 0..0 If this coding was chosen directly by the user
.... period 0..0 Period of time during the encounter that the participant participated
.... individual 1..1 Reference(DIPSEncounterPractitionerReference) DIPS: a reference to the Practitioner resource for the requester
... appointment 0..* Reference(DIPSAppointment) The appointment that scheduled this encounter
.... id 0..0 Unique id for inter-element referencing
.... type 0..0 Type the reference refers to (e.g. "Patient")
... period 0..1 Period DIPS: start and end date and time for the encounter.
.... id 0..0 Unique id for inter-element referencing
.... start 1..1 dateTime DIPS: "oppmøtetid" for planned contacts, "inntid" with date and time for episodes of care (both in- and out-patients)
.... end 0..1 dateTime DIPS: "oppmøtetid" for planned contacts if finished, "uttid" with date and time for episodes of care (both in- and out-patients). "Planlagt uttid" of the current (non intensive care) ward stay is used for in-patients if there is no end time and the encounter is not finished.
... length 0..0 Quantity of time the encounter lasted (less time absent)
... reasonCode 0..1 CodeableConcept DIPS: reason as text
.... id 0..0 Unique id for inter-element referencing
.... coding 0..0 Code defined by a terminology system
... reasonReference 0..0 Reason the encounter takes place (reference)
... diagnosis 0..0 The list of diagnosis relevant to this encounter
... account 0..0 The set of accounts that may be used for billing for this Encounter
... hospitalization 0..0 Details about the admission to a healthcare service
... location 0..* BackboneElement DIPS: bed or ward
.... id 0..0 Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:bedTime 0..1 dateTime Extension
URL: http://dips.no/fhir/R4/StructureDefinition/BedTime
.... location 1..1 Reference(DIPSLocationReference) Location the encounter takes place
..... id 0..0 Unique id for inter-element referencing
..... type 0..0 Type the reference refers to (e.g. "Patient")
.... status 0..1 code DIPS: active | reserved | completed (see the definition for details)
Binding: EncounterLocationStatus (required)
.... physicalType
..... id 0..0 Unique id for inter-element referencing
..... coding 0..* Coding Code defined by a terminology system
Binding: LocationType (required)
...... id 0..0 Unique id for inter-element referencing
...... version 0..0 Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
Binding: LocationType (required)
...... userSelected 0..0 If this coding was chosen directly by the user
.... period 0..1 Period DIPS: For bed/ward on ward stays, this is the in- and out times for the stay
... serviceProvider 1..1 Reference(DIPSEncounterOrganization | DipsOrganizationRef) DIPS: section if specified, otherwise department as a contained resource. The organization hierarchy is represented using partOf on the referenced resources (section -> department -> hospital).
... partOf 0..1 Reference(Encounter) DIPS: a reference to the "hospital stay" which is a minimal Encounter with an ID that is the same for the all episode(s) of care, also when a paitent has been transferred between departments
.... id 0..0 Unique id for inter-element referencing
.... reference 0..1 string DIPS: reference to the Encounter for the planned contact that led to this Encounter
.... type 0..0 Type the reference refers to (e.g. "Patient")
.... identifier 0..0 Logical reference, when literal reference is not known
.... display 0..0 Text alternative for the resource

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Encounter.meta.security Base required V3 Value SetConfidentialityClassification 📦2014-03-26 FHIR Std.
Encounter.meta.security.​code Base required V3 Value SetConfidentialityClassification 📦2014-03-26 FHIR Std.
Encounter.text.status Base required NarrativeStatus 📦4.0.1 FHIR Std.
Encounter.class Base required DIPSEncounterV3 📦0.1.0 This IG
Encounter.type:NprLevelOfCare.​coding:NprLevelOfCareVolvenCode Base required NprLevelOfCare 📦0.1.0 This IG
Encounter.type:ContactType.​coding:ContactTypeVolvenCode Base required DIPSEncounterTypeCom 📦0.1.0 This IG
Encounter.location.status Base required EncounterLocationStatus 📦4.0.1 FHIR Std.
Encounter.location.physicalType.​coding Base required Location type 📦4.0.1 FHIR Std.
Encounter.location.physicalType.​coding.code Base required Location type 📦4.0.1 FHIR Std.

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
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... profile Σ 0..1 canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..1 Coding Security Labels applied to this resource
Binding: V3 Value SetConfidentialityClassification (required)
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 0..1 uri Identity of the terminology system
..... code Σ 0..1 code supports normal and Very Restricted security labels only
Binding: V3 Value SetConfidentialityClassification (required)
.... tag Σ 0..1 Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 0..1 uri Identity of the terminology system
Fixed Value: http://dips.no/fhir/namingsystem/encountersource
..... code Σ 0..1 code episodeofcare | plannedcontact
Fixed Value: episodeofcare
... contained 0..* Resource Contained, inline Resources
.... extension:ReferredBy 0..1 Reference(DIPSBasisPractitionerR4 | PractitionerRole) Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/ReferredBy
.... extension:DiagnoseGroup 0..1 CodeableConcept Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/DiagnoseGroupExtension
.... extension:PlannedContactEndTime 0..1 dateTime Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/PlannedContactEndTimeExtension
.... extension:Termination 0..1 CodeableConcept Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/TerminationExtension
.... extension:VideoUrl 0..1 string Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/VideoUrl
.... extension:DIPSLocation 0..1 Reference() Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/DipsLocationExtension
.... extension:departmentId 0..1 Reference() Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/Department
.... extension:Sectionid 0..1 Reference() Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/SectionExtension
.... extension:Reminder 0..1 boolean Optional Extensions Element
URL: http://dips.no/fhir/R4/StructureDefinition/Reminder
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier Σ 1..3 Identifier Identifier(s) by which this encounter is known
Slice: Unordered, Open by value:system
.... identifier:DIPS_Episode_of_CareID Σ 0..1 Identifier DIPS: ID of episode of care in DIPS (omsorgsepisode)
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri DIPS: system for episode of care in DIPS
Fixed Value: http://dips.no/fhir/namingsystem/dips-omsorgsepisodeid
..... value Σ 1..1 string DIPS: episode of care ID in DIPS
Example General: 123456
.... identifier:DIPSBookingId Σ 0..1 Identifier Identifier(s) by which this encounter is known
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-bookingid
..... value Σ 1..1 string The value that is unique
Example General: 123456
.... identifier:DIPSPlannedContactId Σ 0..1 Identifier Identifier(s) by which this encounter is known
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-plannedcontactid
..... value Σ 1..1 string The value that is unique
Example General: 123456
... status ?!Σ 1..1 code DIPS: planned | arrived | in-progress | onleave | finished | cancelled (see definition for details)
Binding: EncounterStatus (required): Current state of the encounter.
... class Σ 1..1 Coding DIPS: 'inpatient' for admitted patients, 'outpatient' for policlinical patients
Binding: DIPSEncounterV3 (required)
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... system Σ 0..1 uri Identity of the terminology system
.... code Σ 0..1 code DIPS: 'inpatient' for admitted patients, 'short stay' for policlinical patients
.... display Σ 0..1 string Representation defined by the system
... Slices for type Σ 0..* CodeableConcept Specific type of encounter
Slice: Unordered, Open by value:id
Binding: EncounterType (example): The type of encounter.
.... type:NprLevelOfCare Σ 0..1 CodeableConcept Specific type of encounter
Binding: EncounterType (example): The type of encounter.
..... id 1..1 string Unique id for inter-element referencing
Fixed Value: NprLevelOfCare
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... Slices for coding Σ 2..2 Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... Slices for coding Content/Rules for all slices
...... coding:DipsNprLevelOfCareCodeId Σ 1..1 Coding Code defined by a terminology system
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://dips.no/fhir/namingsystem/dips-nprlevelofcarecodeid
....... code Σ 0..1 code Symbol in syntax defined by the system
....... display Σ 0..1 string Representation defined by the system
...... coding:NprLevelOfCareVolvenCode Σ 1..1 Coding Code defined by a terminology system
Binding: NprLevelOfCare (required)
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.8406
....... code Σ 0..1 code Symbol in syntax defined by the system
....... display Σ 0..1 string Representation defined by the system
.... type:ContactType Σ 0..1 CodeableConcept Specific type of encounter
Binding: EncounterType (example): The type of encounter.
..... id 1..1 string Unique id for inter-element referencing
Fixed Value: ContactType
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... Slices for coding Σ 2..2 Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... Slices for coding Content/Rules for all slices
...... coding:DipsContactTypeCodeId Σ 1..1 Coding Code defined by a terminology system
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://dips.no/fhir/namingsystem/dips-contacttypecodeid
....... code Σ 0..1 code Symbol in syntax defined by the system
....... display Σ 0..1 string Representation defined by the system
...... coding:ContactTypeVolvenCode Σ 1..1 Coding Code defined by a terminology system
Binding: DIPSEncounterTypeCom (required)
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.8240
....... code Σ 0..1 code Symbol in syntax defined by the system
....... display Σ 0..1 string Representation defined by the system
... subject Σ 1..1 Reference(DIPSEncounterSubjectReference) The patient or group present at the encounter
... basedOn 0..1 Reference(DIPSEncounterServiceRequest) DIPS: a reference to the primary referral
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
... participant Σ 0..1 BackboneElement DIPS: ansvarlig behandler
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type Σ 1..1 CodeableConcept Role of participant in encounter
Binding: ParticipantType (extensible): Role of participant in encounter.
..... id 0..1 string 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 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 0..1 uri DIPS: fixed system for participant type
Fixed Value: http://dips.no/fhir/encounter/participanttype
...... code Σ 0..1 code DIPS: always 'attending-doctor'
Fixed Value: attending-doctor
..... text Σ 0..1 string Plain text representation of the concept
.... individual Σ 1..1 Reference(DIPSEncounterPractitionerReference) DIPS: a reference to the Practitioner resource for the requester
... appointment Σ 0..* Reference(DIPSAppointment) The appointment that scheduled this encounter
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... period 0..1 Period DIPS: start and end date and time for the encounter.
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... start ΣC 1..1 dateTime DIPS: "oppmøtetid" for planned contacts, "inntid" with date and time for episodes of care (both in- and out-patients)
.... end ΣC 0..1 dateTime DIPS: "oppmøtetid" for planned contacts if finished, "uttid" with date and time for episodes of care (both in- and out-patients). "Planlagt uttid" of the current (non intensive care) ward stay is used for in-patients if there is no end time and the encounter is not finished.
... reasonCode Σ 0..1 CodeableConcept DIPS: reason as text
Binding: EncounterReasonCodes (preferred): Reason why the encounter takes place.
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... text Σ 0..1 string Plain text representation of the concept
... location 0..* BackboneElement DIPS: bed or ward
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:bedTime 0..1 dateTime Extension
URL: http://dips.no/fhir/R4/StructureDefinition/BedTime
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... location 1..1 Reference(DIPSLocationReference) Location the encounter takes place
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
..... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... display Σ 0..1 string Text alternative for the resource
.... status 0..1 code DIPS: active | reserved | completed (see the definition for details)
Binding: EncounterLocationStatus (required)
.... physicalType 0..1 CodeableConcept The physical type of the location (usually the level in the location hierachy - bed room ward etc.)
Binding: LocationType (example): Physical form of the location.
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ 0..* Coding Code defined by a terminology system
Binding: LocationType (required)
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 0..1 uri Identity of the terminology system
...... code Σ 0..1 code Symbol in syntax defined by the system
Binding: LocationType (required)
...... display Σ 0..1 string Representation defined by the system
..... text Σ 0..1 string Plain text representation of the concept
.... period 0..1 Period DIPS: For bed/ward on ward stays, this is the in- and out times for the stay
... serviceProvider 1..1 Reference(DIPSEncounterOrganization | DipsOrganizationRef) DIPS: section if specified, otherwise department as a contained resource. The organization hierarchy is represented using partOf on the referenced resources (section -> department -> hospital).
... partOf 0..1 Reference(Encounter) DIPS: a reference to the "hospital stay" which is a minimal Encounter with an ID that is the same for the all episode(s) of care, also when a paitent has been transferred between departments
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string DIPS: reference to the Encounter for the planned contact that led to this Encounter

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Encounter.meta.security Base required V3 Value SetConfidentialityClassification 📦2014-03-26 FHIR Std.
Encounter.meta.security.​code Base required V3 Value SetConfidentialityClassification 📦2014-03-26 FHIR Std.
Encounter.meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
Encounter.text.status Base required NarrativeStatus 📦4.0.1 FHIR Std.
Encounter.status Base required EncounterStatus 📍4.0.1 FHIR Std.
Encounter.statusHistory.​status Base required EncounterStatus 📍4.0.1 FHIR Std.
Encounter.class Base required DIPSEncounterV3 📦0.1.0 This IG
Encounter.classHistory.​class Base extensible ActEncounterCode 📦3.0.0 THO v7.3
Encounter.type Base example Encounter type 📍4.0.1 FHIR Std.
Encounter.type:NprLevelOfCare Base example Encounter type 📍4.0.1 FHIR Std.
Encounter.type:NprLevelOfCare.​coding:NprLevelOfCareVolvenCode Base required NprLevelOfCare 📦0.1.0 This IG
Encounter.type:ContactType Base example Encounter type 📍4.0.1 FHIR Std.
Encounter.type:ContactType.​coding:ContactTypeVolvenCode Base required DIPSEncounterTypeCom 📦0.1.0 This IG
Encounter.participant.​type Base extensible Participant type 📍4.0.1 FHIR Std.
Encounter.reasonCode Base preferred Encounter Reason Codes 📍4.0.1 FHIR Std.
Encounter.diagnosis.​use Base preferred DiagnosisRole 📍4.0.1 FHIR Std.
Encounter.hospitalization.​admitSource Base preferred Admit source 📍4.0.1 FHIR Std.
Encounter.hospitalization.​reAdmission Base example hl7VS-re-admissionIndicator 📦3.0.0 THO v7.3
Encounter.hospitalization.​dietPreference Base example Diet 📍4.0.1 FHIR Std.
Encounter.hospitalization.​specialCourtesy Base preferred Special courtesy 📍4.0.1 FHIR Std.
Encounter.hospitalization.​specialArrangement Base preferred Special arrangements 📍4.0.1 FHIR Std.
Encounter.hospitalization.​dischargeDisposition Base example Discharge disposition 📍4.0.1 FHIR Std.
Encounter.location.status Base required EncounterLocationStatus 📦4.0.1 FHIR Std.
Encounter.location.physicalType Base example Location type 📍4.0.1 FHIR Std.
Encounter.location.physicalType.​coding Base required Location type 📦4.0.1 FHIR Std.
Encounter.location.physicalType.​coding.code Base required Location type 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(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()
txt-1 error Encounter.text.div The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes htmlChecks()
txt-2 error Encounter.text.div The narrative SHALL have some non-whitespace content htmlChecks()

This structure is derived from Encounter

Summary

Mandatory: 3 elements(20 nested mandatory elements)
Fixed: 13 elements
Prohibited: 83 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.type
  • The element 1 is sliced based on the value of Encounter.type.coding

 

Other representations of profile: CSV, Excel, Schematron