eHealth Infrastructure (v2020.3)

persist-login

OPERATION: persist-login

The official URL for this operation definition is:

http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-persist-login

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.

URL: [base]/$persist-login

Parameters

UseNameCardinalityTypeBindingDocumentation
INcareTeam0..*CareTeam
INpractitionerRole0..*PractitionerRole