R4 Draft for Comment

This page is part of the FHIR Specification (v3.2.0: R4 Ballot 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

FHIR Infrastructure Work GroupMaturity Level: 0 Draft Compartments: Device, Encounter, Patient, Practitioner, RelatedPerson

Detailed Descriptions for the elements in the UserSession resource.

UserSession
Definition

Information about a user's current session.

Control1..1
UserSession.identifier
Definition

Allows a service to provide a unique, business identifier for the session.

NoteThis is a business identifer, not a resource identifier (see discussion)
Control0..1
TypeIdentifier
Requirements

Allows identification of the session as it is known by various participating systems.

Summarytrue
UserSession.user
Definition

A practitioner, patient, device, or related person engaged in the session.

Control1..1
TypeReference(Device | Practitioner | Patient | RelatedPerson)
Summarytrue
UserSession.status
Definition

Status of the session.

Control0..1
UserSession.status.code
Definition

The current status of the user session.

Control1..1
Terminology BindingUserSessionStatus (Required)
Typecode
Summarytrue
To DoWhy is this a backbone element? Why not just have a status and source?
UserSession.status.source
Definition

The source of the status code.

Control1..1
Terminology BindingUserSessionStatusSource (Required)
Typecode
Summarytrue
Comments

This element is intended to be used to prevent infinite loops in bi-directional context synchronization scenarios.

UserSession.workstation
Definition

Location that identifies the physical place at which the user's session is occurring. For the purposes of context synchronization, this is intended to represent the user's workstation.

Control0..1
TypeIdentifier
To DoThe name workstation seems somewhat specific, could this be generalized, is it device? is it location?
UserSession.focus
Definition

The current focus of the user's session. Common values are a reference to a Patient, Encounter, ImagingStudy, etc.

Control0..*
TypeReference(Any)
UserSession.created
Definition

Indicates the timestamp when the user session was first created.

Control0..1
Typeinstant
UserSession.expires
Definition

Indicates the timestamp when the user session will expire (i.e. no longer be valid).

Control0..1
Typeinstant
Meaning if MissingIf missing, the user session does not expire
Summarytrue
UserSession.context
Definition

Provides additional information associated with the context.

Control0..*
UserSession.context.type
Definition

Indicates which type of context is being provided.

Control1..1
Typestring
To DoWhy isn't this a CodeableConcept?
UserSession.context.value[x]
Definition

Provides the context value.

Control0..1
TypeCodeableConcept|Quantity
[x] NoteSee Choice of Data Types for further information about how to use [x]