Logo GenPRES

SessionOpened Type

What the client receives when a Session opens. There is no SessionId: the id is in the cookie, a bearer credential that scripts cannot read. Head is the signed version the Session opened with: its orders start the plan, and a Submission is refused when a newer version exists. Head is None when the record has no signed version.

Record fields

Record Field Description

Head

Full Usage: Head

Field type: SignedOrderPlan option
Field type: SignedOrderPlan option

KeyThumbprint

Full Usage: KeyThumbprint

Field type: string option

The RFC 7638 thumbprint of the public key this Session will sign requests with (launch step 7, not built yet). The client keeps the matching private key and deletes the others.

Field type: string option

OpenedToken

Full Usage: OpenedToken

Field type: OpenedToken option
Field type: OpenedToken option

PatientContext

Full Usage: PatientContext

Field type: PatientContext option

None for a launch without an active patient

Field type: PatientContext option

User

Full Usage: User

Field type: UserContext option

None for an anonymous Session, opened without a launch, so without a user or role

Field type: UserContext option

Type something to start searching.