Package org.hl7.fhir.dstu2.model
Class StructureDefinition
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.BaseResource
org.hl7.fhir.dstu2.model.Resource
org.hl7.fhir.dstu2.model.DomainResource
org.hl7.fhir.dstu2.model.StructureDefinition
- 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
A definition of a FHIR structure. This resource is used to describe the
underlying resources, data types defined in FHIR, and also for describing
extensions, and constraints on resources and data types.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
static class
static class
static enum
static class
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected BooleanType
Whether structure this definition describes is abstract or not - that is, whether an actual exchanged item can ever be of this type.protected UriType
An absolute URI that is the base structure from which this set of constraints is derived.A set of terms from external terminologies that may be used to assist with indexing and searching of templates.protected CodeType
The type of type that is being constrained - a data type, an extension, a resource, including abstract ones.Contacts to assist a user in finding and communicating with the publisher.protected List
<StringType> Identifies the types of resource or data type elements to which the extension can be applied.protected Enumeration
<StructureDefinition.ExtensionContext> If this is an extension, Identifies the context within FHIR resources where the extension can be used.protected StringType
A copyright statement relating to the structure definition and/or its contents.protected DateTimeType
The date this version of the structure definition was published.protected StringType
A free text natural language description of the StructureDefinition and its use.A differential view is expressed relative to the base StructureDefinition - a statement of differences that it applies.protected StringType
Defined so that applications can use this name when displaying the value of the extension to the user.protected BooleanType
This StructureDefinition was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.protected IdType
The version of the FHIR specification on which this StructureDefinition is based - this is the formal version of the specification, without the revision number, e.g.protected List
<Identifier> Formal identifier that is used to identify this StructureDefinition when it is represented in other formats, or referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI), (if it's not possible to use the literal URI).Defines the kind of structure that this definition is describing.An external specification that the content is mapped to.protected StringType
A free text natural language name identifying the StructureDefinition.protected StringType
The name of the individual or organization that published the structure definition.protected StringType
Explains why this structure definition is needed and why it's been constrained as it has.A snapshot view is expressed in a stand alone form that can be used and interpreted without considering the base StructureDefinition.static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
The status of the StructureDefinition.protected UriType
An absolute URL that is used to identify this structure definition when it is referenced in a specification, model, design or an instance.protected List
<CodeableConcept> The content was developed with a focus and intent of supporting the contexts that are listed.protected StringType
The identifier that is used to identify this version of the StructureDefinition when it is referenced in a specification, model, design or instance.Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
ConstructorDescriptionStructureDefinition
(UriType url, StringType name, Enumeration<Enumerations.ConformanceResourceStatus> status, Enumeration<StructureDefinition.StructureDefinitionKind> kind, BooleanType abstract_) -
Method Summary
Modifier and TypeMethodDescriptionaddCode()
addContext
(String value) copy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
boolean
getBase()
getCode()
getDate()
boolean
getKind()
getName()
getUrl()
boolean
boolean
boolean
hasBase()
boolean
boolean
hasCode()
boolean
boolean
boolean
boolean
boolean
hasContext
(String value) boolean
boolean
boolean
boolean
boolean
hasDate()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasKind()
boolean
boolean
boolean
hasName()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasUrl()
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setAbstract
(boolean value) setAbstractElement
(BooleanType value) setBaseElement
(UriType value) setConstrainedType
(String value) setCopyright
(String value) setCopyrightElement
(StringType value) setDateElement
(DateTimeType value) setDescription
(String value) setDescriptionElement
(StringType value) setDisplay
(String value) setDisplayElement
(StringType value) setExperimental
(boolean value) setFhirVersion
(String value) setFhirVersionElement
(IdType value) setNameElement
(StringType value) void
setProperty
(String name, Base value) setPublisher
(String value) setPublisherElement
(StringType value) setRequirements
(String value) setRequirementsElement
(StringType value) setUrlElement
(UriType value) setVersion
(String value) setVersionElement
(StringType value) protected StructureDefinition
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getModifierExtension, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setText
Methods inherited from class org.hl7.fhir.dstu2.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.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, 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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
url
An absolute URL that is used to identify this structure definition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this structure definition is (or will be) published. -
identifier
Formal identifier that is used to identify this StructureDefinition when it is represented in other formats, or referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI), (if it's not possible to use the literal URI). -
version
The identifier that is used to identify this version of the StructureDefinition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the StructureDefinition author manually. -
name
A free text natural language name identifying the StructureDefinition. -
display
Defined so that applications can use this name when displaying the value of the extension to the user. -
status
The status of the StructureDefinition. -
experimental
This StructureDefinition was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. -
publisher
The name of the individual or organization that published the structure definition. -
contact
Contacts to assist a user in finding and communicating with the publisher. -
date
The date this version of the structure definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the structure definition changes. -
description
A free text natural language description of the StructureDefinition and its use. -
useContext
The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of structure definitions. -
requirements
Explains why this structure definition is needed and why it's been constrained as it has. -
copyright
A copyright statement relating to the structure definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the constraints and mappings. -
code
A set of terms from external terminologies that may be used to assist with indexing and searching of templates. -
fhirVersion
The version of the FHIR specification on which this StructureDefinition is based - this is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 1.0.2 for this version. -
mapping
An external specification that the content is mapped to. -
kind
Defines the kind of structure that this definition is describing. -
constrainedType
The type of type that is being constrained - a data type, an extension, a resource, including abstract ones. If this field is present, it indicates that the structure definition is a constraint. If it is not present, then the structure definition is the definition of a base structure. -
abstract_
Whether structure this definition describes is abstract or not - that is, whether an actual exchanged item can ever be of this type. -
contextType
If this is an extension, Identifies the context within FHIR resources where the extension can be used. -
context
Identifies the types of resource or data type elements to which the extension can be applied. -
base
An absolute URI that is the base structure from which this set of constraints is derived. -
snapshot
A snapshot view is expressed in a stand alone form that can be used and interpreted without considering the base StructureDefinition. -
differential
A differential view is expressed relative to the base StructureDefinition - a statement of differences that it applies. -
SP_DATE
- See Also:
-
SP_IDENTIFIER
- See Also:
-
SP_CODE
- See Also:
-
SP_VALUESET
- See Also:
-
SP_KIND
- See Also:
-
SP_DISPLAY
- See Also:
-
SP_DESCRIPTION
- See Also:
-
SP_EXPERIMENTAL
- See Also:
-
SP_CONTEXTTYPE
- See Also:
-
SP_ABSTRACT
- See Also:
-
SP_TYPE
- See Also:
-
SP_VERSION
- See Also:
-
SP_URL
- See Also:
-
SP_PATH
- See Also:
-
SP_EXTCONTEXT
- See Also:
-
SP_NAME
- See Also:
-
SP_CONTEXT
- See Also:
-
SP_BASEPATH
- See Also:
-
SP_PUBLISHER
- See Also:
-
SP_STATUS
- See Also:
-
SP_BASE
- See Also:
-
-
Constructor Details
-
StructureDefinition
public StructureDefinition() -
StructureDefinition
public StructureDefinition(UriType url, StringType name, Enumeration<Enumerations.ConformanceResourceStatus> status, Enumeration<StructureDefinition.StructureDefinitionKind> kind, BooleanType abstract_)
-
-
Method Details
-
getUrlElement
- Returns:
url
(An absolute URL that is used to identify this structure definition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this structure definition is (or will be) published.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
-
hasUrlElement
-
hasUrl
-
setUrlElement
- Parameters:
value
-url
(An absolute URL that is used to identify this structure definition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this structure definition is (or will be) published.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
-
getUrl
- Returns:
- An absolute URL that is used to identify this structure definition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this structure definition is (or will be) published.
-
setUrl
- Parameters:
value
- An absolute URL that is used to identify this structure definition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this structure definition is (or will be) published.
-
getIdentifier
- Returns:
identifier
(Formal identifier that is used to identify this StructureDefinition when it is represented in other formats, or referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI), (if it's not possible to use the literal URI).)
-
hasIdentifier
-
addIdentifier
- Returns:
identifier
(Formal identifier that is used to identify this StructureDefinition when it is represented in other formats, or referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI), (if it's not possible to use the literal URI).)
-
addIdentifier
-
getVersionElement
- Returns:
version
(The identifier that is used to identify this version of the StructureDefinition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the StructureDefinition author manually.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
-
hasVersionElement
-
hasVersion
-
setVersionElement
- Parameters:
value
-version
(The identifier that is used to identify this version of the StructureDefinition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the StructureDefinition author manually.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
-
getVersion
- Returns:
- The identifier that is used to identify this version of the StructureDefinition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the StructureDefinition author manually.
-
setVersion
- Parameters:
value
- The identifier that is used to identify this version of the StructureDefinition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the StructureDefinition author manually.
-
getNameElement
- Returns:
name
(A free text natural language name identifying the StructureDefinition.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
hasNameElement
-
hasName
-
setNameElement
- Parameters:
value
-name
(A free text natural language name identifying the StructureDefinition.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
getName
- Returns:
- A free text natural language name identifying the StructureDefinition.
-
setName
- Parameters:
value
- A free text natural language name identifying the StructureDefinition.
-
getDisplayElement
- Returns:
display
(Defined so that applications can use this name when displaying the value of the extension to the user.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value
-
hasDisplayElement
-
hasDisplay
-
setDisplayElement
- Parameters:
value
-display
(Defined so that applications can use this name when displaying the value of the extension to the user.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value
-
getDisplay
- Returns:
- Defined so that applications can use this name when displaying the value of the extension to the user.
-
setDisplay
- Parameters:
value
- Defined so that applications can use this name when displaying the value of the extension to the user.
-
getStatusElement
- Returns:
status
(The status of the StructureDefinition.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
-
hasStatus
-
setStatusElement
public StructureDefinition setStatusElement(Enumeration<Enumerations.ConformanceResourceStatus> value) - Parameters:
value
-status
(The status of the StructureDefinition.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Returns:
- The status of the StructureDefinition.
-
setStatus
- Parameters:
value
- The status of the StructureDefinition.
-
getExperimentalElement
- Returns:
experimental
(This StructureDefinition was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value
-
hasExperimentalElement
-
hasExperimental
-
setExperimentalElement
- Parameters:
value
-experimental
(This StructureDefinition was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value
-
getExperimental
- Returns:
- This StructureDefinition was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
-
setExperimental
- Parameters:
value
- This StructureDefinition was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
-
getPublisherElement
- Returns:
publisher
(The name of the individual or organization that published the structure definition.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value
-
hasPublisherElement
-
hasPublisher
-
setPublisherElement
- Parameters:
value
-publisher
(The name of the individual or organization that published the structure definition.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value
-
getPublisher
- Returns:
- The name of the individual or organization that published the structure definition.
-
setPublisher
- Parameters:
value
- The name of the individual or organization that published the structure definition.
-
getContact
- Returns:
contact
(Contacts to assist a user in finding and communicating with the publisher.)
-
hasContact
-
addContact
- Returns:
contact
(Contacts to assist a user in finding and communicating with the publisher.)
-
addContact
-
getDateElement
- Returns:
date
(The date this version of the structure definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the structure definition changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
hasDateElement
-
hasDate
-
setDateElement
- Parameters:
value
-date
(The date this version of the structure definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the structure definition changes.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
getDate
- Returns:
- The date this version of the structure definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the structure definition changes.
-
setDate
- Parameters:
value
- The date this version of the structure definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the structure definition changes.
-
getDescriptionElement
- Returns:
description
(A free text natural language description of the StructureDefinition and its use.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
hasDescriptionElement
-
hasDescription
-
setDescriptionElement
- Parameters:
value
-description
(A free text natural language description of the StructureDefinition and its use.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
getDescription
- Returns:
- A free text natural language description of the StructureDefinition and its use.
-
setDescription
- Parameters:
value
- A free text natural language description of the StructureDefinition and its use.
-
getUseContext
- Returns:
useContext
(The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of structure definitions.)
-
hasUseContext
-
addUseContext
- Returns:
useContext
(The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of structure definitions.)
-
addUseContext
-
getRequirementsElement
- Returns:
requirements
(Explains why this structure definition is needed and why it's been constrained as it has.). This is the underlying object with id, value and extensions. The accessor "getRequirements" gives direct access to the value
-
hasRequirementsElement
-
hasRequirements
-
setRequirementsElement
- Parameters:
value
-requirements
(Explains why this structure definition is needed and why it's been constrained as it has.). This is the underlying object with id, value and extensions. The accessor "getRequirements" gives direct access to the value
-
getRequirements
- Returns:
- Explains why this structure definition is needed and why it's been constrained as it has.
-
setRequirements
- Parameters:
value
- Explains why this structure definition is needed and why it's been constrained as it has.
-
getCopyrightElement
- Returns:
copyright
(A copyright statement relating to the structure definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the constraints and mappings.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value
-
hasCopyrightElement
-
hasCopyright
-
setCopyrightElement
- Parameters:
value
-copyright
(A copyright statement relating to the structure definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the constraints and mappings.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value
-
getCopyright
- Returns:
- A copyright statement relating to the structure definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the constraints and mappings.
-
setCopyright
- Parameters:
value
- A copyright statement relating to the structure definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the constraints and mappings.
-
getCode
- Returns:
code
(A set of terms from external terminologies that may be used to assist with indexing and searching of templates.)
-
hasCode
-
addCode
- Returns:
code
(A set of terms from external terminologies that may be used to assist with indexing and searching of templates.)
-
addCode
-
getFhirVersionElement
- Returns:
fhirVersion
(The version of the FHIR specification on which this StructureDefinition is based - this is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 1.0.2 for this version.). This is the underlying object with id, value and extensions. The accessor "getFhirVersion" gives direct access to the value
-
hasFhirVersionElement
-
hasFhirVersion
-
setFhirVersionElement
- Parameters:
value
-fhirVersion
(The version of the FHIR specification on which this StructureDefinition is based - this is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 1.0.2 for this version.). This is the underlying object with id, value and extensions. The accessor "getFhirVersion" gives direct access to the value
-
getFhirVersion
- Returns:
- The version of the FHIR specification on which this StructureDefinition is based - this is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 1.0.2 for this version.
-
setFhirVersion
- Parameters:
value
- The version of the FHIR specification on which this StructureDefinition is based - this is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 1.0.2 for this version.
-
getMapping
- Returns:
mapping
(An external specification that the content is mapped to.)
-
hasMapping
-
addMapping
- Returns:
mapping
(An external specification that the content is mapped to.)
-
addMapping
-
getKindElement
- Returns:
kind
(Defines the kind of structure that this definition is describing.). This is the underlying object with id, value and extensions. The accessor "getKind" gives direct access to the value
-
hasKindElement
-
hasKind
-
setKindElement
public StructureDefinition setKindElement(Enumeration<StructureDefinition.StructureDefinitionKind> value) - Parameters:
value
-kind
(Defines the kind of structure that this definition is describing.). This is the underlying object with id, value and extensions. The accessor "getKind" gives direct access to the value
-
getKind
- Returns:
- Defines the kind of structure that this definition is describing.
-
setKind
- Parameters:
value
- Defines the kind of structure that this definition is describing.
-
getConstrainedTypeElement
- Returns:
constrainedType
(The type of type that is being constrained - a data type, an extension, a resource, including abstract ones. If this field is present, it indicates that the structure definition is a constraint. If it is not present, then the structure definition is the definition of a base structure.). This is the underlying object with id, value and extensions. The accessor "getConstrainedType" gives direct access to the value
-
hasConstrainedTypeElement
-
hasConstrainedType
-
setConstrainedTypeElement
- Parameters:
value
-constrainedType
(The type of type that is being constrained - a data type, an extension, a resource, including abstract ones. If this field is present, it indicates that the structure definition is a constraint. If it is not present, then the structure definition is the definition of a base structure.). This is the underlying object with id, value and extensions. The accessor "getConstrainedType" gives direct access to the value
-
getConstrainedType
- Returns:
- The type of type that is being constrained - a data type, an extension, a resource, including abstract ones. If this field is present, it indicates that the structure definition is a constraint. If it is not present, then the structure definition is the definition of a base structure.
-
setConstrainedType
- Parameters:
value
- The type of type that is being constrained - a data type, an extension, a resource, including abstract ones. If this field is present, it indicates that the structure definition is a constraint. If it is not present, then the structure definition is the definition of a base structure.
-
getAbstractElement
- Returns:
abstract_
(Whether structure this definition describes is abstract or not - that is, whether an actual exchanged item can ever be of this type.). This is the underlying object with id, value and extensions. The accessor "getAbstract" gives direct access to the value
-
hasAbstractElement
-
hasAbstract
-
setAbstractElement
- Parameters:
value
-abstract_
(Whether structure this definition describes is abstract or not - that is, whether an actual exchanged item can ever be of this type.). This is the underlying object with id, value and extensions. The accessor "getAbstract" gives direct access to the value
-
getAbstract
- Returns:
- Whether structure this definition describes is abstract or not - that is, whether an actual exchanged item can ever be of this type.
-
setAbstract
- Parameters:
value
- Whether structure this definition describes is abstract or not - that is, whether an actual exchanged item can ever be of this type.
-
getContextTypeElement
- Returns:
contextType
(If this is an extension, Identifies the context within FHIR resources where the extension can be used.). This is the underlying object with id, value and extensions. The accessor "getContextType" gives direct access to the value
-
hasContextTypeElement
-
hasContextType
-
setContextTypeElement
public StructureDefinition setContextTypeElement(Enumeration<StructureDefinition.ExtensionContext> value) - Parameters:
value
-contextType
(If this is an extension, Identifies the context within FHIR resources where the extension can be used.). This is the underlying object with id, value and extensions. The accessor "getContextType" gives direct access to the value
-
getContextType
- Returns:
- If this is an extension, Identifies the context within FHIR resources where the extension can be used.
-
setContextType
- Parameters:
value
- If this is an extension, Identifies the context within FHIR resources where the extension can be used.
-
getContext
- Returns:
context
(Identifies the types of resource or data type elements to which the extension can be applied.)
-
hasContext
-
addContextElement
- Returns:
context
(Identifies the types of resource or data type elements to which the extension can be applied.)
-
addContext
- Parameters:
value
-context
(Identifies the types of resource or data type elements to which the extension can be applied.)
-
hasContext
- Parameters:
value
-context
(Identifies the types of resource or data type elements to which the extension can be applied.)
-
getBaseElement
- Returns:
base
(An absolute URI that is the base structure from which this set of constraints is derived.). This is the underlying object with id, value and extensions. The accessor "getBase" gives direct access to the value
-
hasBaseElement
-
hasBase
-
setBaseElement
- Parameters:
value
-base
(An absolute URI that is the base structure from which this set of constraints is derived.). This is the underlying object with id, value and extensions. The accessor "getBase" gives direct access to the value
-
getBase
- Returns:
- An absolute URI that is the base structure from which this set of constraints is derived.
-
setBase
- Parameters:
value
- An absolute URI that is the base structure from which this set of constraints is derived.
-
getSnapshot
- Returns:
snapshot
(A snapshot view is expressed in a stand alone form that can be used and interpreted without considering the base StructureDefinition.)
-
hasSnapshot
-
setSnapshot
public StructureDefinition setSnapshot(StructureDefinition.StructureDefinitionSnapshotComponent value) - Parameters:
value
-snapshot
(A snapshot view is expressed in a stand alone form that can be used and interpreted without considering the base StructureDefinition.)
-
getDifferential
- Returns:
differential
(A differential view is expressed relative to the base StructureDefinition - a statement of differences that it applies.)
-
hasDifferential
-
setDifferential
public StructureDefinition setDifferential(StructureDefinition.StructureDefinitionDifferentialComponent value) - Parameters:
value
-differential
(A differential view is expressed relative to the base StructureDefinition - a statement of differences that it applies.)
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-