
Package org.hl7.fhir.r5.tools
Class CDSHooksResponse
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
- 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
public class CDSHooksResponse
extends CDSHooksElement
implements org.hl7.fhir.instance.model.api.ICompositeType
This structure is defined to allow the FHIR Validator to validate a CDSHooks Response body. TODO: This content will be moved to the CDS Hooks specification in the future
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classstatic classstatic classstatic classstatic classstatic classstatic enumstatic classstatic enumstatic classstatic enumstatic classNested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason -
Field Summary
FieldsModifier and TypeFieldDescriptionAn array of Cards.An array of Actions that the CDS Service proposes to auto-applyFields inherited from class org.hl7.fhir.r5.tools.CDSHooksElement
extension -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCards()copy()voidbooleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()getNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) String[]getTypesForProperty(int hash, String name) booleanhasCards()booleanbooleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setSystemActionsList(List<CDSHooksResponse.CDSHooksResponseCardsSuggestionsActionsComponent> theSystemActions) protected CDSHooksResponseMethods 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
-
cardsList
An array of Cards. Cards can provide a combination of information (for reading), suggested actions (to be applied if a user selects them), and links (to launch an app if the user selects them). -
systemActionsList
An array of Actions that the CDS Service proposes to auto-apply
-
-
Constructor Details
-
CDSHooksResponse
public CDSHooksResponse()Constructor
-
-
Method Details
-
getCardsList
- Returns:
-
(An array of Cards. Cards can provide a combination of information (for reading), suggested actions (to be applied if a user selects them), and links (to launch an app if the user selects them).)
invalid reference
#cards
-
setCardsList
public CDSHooksResponse setCardsList(List<CDSHooksResponse.CDSHooksResponseCardsComponent> theCards) - Returns:
- Returns a reference to
thisfor easy method chaining
-
hasCards
-
addCards
-
addCards
-
getCardsFirstRep
- Returns:
- The first repetition of repeating field
, creating it if it does not already exist {3}
invalid reference
#cards
-
getSystemActionsList
public List<CDSHooksResponse.CDSHooksResponseCardsSuggestionsActionsComponent> getSystemActionsList()- Returns:
-
(An array of Actions that the CDS Service proposes to auto-apply)
invalid reference
#systemActions
-
setSystemActionsList
public CDSHooksResponse setSystemActionsList(List<CDSHooksResponse.CDSHooksResponseCardsSuggestionsActionsComponent> theSystemActions) - Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSystemActions
-
addSystemActions
-
addSystemActions
-
getSystemActionsFirstRep
- Returns:
- The first repetition of repeating field
, creating it if it does not already exist {3}
invalid reference
#systemActions
-
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
-
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)
-
copy
- Specified by:
copyin classCDSHooksElement
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classCDSHooksElement
-
equalsShallow
- Overrides:
equalsShallowin classCDSHooksElement
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classCDSHooksElement
-