
Package org.hl7.fhir.dstu3.model
Class DeviceComponent
- java.lang.Object
-
- org.hl7.fhir.dstu3.model.Base
-
- org.hl7.fhir.dstu3.model.BaseResource
-
- org.hl7.fhir.dstu3.model.Resource
-
- org.hl7.fhir.dstu3.model.DomainResource
-
- org.hl7.fhir.dstu3.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
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 class
DeviceComponent.DeviceComponentProductionSpecificationComponent
static class
DeviceComponent.MeasmntPrinciple
static class
DeviceComponent.MeasmntPrincipleEnumFactory
-
Field Summary
Fields Modifier and Type Field Description protected Identifier
identifier
The locally assigned unique identification by the software.static ca.uhn.fhir.rest.gclient.TokenClientParam
IDENTIFIER
Fluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.Include
INCLUDE_PARENT
Constant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.Include
INCLUDE_SOURCE
Constant for fluent queries to be used to add include statements.protected CodeableConcept
languageCode
The language code for the human-readable text string produced by the device.protected InstantType
lastSystemChange
The timestamp for the most recent system change which includes device configuration or setting change.protected Enumeration<DeviceComponent.MeasmntPrinciple>
measurementPrinciple
The physical principle of the measurement.protected List<CodeableConcept>
operationalStatus
The current operational status of the device.protected CodeableConcept
parameterGroup
The parameter group supported by the current device component that is based on some nomenclature, e.g.protected Reference
parent
The link to the parent resource.static ca.uhn.fhir.rest.gclient.ReferenceClientParam
PARENT
Fluent Client search parameter constant for parentprotected DeviceComponent
parentTarget
The actual object that is the target of the reference (The link to the parent resource.protected List<DeviceComponent.DeviceComponentProductionSpecificationComponent>
productionSpecification
The production specification such as component revision, serial number, etc.protected Reference
source
The link to the source Device that contains administrative device information such as manufacture, serial number, etc.static ca.uhn.fhir.rest.gclient.ReferenceClientParam
SOURCE
Fluent Client search parameter constant for sourceprotected Device
sourceTarget
The actual object that is the target of the reference (The link to the source Device that contains administrative device information such as manufacture, serial number, etc.)static String
SP_IDENTIFIER
Search parameter: identifierstatic String
SP_PARENT
Search parameter: parentstatic String
SP_SOURCE
Search parameter: sourcestatic String
SP_TYPE
Search parameter: typeprotected CodeableConcept
type
The component type as defined in the object-oriented or metric nomenclature partition.static ca.uhn.fhir.rest.gclient.TokenClientParam
TYPE
Fluent Client search parameter constant for type-
Fields inherited from class org.hl7.fhir.dstu3.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.dstu3.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description DeviceComponent()
ConstructorDeviceComponent(Identifier identifier, CodeableConcept type)
Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu3.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.dstu3.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.dstu3.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.dstu3.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isMetadataBased, isPrimitive, listChildrenByName, 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
-
identifier
protected Identifier identifier
The locally assigned unique identification by the software. For example: handle ID.
-
type
protected CodeableConcept type
The component type as defined in the object-oriented or metric nomenclature partition.
-
lastSystemChange
protected InstantType lastSystemChange
The timestamp for the most recent system change which includes device configuration or setting change.
-
source
protected Reference source
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 (The link to the source Device that contains administrative device information such as manufacture, serial number, etc.)
-
parent
protected Reference parent
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 (The link to the parent resource. For example: Channel is linked to its VMD parent.)
-
operationalStatus
protected List<CodeableConcept> operationalStatus
The current operational status of the device. For example: On, Off, Standby, etc.
-
parameterGroup
protected CodeableConcept parameterGroup
The parameter group supported by the current device component that is based on some nomenclature, e.g. cardiovascular.
-
measurementPrinciple
protected Enumeration<DeviceComponent.MeasmntPrinciple> measurementPrinciple
The physical principle of the measurement. For example: thermal, chemical, acoustical, etc.
-
productionSpecification
protected List<DeviceComponent.DeviceComponentProductionSpecificationComponent> productionSpecification
The production specification such as component revision, serial number, etc.
-
languageCode
protected CodeableConcept languageCode
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
Search parameter: parentDescription: The parent DeviceComponent resource
Type: reference
Path: DeviceComponent.parent
- See Also:
- Constant Field Values
-
PARENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARENT
Fluent Client search parameter constant for parentDescription: The parent DeviceComponent resource
Type: reference
Path: DeviceComponent.parent
-
INCLUDE_PARENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_PARENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "DeviceComponent:parent".
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter: identifierDescription: The identifier of the component
Type: token
Path: DeviceComponent.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: The identifier of the component
Type: token
Path: DeviceComponent.identifier
-
SP_SOURCE
public static final String SP_SOURCE
Search parameter: sourceDescription: The device source
Type: reference
Path: DeviceComponent.source
- See Also:
- Constant Field Values
-
SOURCE
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE
Fluent Client search parameter constant for sourceDescription: The device source
Type: reference
Path: DeviceComponent.source
-
INCLUDE_SOURCE
public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE
Constant for fluent queries to be used to add include statements. Specifies the path value of "DeviceComponent:source".
-
SP_TYPE
public static final String SP_TYPE
Search parameter: typeDescription: The device component type
Type: token
Path: DeviceComponent.type
- See Also:
- Constant Field Values
-
TYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Fluent Client search parameter constant for typeDescription: The device component type
Type: token
Path: DeviceComponent.type
-
-
Constructor Detail
-
DeviceComponent
public DeviceComponent()
Constructor
-
DeviceComponent
public DeviceComponent(Identifier identifier, CodeableConcept type)
Constructor
-
-
Method Detail
-
getIdentifier
public Identifier getIdentifier()
- Returns:
identifier
(The locally assigned unique identification by the software. For example: handle ID.)
-
hasIdentifier
public boolean hasIdentifier()
-
setIdentifier
public DeviceComponent setIdentifier(Identifier value)
- Parameters:
value
-identifier
(The locally assigned unique identification by the software. For example: handle ID.)
-
getType
public CodeableConcept getType()
- Returns:
type
(The 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
(The component type as defined in the object-oriented or metric nomenclature partition.)
-
getLastSystemChangeElement
public InstantType getLastSystemChangeElement()
- Returns:
lastSystemChange
(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
(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:
- The timestamp for the most recent system change which includes device configuration or setting change.
-
setLastSystemChange
public DeviceComponent setLastSystemChange(Date value)
- Parameters:
value
- The timestamp for the most recent system change which includes device configuration or setting change.
-
getSource
public Reference getSource()
- Returns:
source
(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
(The link to the source Device that contains administrative device information such as manufacture, serial number, etc.)
-
getSourceTarget
public Device getSourceTarget()
- Returns:
source
The 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. (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
-source
The 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. (The link to the source Device that contains administrative device information such as manufacture, serial number, etc.)
-
getParent
public Reference getParent()
- Returns:
parent
(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
(The link to the parent resource. For example: Channel is linked to its VMD parent.)
-
getParentTarget
public DeviceComponent getParentTarget()
- Returns:
parent
The 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. (The link to the parent resource. For example: Channel is linked to its VMD parent.)
-
setParentTarget
public DeviceComponent setParentTarget(DeviceComponent value)
- Parameters:
value
-parent
The 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. (The link to the parent resource. For example: Channel is linked to its VMD parent.)
-
getOperationalStatus
public List<CodeableConcept> getOperationalStatus()
- Returns:
operationalStatus
(The current operational status of the device. For example: On, Off, Standby, etc.)
-
setOperationalStatus
public DeviceComponent setOperationalStatus(List<CodeableConcept> theOperationalStatus)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasOperationalStatus
public boolean hasOperationalStatus()
-
addOperationalStatus
public CodeableConcept addOperationalStatus()
-
addOperationalStatus
public DeviceComponent addOperationalStatus(CodeableConcept t)
-
getOperationalStatusFirstRep
public CodeableConcept getOperationalStatusFirstRep()
- Returns:
- The first repetition of repeating field
operationalStatus
, creating it if it does not already exist
-
getParameterGroup
public CodeableConcept getParameterGroup()
- Returns:
parameterGroup
(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
(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
(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
(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:
- The physical principle of the measurement. For example: thermal, chemical, acoustical, etc.
-
setMeasurementPrinciple
public DeviceComponent setMeasurementPrinciple(DeviceComponent.MeasmntPrinciple value)
- Parameters:
value
- The physical principle of the measurement. For example: thermal, chemical, acoustical, etc.
-
getProductionSpecification
public List<DeviceComponent.DeviceComponentProductionSpecificationComponent> getProductionSpecification()
- Returns:
productionSpecification
(The production specification such as component revision, serial number, etc.)
-
setProductionSpecification
public DeviceComponent setProductionSpecification(List<DeviceComponent.DeviceComponentProductionSpecificationComponent> theProductionSpecification)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasProductionSpecification
public boolean hasProductionSpecification()
-
addProductionSpecification
public DeviceComponent.DeviceComponentProductionSpecificationComponent addProductionSpecification()
-
addProductionSpecification
public DeviceComponent addProductionSpecification(DeviceComponent.DeviceComponentProductionSpecificationComponent t)
-
getProductionSpecificationFirstRep
public DeviceComponent.DeviceComponentProductionSpecificationComponent getProductionSpecificationFirstRep()
- Returns:
- The first repetition of repeating field
productionSpecification
, creating it if it does not already exist
-
getLanguageCode
public CodeableConcept getLanguageCode()
- Returns:
languageCode
(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
(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> children)
- Overrides:
listChildren
in classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makeProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
public DeviceComponent copy()
- Specified by:
copy
in classDomainResource
-
typedCopy
protected DeviceComponent typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceType
in classResource
-
-