public class DeviceMetric extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for DeviceMetric complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DeviceMetric">
<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="unit" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<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}DeviceMetricOperationalStatus" minOccurs="0"/>
<element name="color" type="{http://hl7.org/fhir}DeviceMetricColor" minOccurs="0"/>
<element name="category" type="{http://hl7.org/fhir}DeviceMetricCategory"/>
<element name="measurementPeriod" type="{http://hl7.org/fhir}Timing" minOccurs="0"/>
<element name="calibration" type="{http://hl7.org/fhir}DeviceMetric.Calibration" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<DeviceMetricCalibration> |
calibration |
protected DeviceMetricCategory |
category |
protected DeviceMetricColor |
color |
protected Identifier |
identifier |
protected Timing |
measurementPeriod |
protected DeviceMetricOperationalStatus |
operationalStatus |
protected Reference |
parent |
protected Reference |
source |
protected CodeableConcept |
type |
protected CodeableConcept |
unit |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
DeviceMetric() |
| 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) |
java.util.List<DeviceMetricCalibration> |
getCalibration()
Gets the value of the calibration property.
|
DeviceMetricCategory |
getCategory()
Gets the value of the category property.
|
DeviceMetricColor |
getColor()
Gets the value of the color property.
|
Identifier |
getIdentifier()
Gets the value of the identifier property.
|
Timing |
getMeasurementPeriod()
Gets the value of the measurementPeriod property.
|
DeviceMetricOperationalStatus |
getOperationalStatus()
Gets the value of the operationalStatus property.
|
Reference |
getParent()
Gets the value of the parent property.
|
Reference |
getSource()
Gets the value of the source property.
|
CodeableConcept |
getType()
Gets the value of the type property.
|
CodeableConcept |
getUnit()
Gets the value of the unit property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCategory(DeviceMetricCategory value)
Sets the value of the category property.
|
void |
setColor(DeviceMetricColor value)
Sets the value of the color property.
|
void |
setIdentifier(Identifier value)
Sets the value of the identifier property.
|
void |
setMeasurementPeriod(Timing value)
Sets the value of the measurementPeriod property.
|
void |
setOperationalStatus(DeviceMetricOperationalStatus value)
Sets the value of the operationalStatus property.
|
void |
setParent(Reference value)
Sets the value of the parent property.
|
void |
setSource(Reference value)
Sets the value of the source property.
|
void |
setType(CodeableConcept value)
Sets the value of the type property.
|
void |
setUnit(CodeableConcept value)
Sets the value of the unit property.
|
java.lang.String |
toString() |
DeviceMetric |
withCalibration(java.util.Collection<DeviceMetricCalibration> values) |
DeviceMetric |
withCalibration(DeviceMetricCalibration... values) |
DeviceMetric |
withCategory(DeviceMetricCategory value) |
DeviceMetric |
withColor(DeviceMetricColor value) |
DeviceMetric |
withContained(java.util.Collection<ResourceContainer> values) |
DeviceMetric |
withContained(ResourceContainer... values) |
DeviceMetric |
withExtension(java.util.Collection<Extension> values) |
DeviceMetric |
withExtension(Extension... values) |
DeviceMetric |
withId(Id value) |
DeviceMetric |
withIdentifier(Identifier value) |
DeviceMetric |
withImplicitRules(Uri value) |
DeviceMetric |
withLanguage(Code value) |
DeviceMetric |
withMeasurementPeriod(Timing value) |
DeviceMetric |
withMeta(Meta value) |
DeviceMetric |
withModifierExtension(java.util.Collection<Extension> values) |
DeviceMetric |
withModifierExtension(Extension... values) |
DeviceMetric |
withOperationalStatus(DeviceMetricOperationalStatus value) |
DeviceMetric |
withParent(Reference value) |
DeviceMetric |
withSource(Reference value) |
DeviceMetric |
withText(Narrative value) |
DeviceMetric |
withType(CodeableConcept value) |
DeviceMetric |
withUnit(CodeableConcept value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected CodeableConcept type
protected Identifier identifier
protected CodeableConcept unit
protected Reference source
protected Reference parent
protected DeviceMetricOperationalStatus operationalStatus
protected DeviceMetricColor color
protected DeviceMetricCategory category
protected Timing measurementPeriod
protected java.util.List<DeviceMetricCalibration> calibration
public CodeableConcept getType()
CodeableConceptpublic void setType(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Identifier getIdentifier()
Identifierpublic void setIdentifier(Identifier value)
value - allowed object is
Identifierpublic CodeableConcept getUnit()
CodeableConceptpublic void setUnit(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Reference getSource()
Referencepublic void setSource(Reference value)
value - allowed object is
Referencepublic Reference getParent()
Referencepublic void setParent(Reference value)
value - allowed object is
Referencepublic DeviceMetricOperationalStatus getOperationalStatus()
DeviceMetricOperationalStatuspublic void setOperationalStatus(DeviceMetricOperationalStatus value)
value - allowed object is
DeviceMetricOperationalStatuspublic DeviceMetricColor getColor()
DeviceMetricColorpublic void setColor(DeviceMetricColor value)
value - allowed object is
DeviceMetricColorpublic DeviceMetricCategory getCategory()
DeviceMetricCategorypublic void setCategory(DeviceMetricCategory value)
value - allowed object is
DeviceMetricCategorypublic Timing getMeasurementPeriod()
Timingpublic void setMeasurementPeriod(Timing value)
value - allowed object is
Timingpublic java.util.List<DeviceMetricCalibration> getCalibration()
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 calibration property.
For example, to add a new item, do as follows:
getCalibration().add(newItem);
Objects of the following type(s) are allowed in the list
DeviceMetricCalibration
public DeviceMetric withType(CodeableConcept value)
public DeviceMetric withIdentifier(Identifier value)
public DeviceMetric withUnit(CodeableConcept value)
public DeviceMetric withSource(Reference value)
public DeviceMetric withParent(Reference value)
public DeviceMetric withOperationalStatus(DeviceMetricOperationalStatus value)
public DeviceMetric withColor(DeviceMetricColor value)
public DeviceMetric withCategory(DeviceMetricCategory value)
public DeviceMetric withMeasurementPeriod(Timing value)
public DeviceMetric withCalibration(DeviceMetricCalibration... values)
public DeviceMetric withCalibration(java.util.Collection<DeviceMetricCalibration> values)
public DeviceMetric withText(Narrative value)
withText in class DomainResourcepublic DeviceMetric withContained(ResourceContainer... values)
withContained in class DomainResourcepublic DeviceMetric withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic DeviceMetric withExtension(Extension... values)
withExtension in class DomainResourcepublic DeviceMetric withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic DeviceMetric withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic DeviceMetric withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic DeviceMetric withId(Id value)
withId in class DomainResourcepublic DeviceMetric withMeta(Meta value)
withMeta in class DomainResourcepublic DeviceMetric withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic DeviceMetric 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