Class 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
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
static class
static enum
static class
static class
static class
static enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for abstractprotected BooleanType
Whether structure this definition describes is abstract or not - that is, whether the structure is not intended to be instantiated.static final ca.uhn.fhir.rest.gclient.UriClientParam
Fluent Client search parameter constant for basestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for base-pathprotected UriType
An absolute URI that is the base structure from which this type is derived, either by specialization or constraint.protected List
<StringType> Identifies the types of resource or data type elements to which the extension can be applied.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for context-typeprotected List
<StringType> A set of rules as Fluent Invariants about when the extension can be used (e.g.protected Enumeration
<StructureDefinition.ExtensionContext> If this is an extension, Identifies the context within FHIR resources where the extension can be used.protected MarkdownType
A copyright statement relating to the structure definition and/or its contents.static final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for dateHow the type relates to the baseDefinition.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for derivationstatic final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for descriptionA differential view is expressed relative to the base StructureDefinition - a statement of differences that it applies.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for experimentalstatic final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for ext-contextprotected 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> A formal identifier that is used to identify this structure definition when it is represented in other formats, or referenced in a specification, model, design or an instance.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for jurisdictionA set of key words or terms from external terminologies that may be used to assist with indexing and searching of templates.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for keywordDefines the kind of structure that this definition is describing.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for kindAn external specification that the content is mapped to.static final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for namestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for pathstatic final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for publisherprotected MarkdownType
Explaination of why this structure definition is needed and why it has been designed 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
Search parameter: abstractstatic final String
Search parameter: basestatic final String
Search parameter: base-pathstatic final String
Search parameter: context-typestatic final String
Search parameter: datestatic final String
Search parameter: derivationstatic final String
Search parameter: descriptionstatic final String
Search parameter: experimentalstatic final String
Search parameter: ext-contextstatic final String
Search parameter: identifierstatic final String
Search parameter: jurisdictionstatic final String
Search parameter: keywordstatic final String
Search parameter: kindstatic final String
Search parameter: namestatic final String
Search parameter: pathstatic final String
Search parameter: publisherstatic final String
Search parameter: statusstatic final String
Search parameter: titlestatic final String
Search parameter: typestatic final String
Search parameter: urlstatic final String
Search parameter: valuesetstatic final String
Search parameter: versionstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for statusstatic final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for titleprotected CodeType
The type this structure describes.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for typestatic final ca.uhn.fhir.rest.gclient.UriClientParam
Fluent Client search parameter constant for urlstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for valuesetstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for versionFields inherited from class org.hl7.fhir.dstu3.model.MetadataResource
contact, date, description, experimental, jurisdiction, name, publisher, status, title, url, useContext, version
Fields inherited from class org.hl7.fhir.dstu3.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu3.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
ConstructorDescriptionConstructorStructureDefinition
(UriType url, StringType name, Enumeration<Enumerations.PublicationStatus> status, Enumeration<StructureDefinition.StructureDefinitionKind> kind, BooleanType abstract_, CodeType type) Constructor -
Method Summary
Modifier and TypeMethodDescriptionaddContext
(String value) addContextInvariant
(String value) addKeyword
(Coding t) copy()
boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
boolean
getDate()
boolean
getKind()
getName()
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) getTitle()
getType()
String[]
getTypesForProperty
(int hash, String name) getUrl()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasContext
(String value) boolean
boolean
hasContextInvariant
(String value) boolean
boolean
boolean
boolean
boolean
hasDate()
boolean
boolean
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
hasTitle()
boolean
boolean
hasType()
boolean
boolean
hasUrl()
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setAbstract
(boolean value) setAbstractElement
(BooleanType value) setBaseDefinition
(String value) setBaseDefinitionElement
(UriType value) setContact
(List<ContactDetail> theContact) setContext
(List<StringType> theContext) setContextInvariant
(List<StringType> theContextInvariant) setCopyright
(String value) setCopyrightElement
(MarkdownType value) setDateElement
(DateTimeType value) setDescription
(String value) setExperimental
(boolean value) setFhirVersion
(String value) setFhirVersionElement
(IdType value) setIdentifier
(List<Identifier> theIdentifier) setJurisdiction
(List<CodeableConcept> theJurisdiction) setKeyword
(List<Coding> theKeyword) setNameElement
(StringType value) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setPublisher
(String value) setPublisherElement
(StringType value) setPurpose
(String value) setPurposeElement
(MarkdownType value) setTitleElement
(StringType value) setTypeElement
(CodeType value) setUrlElement
(UriType value) setUseContext
(List<UsageContext> theUseContext) setVersion
(String value) setVersionElement
(StringType value) protected StructureDefinition
Methods inherited from class org.hl7.fhir.dstu3.model.MetadataResource
checkCanUseUrl, copyValues, toString
Methods inherited from class org.hl7.fhir.dstu3.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
Methods inherited from class org.hl7.fhir.dstu3.model.Resource
copyValues, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
Methods inherited from class org.hl7.fhir.dstu3.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
Methods inherited from class org.hl7.fhir.dstu3.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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
-
identifier
A formal identifier that is used to identify this structure definition when it is represented in other formats, or referenced in a specification, model, design or an instance. -
purpose
Explaination of why this structure definition is needed and why it has been designed 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 structure definition. -
keyword
A set of key words or 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 3.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. -
abstract_
Whether structure this definition describes is abstract or not - that is, whether the structure is not intended to be instantiated. For Resources and Data types, abstract types will never be exchanged between systems. -
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. -
contextInvariant
A set of rules as Fluent Invariants about when the extension can be used (e.g. co-occurrence variants for the extension). -
type
The type this structure describes. If the derivation kind is 'specialization' then this is the master definition for a type, and there is always one of these (a data type, an extension, a resource, including abstract ones). Otherwise the structure definition is a constraint on the stated type (and in this case, the type cannot be an abstract type). -
baseDefinition
An absolute URI that is the base structure from which this type is derived, either by specialization or constraint. -
derivation
How the type relates to the baseDefinition. -
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
Search parameter: dateDescription: The structure definition publication date
Type: date
Path: StructureDefinition.date
- See Also:
-
DATE
Fluent Client search parameter constant for dateDescription: The structure definition publication date
Type: date
Path: StructureDefinition.date
-
SP_IDENTIFIER
Search parameter: identifierDescription: External identifier for the structure definition
Type: token
Path: StructureDefinition.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: External identifier for the structure definition
Type: token
Path: StructureDefinition.identifier
-
SP_VALUESET
Search parameter: valuesetDescription: A vocabulary binding reference
Type: reference
Path: StructureDefinition.snapshot.element.binding.valueSet[x]
- See Also:
-
VALUESET
Fluent Client search parameter constant for valuesetDescription: A vocabulary binding reference
Type: reference
Path: StructureDefinition.snapshot.element.binding.valueSet[x]
-
INCLUDE_VALUESET
Constant for fluent queries to be used to add include statements. Specifies the path value of "StructureDefinition:valueset". -
SP_KIND
Search parameter: kindDescription: primitive-type | complex-type | resource | logical
Type: token
Path: StructureDefinition.kind
- See Also:
-
KIND
Fluent Client search parameter constant for kindDescription: primitive-type | complex-type | resource | logical
Type: token
Path: StructureDefinition.kind
-
SP_JURISDICTION
Search parameter: jurisdictionDescription: Intended jurisdiction for the structure definition
Type: token
Path: StructureDefinition.jurisdiction
- See Also:
-
JURISDICTION
Fluent Client search parameter constant for jurisdictionDescription: Intended jurisdiction for the structure definition
Type: token
Path: StructureDefinition.jurisdiction
-
SP_DESCRIPTION
Search parameter: descriptionDescription: The description of the structure definition
Type: string
Path: StructureDefinition.description
- See Also:
-
DESCRIPTION
Fluent Client search parameter constant for descriptionDescription: The description of the structure definition
Type: string
Path: StructureDefinition.description
-
SP_EXPERIMENTAL
Search parameter: experimentalDescription: For testing purposes, not real usage
Type: token
Path: StructureDefinition.experimental
- See Also:
-
EXPERIMENTAL
Fluent Client search parameter constant for experimentalDescription: For testing purposes, not real usage
Type: token
Path: StructureDefinition.experimental
-
SP_CONTEXT_TYPE
Search parameter: context-typeDescription: resource | datatype | extension
Type: token
Path: StructureDefinition.contextType
- See Also:
-
CONTEXT_TYPE
Fluent Client search parameter constant for context-typeDescription: resource | datatype | extension
Type: token
Path: StructureDefinition.contextType
-
SP_ABSTRACT
Search parameter: abstractDescription: Whether the structure is abstract
Type: token
Path: StructureDefinition.abstract
- See Also:
-
ABSTRACT
Fluent Client search parameter constant for abstractDescription: Whether the structure is abstract
Type: token
Path: StructureDefinition.abstract
-
SP_TITLE
Search parameter: titleDescription: The human-friendly name of the structure definition
Type: string
Path: StructureDefinition.title
- See Also:
-
TITLE
Fluent Client search parameter constant for titleDescription: The human-friendly name of the structure definition
Type: string
Path: StructureDefinition.title
-
SP_TYPE
Search parameter: typeDescription: Type defined or constrained by this structure
Type: token
Path: StructureDefinition.type
- See Also:
-
TYPE
Fluent Client search parameter constant for typeDescription: Type defined or constrained by this structure
Type: token
Path: StructureDefinition.type
-
SP_VERSION
Search parameter: versionDescription: The business version of the structure definition
Type: token
Path: StructureDefinition.version
- See Also:
-
VERSION
Fluent Client search parameter constant for versionDescription: The business version of the structure definition
Type: token
Path: StructureDefinition.version
-
SP_URL
Search parameter: urlDescription: The uri that identifies the structure definition
Type: uri
Path: StructureDefinition.url
- See Also:
-
URL
Fluent Client search parameter constant for urlDescription: The uri that identifies the structure definition
Type: uri
Path: StructureDefinition.url
-
SP_PATH
Search parameter: pathDescription: A path that is constrained in the profile
Type: token
Path: StructureDefinition.snapshot.element.path, StructureDefinition.differential.element.path
- See Also:
-
PATH
Fluent Client search parameter constant for pathDescription: A path that is constrained in the profile
Type: token
Path: StructureDefinition.snapshot.element.path, StructureDefinition.differential.element.path
-
SP_EXT_CONTEXT
Search parameter: ext-contextDescription: Where the extension can be used in instances
Type: string
Path: StructureDefinition.context
- See Also:
-
EXT_CONTEXT
Fluent Client search parameter constant for ext-contextDescription: Where the extension can be used in instances
Type: string
Path: StructureDefinition.context
-
SP_NAME
Search parameter: nameDescription: Computationally friendly name of the structure definition
Type: string
Path: StructureDefinition.name
- See Also:
-
NAME
Fluent Client search parameter constant for nameDescription: Computationally friendly name of the structure definition
Type: string
Path: StructureDefinition.name
-
SP_BASE_PATH
Search parameter: base-pathDescription: Path that identifies the base element
Type: token
Path: StructureDefinition.snapshot.element.base.path, StructureDefinition.differential.element.base.path
- See Also:
-
BASE_PATH
Fluent Client search parameter constant for base-pathDescription: Path that identifies the base element
Type: token
Path: StructureDefinition.snapshot.element.base.path, StructureDefinition.differential.element.base.path
-
SP_PUBLISHER
Search parameter: publisherDescription: Name of the publisher of the structure definition
Type: string
Path: StructureDefinition.publisher
- See Also:
-
PUBLISHER
Fluent Client search parameter constant for publisherDescription: Name of the publisher of the structure definition
Type: string
Path: StructureDefinition.publisher
-
SP_DERIVATION
Search parameter: derivationDescription: specialization | constraint - How relates to base definition
Type: token
Path: StructureDefinition.derivation
- See Also:
-
DERIVATION
Fluent Client search parameter constant for derivationDescription: specialization | constraint - How relates to base definition
Type: token
Path: StructureDefinition.derivation
-
SP_KEYWORD
Search parameter: keywordDescription: A code for the profile
Type: token
Path: StructureDefinition.keyword
- See Also:
-
KEYWORD
Fluent Client search parameter constant for keywordDescription: A code for the profile
Type: token
Path: StructureDefinition.keyword
-
SP_STATUS
Search parameter: statusDescription: The current status of the structure definition
Type: token
Path: StructureDefinition.status
- See Also:
-
STATUS
Fluent Client search parameter constant for statusDescription: The current status of the structure definition
Type: token
Path: StructureDefinition.status
-
SP_BASE
Search parameter: baseDescription: Definition that this type is constrained/specialized from
Type: uri
Path: StructureDefinition.baseDefinition
- See Also:
-
BASE
Fluent Client search parameter constant for baseDescription: Definition that this type is constrained/specialized from
Type: uri
Path: StructureDefinition.baseDefinition
-
-
Constructor Details
-
StructureDefinition
public StructureDefinition()Constructor -
StructureDefinition
public StructureDefinition(UriType url, StringType name, Enumeration<Enumerations.PublicationStatus> status, Enumeration<StructureDefinition.StructureDefinitionKind> kind, BooleanType abstract_, CodeType type) Constructor
-
-
Method Details
-
getUrlElement
- Overrides:
getUrlElement
in classMetadataResource
- Returns:
MetadataResource.url
(An absolute URI 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. The URL SHOULD include the major version of the structure definition. For more information see [Technical and Business Versions](resource.html#versions).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
-
hasUrlElement
- Overrides:
hasUrlElement
in classMetadataResource
-
hasUrl
- Overrides:
hasUrl
in classMetadataResource
-
setUrlElement
- Overrides:
setUrlElement
in classMetadataResource
- Parameters:
value
-MetadataResource.url
(An absolute URI 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. The URL SHOULD include the major version of the structure definition. For more information see [Technical and Business Versions](resource.html#versions).). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
-
getUrl
- Overrides:
getUrl
in classMetadataResource
- Returns:
- An absolute URI 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. The URL SHOULD include the major version of the structure definition. For more information see [Technical and Business Versions](resource.html#versions).
-
setUrl
- Overrides:
setUrl
in classMetadataResource
- Parameters:
value
- An absolute URI 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. The URL SHOULD include the major version of the structure definition. For more information see [Technical and Business Versions](resource.html#versions).
-
getIdentifier
- Returns:
identifier
(A formal identifier that is used to identify this structure definition when it is represented in other formats, or referenced in a specification, model, design or an instance.)
-
setIdentifier
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasIdentifier
-
addIdentifier
-
addIdentifier
-
getIdentifierFirstRep
- Returns:
- The first repetition of repeating field
identifier
, creating it if it does not already exist
-
getVersionElement
- Overrides:
getVersionElement
in classMetadataResource
- Returns:
MetadataResource.version
(The identifier that is used to identify this version of the structure definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the structure definition author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
-
hasVersionElement
- Overrides:
hasVersionElement
in classMetadataResource
-
hasVersion
- Overrides:
hasVersion
in classMetadataResource
-
setVersionElement
- Overrides:
setVersionElement
in classMetadataResource
- Parameters:
value
-MetadataResource.version
(The identifier that is used to identify this version of the structure definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the structure definition author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
-
getVersion
- Overrides:
getVersion
in classMetadataResource
- Returns:
- The identifier that is used to identify this version of the structure definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the structure definition author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.
-
setVersion
- Overrides:
setVersion
in classMetadataResource
- Parameters:
value
- The identifier that is used to identify this version of the structure definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the structure definition author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.
-
getNameElement
- Overrides:
getNameElement
in classMetadataResource
- Returns:
MetadataResource.name
(A natural language name identifying the structure definition. This name should be usable as an identifier for the module by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
hasNameElement
- Overrides:
hasNameElement
in classMetadataResource
-
hasName
- Overrides:
hasName
in classMetadataResource
-
setNameElement
- Overrides:
setNameElement
in classMetadataResource
- Parameters:
value
-MetadataResource.name
(A natural language name identifying the structure definition. This name should be usable as an identifier for the module by machine processing applications such as code generation.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
getName
- Overrides:
getName
in classMetadataResource
- Returns:
- A natural language name identifying the structure definition. This name should be usable as an identifier for the module by machine processing applications such as code generation.
-
setName
- Overrides:
setName
in classMetadataResource
- Parameters:
value
- A natural language name identifying the structure definition. This name should be usable as an identifier for the module by machine processing applications such as code generation.
-
getTitleElement
- Overrides:
getTitleElement
in classMetadataResource
- Returns:
MetadataResource.title
(A short, descriptive, user-friendly title for the structure definition.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
-
hasTitleElement
- Overrides:
hasTitleElement
in classMetadataResource
-
hasTitle
- Overrides:
hasTitle
in classMetadataResource
-
setTitleElement
- Overrides:
setTitleElement
in classMetadataResource
- Parameters:
value
-MetadataResource.title
(A short, descriptive, user-friendly title for the structure definition.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
-
getTitle
- Overrides:
getTitle
in classMetadataResource
- Returns:
- A short, descriptive, user-friendly title for the structure definition.
-
setTitle
- Overrides:
setTitle
in classMetadataResource
- Parameters:
value
- A short, descriptive, user-friendly title for the structure definition.
-
getStatusElement
- Overrides:
getStatusElement
in classMetadataResource
- Returns:
MetadataResource.status
(The status of this structure definition. Enables tracking the life-cycle of the content.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
- Overrides:
hasStatusElement
in classMetadataResource
-
hasStatus
- Overrides:
hasStatus
in classMetadataResource
-
setStatusElement
- Overrides:
setStatusElement
in classMetadataResource
- Parameters:
value
-MetadataResource.status
(The status of this structure definition. Enables tracking the life-cycle of the content.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Overrides:
getStatus
in classMetadataResource
- Returns:
- The status of this structure definition. Enables tracking the life-cycle of the content.
-
setStatus
- Overrides:
setStatus
in classMetadataResource
- Parameters:
value
- The status of this structure definition. Enables tracking the life-cycle of the content.
-
getExperimentalElement
- Overrides:
getExperimentalElement
in classMetadataResource
- Returns:
MetadataResource.experimental
(A boolean value to indicate that this structure definition is 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
- Overrides:
hasExperimentalElement
in classMetadataResource
-
hasExperimental
- Overrides:
hasExperimental
in classMetadataResource
-
setExperimentalElement
- Overrides:
setExperimentalElement
in classMetadataResource
- Parameters:
value
-MetadataResource.experimental
(A boolean value to indicate that this structure definition is 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
- Overrides:
getExperimental
in classMetadataResource
- Returns:
- A boolean value to indicate that this structure definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
-
setExperimental
- Overrides:
setExperimental
in classMetadataResource
- Parameters:
value
- A boolean value to indicate that this structure definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
-
getDateElement
- Overrides:
getDateElement
in classMetadataResource
- Returns:
MetadataResource.date
(The date (and optionally time) when the structure definition was published. The date must change if and when the business version changes 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
- Overrides:
hasDateElement
in classMetadataResource
-
hasDate
- Overrides:
hasDate
in classMetadataResource
-
setDateElement
- Overrides:
setDateElement
in classMetadataResource
- Parameters:
value
-MetadataResource.date
(The date (and optionally time) when the structure definition was published. The date must change if and when the business version changes 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
- Overrides:
getDate
in classMetadataResource
- Returns:
- The date (and optionally time) when the structure definition was published. The date must change if and when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the structure definition changes.
-
setDate
- Overrides:
setDate
in classMetadataResource
- Parameters:
value
- The date (and optionally time) when the structure definition was published. The date must change if and when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the structure definition changes.
-
getPublisherElement
- Overrides:
getPublisherElement
in classMetadataResource
- Returns:
MetadataResource.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
- Overrides:
hasPublisherElement
in classMetadataResource
-
hasPublisher
- Overrides:
hasPublisher
in classMetadataResource
-
setPublisherElement
- Overrides:
setPublisherElement
in classMetadataResource
- Parameters:
value
-MetadataResource.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
- Overrides:
getPublisher
in classMetadataResource
- Returns:
- The name of the individual or organization that published the structure definition.
-
setPublisher
- Overrides:
setPublisher
in classMetadataResource
- Parameters:
value
- The name of the individual or organization that published the structure definition.
-
getContact
- Overrides:
getContact
in classMetadataResource
- Returns:
MetadataResource.contact
(Contact details to assist a user in finding and communicating with the publisher.)
-
setContact
- Overrides:
setContact
in classMetadataResource
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasContact
- Overrides:
hasContact
in classMetadataResource
-
addContact
- Overrides:
addContact
in classMetadataResource
-
addContact
- Overrides:
addContact
in classMetadataResource
-
getContactFirstRep
- Overrides:
getContactFirstRep
in classMetadataResource
- Returns:
- The first repetition of repeating field
MetadataResource.contact
, creating it if it does not already exist
-
getDescriptionElement
- Overrides:
getDescriptionElement
in classMetadataResource
- Returns:
MetadataResource.description
(A free text natural language description of the structure definition from a consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
hasDescriptionElement
- Overrides:
hasDescriptionElement
in classMetadataResource
-
hasDescription
- Overrides:
hasDescription
in classMetadataResource
-
setDescriptionElement
- Overrides:
setDescriptionElement
in classMetadataResource
- Parameters:
value
-MetadataResource.description
(A free text natural language description of the structure definition from a consumer's perspective.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
getDescription
- Overrides:
getDescription
in classMetadataResource
- Returns:
- A free text natural language description of the structure definition from a consumer's perspective.
-
setDescription
- Overrides:
setDescription
in classMetadataResource
- Parameters:
value
- A free text natural language description of the structure definition from a consumer's perspective.
-
getUseContext
- Overrides:
getUseContext
in classMetadataResource
- Returns:
MetadataResource.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 for appropriate structure definition instances.)
-
setUseContext
- Overrides:
setUseContext
in classMetadataResource
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasUseContext
- Overrides:
hasUseContext
in classMetadataResource
-
addUseContext
- Overrides:
addUseContext
in classMetadataResource
-
addUseContext
- Overrides:
addUseContext
in classMetadataResource
-
getUseContextFirstRep
- Overrides:
getUseContextFirstRep
in classMetadataResource
- Returns:
- The first repetition of repeating field
MetadataResource.useContext
, creating it if it does not already exist
-
getJurisdiction
- Overrides:
getJurisdiction
in classMetadataResource
- Returns:
MetadataResource.jurisdiction
(A legal or geographic region in which the structure definition is intended to be used.)
-
setJurisdiction
- Overrides:
setJurisdiction
in classMetadataResource
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasJurisdiction
- Overrides:
hasJurisdiction
in classMetadataResource
-
addJurisdiction
- Overrides:
addJurisdiction
in classMetadataResource
-
addJurisdiction
- Overrides:
addJurisdiction
in classMetadataResource
-
getJurisdictionFirstRep
- Overrides:
getJurisdictionFirstRep
in classMetadataResource
- Returns:
- The first repetition of repeating field
MetadataResource.jurisdiction
, creating it if it does not already exist
-
getPurposeElement
- Returns:
purpose
(Explaination of why this structure definition is needed and why it has been designed as it has.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the value
-
hasPurposeElement
-
hasPurpose
-
setPurposeElement
- Parameters:
value
-purpose
(Explaination of why this structure definition is needed and why it has been designed as it has.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the value
-
getPurpose
- Returns:
- Explaination of why this structure definition is needed and why it has been designed as it has.
-
setPurpose
- Parameters:
value
- Explaination of why this structure definition is needed and why it has been designed 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 structure definition.). 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 structure definition.). 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 structure definition.
-
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 structure definition.
-
getKeyword
- Returns:
keyword
(A set of key words or terms from external terminologies that may be used to assist with indexing and searching of templates.)
-
setKeyword
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasKeyword
-
addKeyword
-
addKeyword
-
getKeywordFirstRep
- Returns:
- The first repetition of repeating field
keyword
, creating it if it does not already exist
-
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 3.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 3.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 3.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 3.0.2 for this version.
-
getMapping
- Returns:
mapping
(An external specification that the content is mapped to.)
-
setMapping
public StructureDefinition setMapping(List<StructureDefinition.StructureDefinitionMappingComponent> theMapping) - Returns:
- Returns a reference to
this
for easy method chaining
-
hasMapping
-
addMapping
-
addMapping
-
getMappingFirstRep
- Returns:
- The first repetition of repeating field
mapping
, creating it if it does not already exist
-
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.
-
getAbstractElement
- Returns:
abstract_
(Whether structure this definition describes is abstract or not - that is, whether the structure is not intended to be instantiated. For Resources and Data types, abstract types will never be exchanged between systems.). 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 the structure is not intended to be instantiated. For Resources and Data types, abstract types will never be exchanged between systems.). 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 the structure is not intended to be instantiated. For Resources and Data types, abstract types will never be exchanged between systems.
-
setAbstract
- Parameters:
value
- Whether structure this definition describes is abstract or not - that is, whether the structure is not intended to be instantiated. For Resources and Data types, abstract types will never be exchanged between systems.
-
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.)
-
setContext
- Returns:
- Returns a reference to
this
for easy method chaining
-
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.)
-
getContextInvariant
- Returns:
contextInvariant
(A set of rules as Fluent Invariants about when the extension can be used (e.g. co-occurrence variants for the extension).)
-
setContextInvariant
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasContextInvariant
-
addContextInvariantElement
- Returns:
contextInvariant
(A set of rules as Fluent Invariants about when the extension can be used (e.g. co-occurrence variants for the extension).)
-
addContextInvariant
- Parameters:
value
-contextInvariant
(A set of rules as Fluent Invariants about when the extension can be used (e.g. co-occurrence variants for the extension).)
-
hasContextInvariant
- Parameters:
value
-contextInvariant
(A set of rules as Fluent Invariants about when the extension can be used (e.g. co-occurrence variants for the extension).)
-
getTypeElement
- Returns:
type
(The type this structure describes. If the derivation kind is 'specialization' then this is the master definition for a type, and there is always one of these (a data type, an extension, a resource, including abstract ones). Otherwise the structure definition is a constraint on the stated type (and in this case, the type cannot be an abstract type).). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
-
hasTypeElement
-
hasType
-
setTypeElement
- Parameters:
value
-type
(The type this structure describes. If the derivation kind is 'specialization' then this is the master definition for a type, and there is always one of these (a data type, an extension, a resource, including abstract ones). Otherwise the structure definition is a constraint on the stated type (and in this case, the type cannot be an abstract type).). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
-
getType
- Returns:
- The type this structure describes. If the derivation kind is 'specialization' then this is the master definition for a type, and there is always one of these (a data type, an extension, a resource, including abstract ones). Otherwise the structure definition is a constraint on the stated type (and in this case, the type cannot be an abstract type).
-
setType
- Parameters:
value
- The type this structure describes. If the derivation kind is 'specialization' then this is the master definition for a type, and there is always one of these (a data type, an extension, a resource, including abstract ones). Otherwise the structure definition is a constraint on the stated type (and in this case, the type cannot be an abstract type).
-
getBaseDefinitionElement
- Returns:
baseDefinition
(An absolute URI that is the base structure from which this type is derived, either by specialization or constraint.). This is the underlying object with id, value and extensions. The accessor "getBaseDefinition" gives direct access to the value
-
hasBaseDefinitionElement
-
hasBaseDefinition
-
setBaseDefinitionElement
- Parameters:
value
-baseDefinition
(An absolute URI that is the base structure from which this type is derived, either by specialization or constraint.). This is the underlying object with id, value and extensions. The accessor "getBaseDefinition" gives direct access to the value
-
getBaseDefinition
- Returns:
- An absolute URI that is the base structure from which this type is derived, either by specialization or constraint.
-
setBaseDefinition
- Parameters:
value
- An absolute URI that is the base structure from which this type is derived, either by specialization or constraint.
-
getDerivationElement
- Returns:
derivation
(How the type relates to the baseDefinition.). This is the underlying object with id, value and extensions. The accessor "getDerivation" gives direct access to the value
-
hasDerivationElement
-
hasDerivation
-
setDerivationElement
public StructureDefinition setDerivationElement(Enumeration<StructureDefinition.TypeDerivationRule> value) - Parameters:
value
-derivation
(How the type relates to the baseDefinition.). This is the underlying object with id, value and extensions. The accessor "getDerivation" gives direct access to the value
-
getDerivation
- Returns:
- How the type relates to the baseDefinition.
-
setDerivation
- Parameters:
value
- How the type relates to the baseDefinition.
-
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 classMetadataResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classMetadataResource
- 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 classMetadataResource
- 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 classMetadataResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classMetadataResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classMetadataResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classMetadataResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classMetadataResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classMetadataResource
-
copy
- Specified by:
copy
in classMetadataResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classMetadataResource
-
equalsShallow
- Overrides:
equalsShallow
in classMetadataResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classMetadataResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-