Scopes class

for Scopes, it's really best to go and look at the official description from HL7 http://www.hl7.org/fhir/smart-app-launch/scopes-and-launch-context/

Annotations
  • @freezed

Constructors

Scopes({List<ClinicalScope>? clinicalScopes, bool? openid, bool? fhirUser, bool? profile, bool? offlineAccess, bool? onlineAccess, bool? ehrLaunch, bool? patientLaunch, bool? encounterLaunch, bool? needPatientBanner, bool? smartOrchestrateLaunch, String? intent, List<String>? additional})
const
factory

Properties

additional List<String>?
no setterinherited
clinicalScopes List<ClinicalScope>?
see the clinical scopes class for details
no setterinherited
copyWith → $ScopesCopyWith<Scopes>
no setterinherited
ehrLaunch bool?
if this app is going to be launched from within an EHR
no setterinherited
encounterLaunch bool?
if the context of this app is in regards to a specific encounter
no setterinherited
fhirUser bool?
permission to retrieve information about the current logged-in user almost always coupled with openid
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
intent String?
String value describing the intent of the application launch
no setterinherited
needPatientBanner bool?
does this request need a patient banner
no setterinherited
offlineAccess bool?
will this app require offline access? specifies the kind of token that will be returned
no setterinherited
onlineAccess bool?
will this app require online access? specifies the kind of token that will be returned
no setterinherited
openid bool?
permission to retrieve information about the current logged-in user almost always coupled with fhirUser
no setterinherited
patientLaunch bool?
if the context of this app is about a specific patient
no setterinherited
profile bool?
this is being deprecated but still commonly required
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
smartOrchestrateLaunch bool?
I'm not actually sure what this does
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scopesList() List<String>
creates a list of strings from the Scopes object to use in the request, it checks if each item is null or false, and includes it appropriately
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited