
Package org.hl7.fhir.r5.tools
Class CDSHooksResponse.CDSHooksResponseCardsLinksComponent
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.CDSHooksResponse.CDSHooksResponseCardsLinksComponent
- 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:
 CDSHooksResponse
- 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 StringTypeAn optional field that allows the CDS Service to share information from the CDS card with a subsequently launched SMART app.protected StringTypeHuman-readable label to display for this link (e.g. the CDS Client might render this as the underlined text of a clickable link).protected Enumeration<CDSHooksResponse.CDSLinkTypeCodesVS> The type of the given URL.protected UrlTypeURL to load (via GET, in a browser context) when a user clicks on this link.Fields inherited from class org.hl7.fhir.r5.tools.CDSHooksElement
extension - 
Constructor Summary
ConstructorsConstructorDescriptionConstructorCDSHooksResponseCardsLinksComponent(String label, String url) Constructor - 
Method Summary
Modifier and TypeMethodDescriptioncopy()voidbooleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()getLabel()getNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) getType()String[]getTypesForProperty(int hash, String name) getUrl()booleanbooleanbooleanhasLabel()booleanbooleanhasType()booleanbooleanhasUrl()booleanbooleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) setAppContext(String value) setAppContextElement(StringType value) setLabelElement(StringType value) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setUrlElement(UrlType 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
- 
label
Human-readable label to display for this link (e.g. the CDS Client might render this as the underlined text of a clickable link). - 
url
URL to load (via GET, in a browser context) when a user clicks on this link. Note that this MAY be a 'deep link' with context embedded in path segments, query parameters, or a hash. - 
type
The type of the given URL. There are two possible values for this field. A type of absolute indicates that the URL is absolute and should be treated as-is. A type of smart indicates that the URL is a SMART app launch URL and the CDS Client should ensure the SMART app launch URL is populated with the appropriate SMART launch parameters - 
appContext
An optional field that allows the CDS Service to share information from the CDS card with a subsequently launched SMART app. The appContext field should only be valued if the link type is smart and is not valid for absolute links. The appContext field and value will be sent to the SMART app as part of the OAuth 2.0 access token response, alongside the other SMART launch parameters when the SMART app is launched. Note that appContext could be escaped JSON, base64 encoded XML, or even a simple string, so long as the SMART app can recognize it. 
 - 
 - 
Constructor Details
- 
CDSHooksResponseCardsLinksComponent
public CDSHooksResponseCardsLinksComponent()Constructor - 
CDSHooksResponseCardsLinksComponent
Constructor 
 - 
 - 
Method Details
- 
getLabelElement
- Returns:
 label(Human-readable label to display for this link (e.g. the CDS Client might render this as the underlined text of a clickable link).). This is the underlying object with id, value and extensions. The accessor "getLabel" gives direct access to the value
 - 
hasLabelElement
 - 
hasLabel
 - 
setLabelElement
- Parameters:
 value-label(Human-readable label to display for this link (e.g. the CDS Client might render this as the underlined text of a clickable link).). This is the underlying object with id, value and extensions. The accessor "getLabel" gives direct access to the value
 - 
getLabel
- Returns:
 - Human-readable label to display for this link (e.g. the CDS Client might render this as the underlined text of a clickable link).
 
 - 
setLabel
- Parameters:
 value- Human-readable label to display for this link (e.g. the CDS Client might render this as the underlined text of a clickable link).
 - 
getUrlElement
- Returns:
 url(URL to load (via GET, in a browser context) when a user clicks on this link. Note that this MAY be a 'deep link' with context embedded in path segments, query parameters, or a hash.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
 - 
hasUrlElement
 - 
hasUrl
 - 
setUrlElement
- Parameters:
 value-url(URL to load (via GET, in a browser context) when a user clicks on this link. Note that this MAY be a 'deep link' with context embedded in path segments, query parameters, or a hash.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
 - 
getUrl
- Returns:
 - URL to load (via GET, in a browser context) when a user clicks on this link. Note that this MAY be a 'deep link' with context embedded in path segments, query parameters, or a hash.
 
 - 
setUrl
- Parameters:
 value- URL to load (via GET, in a browser context) when a user clicks on this link. Note that this MAY be a 'deep link' with context embedded in path segments, query parameters, or a hash.
 - 
getTypeElement
- Returns:
 type(The type of the given URL. There are two possible values for this field. A type of absolute indicates that the URL is absolute and should be treated as-is. A type of smart indicates that the URL is a SMART app launch URL and the CDS Client should ensure the SMART app launch URL is populated with the appropriate SMART launch parameters). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
 - 
hasTypeElement
 - 
hasType
 - 
setTypeElement
public CDSHooksResponse.CDSHooksResponseCardsLinksComponent setTypeElement(Enumeration<CDSHooksResponse.CDSLinkTypeCodesVS> value) - Parameters:
 value-type(The type of the given URL. There are two possible values for this field. A type of absolute indicates that the URL is absolute and should be treated as-is. A type of smart indicates that the URL is a SMART app launch URL and the CDS Client should ensure the SMART app launch URL is populated with the appropriate SMART launch parameters). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
 - 
getType
- Returns:
 - The type of the given URL. There are two possible values for this field. A type of absolute indicates that the URL is absolute and should be treated as-is. A type of smart indicates that the URL is a SMART app launch URL and the CDS Client should ensure the SMART app launch URL is populated with the appropriate SMART launch parameters
 
 - 
setType
public CDSHooksResponse.CDSHooksResponseCardsLinksComponent setType(CDSHooksResponse.CDSLinkTypeCodesVS value) - Parameters:
 value- The type of the given URL. There are two possible values for this field. A type of absolute indicates that the URL is absolute and should be treated as-is. A type of smart indicates that the URL is a SMART app launch URL and the CDS Client should ensure the SMART app launch URL is populated with the appropriate SMART launch parameters
 - 
getAppContextElement
- Returns:
 appContext(An optional field that allows the CDS Service to share information from the CDS card with a subsequently launched SMART app. The appContext field should only be valued if the link type is smart and is not valid for absolute links. The appContext field and value will be sent to the SMART app as part of the OAuth 2.0 access token response, alongside the other SMART launch parameters when the SMART app is launched. Note that appContext could be escaped JSON, base64 encoded XML, or even a simple string, so long as the SMART app can recognize it.). This is the underlying object with id, value and extensions. The accessor "getAppContext" gives direct access to the value
 - 
hasAppContextElement
 - 
hasAppContext
 - 
setAppContextElement
- Parameters:
 value-appContext(An optional field that allows the CDS Service to share information from the CDS card with a subsequently launched SMART app. The appContext field should only be valued if the link type is smart and is not valid for absolute links. The appContext field and value will be sent to the SMART app as part of the OAuth 2.0 access token response, alongside the other SMART launch parameters when the SMART app is launched. Note that appContext could be escaped JSON, base64 encoded XML, or even a simple string, so long as the SMART app can recognize it.). This is the underlying object with id, value and extensions. The accessor "getAppContext" gives direct access to the value
 - 
getAppContext
- Returns:
 - An optional field that allows the CDS Service to share information from the CDS card with a subsequently launched SMART app. The appContext field should only be valued if the link type is smart and is not valid for absolute links. The appContext field and value will be sent to the SMART app as part of the OAuth 2.0 access token response, alongside the other SMART launch parameters when the SMART app is launched. Note that appContext could be escaped JSON, base64 encoded XML, or even a simple string, so long as the SMART app can recognize it.
 
 - 
setAppContext
- Parameters:
 value- An optional field that allows the CDS Service to share information from the CDS card with a subsequently launched SMART app. The appContext field should only be valued if the link type is smart and is not valid for absolute links. The appContext field and value will be sent to the SMART app as part of the OAuth 2.0 access token response, alongside the other SMART launch parameters when the SMART app is launched. Note that appContext could be escaped JSON, base64 encoded XML, or even a simple string, so long as the SMART app can recognize it.
 - 
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)
 
 
 -