Package org.hl7.fhir
Class DeviceMetric
java.lang.Object
org.hl7.fhir.Resource
org.hl7.fhir.DomainResource
org.hl7.fhir.DeviceMetric
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class DeviceMetric
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 extensions
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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<DeviceMetricCalibration> protected DeviceMetricCategoryprotected DeviceMetricColorprotected Identifierprotected Timingprotected DeviceMetricOperationalStatusprotected Referenceprotected Referenceprotected CodeableConceptprotected CodeableConceptFields 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 calibration property.Gets the value of the category property.getColor()Gets the value of the color property.Gets the value of the identifier property.Gets the value of the measurementPeriod property.Gets the value of the operationalStatus property.Gets the value of the parent property.Gets the value of the source property.getType()Gets the value of the type property.getUnit()Gets the value of the unit property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidvoidsetCategory(DeviceMetricCategory value) Sets the value of the category property.voidsetColor(DeviceMetricColor value) Sets the value of the color property.voidsetIdentifier(Identifier value) Sets the value of the identifier property.voidsetMeasurementPeriod(Timing value) Sets the value of the measurementPeriod property.voidSets the value of the operationalStatus property.voidSets the value of the parent property.voidSets the value of the source property.voidsetType(CodeableConcept value) Sets the value of the type property.voidsetUnit(CodeableConcept value) Sets the value of the unit property.toString()withCalibration(DeviceMetricCalibration... values) withCategory(DeviceMetricCategory value) withColor(DeviceMetricColor value) withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withExtension(Collection<Extension> values) withExtension(Extension... values) withIdentifier(Identifier value) withImplicitRules(Uri value) withLanguage(Code value) withMeasurementPeriod(Timing value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withParent(Reference value) withSource(Reference value) withType(CodeableConcept value) withUnit(CodeableConcept 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
-
type
-
identifier
-
unit
-
source
-
parent
-
operationalStatus
-
color
-
category
-
measurementPeriod
-
calibration
-
-
Constructor Details
-
DeviceMetric
public DeviceMetric()
-
-
Method Details
-
getType
Gets the value of the type property.- Returns:
- possible object is
CodeableConcept
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isCodeableConcept
-
getIdentifier
Gets the value of the identifier property.- Returns:
- possible object is
Identifier
-
setIdentifier
Sets the value of the identifier property.- Parameters:
value- allowed object isIdentifier
-
getUnit
Gets the value of the unit property.- Returns:
- possible object is
CodeableConcept
-
setUnit
Sets the value of the unit property.- Parameters:
value- allowed object isCodeableConcept
-
getSource
Gets the value of the source property.- Returns:
- possible object is
Reference
-
setSource
Sets the value of the source property.- Parameters:
value- allowed object isReference
-
getParent
Gets the value of the parent property.- Returns:
- possible object is
Reference
-
setParent
Sets the value of the parent property.- Parameters:
value- allowed object isReference
-
getOperationalStatus
Gets the value of the operationalStatus property.- Returns:
- possible object is
DeviceMetricOperationalStatus
-
setOperationalStatus
Sets the value of the operationalStatus property.- Parameters:
value- allowed object isDeviceMetricOperationalStatus
-
getColor
Gets the value of the color property.- Returns:
- possible object is
DeviceMetricColor
-
setColor
Sets the value of the color property.- Parameters:
value- allowed object isDeviceMetricColor
-
getCategory
Gets the value of the category property.- Returns:
- possible object is
DeviceMetricCategory
-
setCategory
Sets the value of the category property.- Parameters:
value- allowed object isDeviceMetricCategory
-
getMeasurementPeriod
Gets the value of the measurementPeriod property.- Returns:
- possible object is
Timing
-
setMeasurementPeriod
Sets the value of the measurementPeriod property.- Parameters:
value- allowed object isTiming
-
getCalibration
Gets the value of the calibration 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 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 -
withType
-
withIdentifier
-
withUnit
-
withSource
-
withParent
-
withOperationalStatus
-
withColor
-
withCategory
-
withMeasurementPeriod
-
withCalibration
-
withCalibration
-
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
-
setCalibration
-