Class StructureDefinition
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
Java class for StructureDefinition complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="StructureDefinition">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="url" type="{http://hl7.org/fhir}uri"/>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="version" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="name" type="{http://hl7.org/fhir}string"/>
<element name="display" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="status" type="{http://hl7.org/fhir}ConformanceResourceStatus"/>
<element name="experimental" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
<element name="publisher" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="contact" type="{http://hl7.org/fhir}StructureDefinition.Contact" maxOccurs="unbounded" minOccurs="0"/>
<element name="date" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="useContext" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
<element name="requirements" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="copyright" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="code" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/>
<element name="fhirVersion" type="{http://hl7.org/fhir}id" minOccurs="0"/>
<element name="mapping" type="{http://hl7.org/fhir}StructureDefinition.Mapping" maxOccurs="unbounded" minOccurs="0"/>
<element name="kind" type="{http://hl7.org/fhir}StructureDefinitionKind"/>
<element name="abstract" type="{http://hl7.org/fhir}boolean"/>
<element name="contextType" type="{http://hl7.org/fhir}ExtensionContext" minOccurs="0"/>
<element name="context" type="{http://hl7.org/fhir}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="baseType" type="{http://hl7.org/fhir}code" minOccurs="0"/>
<element name="baseDefinition" type="{http://hl7.org/fhir}uri" minOccurs="0"/>
<element name="derivation" type="{http://hl7.org/fhir}TypeDerivationRule" minOccurs="0"/>
<element name="snapshot" type="{http://hl7.org/fhir}StructureDefinition.Snapshot" minOccurs="0"/>
<element name="differential" type="{http://hl7.org/fhir}StructureDefinition.Differential" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected Uriprotected Codeprotected List<StructureDefinitionContact> protected ExtensionContextprotected Stringprotected DateTimeprotected TypeDerivationRuleprotected Stringprotected StructureDefinitionDifferentialprotected Stringprotected Booleanprotected Idprotected List<Identifier> protected StructureDefinitionKindprotected List<StructureDefinitionMapping> protected Stringprotected Stringprotected Stringprotected StructureDefinitionSnapshotprotected ConformanceResourceStatusprotected Uriprotected List<CodeableConcept> protected StringFields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the abstract property.Gets the value of the baseDefinition property.Gets the value of the baseType property.getCode()Gets the value of the code property.Gets the value of the contact property.Gets the value of the context property.Gets the value of the contextType property.Gets the value of the copyright property.getDate()Gets the value of the date property.Gets the value of the derivation property.Gets the value of the description property.Gets the value of the differential property.Gets the value of the display property.Gets the value of the experimental property.Gets the value of the fhirVersion property.Gets the value of the identifier property.getKind()Gets the value of the kind property.Gets the value of the mapping property.getName()Gets the value of the name property.Gets the value of the publisher property.Gets the value of the requirements property.Gets the value of the snapshot property.Gets the value of the status property.getUrl()Gets the value of the url property.Gets the value of the useContext property.Gets the value of the version property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetAbstract(Boolean value) Sets the value of the abstract property.voidsetBaseDefinition(Uri value) Sets the value of the baseDefinition property.voidsetBaseType(Code value) Sets the value of the baseType property.voidvoidsetContact(List<StructureDefinitionContact> value) voidsetContext(List<String> value) voidsetContextType(ExtensionContext value) Sets the value of the contextType property.voidsetCopyright(String value) Sets the value of the copyright property.voidSets the value of the date property.voidsetDerivation(TypeDerivationRule value) Sets the value of the derivation property.voidsetDescription(String value) Sets the value of the description property.voidSets the value of the differential property.voidsetDisplay(String value) Sets the value of the display property.voidsetExperimental(Boolean value) Sets the value of the experimental property.voidsetFhirVersion(Id value) Sets the value of the fhirVersion property.voidsetIdentifier(List<Identifier> value) voidsetKind(StructureDefinitionKind value) Sets the value of the kind property.voidsetMapping(List<StructureDefinitionMapping> value) voidSets the value of the name property.voidsetPublisher(String value) Sets the value of the publisher property.voidsetRequirements(String value) Sets the value of the requirements property.voidSets the value of the snapshot property.voidSets the value of the status property.voidSets the value of the url property.voidsetUseContext(List<CodeableConcept> value) voidsetVersion(String value) Sets the value of the version property.toString()withAbstract(Boolean value) withBaseDefinition(Uri value) withBaseType(Code value) withCode(Collection<Coding> values) withContact(StructureDefinitionContact... values) withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withContext(Collection<String> values) withContext(String... values) withContextType(ExtensionContext value) withCopyright(String value) withDerivation(TypeDerivationRule value) withDescription(String value) withDisplay(String value) withExperimental(Boolean value) withExtension(Collection<Extension> values) withExtension(Extension... values) withFhirVersion(Id value) withIdentifier(Collection<Identifier> values) withIdentifier(Identifier... values) withImplicitRules(Uri value) withKind(StructureDefinitionKind value) withLanguage(Code value) withMapping(StructureDefinitionMapping... values) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withPublisher(String value) withRequirements(String value) withUseContext(Collection<CodeableConcept> values) withUseContext(CodeableConcept... values) withVersion(String value) Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setContained, setExtension, setModifierExtension, setTextMethods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
url
-
identifier
-
version
-
name
-
display
-
status
-
experimental
-
publisher
-
contact
-
date
-
description
-
useContext
-
requirements
-
copyright
-
code
-
fhirVersion
-
mapping
-
kind
-
_abstract
-
contextType
-
context
-
baseType
-
baseDefinition
-
derivation
-
snapshot
-
differential
-
-
Constructor Details
-
StructureDefinition
public StructureDefinition()
-
-
Method Details
-
getUrl
Gets the value of the url property.- Returns:
- possible object is
Uri
-
setUrl
Sets the value of the url property.- Parameters:
value- allowed object isUri
-
getIdentifier
Gets the value of the identifier property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the identifier property.For example, to add a new item, do as follows:
getIdentifier().add(newItem);Objects of the following type(s) are allowed in the list
Identifier -
getVersion
Gets the value of the version property.- Returns:
- possible object is
String
-
setVersion
Sets the value of the version property.- Parameters:
value- allowed object isString
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getDisplay
Gets the value of the display property.- Returns:
- possible object is
String
-
setDisplay
Sets the value of the display property.- Parameters:
value- allowed object isString
-
getStatus
Gets the value of the status property.- Returns:
- possible object is
ConformanceResourceStatus
-
setStatus
Sets the value of the status property.- Parameters:
value- allowed object isConformanceResourceStatus
-
getExperimental
Gets the value of the experimental property.- Returns:
- possible object is
Boolean
-
setExperimental
Sets the value of the experimental property.- Parameters:
value- allowed object isBoolean
-
getPublisher
Gets the value of the publisher property.- Returns:
- possible object is
String
-
setPublisher
Sets the value of the publisher property.- Parameters:
value- allowed object isString
-
getContact
Gets the value of the contact property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the contact property.For example, to add a new item, do as follows:
getContact().add(newItem);Objects of the following type(s) are allowed in the list
StructureDefinitionContact -
getDate
Gets the value of the date property.- Returns:
- possible object is
DateTime
-
setDate
Sets the value of the date property.- Parameters:
value- allowed object isDateTime
-
getDescription
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getUseContext
Gets the value of the useContext property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the useContext property.For example, to add a new item, do as follows:
getUseContext().add(newItem);Objects of the following type(s) are allowed in the list
CodeableConcept -
getRequirements
Gets the value of the requirements property.- Returns:
- possible object is
String
-
setRequirements
Sets the value of the requirements property.- Parameters:
value- allowed object isString
-
getCopyright
Gets the value of the copyright property.- Returns:
- possible object is
String
-
setCopyright
Sets the value of the copyright property.- Parameters:
value- allowed object isString
-
getCode
Gets the value of the code property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the code property.For example, to add a new item, do as follows:
getCode().add(newItem);Objects of the following type(s) are allowed in the list
Coding -
getFhirVersion
Gets the value of the fhirVersion property.- Returns:
- possible object is
Id
-
setFhirVersion
Sets the value of the fhirVersion property.- Parameters:
value- allowed object isId
-
getMapping
Gets the value of the mapping property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the mapping property.For example, to add a new item, do as follows:
getMapping().add(newItem);Objects of the following type(s) are allowed in the list
StructureDefinitionMapping -
getKind
Gets the value of the kind property.- Returns:
- possible object is
StructureDefinitionKind
-
setKind
Sets the value of the kind property.- Parameters:
value- allowed object isStructureDefinitionKind
-
getAbstract
Gets the value of the abstract property.- Returns:
- possible object is
Boolean
-
setAbstract
Sets the value of the abstract property.- Parameters:
value- allowed object isBoolean
-
getContextType
Gets the value of the contextType property.- Returns:
- possible object is
ExtensionContext
-
setContextType
Sets the value of the contextType property.- Parameters:
value- allowed object isExtensionContext
-
getContext
Gets the value of the context property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the context property.For example, to add a new item, do as follows:
getContext().add(newItem);Objects of the following type(s) are allowed in the list
String -
getBaseType
Gets the value of the baseType property.- Returns:
- possible object is
Code
-
setBaseType
Sets the value of the baseType property.- Parameters:
value- allowed object isCode
-
getBaseDefinition
Gets the value of the baseDefinition property.- Returns:
- possible object is
Uri
-
setBaseDefinition
Sets the value of the baseDefinition property.- Parameters:
value- allowed object isUri
-
getDerivation
Gets the value of the derivation property.- Returns:
- possible object is
TypeDerivationRule
-
setDerivation
Sets the value of the derivation property.- Parameters:
value- allowed object isTypeDerivationRule
-
getSnapshot
Gets the value of the snapshot property.- Returns:
- possible object is
StructureDefinitionSnapshot
-
setSnapshot
Sets the value of the snapshot property.- Parameters:
value- allowed object isStructureDefinitionSnapshot
-
getDifferential
Gets the value of the differential property.- Returns:
- possible object is
StructureDefinitionDifferential
-
setDifferential
Sets the value of the differential property.- Parameters:
value- allowed object isStructureDefinitionDifferential
-
withUrl
-
withIdentifier
-
withIdentifier
-
withVersion
-
withName
-
withDisplay
-
withStatus
-
withExperimental
-
withPublisher
-
withContact
-
withContact
-
withDate
-
withDescription
-
withUseContext
-
withUseContext
-
withRequirements
-
withCopyright
-
withCode
-
withCode
-
withFhirVersion
-
withMapping
-
withMapping
-
withKind
-
withAbstract
-
withContextType
-
withContext
-
withContext
-
withBaseType
-
withBaseDefinition
-
withDerivation
-
withSnapshot
-
withDifferential
-
withText
- Overrides:
withTextin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withId
- Overrides:
withIdin classDomainResource
-
withMeta
- Overrides:
withMetain classDomainResource
-
withImplicitRules
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
- Overrides:
withLanguagein classDomainResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) - Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()- Overrides:
hashCodein classDomainResource
-
toString
- Overrides:
toStringin classDomainResource
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
setIdentifier
-
setContact
-
setUseContext
-
setCode
-
setMapping
-
setContext
-