
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 enum
static class
static class
static class
static class
static class
static class
static enum
static class
static enum
static class
static enum
static class
Nested 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()
void
boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) String[]
getTypesForProperty
(int hash, String name) boolean
hasCards()
boolean
boolean
isEmpty()
protected void
listChildren
(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 CDSHooksResponse
Methods inherited from class org.hl7.fhir.r5.tools.CDSHooksElement
copyValues, getExtension, hasExtension, setExtension
Methods inherited from class org.hl7.fhir.r5.model.LogicalBase
getFHIRPublicationVersion, getIdBase, setIdBase
Methods 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, setXhtml
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
-
invalid reference
#cards
-
setCardsList
public CDSHooksResponse setCardsList(List<CDSHooksResponse.CDSHooksResponseCardsComponent> theCards) - Returns:
- Returns a reference to
this
for easy method chaining
-
hasCards
-
addCards
-
addCards
-
getCardsFirstRep
- Returns:
- The first repetition of repeating field
invalid reference
#cards
-
getSystemActionsList
public List<CDSHooksResponse.CDSHooksResponseCardsSuggestionsActionsComponent> getSystemActionsList()- Returns:
-
invalid reference
#systemActions
-
setSystemActionsList
public CDSHooksResponse setSystemActionsList(List<CDSHooksResponse.CDSHooksResponseCardsSuggestionsActionsComponent> theSystemActions) - Returns:
- Returns a reference to
this
for easy method chaining
-
hasSystemActions
-
addSystemActions
-
addSystemActions
-
getSystemActionsFirstRep
- Returns:
- The first repetition of repeating field
invalid reference
#systemActions
-
listChildren
- Overrides:
listChildren
in classCDSHooksElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classCDSHooksElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getProperty
in classCDSHooksElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setProperty
in classCDSHooksElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classCDSHooksElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classCDSHooksElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classCDSHooksElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classCDSHooksElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classCDSHooksElement
- Returns:
- the FHIR type name of the instance (not the java class name)
-
copy
- Specified by:
copy
in classCDSHooksElement
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classCDSHooksElement
-
equalsShallow
- Overrides:
equalsShallow
in classCDSHooksElement
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classCDSHooksElement
-