Launch in context

John Wade -

Use case

As a third party with an existing system:

  • I want to launch pip from my existing system and display a defined patient
  • I am happy for my users to authenticate using Core Auth if they are not already authenticated using an identity provider trusted by Core

High level workflow

  • Third party service launches pip with the patient identifier, birth date and (optionally) service id in the url.
  • The user chooses to authenticate using any one of the existing identity providers offered by Core Auth.
  • When the user has authenticated, they are issued an access token.
  • The user chooses which role they are working in from those offered by Core Auth for that user.

Screenshot

API Agreement

This workflow does not require a Core API Agreement.

Technical workflow

To launch pip in the context of a particular patient, create a URL as follows: GET [Base URL]/apps/pip/launch?[Parameters]

For example: https://www.core-latest.blackpear.com/apps/pip/launch?patient=9449304173&birthdate=1900-11-24

Base URL

Environment

URL

latest https://www.core-latest.blackpear.com
beta https://www.core-beta.blackpear.com
production https://www.core.blackpear.com

Parameters

Field

Value

patient Patient NHS number e.g. 4123456789
birthdate Patient birthdate e.g. 1900-11-24
showPatientBanner

[optional] true | false

If not true, patient banner is hidden in pip

healthcareService [optional] Healthcare Service Guid e.g. 23848865-cd8f-4352-9c77-0b07402f4256

If provided, the user will be shown their current roles within that service. When not provided, all roles available to the user will be present for selection.

The querystring can be obfuscated as per https://github.com/Somerset-SIDeR-Programme/SIDeR-interop-patterns/wiki/query-string-obfuscation.

 

 

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk