Class DeviceComponent
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.DeviceComponent
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class DeviceComponent extends DomainResource 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 either a @value, an @id, or extensionsJava class for DeviceComponent complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DeviceComponent"> <complexContent> <extension base="{http://hl7.org/fhir}DomainResource"> <sequence> <element name="type" type="{http://hl7.org/fhir}CodeableConcept"/> <element name="identifier" type="{http://hl7.org/fhir}Identifier"/> <element name="lastSystemChange" type="{http://hl7.org/fhir}instant"/> <element name="source" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="parent" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="operationalStatus" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/> <element name="parameterGroup" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/> <element name="measurementPrinciple" type="{http://hl7.org/fhir}Measmnt-Principle" minOccurs="0"/> <element name="productionSpecification" type="{http://hl7.org/fhir}DeviceComponent.ProductionSpecification" maxOccurs="unbounded" minOccurs="0"/> <element name="languageCode" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Identifieridentifierprotected CodeableConceptlanguageCodeprotected InstantlastSystemChangeprotected MeasmntPrinciplemeasurementPrincipleprotected java.util.List<CodeableConcept>operationalStatusprotected CodeableConceptparameterGroupprotected Referenceparentprotected java.util.List<DeviceComponentProductionSpecification>productionSpecificationprotected Referencesourceprotected CodeableConcepttype-
Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description DeviceComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)IdentifiergetIdentifier()Gets the value of the identifier property.CodeableConceptgetLanguageCode()Gets the value of the languageCode property.InstantgetLastSystemChange()Gets the value of the lastSystemChange property.MeasmntPrinciplegetMeasurementPrinciple()Gets the value of the measurementPrinciple property.java.util.List<CodeableConcept>getOperationalStatus()Gets the value of the operationalStatus property.CodeableConceptgetParameterGroup()Gets the value of the parameterGroup property.ReferencegetParent()Gets the value of the parent property.java.util.List<DeviceComponentProductionSpecification>getProductionSpecification()Gets the value of the productionSpecification property.ReferencegetSource()Gets the value of the source property.CodeableConceptgetType()Gets the value of the type property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetIdentifier(Identifier value)Sets the value of the identifier property.voidsetLanguageCode(CodeableConcept value)Sets the value of the languageCode property.voidsetLastSystemChange(Instant value)Sets the value of the lastSystemChange property.voidsetMeasurementPrinciple(MeasmntPrinciple value)Sets the value of the measurementPrinciple property.voidsetParameterGroup(CodeableConcept value)Sets the value of the parameterGroup property.voidsetParent(Reference value)Sets the value of the parent property.voidsetSource(Reference value)Sets the value of the source property.voidsetType(CodeableConcept value)Sets the value of the type property.java.lang.StringtoString()DeviceComponentwithContained(java.util.Collection<ResourceContainer> values)DeviceComponentwithContained(ResourceContainer... values)DeviceComponentwithExtension(java.util.Collection<Extension> values)DeviceComponentwithExtension(Extension... values)DeviceComponentwithId(Id value)DeviceComponentwithIdentifier(Identifier value)DeviceComponentwithImplicitRules(Uri value)DeviceComponentwithLanguage(Code value)DeviceComponentwithLanguageCode(CodeableConcept value)DeviceComponentwithLastSystemChange(Instant value)DeviceComponentwithMeasurementPrinciple(MeasmntPrinciple value)DeviceComponentwithMeta(Meta value)DeviceComponentwithModifierExtension(java.util.Collection<Extension> values)DeviceComponentwithModifierExtension(Extension... values)DeviceComponentwithOperationalStatus(java.util.Collection<CodeableConcept> values)DeviceComponentwithOperationalStatus(CodeableConcept... values)DeviceComponentwithParameterGroup(CodeableConcept value)DeviceComponentwithParent(Reference value)DeviceComponentwithProductionSpecification(java.util.Collection<DeviceComponentProductionSpecification> values)DeviceComponentwithProductionSpecification(DeviceComponentProductionSpecification... values)DeviceComponentwithSource(Reference value)DeviceComponentwithText(Narrative value)DeviceComponentwithType(CodeableConcept value)-
Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setText
-
Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
-
-
-
Field Detail
-
type
protected CodeableConcept type
-
identifier
protected Identifier identifier
-
lastSystemChange
protected Instant lastSystemChange
-
source
protected Reference source
-
parent
protected Reference parent
-
operationalStatus
protected java.util.List<CodeableConcept> operationalStatus
-
parameterGroup
protected CodeableConcept parameterGroup
-
measurementPrinciple
protected MeasmntPrinciple measurementPrinciple
-
productionSpecification
protected java.util.List<DeviceComponentProductionSpecification> productionSpecification
-
languageCode
protected CodeableConcept languageCode
-
-
Method Detail
-
getType
public CodeableConcept getType()
Gets the value of the type property.- Returns:
- possible object is
CodeableConcept
-
setType
public void setType(CodeableConcept value)
Sets the value of the type property.- Parameters:
value- allowed object isCodeableConcept
-
getIdentifier
public Identifier getIdentifier()
Gets the value of the identifier property.- Returns:
- possible object is
Identifier
-
setIdentifier
public void setIdentifier(Identifier value)
Sets the value of the identifier property.- Parameters:
value- allowed object isIdentifier
-
getLastSystemChange
public Instant getLastSystemChange()
Gets the value of the lastSystemChange property.- Returns:
- possible object is
Instant
-
setLastSystemChange
public void setLastSystemChange(Instant value)
Sets the value of the lastSystemChange property.- Parameters:
value- allowed object isInstant
-
getSource
public Reference getSource()
Gets the value of the source property.- Returns:
- possible object is
Reference
-
setSource
public void setSource(Reference value)
Sets the value of the source property.- Parameters:
value- allowed object isReference
-
getParent
public Reference getParent()
Gets the value of the parent property.- Returns:
- possible object is
Reference
-
setParent
public void setParent(Reference value)
Sets the value of the parent property.- Parameters:
value- allowed object isReference
-
getOperationalStatus
public java.util.List<CodeableConcept> getOperationalStatus()
Gets the value of the operationalStatus 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 JAXB object. This is why there is not a
setmethod for the operationalStatus property.For example, to add a new item, do as follows:
getOperationalStatus().add(newItem);Objects of the following type(s) are allowed in the list
CodeableConcept
-
getParameterGroup
public CodeableConcept getParameterGroup()
Gets the value of the parameterGroup property.- Returns:
- possible object is
CodeableConcept
-
setParameterGroup
public void setParameterGroup(CodeableConcept value)
Sets the value of the parameterGroup property.- Parameters:
value- allowed object isCodeableConcept
-
getMeasurementPrinciple
public MeasmntPrinciple getMeasurementPrinciple()
Gets the value of the measurementPrinciple property.- Returns:
- possible object is
MeasmntPrinciple
-
setMeasurementPrinciple
public void setMeasurementPrinciple(MeasmntPrinciple value)
Sets the value of the measurementPrinciple property.- Parameters:
value- allowed object isMeasmntPrinciple
-
getProductionSpecification
public java.util.List<DeviceComponentProductionSpecification> getProductionSpecification()
Gets the value of the productionSpecification 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 JAXB object. This is why there is not a
setmethod for the productionSpecification property.For example, to add a new item, do as follows:
getProductionSpecification().add(newItem);Objects of the following type(s) are allowed in the list
DeviceComponentProductionSpecification
-
getLanguageCode
public CodeableConcept getLanguageCode()
Gets the value of the languageCode property.- Returns:
- possible object is
CodeableConcept
-
setLanguageCode
public void setLanguageCode(CodeableConcept value)
Sets the value of the languageCode property.- Parameters:
value- allowed object isCodeableConcept
-
withType
public DeviceComponent withType(CodeableConcept value)
-
withIdentifier
public DeviceComponent withIdentifier(Identifier value)
-
withLastSystemChange
public DeviceComponent withLastSystemChange(Instant value)
-
withSource
public DeviceComponent withSource(Reference value)
-
withParent
public DeviceComponent withParent(Reference value)
-
withOperationalStatus
public DeviceComponent withOperationalStatus(CodeableConcept... values)
-
withOperationalStatus
public DeviceComponent withOperationalStatus(java.util.Collection<CodeableConcept> values)
-
withParameterGroup
public DeviceComponent withParameterGroup(CodeableConcept value)
-
withMeasurementPrinciple
public DeviceComponent withMeasurementPrinciple(MeasmntPrinciple value)
-
withProductionSpecification
public DeviceComponent withProductionSpecification(DeviceComponentProductionSpecification... values)
-
withProductionSpecification
public DeviceComponent withProductionSpecification(java.util.Collection<DeviceComponentProductionSpecification> values)
-
withLanguageCode
public DeviceComponent withLanguageCode(CodeableConcept value)
-
withText
public DeviceComponent withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public DeviceComponent withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public DeviceComponent withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public DeviceComponent withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public DeviceComponent withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public DeviceComponent withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public DeviceComponent withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public DeviceComponent withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public DeviceComponent withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public DeviceComponent withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public DeviceComponent withLanguage(Code value)
- Overrides:
withLanguagein classDomainResource
-
equals
public 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.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
public boolean equals(java.lang.Object object)
- 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
public java.lang.String toString()
- Overrides:
toStringin classDomainResource
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
-