Current Build
FHIR Infrastructure Work GroupMaturity Level: 0 Trial Use Compartments: Device, Encounter, Patient, Practitioner, RelatedPerson

Detailed Descriptions for the elements in the UserSession resource.

UserSession
Element IdUserSession
Definition

Information about a user's current session.

Control1..1
UserSession.identifier
Element IdUserSession.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
Element IdUserSession.user
Definition

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

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

Status of the session.

Control0..1
UserSession.status.code
Element IdUserSession.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
Element IdUserSession.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
Element IdUserSession.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
Element IdUserSession.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
Element IdUserSession.created
Definition

Indicates the timestamp when the user session was first created.

Control0..1
Typeinstant
UserSession.expires
Element IdUserSession.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
Element IdUserSession.context
Definition

Provides additional information associated with the context.

Control0..*
UserSession.context.type
Element IdUserSession.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]
Element IdUserSession.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]