Package org.hl7.fhir.dstu2.model
Class DeviceComponent
- java.lang.Object
-
- org.hl7.fhir.dstu2.model.Base
-
- org.hl7.fhir.dstu2.model.BaseResource
-
- org.hl7.fhir.dstu2.model.Resource
-
- org.hl7.fhir.dstu2.model.DomainResource
-
- org.hl7.fhir.dstu2.model.DeviceComponent
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IAnyResource,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions,org.hl7.fhir.instance.model.api.IBaseResource,org.hl7.fhir.instance.model.api.IDomainResource
public class DeviceComponent extends DomainResource
Describes the characteristics, operational status and capabilities of a medical-related component of a medical device.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceComponent.DeviceComponentProductionSpecificationComponentstatic classDeviceComponent.MeasmntPrinciplestatic classDeviceComponent.MeasmntPrincipleEnumFactory
-
Field Summary
Fields Modifier and Type Field Description protected IdentifieridentifierDescribes the local assigned unique identification by the software.protected CodeableConceptlanguageCodeDescribes the language code for the human-readable text string produced by the device.protected InstantTypelastSystemChangeDescribes the timestamp for the most recent system change which includes device configuration or setting change.protected Enumeration<DeviceComponent.MeasmntPrinciple>measurementPrincipleDescribes the physical principle of the measurement.protected List<CodeableConcept>operationalStatusIndicates current operational status of the device.protected CodeableConceptparameterGroupDescribes the parameter group supported by the current device component that is based on some nomenclature, e.g.protected ReferenceparentDescribes the link to the parent resource.protected DeviceComponentparentTargetThe actual object that is the target of the reference (Describes the link to the parent resource.protected List<DeviceComponent.DeviceComponentProductionSpecificationComponent>productionSpecificationDescribes the production specification such as component revision, serial number, etc.protected ReferencesourceDescribes the link to the source Device that contains administrative device information such as manufacture, serial number, etc.protected DevicesourceTargetThe actual object that is the target of the reference (Describes the link to the source Device that contains administrative device information such as manufacture, serial number, etc.)static StringSP_PARENTstatic StringSP_SOURCEstatic StringSP_TYPEprotected CodeableConcepttypeDescribes the specific component type as defined in the object-oriented or metric nomenclature partition.-
Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description DeviceComponent()DeviceComponent(CodeableConcept type, Identifier identifier, InstantType lastSystemChange)
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setText
-
Methods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
-
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
-
-
-
-
Field Detail
-
type
protected CodeableConcept type
Describes the specific component type as defined in the object-oriented or metric nomenclature partition.
-
identifier
protected Identifier identifier
Describes the local assigned unique identification by the software. For example: handle ID.
-
lastSystemChange
protected InstantType lastSystemChange
Describes the timestamp for the most recent system change which includes device configuration or setting change.
-
source
protected Reference source
Describes the link to the source Device that contains administrative device information such as manufacture, serial number, etc.
-
sourceTarget
protected Device sourceTarget
The actual object that is the target of the reference (Describes the link to the source Device that contains administrative device information such as manufacture, serial number, etc.)
-
parent
protected Reference parent
Describes the link to the parent resource. For example: Channel is linked to its VMD parent.
-
parentTarget
protected DeviceComponent parentTarget
The actual object that is the target of the reference (Describes the link to the parent resource. For example: Channel is linked to its VMD parent.)
-
operationalStatus
protected List<CodeableConcept> operationalStatus
Indicates current operational status of the device. For example: On, Off, Standby, etc.
-
parameterGroup
protected CodeableConcept parameterGroup
Describes the parameter group supported by the current device component that is based on some nomenclature, e.g. cardiovascular.
-
measurementPrinciple
protected Enumeration<DeviceComponent.MeasmntPrinciple> measurementPrinciple
Describes the physical principle of the measurement. For example: thermal, chemical, acoustical, etc.
-
productionSpecification
protected List<DeviceComponent.DeviceComponentProductionSpecificationComponent> productionSpecification
Describes the production specification such as component revision, serial number, etc.
-
languageCode
protected CodeableConcept languageCode
Describes the language code for the human-readable text string produced by the device. This language code will follow the IETF language tag. Example: en-US.
-
SP_PARENT
public static final String SP_PARENT
- See Also:
- Constant Field Values
-
SP_SOURCE
public static final String SP_SOURCE
- See Also:
- Constant Field Values
-
SP_TYPE
public static final String SP_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DeviceComponent
public DeviceComponent()
-
DeviceComponent
public DeviceComponent(CodeableConcept type, Identifier identifier, InstantType lastSystemChange)
-
-
Method Detail
-
getType
public CodeableConcept getType()
- Returns:
type(Describes the specific component type as defined in the object-oriented or metric nomenclature partition.)
-
hasType
public boolean hasType()
-
setType
public DeviceComponent setType(CodeableConcept value)
- Parameters:
value-type(Describes the specific component type as defined in the object-oriented or metric nomenclature partition.)
-
getIdentifier
public Identifier getIdentifier()
- Returns:
identifier(Describes the local assigned unique identification by the software. For example: handle ID.)
-
hasIdentifier
public boolean hasIdentifier()
-
setIdentifier
public DeviceComponent setIdentifier(Identifier value)
- Parameters:
value-identifier(Describes the local assigned unique identification by the software. For example: handle ID.)
-
getLastSystemChangeElement
public InstantType getLastSystemChangeElement()
- Returns:
lastSystemChange(Describes the timestamp for the most recent system change which includes device configuration or setting change.). This is the underlying object with id, value and extensions. The accessor "getLastSystemChange" gives direct access to the value
-
hasLastSystemChangeElement
public boolean hasLastSystemChangeElement()
-
hasLastSystemChange
public boolean hasLastSystemChange()
-
setLastSystemChangeElement
public DeviceComponent setLastSystemChangeElement(InstantType value)
- Parameters:
value-lastSystemChange(Describes the timestamp for the most recent system change which includes device configuration or setting change.). This is the underlying object with id, value and extensions. The accessor "getLastSystemChange" gives direct access to the value
-
getLastSystemChange
public Date getLastSystemChange()
- Returns:
- Describes the timestamp for the most recent system change which includes device configuration or setting change.
-
setLastSystemChange
public DeviceComponent setLastSystemChange(Date value)
- Parameters:
value- Describes the timestamp for the most recent system change which includes device configuration or setting change.
-
getSource
public Reference getSource()
- Returns:
source(Describes the link to the source Device that contains administrative device information such as manufacture, serial number, etc.)
-
hasSource
public boolean hasSource()
-
setSource
public DeviceComponent setSource(Reference value)
- Parameters:
value-source(Describes the link to the source Device that contains administrative device information such as manufacture, serial number, etc.)
-
getSourceTarget
public Device getSourceTarget()
- Returns:
sourceThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Describes the link to the source Device that contains administrative device information such as manufacture, serial number, etc.)
-
setSourceTarget
public DeviceComponent setSourceTarget(Device value)
- Parameters:
value-sourceThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Describes the link to the source Device that contains administrative device information such as manufacture, serial number, etc.)
-
getParent
public Reference getParent()
- Returns:
parent(Describes the link to the parent resource. For example: Channel is linked to its VMD parent.)
-
hasParent
public boolean hasParent()
-
setParent
public DeviceComponent setParent(Reference value)
- Parameters:
value-parent(Describes the link to the parent resource. For example: Channel is linked to its VMD parent.)
-
getParentTarget
public DeviceComponent getParentTarget()
- Returns:
parentThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Describes the link to the parent resource. For example: Channel is linked to its VMD parent.)
-
setParentTarget
public DeviceComponent setParentTarget(DeviceComponent value)
- Parameters:
value-parentThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Describes the link to the parent resource. For example: Channel is linked to its VMD parent.)
-
getOperationalStatus
public List<CodeableConcept> getOperationalStatus()
- Returns:
operationalStatus(Indicates current operational status of the device. For example: On, Off, Standby, etc.)
-
hasOperationalStatus
public boolean hasOperationalStatus()
-
addOperationalStatus
public CodeableConcept addOperationalStatus()
- Returns:
operationalStatus(Indicates current operational status of the device. For example: On, Off, Standby, etc.)
-
addOperationalStatus
public DeviceComponent addOperationalStatus(CodeableConcept t)
-
getParameterGroup
public CodeableConcept getParameterGroup()
- Returns:
parameterGroup(Describes the parameter group supported by the current device component that is based on some nomenclature, e.g. cardiovascular.)
-
hasParameterGroup
public boolean hasParameterGroup()
-
setParameterGroup
public DeviceComponent setParameterGroup(CodeableConcept value)
- Parameters:
value-parameterGroup(Describes the parameter group supported by the current device component that is based on some nomenclature, e.g. cardiovascular.)
-
getMeasurementPrincipleElement
public Enumeration<DeviceComponent.MeasmntPrinciple> getMeasurementPrincipleElement()
- Returns:
measurementPrinciple(Describes the physical principle of the measurement. For example: thermal, chemical, acoustical, etc.). This is the underlying object with id, value and extensions. The accessor "getMeasurementPrinciple" gives direct access to the value
-
hasMeasurementPrincipleElement
public boolean hasMeasurementPrincipleElement()
-
hasMeasurementPrinciple
public boolean hasMeasurementPrinciple()
-
setMeasurementPrincipleElement
public DeviceComponent setMeasurementPrincipleElement(Enumeration<DeviceComponent.MeasmntPrinciple> value)
- Parameters:
value-measurementPrinciple(Describes the physical principle of the measurement. For example: thermal, chemical, acoustical, etc.). This is the underlying object with id, value and extensions. The accessor "getMeasurementPrinciple" gives direct access to the value
-
getMeasurementPrinciple
public DeviceComponent.MeasmntPrinciple getMeasurementPrinciple()
- Returns:
- Describes the physical principle of the measurement. For example: thermal, chemical, acoustical, etc.
-
setMeasurementPrinciple
public DeviceComponent setMeasurementPrinciple(DeviceComponent.MeasmntPrinciple value)
- Parameters:
value- Describes the physical principle of the measurement. For example: thermal, chemical, acoustical, etc.
-
getProductionSpecification
public List<DeviceComponent.DeviceComponentProductionSpecificationComponent> getProductionSpecification()
- Returns:
productionSpecification(Describes the production specification such as component revision, serial number, etc.)
-
hasProductionSpecification
public boolean hasProductionSpecification()
-
addProductionSpecification
public DeviceComponent.DeviceComponentProductionSpecificationComponent addProductionSpecification()
- Returns:
productionSpecification(Describes the production specification such as component revision, serial number, etc.)
-
addProductionSpecification
public DeviceComponent addProductionSpecification(DeviceComponent.DeviceComponentProductionSpecificationComponent t)
-
getLanguageCode
public CodeableConcept getLanguageCode()
- Returns:
languageCode(Describes the language code for the human-readable text string produced by the device. This language code will follow the IETF language tag. Example: en-US.)
-
hasLanguageCode
public boolean hasLanguageCode()
-
setLanguageCode
public DeviceComponent setLanguageCode(CodeableConcept value)
- Parameters:
value-languageCode(Describes the language code for the human-readable text string produced by the device. This language code will follow the IETF language tag. Example: en-US.)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classDomainResource
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public DeviceComponent copy()
- Specified by:
copyin classDomainResource
-
typedCopy
protected DeviceComponent typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-