
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
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classstatic classstatic enumstatic classstatic classstatic classstatic enumstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for abstractprotected BooleanTypeWhether 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.UriClientParamFluent Client search parameter constant for basestatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for base-pathprotected UriTypeAn 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.TokenClientParamFluent 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. co-occurrence variants for the extension).protected Enumeration<StructureDefinition.ExtensionContext> If this is an extension, Identifies the context within FHIR resources where the extension can be used.protected MarkdownTypeA copyright statement relating to the structure definition and/or its contents.static final ca.uhn.fhir.rest.gclient.DateClientParamFluent Client search parameter constant for dateHow the type relates to the baseDefinition.static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for derivationstatic final ca.uhn.fhir.rest.gclient.StringClientParamFluent 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.TokenClientParamFluent Client search parameter constant for experimentalstatic final ca.uhn.fhir.rest.gclient.StringClientParamFluent Client search parameter constant for ext-contextprotected IdTypeThe 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.TokenClientParamFluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent 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.TokenClientParamFluent Client search parameter constant for keywordDefines the kind of structure that this definition is describing.static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for kindAn external specification that the content is mapped to.static final ca.uhn.fhir.rest.gclient.StringClientParamFluent Client search parameter constant for namestatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for pathstatic final ca.uhn.fhir.rest.gclient.StringClientParamFluent Client search parameter constant for publisherprotected MarkdownTypeExplaination 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 StringSearch parameter: abstractstatic final StringSearch parameter: basestatic final StringSearch parameter: base-pathstatic final StringSearch parameter: context-typestatic final StringSearch parameter: datestatic final StringSearch parameter: derivationstatic final StringSearch parameter: descriptionstatic final StringSearch parameter: experimentalstatic final StringSearch parameter: ext-contextstatic final StringSearch parameter: identifierstatic final StringSearch parameter: jurisdictionstatic final StringSearch parameter: keywordstatic final StringSearch parameter: kindstatic final StringSearch parameter: namestatic final StringSearch parameter: pathstatic final StringSearch parameter: publisherstatic final StringSearch parameter: statusstatic final StringSearch parameter: titlestatic final StringSearch parameter: typestatic final StringSearch parameter: urlstatic final StringSearch parameter: valuesetstatic final StringSearch parameter: versionstatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for statusstatic final ca.uhn.fhir.rest.gclient.StringClientParamFluent Client search parameter constant for titleprotected CodeTypeThe type this structure describes.static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for typestatic final ca.uhn.fhir.rest.gclient.UriClientParamFluent Client search parameter constant for urlstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for valuesetstatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent 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, versionFields inherited from class org.hl7.fhir.dstu3.model.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.dstu3.model.Resource
id, implicitRules, language, metaFields 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_TAGFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
ConstructorsConstructorDescriptionConstructorStructureDefinition(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()booleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()booleangetDate()booleangetKind()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()booleanbooleanbooleanbooleanbooleanbooleanbooleanhasContext(String value) booleanbooleanhasContextInvariant(String value) booleanbooleanbooleanbooleanbooleanhasDate()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanhasKind()booleanbooleanbooleanhasName()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanhasTitle()booleanbooleanhasType()booleanbooleanhasUrl()booleanbooleanbooleanbooleanbooleanisEmpty()protected voidlistChildren(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 StructureDefinitionMethods inherited from class org.hl7.fhir.dstu3.model.MetadataResource
checkCanUseUrl, copyValues, toStringMethods 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, setTextMethods 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, setMetaMethods inherited from class org.hl7.fhir.dstu3.model.BaseResource
getStructureFhirVersionEnum, isResource, setIdMethods 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, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatCommentMethods 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:
getUrlElementin 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:
hasUrlElementin classMetadataResource
-
hasUrl
- Overrides:
hasUrlin classMetadataResource
-
setUrlElement
- Overrides:
setUrlElementin 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:
getUrlin 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:
setUrlin 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
thisfor 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:
getVersionElementin 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:
hasVersionElementin classMetadataResource
-
hasVersion
- Overrides:
hasVersionin classMetadataResource
-
setVersionElement
- Overrides:
setVersionElementin 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:
getVersionin 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:
setVersionin 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:
getNameElementin 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:
hasNameElementin classMetadataResource
-
hasName
- Overrides:
hasNamein classMetadataResource
-
setNameElement
- Overrides:
setNameElementin 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:
getNamein 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:
setNamein 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:
getTitleElementin 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:
hasTitleElementin classMetadataResource
-
hasTitle
- Overrides:
hasTitlein classMetadataResource
-
setTitleElement
- Overrides:
setTitleElementin 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:
getTitlein classMetadataResource- Returns:
- A short, descriptive, user-friendly title for the structure definition.
-
setTitle
- Overrides:
setTitlein classMetadataResource- Parameters:
value- A short, descriptive, user-friendly title for the structure definition.
-
getStatusElement
- Overrides:
getStatusElementin 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:
hasStatusElementin classMetadataResource
-
hasStatus
- Overrides:
hasStatusin classMetadataResource
-
setStatusElement
- Overrides:
setStatusElementin 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:
getStatusin classMetadataResource- Returns:
- The status of this structure definition. Enables tracking the life-cycle of the content.
-
setStatus
- Overrides:
setStatusin classMetadataResource- Parameters:
value- The status of this structure definition. Enables tracking the life-cycle of the content.
-
getExperimentalElement
- Overrides:
getExperimentalElementin 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:
hasExperimentalElementin classMetadataResource
-
hasExperimental
- Overrides:
hasExperimentalin classMetadataResource
-
setExperimentalElement
- Overrides:
setExperimentalElementin 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:
getExperimentalin 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:
setExperimentalin 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:
getDateElementin 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:
hasDateElementin classMetadataResource
-
hasDate
- Overrides:
hasDatein classMetadataResource
-
setDateElement
- Overrides:
setDateElementin 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:
getDatein 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:
setDatein 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:
getPublisherElementin 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:
hasPublisherElementin classMetadataResource
-
hasPublisher
- Overrides:
hasPublisherin classMetadataResource
-
setPublisherElement
- Overrides:
setPublisherElementin 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:
getPublisherin classMetadataResource- Returns:
- The name of the individual or organization that published the structure definition.
-
setPublisher
- Overrides:
setPublisherin classMetadataResource- Parameters:
value- The name of the individual or organization that published the structure definition.
-
getContact
- Overrides:
getContactin classMetadataResource- Returns:
MetadataResource.contact(Contact details to assist a user in finding and communicating with the publisher.)
-
setContact
- Overrides:
setContactin classMetadataResource- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasContact
- Overrides:
hasContactin classMetadataResource
-
addContact
- Overrides:
addContactin classMetadataResource
-
addContact
- Overrides:
addContactin classMetadataResource
-
getContactFirstRep
- Overrides:
getContactFirstRepin classMetadataResource- Returns:
- The first repetition of repeating field
MetadataResource.contact, creating it if it does not already exist
-
getDescriptionElement
- Overrides:
getDescriptionElementin 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:
hasDescriptionElementin classMetadataResource
-
hasDescription
- Overrides:
hasDescriptionin classMetadataResource
-
setDescriptionElement
- Overrides:
setDescriptionElementin 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:
getDescriptionin classMetadataResource- Returns:
- A free text natural language description of the structure definition from a consumer's perspective.
-
setDescription
- Overrides:
setDescriptionin classMetadataResource- Parameters:
value- A free text natural language description of the structure definition from a consumer's perspective.
-
getUseContext
- Overrides:
getUseContextin 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:
setUseContextin classMetadataResource- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasUseContext
- Overrides:
hasUseContextin classMetadataResource
-
addUseContext
- Overrides:
addUseContextin classMetadataResource
-
addUseContext
- Overrides:
addUseContextin classMetadataResource
-
getUseContextFirstRep
- Overrides:
getUseContextFirstRepin classMetadataResource- Returns:
- The first repetition of repeating field
MetadataResource.useContext, creating it if it does not already exist
-
getJurisdiction
- Overrides:
getJurisdictionin classMetadataResource- Returns:
MetadataResource.jurisdiction(A legal or geographic region in which the structure definition is intended to be used.)
-
setJurisdiction
- Overrides:
setJurisdictionin classMetadataResource- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasJurisdiction
- Overrides:
hasJurisdictionin classMetadataResource
-
addJurisdiction
- Overrides:
addJurisdictionin classMetadataResource
-
addJurisdiction
- Overrides:
addJurisdictionin classMetadataResource
-
getJurisdictionFirstRep
- Overrides:
getJurisdictionFirstRepin 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
thisfor 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
thisfor 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
thisfor 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
thisfor 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:
listChildrenin classMetadataResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classMetadataResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classMetadataResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classMetadataResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classMetadataResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classMetadataResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin classMetadataResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classMetadataResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classMetadataResource
-
copy
- Specified by:
copyin classMetadataResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classMetadataResource
-
equalsShallow
- Overrides:
equalsShallowin classMetadataResource
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classMetadataResource
-
getResourceType
- Specified by:
getResourceTypein classResource
-