
Package org.hl7.fhir.r5.tools
Class CDSHooksElement
java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.model.LogicalBase
org.hl7.fhir.r5.tools.CDSHooksElement
- 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
- Direct Known Subclasses:
CDSHooksRequest
,CDSHooksRequest.CDSHooksRequestFhirAuthorizationComponent
,CDSHooksResponse
,CDSHooksResponse.CDSHooksResponseCardsComponent
,CDSHooksResponse.CDSHooksResponseCardsLinksComponent
,CDSHooksResponse.CDSHooksResponseCardsSourceComponent
,CDSHooksResponse.CDSHooksResponseCardsSuggestionsActionsComponent
,CDSHooksResponse.CDSHooksResponseCardsSuggestionsComponent
,CDSHooksServices
,CDSHooksServices.CDSHooksServicesServicesComponent
public abstract class CDSHooksElement
extends LogicalBase
implements org.hl7.fhir.instance.model.api.ICompositeType
This structure is defined to allow the FHIR Validator to validate a CDSHooks Services Element with Extensions. TODO: This content will be moved to the CDS Hooks specification in the future
- 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 CDSHooksExtensions
A JSON object that has properties where the names are defined by the extension definitions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract CDSHooksElement
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
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setExtension
(CDSHooksExtensions value) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) 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
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
-
extension
A JSON object that has properties where the names are defined by the extension definitions
-
-
Constructor Details
-
CDSHooksElement
public CDSHooksElement()Constructor
-
-
Method Details
-
getExtension
- Returns:
extension
(A JSON object that has properties where the names are defined by the extension definitions)
-
hasExtension
-
setExtension
- Parameters:
value
-extension
(A JSON object that has properties where the names are defined by the extension definitions)
-
listChildren
- Overrides:
listChildren
in classBase
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classBase
- 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 classBase
- 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 classBase
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classBase
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classBase
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classBase
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
-
fhirType
-
copy
-
copyValues
-
equalsDeep
- Overrides:
equalsDeep
in classBase
-
equalsShallow
- Overrides:
equalsShallow
in classBase
-
isEmpty
-