
Package org.hl7.fhir.r5.tools
Class CDSHooksResponse.CDSHooksResponseCardsSuggestionsActionsComponent
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.CDSHooksResponseCardsSuggestionsActionsComponent
- 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
public static class CDSHooksResponse.CDSHooksResponseCardsSuggestionsActionsComponent
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 StringTypeHuman-readable description of the suggested action that MAY be presented to the end-user.protected ResourceWhen the type attribute is create, the resource attribute SHALL contain a new FHIR resource to be created.protected UrlTypeA relative reference to the relevant resource.protected Enumeration<CDSHooksResponse.CDSActionTypeCodesVS> The type of action being performed.Fields inherited from class org.hl7.fhir.r5.tools.CDSHooksElement
extension -
Constructor Summary
ConstructorsConstructorDescriptionConstructorConstructor -
Method Summary
Modifier and TypeMethodDescriptioncopy()voidbooleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()getNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) getType()String[]getTypesForProperty(int hash, String name) booleanbooleanbooleanbooleanbooleanbooleanhasType()booleanbooleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) setDescription(String value) setDescriptionElement(StringType value) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setResource(Resource value) setResourceId(String value) setResourceIdElement(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
-
type
The type of action being performed. Allowed values are: create, update, delete. -
description
Human-readable description of the suggested action that MAY be presented to the end-user. -
resource
When the type attribute is create, the resource attribute SHALL contain a new FHIR resource to be created. For update, this holds the updated resource in its entirety and not just the changed fields. -
resourceId
A relative reference to the relevant resource. SHOULD be provided when the type attribute is delete.
-
-
Constructor Details
-
CDSHooksResponseCardsSuggestionsActionsComponent
Constructor -
CDSHooksResponseCardsSuggestionsActionsComponent
Constructor
-
-
Method Details
-
getTypeElement
- Returns:
type(The type of action being performed. Allowed values are: create, update, delete.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
-
hasTypeElement
-
hasType
-
setTypeElement
public CDSHooksResponse.CDSHooksResponseCardsSuggestionsActionsComponent setTypeElement(Enumeration<CDSHooksResponse.CDSActionTypeCodesVS> value) - Parameters:
value-type(The type of action being performed. Allowed values are: create, update, delete.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
-
getType
- Returns:
- The type of action being performed. Allowed values are: create, update, delete.
-
setType
public CDSHooksResponse.CDSHooksResponseCardsSuggestionsActionsComponent setType(CDSHooksResponse.CDSActionTypeCodesVS value) - Parameters:
value- The type of action being performed. Allowed values are: create, update, delete.
-
getDescriptionElement
- Returns:
description(Human-readable description of the suggested action that MAY be presented to the end-user.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
hasDescriptionElement
-
hasDescription
-
setDescriptionElement
public CDSHooksResponse.CDSHooksResponseCardsSuggestionsActionsComponent setDescriptionElement(StringType value) - Parameters:
value-description(Human-readable description of the suggested action that MAY be presented to the end-user.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
getDescription
- Returns:
- Human-readable description of the suggested action that MAY be presented to the end-user.
-
setDescription
public CDSHooksResponse.CDSHooksResponseCardsSuggestionsActionsComponent setDescription(String value) - Parameters:
value- Human-readable description of the suggested action that MAY be presented to the end-user.
-
getResource
- Returns:
resource(When the type attribute is create, the resource attribute SHALL contain a new FHIR resource to be created. For update, this holds the updated resource in its entirety and not just the changed fields.)
-
hasResource
-
setResource
public CDSHooksResponse.CDSHooksResponseCardsSuggestionsActionsComponent setResource(Resource value) - Parameters:
value-resource(When the type attribute is create, the resource attribute SHALL contain a new FHIR resource to be created. For update, this holds the updated resource in its entirety and not just the changed fields.)
-
getResourceIdElement
- Returns:
resourceId(A relative reference to the relevant resource. SHOULD be provided when the type attribute is delete.). This is the underlying object with id, value and extensions. The accessor "getResourceId" gives direct access to the value
-
hasResourceIdElement
-
hasResourceId
-
setResourceIdElement
public CDSHooksResponse.CDSHooksResponseCardsSuggestionsActionsComponent setResourceIdElement(UrlType value) - Parameters:
value-resourceId(A relative reference to the relevant resource. SHOULD be provided when the type attribute is delete.). This is the underlying object with id, value and extensions. The accessor "getResourceId" gives direct access to the value
-
getResourceId
- Returns:
- A relative reference to the relevant resource. SHOULD be provided when the type attribute is delete.
-
setResourceId
public CDSHooksResponse.CDSHooksResponseCardsSuggestionsActionsComponent setResourceId(String value) - Parameters:
value- A relative reference to the relevant resource. SHOULD be provided when the type attribute is delete.
-
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)
-