Package org.hl7.fhir.dstu2016may.model
Class ModuleDefinition
- java.lang.Object
-
- org.hl7.fhir.dstu2016may.model.Base
-
- org.hl7.fhir.dstu2016may.model.BaseResource
-
- org.hl7.fhir.dstu2016may.model.Resource
-
- org.hl7.fhir.dstu2016may.model.DomainResource
-
- org.hl7.fhir.dstu2016may.model.ModuleDefinition
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IAnyResource,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions,org.hl7.fhir.instance.model.api.IBaseResource,org.hl7.fhir.instance.model.api.IDomainResource
public class ModuleDefinition extends DomainResource
The ModuleDefinition resource defines the data requirements for a quality artifact.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModuleDefinition.ModuleDefinitionCodeSystemComponentstatic classModuleDefinition.ModuleDefinitionDataCodeFilterComponentstatic classModuleDefinition.ModuleDefinitionDataComponentstatic classModuleDefinition.ModuleDefinitionDataDateFilterComponentstatic classModuleDefinition.ModuleDefinitionLibraryComponentstatic classModuleDefinition.ModuleDefinitionModelComponentstatic classModuleDefinition.ModuleDefinitionParameterComponentstatic classModuleDefinition.ModuleDefinitionValueSetComponent
-
Field Summary
Fields Modifier and Type Field Description protected List<ModuleDefinition.ModuleDefinitionCodeSystemComponent>codeSystemA code system definition used within the knowledge module.protected List<ModuleDefinition.ModuleDefinitionDataComponent>dataDescribes a required data item for evaluation in terms of the type of data, and optional code- or date-based filters of the data.protected List<Identifier>identifierA logical identifier for the module such as the CMS or NQF identifiers for a measure artifact.protected List<ModuleDefinition.ModuleDefinitionLibraryComponent>libraryA library referenced by the module.protected List<ModuleDefinition.ModuleDefinitionModelComponent>modelA model reference used by the content.protected List<ModuleDefinition.ModuleDefinitionParameterComponent>parameterParameters to the module.protected List<ModuleDefinition.ModuleDefinitionValueSetComponent>valueSetA value set definition used by the knowledge module.protected StringTypeversionThe version of the module, if any.-
Fields inherited from class org.hl7.fhir.dstu2016may.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.dstu2016may.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description ModuleDefinition()Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setText
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.BaseResource
getStructureFhirVersionEnum, setId
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.Base
castToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, 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.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
-
-
-
-
Field Detail
-
identifier
protected List<Identifier> identifier
A logical identifier for the module such as the CMS or NQF identifiers for a measure artifact.
-
version
protected StringType version
The version of the module, if any. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge modules, refer to the Decision Support Service specification.
-
model
protected List<ModuleDefinition.ModuleDefinitionModelComponent> model
A model reference used by the content.
-
library
protected List<ModuleDefinition.ModuleDefinitionLibraryComponent> library
A library referenced by the module. The reference must consist of either an id, or a document reference.
-
codeSystem
protected List<ModuleDefinition.ModuleDefinitionCodeSystemComponent> codeSystem
A code system definition used within the knowledge module.
-
valueSet
protected List<ModuleDefinition.ModuleDefinitionValueSetComponent> valueSet
A value set definition used by the knowledge module.
-
parameter
protected List<ModuleDefinition.ModuleDefinitionParameterComponent> parameter
Parameters to the module.
-
data
protected List<ModuleDefinition.ModuleDefinitionDataComponent> data
Describes a required data item for evaluation in terms of the type of data, and optional code- or date-based filters of the data.
-
-
Constructor Detail
-
ModuleDefinition
public ModuleDefinition()
Constructor
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier(A logical identifier for the module such as the CMS or NQF identifiers for a measure artifact.)
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
- Returns:
identifier(A logical identifier for the module such as the CMS or NQF identifiers for a measure artifact.)
-
addIdentifier
public ModuleDefinition addIdentifier(Identifier t)
-
getVersionElement
public StringType getVersionElement()
- Returns:
version(The version of the module, if any. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge modules, refer to the Decision Support Service specification.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
-
hasVersionElement
public boolean hasVersionElement()
-
hasVersion
public boolean hasVersion()
-
setVersionElement
public ModuleDefinition setVersionElement(StringType value)
- Parameters:
value-version(The version of the module, if any. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge modules, refer to the Decision Support Service specification.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
-
getVersion
public String getVersion()
- Returns:
- The version of the module, if any. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge modules, refer to the Decision Support Service specification.
-
setVersion
public ModuleDefinition setVersion(String value)
- Parameters:
value- The version of the module, if any. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge modules, refer to the Decision Support Service specification.
-
getModel
public List<ModuleDefinition.ModuleDefinitionModelComponent> getModel()
- Returns:
model(A model reference used by the content.)
-
hasModel
public boolean hasModel()
-
addModel
public ModuleDefinition.ModuleDefinitionModelComponent addModel()
- Returns:
model(A model reference used by the content.)
-
addModel
public ModuleDefinition addModel(ModuleDefinition.ModuleDefinitionModelComponent t)
-
getLibrary
public List<ModuleDefinition.ModuleDefinitionLibraryComponent> getLibrary()
- Returns:
library(A library referenced by the module. The reference must consist of either an id, or a document reference.)
-
hasLibrary
public boolean hasLibrary()
-
addLibrary
public ModuleDefinition.ModuleDefinitionLibraryComponent addLibrary()
- Returns:
library(A library referenced by the module. The reference must consist of either an id, or a document reference.)
-
addLibrary
public ModuleDefinition addLibrary(ModuleDefinition.ModuleDefinitionLibraryComponent t)
-
getCodeSystem
public List<ModuleDefinition.ModuleDefinitionCodeSystemComponent> getCodeSystem()
- Returns:
codeSystem(A code system definition used within the knowledge module.)
-
hasCodeSystem
public boolean hasCodeSystem()
-
addCodeSystem
public ModuleDefinition.ModuleDefinitionCodeSystemComponent addCodeSystem()
- Returns:
codeSystem(A code system definition used within the knowledge module.)
-
addCodeSystem
public ModuleDefinition addCodeSystem(ModuleDefinition.ModuleDefinitionCodeSystemComponent t)
-
getValueSet
public List<ModuleDefinition.ModuleDefinitionValueSetComponent> getValueSet()
- Returns:
valueSet(A value set definition used by the knowledge module.)
-
hasValueSet
public boolean hasValueSet()
-
addValueSet
public ModuleDefinition.ModuleDefinitionValueSetComponent addValueSet()
- Returns:
valueSet(A value set definition used by the knowledge module.)
-
addValueSet
public ModuleDefinition addValueSet(ModuleDefinition.ModuleDefinitionValueSetComponent t)
-
getParameter
public List<ModuleDefinition.ModuleDefinitionParameterComponent> getParameter()
- Returns:
parameter(Parameters to the module.)
-
hasParameter
public boolean hasParameter()
-
addParameter
public ModuleDefinition.ModuleDefinitionParameterComponent addParameter()
- Returns:
parameter(Parameters to the module.)
-
addParameter
public ModuleDefinition addParameter(ModuleDefinition.ModuleDefinitionParameterComponent t)
-
getData
public List<ModuleDefinition.ModuleDefinitionDataComponent> getData()
- Returns:
data(Describes a required data item for evaluation in terms of the type of data, and optional code- or date-based filters of the data.)
-
hasData
public boolean hasData()
-
addData
public ModuleDefinition.ModuleDefinitionDataComponent addData()
- Returns:
data(Describes a required data item for evaluation in terms of the type of data, and optional code- or date-based filters of the data.)
-
addData
public ModuleDefinition addData(ModuleDefinition.ModuleDefinitionDataComponent t)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classDomainResource
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
Description copied from class:Basemake an instance of a property. If the property is a repeating property, make a new instance. if the property is not repeating, return the property- Overrides:
makePropertyin classDomainResource- Returns:
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public ModuleDefinition copy()
- Specified by:
copyin classDomainResource
-
typedCopy
protected ModuleDefinition typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-