eHealth Infrastructure - Local Development build (vlatest) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Active as of 2024-06-07 |
<OperationDefinition xmlns="http://hl7.org/fhir">
<id value="-s-persist-login"/>
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p>URL: [base]/$persist-login</p><p>Parameters</p><table class="grid"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>careTeam</td><td/><td>0..*</td><td><a href="http://hl7.org/fhir/R4/careteam.html">CareTeam</a></td><td/><td/></tr><tr><td>IN</td><td>practitionerRole</td><td/><td>0..*</td><td><a href="http://hl7.org/fhir/R4/practitionerrole.html">PractitionerRole</a></td><td/><td/></tr></table></div>
</text>
<url
value="https://organization.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-persist-login"/>
<version value="latest"/>
<name value="persist-login"/>
<title value="Persist login"/>
<status value="active"/>
<kind value="operation"/>
<date value="2024-06-07T07:57:53+00:00"/>
<publisher
value="Den telemedicinske infrastruktur (eHealth Infrastructure)"/>
<contact>
<name value="Den telemedicinske infrastruktur (eHealth Infrastructure)"/>
<telecom>
<system value="url"/>
<value value="http://ehealth.sundhed.dk"/>
</telecom>
</contact>
<description
value="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."/>
<affectsState value="true"/>
<code value="persist-login"/>
<system value="true"/>
<type value="false"/>
<instance value="false"/>
<parameter>
<name value="careTeam"/>
<use value="in"/>
<min value="0"/>
<max value="*"/>
<type value="CareTeam"/>
</parameter>
<parameter>
<name value="practitionerRole"/>
<use value="in"/>
<min value="0"/>
<max value="*"/>
<type value="PractitionerRole"/>
</parameter>
</OperationDefinition>