Package org.hl7.fhir
Class Extension
java.lang.Object
org.hl7.fhir.Element
org.hl7.fhir.Extension
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class Extension
extends Element
implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions
Java class for Extension complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Extension">
<complexContent>
<extension base="{http://hl7.org/fhir}Element">
<sequence>
<choice minOccurs="0">
<element name="valueBoolean" type="{http://hl7.org/fhir}boolean"/>
<element name="valueInteger" type="{http://hl7.org/fhir}integer"/>
<element name="valueDecimal" type="{http://hl7.org/fhir}decimal"/>
<element name="valueBase64Binary" type="{http://hl7.org/fhir}base64Binary"/>
<element name="valueInstant" type="{http://hl7.org/fhir}instant"/>
<element name="valueString" type="{http://hl7.org/fhir}string"/>
<element name="valueUri" type="{http://hl7.org/fhir}uri"/>
<element name="valueDate" type="{http://hl7.org/fhir}date"/>
<element name="valueDateTime" type="{http://hl7.org/fhir}dateTime"/>
<element name="valueTime" type="{http://hl7.org/fhir}time"/>
<element name="valueCode" type="{http://hl7.org/fhir}code"/>
<element name="valueOid" type="{http://hl7.org/fhir}oid"/>
<element name="valueUuid" type="{http://hl7.org/fhir}uuid"/>
<element name="valueId" type="{http://hl7.org/fhir}id"/>
<element name="valueUnsignedInt" type="{http://hl7.org/fhir}unsignedInt"/>
<element name="valuePositiveInt" type="{http://hl7.org/fhir}positiveInt"/>
<element name="valueMarkdown" type="{http://hl7.org/fhir}markdown"/>
<element name="valueAnnotation" type="{http://hl7.org/fhir}Annotation"/>
<element name="valueAttachment" type="{http://hl7.org/fhir}Attachment"/>
<element name="valueIdentifier" type="{http://hl7.org/fhir}Identifier"/>
<element name="valueCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept"/>
<element name="valueCoding" type="{http://hl7.org/fhir}Coding"/>
<element name="valueQuantity" type="{http://hl7.org/fhir}Quantity"/>
<element name="valueRange" type="{http://hl7.org/fhir}Range"/>
<element name="valuePeriod" type="{http://hl7.org/fhir}Period"/>
<element name="valueRatio" type="{http://hl7.org/fhir}Ratio"/>
<element name="valueReference" type="{http://hl7.org/fhir}Reference"/>
<element name="valueSampledData" type="{http://hl7.org/fhir}SampledData"/>
<element name="valueSignature" type="{http://hl7.org/fhir}Signature"/>
<element name="valueHumanName" type="{http://hl7.org/fhir}HumanName"/>
<element name="valueAddress" type="{http://hl7.org/fhir}Address"/>
<element name="valueContactPoint" type="{http://hl7.org/fhir}ContactPoint"/>
<element name="valueTiming" type="{http://hl7.org/fhir}Timing"/>
<element name="valueMeta" type="{http://hl7.org/fhir}Meta"/>
</choice>
</sequence>
<attribute name="url" use="required" type="{http://hl7.org/fhir}uri-primitive" />
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Addressprotected Annotationprotected Attachmentprotected Base64Binaryprotected Booleanprotected Codeprotected CodeableConceptprotected Codingprotected ContactPointprotected Dateprotected DateTimeprotected Decimalprotected HumanNameprotected Idprotected Identifierprotected Instantprotected Integerprotected Markdownprotected Metaprotected Oidprotected Periodprotected PositiveIntprotected Quantityprotected Rangeprotected Ratioprotected Referenceprotected SampledDataprotected Signatureprotected Stringprotected Timeprotected Timingprotected UnsignedIntprotected Uriprotected Uuid -
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) getUrl()Gets the value of the url property.Gets the value of the valueAddress property.Gets the value of the valueAnnotation property.Gets the value of the valueAttachment property.Gets the value of the valueBase64Binary property.Gets the value of the valueBoolean property.Gets the value of the valueCode property.Gets the value of the valueCodeableConcept property.Gets the value of the valueCoding property.Gets the value of the valueContactPoint property.Gets the value of the valueDate property.Gets the value of the valueDateTime property.Gets the value of the valueDecimal property.Gets the value of the valueHumanName property.Gets the value of the valueId property.Gets the value of the valueIdentifier property.Gets the value of the valueInstant property.Gets the value of the valueInteger property.Gets the value of the valueMarkdown property.Gets the value of the valueMeta property.Gets the value of the valueOid property.Gets the value of the valuePeriod property.Gets the value of the valuePositiveInt property.Gets the value of the valueQuantity property.Gets the value of the valueRange property.Gets the value of the valueRatio property.Gets the value of the valueReference property.Gets the value of the valueSampledData property.Gets the value of the valueSignature property.Gets the value of the valueString property.Gets the value of the valueTime property.Gets the value of the valueTiming property.Gets the value of the valueUnsignedInt property.Gets the value of the valueUri property.Gets the value of the valueUuid property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidSets the value of the url property.voidsetValueAddress(Address value) Sets the value of the valueAddress property.voidsetValueAnnotation(Annotation value) Sets the value of the valueAnnotation property.voidsetValueAttachment(Attachment value) Sets the value of the valueAttachment property.voidsetValueBase64Binary(Base64Binary value) Sets the value of the valueBase64Binary property.voidsetValueBoolean(Boolean value) Sets the value of the valueBoolean property.voidsetValueCode(Code value) Sets the value of the valueCode property.voidSets the value of the valueCodeableConcept property.voidsetValueCoding(Coding value) Sets the value of the valueCoding property.voidsetValueContactPoint(ContactPoint value) Sets the value of the valueContactPoint property.voidsetValueDate(Date value) Sets the value of the valueDate property.voidsetValueDateTime(DateTime value) Sets the value of the valueDateTime property.voidsetValueDecimal(Decimal value) Sets the value of the valueDecimal property.voidsetValueHumanName(HumanName value) Sets the value of the valueHumanName property.voidsetValueId(Id value) Sets the value of the valueId property.voidsetValueIdentifier(Identifier value) Sets the value of the valueIdentifier property.voidsetValueInstant(Instant value) Sets the value of the valueInstant property.voidsetValueInteger(Integer value) Sets the value of the valueInteger property.voidsetValueMarkdown(Markdown value) Sets the value of the valueMarkdown property.voidsetValueMeta(Meta value) Sets the value of the valueMeta property.voidsetValueOid(Oid value) Sets the value of the valueOid property.voidsetValuePeriod(Period value) Sets the value of the valuePeriod property.voidsetValuePositiveInt(PositiveInt value) Sets the value of the valuePositiveInt property.voidsetValueQuantity(Quantity value) Sets the value of the valueQuantity property.voidsetValueRange(Range value) Sets the value of the valueRange property.voidsetValueRatio(Ratio value) Sets the value of the valueRatio property.voidsetValueReference(Reference value) Sets the value of the valueReference property.voidsetValueSampledData(SampledData value) Sets the value of the valueSampledData property.voidsetValueSignature(Signature value) Sets the value of the valueSignature property.voidsetValueString(String value) Sets the value of the valueString property.voidsetValueTime(Time value) Sets the value of the valueTime property.voidsetValueTiming(Timing value) Sets the value of the valueTiming property.voidsetValueUnsignedInt(UnsignedInt value) Sets the value of the valueUnsignedInt property.voidsetValueUri(Uri value) Sets the value of the valueUri property.voidsetValueUuid(Uuid value) Sets the value of the valueUuid property.toString()withExtension(Collection<Extension> values) withExtension(Extension... values) withValueAddress(Address value) withValueAnnotation(Annotation value) withValueAttachment(Attachment value) withValueBoolean(Boolean value) withValueCode(Code value) withValueCoding(Coding value) withValueDate(Date value) withValueDateTime(DateTime value) withValueDecimal(Decimal value) withValueHumanName(HumanName value) withValueId(Id value) withValueIdentifier(Identifier value) withValueInstant(Instant value) withValueInteger(Integer value) withValueMarkdown(Markdown value) withValueMeta(Meta value) withValueOid(Oid value) withValuePeriod(Period value) withValuePositiveInt(PositiveInt value) withValueQuantity(Quantity value) withValueRange(Range value) withValueRatio(Ratio value) withValueReference(Reference value) withValueSampledData(SampledData value) withValueSignature(Signature value) withValueString(String value) withValueTime(Time value) withValueTiming(Timing value) withValueUnsignedInt(UnsignedInt value) withValueUri(Uri value) withValueUuid(Uuid value) Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setExtension, setId
-
Field Details
-
valueBoolean
-
valueInteger
-
valueDecimal
-
valueBase64Binary
-
valueInstant
-
valueString
-
valueUri
-
valueDate
-
valueDateTime
-
valueTime
-
valueCode
-
valueOid
-
valueUuid
-
valueId
-
valueUnsignedInt
-
valuePositiveInt
-
valueMarkdown
-
valueAnnotation
-
valueAttachment
-
valueIdentifier
-
valueCodeableConcept
-
valueCoding
-
valueQuantity
-
valueRange
-
valuePeriod
-
valueRatio
-
valueReference
-
valueSampledData
-
valueSignature
-
valueHumanName
-
valueAddress
-
valueContactPoint
-
valueTiming
-
valueMeta
-
url
-
-
Constructor Details
-
Extension
public Extension()
-
-
Method Details
-
getValueBoolean
Gets the value of the valueBoolean property.- Returns:
- possible object is
Boolean
-
setValueBoolean
Sets the value of the valueBoolean property.- Parameters:
value- allowed object isBoolean
-
getValueInteger
Gets the value of the valueInteger property.- Returns:
- possible object is
Integer
-
setValueInteger
Sets the value of the valueInteger property.- Parameters:
value- allowed object isInteger
-
getValueDecimal
Gets the value of the valueDecimal property.- Returns:
- possible object is
Decimal
-
setValueDecimal
Sets the value of the valueDecimal property.- Parameters:
value- allowed object isDecimal
-
getValueBase64Binary
Gets the value of the valueBase64Binary property.- Returns:
- possible object is
Base64Binary
-
setValueBase64Binary
Sets the value of the valueBase64Binary property.- Parameters:
value- allowed object isBase64Binary
-
getValueInstant
Gets the value of the valueInstant property.- Returns:
- possible object is
Instant
-
setValueInstant
Sets the value of the valueInstant property.- Parameters:
value- allowed object isInstant
-
getValueString
Gets the value of the valueString property.- Returns:
- possible object is
String
-
setValueString
Sets the value of the valueString property.- Parameters:
value- allowed object isString
-
getValueUri
Gets the value of the valueUri property.- Returns:
- possible object is
Uri
-
setValueUri
Sets the value of the valueUri property.- Parameters:
value- allowed object isUri
-
getValueDate
Gets the value of the valueDate property.- Returns:
- possible object is
Date
-
setValueDate
Sets the value of the valueDate property.- Parameters:
value- allowed object isDate
-
getValueDateTime
Gets the value of the valueDateTime property.- Returns:
- possible object is
DateTime
-
setValueDateTime
Sets the value of the valueDateTime property.- Parameters:
value- allowed object isDateTime
-
getValueTime
Gets the value of the valueTime property.- Returns:
- possible object is
Time
-
setValueTime
Sets the value of the valueTime property.- Parameters:
value- allowed object isTime
-
getValueCode
Gets the value of the valueCode property.- Returns:
- possible object is
Code
-
setValueCode
Sets the value of the valueCode property.- Parameters:
value- allowed object isCode
-
getValueOid
Gets the value of the valueOid property.- Returns:
- possible object is
Oid
-
setValueOid
Sets the value of the valueOid property.- Parameters:
value- allowed object isOid
-
getValueUuid
Gets the value of the valueUuid property.- Returns:
- possible object is
Uuid
-
setValueUuid
Sets the value of the valueUuid property.- Parameters:
value- allowed object isUuid
-
getValueId
Gets the value of the valueId property.- Returns:
- possible object is
Id
-
setValueId
Sets the value of the valueId property.- Parameters:
value- allowed object isId
-
getValueUnsignedInt
Gets the value of the valueUnsignedInt property.- Returns:
- possible object is
UnsignedInt
-
setValueUnsignedInt
Sets the value of the valueUnsignedInt property.- Parameters:
value- allowed object isUnsignedInt
-
getValuePositiveInt
Gets the value of the valuePositiveInt property.- Returns:
- possible object is
PositiveInt
-
setValuePositiveInt
Sets the value of the valuePositiveInt property.- Parameters:
value- allowed object isPositiveInt
-
getValueMarkdown
Gets the value of the valueMarkdown property.- Returns:
- possible object is
Markdown
-
setValueMarkdown
Sets the value of the valueMarkdown property.- Parameters:
value- allowed object isMarkdown
-
getValueAnnotation
Gets the value of the valueAnnotation property.- Returns:
- possible object is
Annotation
-
setValueAnnotation
Sets the value of the valueAnnotation property.- Parameters:
value- allowed object isAnnotation
-
getValueAttachment
Gets the value of the valueAttachment property.- Returns:
- possible object is
Attachment
-
setValueAttachment
Sets the value of the valueAttachment property.- Parameters:
value- allowed object isAttachment
-
getValueIdentifier
Gets the value of the valueIdentifier property.- Returns:
- possible object is
Identifier
-
setValueIdentifier
Sets the value of the valueIdentifier property.- Parameters:
value- allowed object isIdentifier
-
getValueCodeableConcept
Gets the value of the valueCodeableConcept property.- Returns:
- possible object is
CodeableConcept
-
setValueCodeableConcept
Sets the value of the valueCodeableConcept property.- Parameters:
value- allowed object isCodeableConcept
-
getValueCoding
Gets the value of the valueCoding property.- Returns:
- possible object is
Coding
-
setValueCoding
Sets the value of the valueCoding property.- Parameters:
value- allowed object isCoding
-
getValueQuantity
Gets the value of the valueQuantity property.- Returns:
- possible object is
Quantity
-
setValueQuantity
Sets the value of the valueQuantity property.- Parameters:
value- allowed object isQuantity
-
getValueRange
Gets the value of the valueRange property.- Returns:
- possible object is
Range
-
setValueRange
Sets the value of the valueRange property.- Parameters:
value- allowed object isRange
-
getValuePeriod
Gets the value of the valuePeriod property.- Returns:
- possible object is
Period
-
setValuePeriod
Sets the value of the valuePeriod property.- Parameters:
value- allowed object isPeriod
-
getValueRatio
Gets the value of the valueRatio property.- Returns:
- possible object is
Ratio
-
setValueRatio
Sets the value of the valueRatio property.- Parameters:
value- allowed object isRatio
-
getValueReference
Gets the value of the valueReference property.- Returns:
- possible object is
Reference
-
setValueReference
Sets the value of the valueReference property.- Parameters:
value- allowed object isReference
-
getValueSampledData
Gets the value of the valueSampledData property.- Returns:
- possible object is
SampledData
-
setValueSampledData
Sets the value of the valueSampledData property.- Parameters:
value- allowed object isSampledData
-
getValueSignature
Gets the value of the valueSignature property.- Returns:
- possible object is
Signature
-
setValueSignature
Sets the value of the valueSignature property.- Parameters:
value- allowed object isSignature
-
getValueHumanName
Gets the value of the valueHumanName property.- Returns:
- possible object is
HumanName
-
setValueHumanName
Sets the value of the valueHumanName property.- Parameters:
value- allowed object isHumanName
-
getValueAddress
Gets the value of the valueAddress property.- Returns:
- possible object is
Address
-
setValueAddress
Sets the value of the valueAddress property.- Parameters:
value- allowed object isAddress
-
getValueContactPoint
Gets the value of the valueContactPoint property.- Returns:
- possible object is
ContactPoint
-
setValueContactPoint
Sets the value of the valueContactPoint property.- Parameters:
value- allowed object isContactPoint
-
getValueTiming
Gets the value of the valueTiming property.- Returns:
- possible object is
Timing
-
setValueTiming
Sets the value of the valueTiming property.- Parameters:
value- allowed object isTiming
-
getValueMeta
Gets the value of the valueMeta property.- Returns:
- possible object is
Meta
-
setValueMeta
Sets the value of the valueMeta property.- Parameters:
value- allowed object isMeta
-
getUrl
Gets the value of the url property.- Returns:
- possible object is
String
-
setUrl
Sets the value of the url property.- Parameters:
value- allowed object isString
-
withValueBoolean
-
withValueInteger
-
withValueDecimal
-
withValueBase64Binary
-
withValueInstant
-
withValueString
-
withValueUri
-
withValueDate
-
withValueDateTime
-
withValueTime
-
withValueCode
-
withValueOid
-
withValueUuid
-
withValueId
-
withValueUnsignedInt
-
withValuePositiveInt
-
withValueMarkdown
-
withValueAnnotation
-
withValueAttachment
-
withValueIdentifier
-
withValueCodeableConcept
-
withValueCoding
-
withValueQuantity
-
withValueRange
-
withValuePeriod
-
withValueRatio
-
withValueReference
-
withValueSampledData
-
withValueSignature
-
withValueHumanName
-
withValueAddress
-
withValueContactPoint
-
withValueTiming
-
withValueMeta
-
withUrl
-
withExtension
- Overrides:
withExtensionin classElement
-
withExtension
- Overrides:
withExtensionin classElement
-
withId
-
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) -
equals
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) -
hashCode
public int hashCode() -
toString
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) -
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 classElement
-