
Package org.hl7.fhir.r5.tools
Class CDSHooksRequest.CDSHooksRequestFhirAuthorizationComponent
java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.model.LogicalBase
org.hl7.fhir.r5.tools.CDSHooksElement
org.hl7.fhir.r5.tools.CDSHooksRequest.CDSHooksRequestFhirAuthorizationComponent
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseDatatype,org.hl7.fhir.instance.model.api.ICompositeType
- Enclosing class:
CDSHooksRequest
public static class CDSHooksRequest.CDSHooksRequestFhirAuthorizationComponent
extends CDSHooksElement
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringTypeThis is the OAuth 2.0 access token that provides access to the FHIR serverprotected IntegerTypeThe lifetime in seconds of the access token.protected IdTypeThe OAuth 2.0 client identifier of the CDS Service, as registered with the CDS Client's authorization serverprotected StringTypeThe scopes the access token grants the CDS Serviceprotected StringTypeThe OAuth 2.0 client identifier of the CDS Service, as registered with the CDS Client's authorization serverprotected CodeTypeFixed value: BearerFields inherited from class org.hl7.fhir.r5.tools.CDSHooksElement
extension -
Constructor Summary
ConstructorsConstructorDescriptionConstructorCDSHooksRequestFhirAuthorizationComponent(String accessToken, String tokenType, int expiresIn, String scope, String subject) Constructor -
Method Summary
Modifier and TypeMethodDescriptioncopy()voidbooleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()intgetNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) getScope()String[]getTypesForProperty(int hash, String name) booleanbooleanbooleanbooleanbooleanbooleanbooleanhasScope()booleanbooleanbooleanbooleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) setAccessToken(String value) setAccessTokenElement(StringType value) setExpiresIn(int value) setExpiresInElement(IntegerType value) setPatient(String value) setPatientElement(IdType value) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setScopeElement(StringType value) setSubject(String value) setSubjectElement(StringType value) setTokenType(String value) setTokenTypeElement(CodeType value) Methods inherited from class org.hl7.fhir.r5.tools.CDSHooksElement
copyValues, getExtension, hasExtension, setExtensionMethods inherited from class org.hl7.fhir.r5.model.LogicalBase
getFHIRPublicationVersion, getIdBase, setIdBaseMethods inherited from class org.hl7.fhir.r5.model.Base
addDefinition, addFormatCommentsPost, addFormatCommentsPre, addValidationMessage, canHavePrimitiveValue, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyFormatComments, copyUserData, copyValues, dateTimeValue, equals, executeFunction, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getValidationInfo, getValidationMessages, getXhtml, hasFormatComment, hasFormatCommentPost, hasFormatCommentPre, hasPrimitiveValue, hasType, hasUserData, hasValidated, hasValidationInfo, hasValidationMessages, isBooleanPrimitive, isCopyUserData, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, removeChild, setCopyUserData, setUserData, setUserDataINN, setXhtmlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Field Details
-
accessToken
This is the OAuth 2.0 access token that provides access to the FHIR server -
tokenType
Fixed value: Bearer -
expiresIn
The lifetime in seconds of the access token. -
scope
The scopes the access token grants the CDS Service -
subject
The OAuth 2.0 client identifier of the CDS Service, as registered with the CDS Client's authorization server -
patient
The OAuth 2.0 client identifier of the CDS Service, as registered with the CDS Client's authorization server
-
-
Constructor Details
-
CDSHooksRequestFhirAuthorizationComponent
Constructor -
CDSHooksRequestFhirAuthorizationComponent
public CDSHooksRequestFhirAuthorizationComponent(String accessToken, String tokenType, int expiresIn, String scope, String subject) Constructor
-
-
Method Details
-
getAccessTokenElement
- Returns:
accessToken(This is the OAuth 2.0 access token that provides access to the FHIR server). This is the underlying object with id, value and extensions. The accessor "getAccessToken" gives direct access to the value
-
hasAccessTokenElement
-
hasAccessToken
-
setAccessTokenElement
public CDSHooksRequest.CDSHooksRequestFhirAuthorizationComponent setAccessTokenElement(StringType value) - Parameters:
value-accessToken(This is the OAuth 2.0 access token that provides access to the FHIR server). This is the underlying object with id, value and extensions. The accessor "getAccessToken" gives direct access to the value
-
getAccessToken
- Returns:
- This is the OAuth 2.0 access token that provides access to the FHIR server
-
setAccessToken
- Parameters:
value- This is the OAuth 2.0 access token that provides access to the FHIR server
-
getTokenTypeElement
- Returns:
tokenType(Fixed value: Bearer). This is the underlying object with id, value and extensions. The accessor "getTokenType" gives direct access to the value
-
hasTokenTypeElement
-
hasTokenType
-
setTokenTypeElement
public CDSHooksRequest.CDSHooksRequestFhirAuthorizationComponent setTokenTypeElement(CodeType value) - Parameters:
value-tokenType(Fixed value: Bearer). This is the underlying object with id, value and extensions. The accessor "getTokenType" gives direct access to the value
-
getTokenType
- Returns:
- Fixed value: Bearer
-
setTokenType
- Parameters:
value- Fixed value: Bearer
-
getExpiresInElement
- Returns:
expiresIn(The lifetime in seconds of the access token.). This is the underlying object with id, value and extensions. The accessor "getExpiresIn" gives direct access to the value
-
hasExpiresInElement
-
hasExpiresIn
-
setExpiresInElement
public CDSHooksRequest.CDSHooksRequestFhirAuthorizationComponent setExpiresInElement(IntegerType value) - Parameters:
value-expiresIn(The lifetime in seconds of the access token.). This is the underlying object with id, value and extensions. The accessor "getExpiresIn" gives direct access to the value
-
getExpiresIn
- Returns:
- The lifetime in seconds of the access token.
-
setExpiresIn
- Parameters:
value- The lifetime in seconds of the access token.
-
getScopeElement
- Returns:
scope(The scopes the access token grants the CDS Service). This is the underlying object with id, value and extensions. The accessor "getScope" gives direct access to the value
-
hasScopeElement
-
hasScope
-
setScopeElement
- Parameters:
value-scope(The scopes the access token grants the CDS Service). This is the underlying object with id, value and extensions. The accessor "getScope" gives direct access to the value
-
getScope
- Returns:
- The scopes the access token grants the CDS Service
-
setScope
- Parameters:
value- The scopes the access token grants the CDS Service
-
getSubjectElement
- Returns:
subject(The OAuth 2.0 client identifier of the CDS Service, as registered with the CDS Client's authorization server). This is the underlying object with id, value and extensions. The accessor "getSubject" gives direct access to the value
-
hasSubjectElement
-
hasSubject
-
setSubjectElement
public CDSHooksRequest.CDSHooksRequestFhirAuthorizationComponent setSubjectElement(StringType value) - Parameters:
value-subject(The OAuth 2.0 client identifier of the CDS Service, as registered with the CDS Client's authorization server). This is the underlying object with id, value and extensions. The accessor "getSubject" gives direct access to the value
-
getSubject
- Returns:
- The OAuth 2.0 client identifier of the CDS Service, as registered with the CDS Client's authorization server
-
setSubject
- Parameters:
value- The OAuth 2.0 client identifier of the CDS Service, as registered with the CDS Client's authorization server
-
getPatientElement
- Returns:
patient(The OAuth 2.0 client identifier of the CDS Service, as registered with the CDS Client's authorization server). This is the underlying object with id, value and extensions. The accessor "getPatient" gives direct access to the value
-
hasPatientElement
-
hasPatient
-
setPatientElement
- Parameters:
value-patient(The OAuth 2.0 client identifier of the CDS Service, as registered with the CDS Client's authorization server). This is the underlying object with id, value and extensions. The accessor "getPatient" gives direct access to the value
-
getPatient
- Returns:
- The OAuth 2.0 client identifier of the CDS Service, as registered with the CDS Client's authorization server
-
setPatient
- Parameters:
value- The OAuth 2.0 client identifier of the CDS Service, as registered with the CDS Client's authorization server
-
listChildren
- Overrides:
listChildrenin classCDSHooksElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classCDSHooksElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classCDSHooksElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classCDSHooksElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classCDSHooksElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classCDSHooksElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin classCDSHooksElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classCDSHooksElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
- Specified by:
copyin classCDSHooksElement
-
copyValues
-
equalsDeep
- Overrides:
equalsDeepin classCDSHooksElement
-
equalsShallow
- Overrides:
equalsShallowin classCDSHooksElement
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classCDSHooksElement
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classCDSHooksElement- Returns:
- the FHIR type name of the instance (not the java class name)
-