-s-persist-login
type: OperationDefinition
node role: treeRoot
id:
  v: -s-persist-login
text:
  status:
    v: extensions
  div: URL: [base]/$persist-login Parameters Use Name Scope Cardinality Type Binding Documentation IN careTeam 0..* CareTeam IN practitionerRole 0..* PractitionerRole
url:
  v: https://organization.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-persist-login
version:
  v: latest
name:
  v: persist-login
title:
  v: Persist login
status:
  v: active
kind:
  v: operation
date:
  v: 2024-06-07T07:57:53+00:00
publisher:
  v: Den telemedicinske infrastruktur (eHealth Infrastructure)
contact:
  name:
    v: Den telemedicinske infrastruktur (eHealth Infrastructure)
  telecom:
    system:
      v: url
    value:
      v: http://ehealth.sundhed.dk
description:
  v: This operation persists login information into CareTeams and PractitionerRoles The following elements of each careteam are mandatory: - id: Reference based on the careteam from the saml security token - status: any - name: any - reasonCode: any - participant: 1 for each careteam-role in the saml security token -- role: from the saml security token -- member: reference to the practitioner -- onBehalfOf: reference to organization (cannot be set currently because of a bug in hapi) Persist-login will find each careteam, and update it with any new participants and roles from the input bundle. The input careteam resources are are used as a container for the participant list. The rest of the fields are not used. The following elements of each PractitionerRole are mandatory: - practitioner - organization - code: roles from the saml security token (CareteamParticipantRole valueset) Persist-login will search for practitionerRoles for each combination of (practitioner, organization) and create it if it doesn't already exists.
affects state:
  v: true
code:
  v: persist-login
system:
  v: true
type:
  v: false
instance:
  v: false
parameter:
  name:
    v: careTeam
  use:
    v: in
  min:
    v: 0
  max:
    v: *
  type:
    v: CareTeam
parameter:
  name:
    v: practitionerRole
  use:
    v: in
  min:
    v: 0
  max:
    v: *
  type:
    v: PractitionerRole