Skip to main content

Interface: SmartConfigStoreType

SmartConfigStore properties and methods Properties can be accessed for fine-grain details. Methods are usually used internally, using them from an external source is not recommended.

Properties

client

client: null | default

The FHIRClient object (https://github.com/smart-on-fhir/client-js)


encounter

encounter: null | Encounter

The encounter resource in context


patient

patient: null | Patient

The patient resource in context


setClient()

setClient: (client) => void

Set the FHIRClient object when launching via SMART App Launch

Parameters

ParameterType
clientdefault

Returns

void


setEncounter()

setEncounter: (encounter) => void

Set the encounter resource in context

Parameters

ParameterType
encounterEncounter

Returns

void


setPatient()

setPatient: (patient) => void

Set the patient resource in context

Parameters

ParameterType
patientPatient

Returns

void


setUser()

setUser: (user) => void

Set the user resource in context

Parameters

ParameterType
userPractitioner

Returns

void


user

user: null | Practitioner

The user resource in context