public class StructureDefinition extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
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>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
_abstract |
protected Uri |
baseDefinition |
protected Code |
baseType |
protected java.util.List<Coding> |
code |
protected java.util.List<StructureDefinitionContact> |
contact |
protected java.util.List<String> |
context |
protected ExtensionContext |
contextType |
protected String |
copyright |
protected DateTime |
date |
protected TypeDerivationRule |
derivation |
protected String |
description |
protected StructureDefinitionDifferential |
differential |
protected String |
display |
protected Boolean |
experimental |
protected Id |
fhirVersion |
protected java.util.List<Identifier> |
identifier |
protected StructureDefinitionKind |
kind |
protected java.util.List<StructureDefinitionMapping> |
mapping |
protected String |
name |
protected String |
publisher |
protected String |
requirements |
protected StructureDefinitionSnapshot |
snapshot |
protected ConformanceResourceStatus |
status |
protected Uri |
url |
protected java.util.List<CodeableConcept> |
useContext |
protected String |
version |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
StructureDefinition() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
Boolean |
getAbstract()
Gets the value of the abstract property.
|
Uri |
getBaseDefinition()
Gets the value of the baseDefinition property.
|
Code |
getBaseType()
Gets the value of the baseType property.
|
java.util.List<Coding> |
getCode()
Gets the value of the code property.
|
java.util.List<StructureDefinitionContact> |
getContact()
Gets the value of the contact property.
|
java.util.List<String> |
getContext()
Gets the value of the context property.
|
ExtensionContext |
getContextType()
Gets the value of the contextType property.
|
String |
getCopyright()
Gets the value of the copyright property.
|
DateTime |
getDate()
Gets the value of the date property.
|
TypeDerivationRule |
getDerivation()
Gets the value of the derivation property.
|
String |
getDescription()
Gets the value of the description property.
|
StructureDefinitionDifferential |
getDifferential()
Gets the value of the differential property.
|
String |
getDisplay()
Gets the value of the display property.
|
Boolean |
getExperimental()
Gets the value of the experimental property.
|
Id |
getFhirVersion()
Gets the value of the fhirVersion property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
StructureDefinitionKind |
getKind()
Gets the value of the kind property.
|
java.util.List<StructureDefinitionMapping> |
getMapping()
Gets the value of the mapping property.
|
String |
getName()
Gets the value of the name property.
|
String |
getPublisher()
Gets the value of the publisher property.
|
String |
getRequirements()
Gets the value of the requirements property.
|
StructureDefinitionSnapshot |
getSnapshot()
Gets the value of the snapshot property.
|
ConformanceResourceStatus |
getStatus()
Gets the value of the status property.
|
Uri |
getUrl()
Gets the value of the url property.
|
java.util.List<CodeableConcept> |
getUseContext()
Gets the value of the useContext property.
|
String |
getVersion()
Gets the value of the version property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAbstract(Boolean value)
Sets the value of the abstract property.
|
void |
setBaseDefinition(Uri value)
Sets the value of the baseDefinition property.
|
void |
setBaseType(Code value)
Sets the value of the baseType property.
|
void |
setContextType(ExtensionContext value)
Sets the value of the contextType property.
|
void |
setCopyright(String value)
Sets the value of the copyright property.
|
void |
setDate(DateTime value)
Sets the value of the date property.
|
void |
setDerivation(TypeDerivationRule value)
Sets the value of the derivation property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setDifferential(StructureDefinitionDifferential value)
Sets the value of the differential property.
|
void |
setDisplay(String value)
Sets the value of the display property.
|
void |
setExperimental(Boolean value)
Sets the value of the experimental property.
|
void |
setFhirVersion(Id value)
Sets the value of the fhirVersion property.
|
void |
setKind(StructureDefinitionKind value)
Sets the value of the kind property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setPublisher(String value)
Sets the value of the publisher property.
|
void |
setRequirements(String value)
Sets the value of the requirements property.
|
void |
setSnapshot(StructureDefinitionSnapshot value)
Sets the value of the snapshot property.
|
void |
setStatus(ConformanceResourceStatus value)
Sets the value of the status property.
|
void |
setUrl(Uri value)
Sets the value of the url property.
|
void |
setVersion(String value)
Sets the value of the version property.
|
java.lang.String |
toString() |
StructureDefinition |
withAbstract(Boolean value) |
StructureDefinition |
withBaseDefinition(Uri value) |
StructureDefinition |
withBaseType(Code value) |
StructureDefinition |
withCode(Coding... values) |
StructureDefinition |
withCode(java.util.Collection<Coding> values) |
StructureDefinition |
withContact(java.util.Collection<StructureDefinitionContact> values) |
StructureDefinition |
withContact(StructureDefinitionContact... values) |
StructureDefinition |
withContained(java.util.Collection<ResourceContainer> values) |
StructureDefinition |
withContained(ResourceContainer... values) |
StructureDefinition |
withContext(java.util.Collection<String> values) |
StructureDefinition |
withContext(String... values) |
StructureDefinition |
withContextType(ExtensionContext value) |
StructureDefinition |
withCopyright(String value) |
StructureDefinition |
withDate(DateTime value) |
StructureDefinition |
withDerivation(TypeDerivationRule value) |
StructureDefinition |
withDescription(String value) |
StructureDefinition |
withDifferential(StructureDefinitionDifferential value) |
StructureDefinition |
withDisplay(String value) |
StructureDefinition |
withExperimental(Boolean value) |
StructureDefinition |
withExtension(java.util.Collection<Extension> values) |
StructureDefinition |
withExtension(Extension... values) |
StructureDefinition |
withFhirVersion(Id value) |
StructureDefinition |
withId(Id value) |
StructureDefinition |
withIdentifier(java.util.Collection<Identifier> values) |
StructureDefinition |
withIdentifier(Identifier... values) |
StructureDefinition |
withImplicitRules(Uri value) |
StructureDefinition |
withKind(StructureDefinitionKind value) |
StructureDefinition |
withLanguage(Code value) |
StructureDefinition |
withMapping(java.util.Collection<StructureDefinitionMapping> values) |
StructureDefinition |
withMapping(StructureDefinitionMapping... values) |
StructureDefinition |
withMeta(Meta value) |
StructureDefinition |
withModifierExtension(java.util.Collection<Extension> values) |
StructureDefinition |
withModifierExtension(Extension... values) |
StructureDefinition |
withName(String value) |
StructureDefinition |
withPublisher(String value) |
StructureDefinition |
withRequirements(String value) |
StructureDefinition |
withSnapshot(StructureDefinitionSnapshot value) |
StructureDefinition |
withStatus(ConformanceResourceStatus value) |
StructureDefinition |
withText(Narrative value) |
StructureDefinition |
withUrl(Uri value) |
StructureDefinition |
withUseContext(CodeableConcept... values) |
StructureDefinition |
withUseContext(java.util.Collection<CodeableConcept> values) |
StructureDefinition |
withVersion(String value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected Uri url
protected java.util.List<Identifier> identifier
protected String version
protected String name
protected String display
protected ConformanceResourceStatus status
protected Boolean experimental
protected String publisher
protected java.util.List<StructureDefinitionContact> contact
protected DateTime date
protected String description
protected java.util.List<CodeableConcept> useContext
protected String requirements
protected String copyright
protected java.util.List<Coding> code
protected Id fhirVersion
protected java.util.List<StructureDefinitionMapping> mapping
protected StructureDefinitionKind kind
protected Boolean _abstract
protected ExtensionContext contextType
protected java.util.List<String> context
protected Code baseType
protected Uri baseDefinition
protected TypeDerivationRule derivation
protected StructureDefinitionSnapshot snapshot
protected StructureDefinitionDifferential differential
public void setUrl(Uri value)
value - allowed object is
Uripublic java.util.List<Identifier> getIdentifier()
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 JAXB object.
This is why there is not a set method 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
public String getVersion()
Stringpublic void setVersion(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getDisplay()
Stringpublic void setDisplay(String value)
value - allowed object is
Stringpublic ConformanceResourceStatus getStatus()
ConformanceResourceStatuspublic void setStatus(ConformanceResourceStatus value)
value - allowed object is
ConformanceResourceStatuspublic Boolean getExperimental()
Booleanpublic void setExperimental(Boolean value)
value - allowed object is
Booleanpublic String getPublisher()
Stringpublic void setPublisher(String value)
value - allowed object is
Stringpublic java.util.List<StructureDefinitionContact> getContact()
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 JAXB object.
This is why there is not a set method 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
public DateTime getDate()
DateTimepublic void setDate(DateTime value)
value - allowed object is
DateTimepublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic java.util.List<CodeableConcept> getUseContext()
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 JAXB object.
This is why there is not a set method 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
public String getRequirements()
Stringpublic void setRequirements(String value)
value - allowed object is
Stringpublic String getCopyright()
Stringpublic void setCopyright(String value)
value - allowed object is
Stringpublic java.util.List<Coding> getCode()
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 JAXB object.
This is why there is not a set method 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
public Id getFhirVersion()
Idpublic void setFhirVersion(Id value)
value - allowed object is
Idpublic java.util.List<StructureDefinitionMapping> getMapping()
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 JAXB object.
This is why there is not a set method 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
public StructureDefinitionKind getKind()
StructureDefinitionKindpublic void setKind(StructureDefinitionKind value)
value - allowed object is
StructureDefinitionKindpublic Boolean getAbstract()
Booleanpublic void setAbstract(Boolean value)
value - allowed object is
Booleanpublic ExtensionContext getContextType()
ExtensionContextpublic void setContextType(ExtensionContext value)
value - allowed object is
ExtensionContextpublic java.util.List<String> getContext()
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 JAXB object.
This is why there is not a set method 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
public Code getBaseType()
Codepublic void setBaseType(Code value)
value - allowed object is
Codepublic Uri getBaseDefinition()
Uripublic void setBaseDefinition(Uri value)
value - allowed object is
Uripublic TypeDerivationRule getDerivation()
TypeDerivationRulepublic void setDerivation(TypeDerivationRule value)
value - allowed object is
TypeDerivationRulepublic StructureDefinitionSnapshot getSnapshot()
StructureDefinitionSnapshotpublic void setSnapshot(StructureDefinitionSnapshot value)
value - allowed object is
StructureDefinitionSnapshotpublic StructureDefinitionDifferential getDifferential()
StructureDefinitionDifferentialpublic void setDifferential(StructureDefinitionDifferential value)
value - allowed object is
StructureDefinitionDifferentialpublic StructureDefinition withUrl(Uri value)
public StructureDefinition withIdentifier(Identifier... values)
public StructureDefinition withIdentifier(java.util.Collection<Identifier> values)
public StructureDefinition withVersion(String value)
public StructureDefinition withName(String value)
public StructureDefinition withDisplay(String value)
public StructureDefinition withStatus(ConformanceResourceStatus value)
public StructureDefinition withExperimental(Boolean value)
public StructureDefinition withPublisher(String value)
public StructureDefinition withContact(StructureDefinitionContact... values)
public StructureDefinition withContact(java.util.Collection<StructureDefinitionContact> values)
public StructureDefinition withDate(DateTime value)
public StructureDefinition withDescription(String value)
public StructureDefinition withUseContext(CodeableConcept... values)
public StructureDefinition withUseContext(java.util.Collection<CodeableConcept> values)
public StructureDefinition withRequirements(String value)
public StructureDefinition withCopyright(String value)
public StructureDefinition withCode(Coding... values)
public StructureDefinition withCode(java.util.Collection<Coding> values)
public StructureDefinition withFhirVersion(Id value)
public StructureDefinition withMapping(StructureDefinitionMapping... values)
public StructureDefinition withMapping(java.util.Collection<StructureDefinitionMapping> values)
public StructureDefinition withKind(StructureDefinitionKind value)
public StructureDefinition withAbstract(Boolean value)
public StructureDefinition withContextType(ExtensionContext value)
public StructureDefinition withContext(String... values)
public StructureDefinition withContext(java.util.Collection<String> values)
public StructureDefinition withBaseType(Code value)
public StructureDefinition withBaseDefinition(Uri value)
public StructureDefinition withDerivation(TypeDerivationRule value)
public StructureDefinition withSnapshot(StructureDefinitionSnapshot value)
public StructureDefinition withDifferential(StructureDefinitionDifferential value)
public StructureDefinition withText(Narrative value)
withText in class DomainResourcepublic StructureDefinition withContained(ResourceContainer... values)
withContained in class DomainResourcepublic StructureDefinition withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic StructureDefinition withExtension(Extension... values)
withExtension in class DomainResourcepublic StructureDefinition withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic StructureDefinition withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic StructureDefinition withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic StructureDefinition withId(Id value)
withId in class DomainResourcepublic StructureDefinition withMeta(Meta value)
withMeta in class DomainResourcepublic StructureDefinition withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic StructureDefinition withLanguage(Code value)
withLanguage in class DomainResourcepublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class DomainResourcepublic boolean equals(java.lang.Object object)
equals in class DomainResourcepublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class DomainResourcepublic int hashCode()
hashCode in class DomainResourcepublic java.lang.String toString()
toString in class DomainResourcepublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class DomainResourcepublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class DomainResource