Enum SmartCapabilities
- java.lang.Object
-
- java.lang.Enum<SmartCapabilities>
-
- org.hl7.fhir.r4.model.codesystems.SmartCapabilities
-
- All Implemented Interfaces:
Serializable,Comparable<SmartCapabilities>
public enum SmartCapabilities extends Enum<SmartCapabilities>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIENTCONFIDENTIALSYMMETRICsupport for SMART’s confidential client profile (symmetric client secret authentication).CLIENTPUBLICsupport for SMART’s public client profile (no client authentication).CONTEXTEHRENCOUNTERsupport for encounter-level launch context (requested by launch/encounter scope, conveyed via encounter token parameter).CONTEXTEHRPATIENTsupport for patient-level launch context (requested by launch/patient scope, conveyed via patient token parameter).CONTEXTPASSTHROUGHBANNERsupport for “need patient banner” launch context (conveyed via need_patient_banner token parameter).CONTEXTPASSTHROUGHSTYLEsupport for “SMART style URL” launch context (conveyed via smart_style_url token parameter).CONTEXTSTANDALONEENCOUNTERsupport for encounter-level launch context (requested by launch/encounter scope, conveyed via encounter token parameter).CONTEXTSTANDALONEPATIENTsupport for patient-level launch context (requested by launch/patient scope, conveyed via patient token parameter).LAUNCHEHRsupport for SMART’s EHR Launch mode.LAUNCHSTANDALONEsupport for SMART’s Standalone Launch mode.NULLadded to help the parsersPERMISSIONOFFLINEsupport for refresh tokens (requested by offline_access scope).PERMISSIONPATIENTsupport for patient-level scopes (e.g.PERMISSIONUSERsupport for user-level scopes (e.g.SSOOPENIDCONNECTsupport for SMART’s OpenID Connect profile.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SmartCapabilitiesfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static SmartCapabilitiesvalueOf(String name)Returns the enum constant of this type with the specified name.static SmartCapabilities[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LAUNCHEHR
public static final SmartCapabilities LAUNCHEHR
support for SMART’s EHR Launch mode.
-
LAUNCHSTANDALONE
public static final SmartCapabilities LAUNCHSTANDALONE
support for SMART’s Standalone Launch mode.
-
CLIENTPUBLIC
public static final SmartCapabilities CLIENTPUBLIC
support for SMART’s public client profile (no client authentication).
-
CLIENTCONFIDENTIALSYMMETRIC
public static final SmartCapabilities CLIENTCONFIDENTIALSYMMETRIC
support for SMART’s confidential client profile (symmetric client secret authentication).
-
SSOOPENIDCONNECT
public static final SmartCapabilities SSOOPENIDCONNECT
support for SMART’s OpenID Connect profile.
-
CONTEXTPASSTHROUGHBANNER
public static final SmartCapabilities CONTEXTPASSTHROUGHBANNER
support for “need patient banner” launch context (conveyed via need_patient_banner token parameter).
-
CONTEXTPASSTHROUGHSTYLE
public static final SmartCapabilities CONTEXTPASSTHROUGHSTYLE
support for “SMART style URL” launch context (conveyed via smart_style_url token parameter).
-
CONTEXTEHRPATIENT
public static final SmartCapabilities CONTEXTEHRPATIENT
support for patient-level launch context (requested by launch/patient scope, conveyed via patient token parameter).
-
CONTEXTEHRENCOUNTER
public static final SmartCapabilities CONTEXTEHRENCOUNTER
support for encounter-level launch context (requested by launch/encounter scope, conveyed via encounter token parameter).
-
CONTEXTSTANDALONEPATIENT
public static final SmartCapabilities CONTEXTSTANDALONEPATIENT
support for patient-level launch context (requested by launch/patient scope, conveyed via patient token parameter).
-
CONTEXTSTANDALONEENCOUNTER
public static final SmartCapabilities CONTEXTSTANDALONEENCOUNTER
support for encounter-level launch context (requested by launch/encounter scope, conveyed via encounter token parameter).
-
PERMISSIONOFFLINE
public static final SmartCapabilities PERMISSIONOFFLINE
support for refresh tokens (requested by offline_access scope).
-
PERMISSIONPATIENT
public static final SmartCapabilities PERMISSIONPATIENT
support for patient-level scopes (e.g. patient/Observation.read).
-
PERMISSIONUSER
public static final SmartCapabilities PERMISSIONUSER
support for user-level scopes (e.g. user/Appointment.read).
-
NULL
public static final SmartCapabilities NULL
added to help the parsers
-
-
Method Detail
-
values
public static SmartCapabilities[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SmartCapabilities c : SmartCapabilities.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SmartCapabilities valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromCode
public static SmartCapabilities fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-