Class DeviceComponent
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.dstu2.resource.BaseResource
-
- ca.uhn.fhir.model.dstu2.resource.DeviceComponent
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IResource,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseResource
public class DeviceComponent extends BaseResource implements ca.uhn.fhir.model.api.IResource
HAPI/FHIR DeviceComponent Resource ()Definition: Describes the characteristics, operational status and capabilities of a medical-related component of a medical device.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/DeviceComponent
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceComponent.ProductionSpecificationBlock class for child element: DeviceComponent.productionSpecification ()
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.model.api.IncludeINCLUDE_PARENTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_SOURCEConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.rest.gclient.ReferenceClientParamPARENTFluent Client search parameter constant for parentstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamSOURCEFluent Client search parameter constant for sourcestatic StringSP_PARENTSearch parameter constant for parentstatic StringSP_SOURCESearch parameter constant for sourcestatic StringSP_TYPESearch parameter constant for typestatic ca.uhn.fhir.rest.gclient.TokenClientParamTYPEFluent Client search parameter constant for type-
Fields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
-
-
Constructor Summary
Constructors Constructor Description DeviceComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CodeableConceptDtaddOperationalStatus()Adds and returns a new value for operationalStatus ()DeviceComponentaddOperationalStatus(CodeableConceptDt theValue)Adds a given new value for operationalStatus ()DeviceComponent.ProductionSpecificationaddProductionSpecification()Adds and returns a new value for productionSpecification ()DeviceComponentaddProductionSpecification(DeviceComponent.ProductionSpecification theValue)Adds a given new value for productionSpecification ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)IdentifierDtgetIdentifier()Gets the value(s) for identifier ().CodeableConceptDtgetLanguageCode()Gets the value(s) for languageCode ().DategetLastSystemChange()Gets the value(s) for lastSystemChange ().ca.uhn.fhir.model.primitive.InstantDtgetLastSystemChangeElement()Gets the value(s) for lastSystemChange ().StringgetMeasurementPrinciple()Gets the value(s) for measurementPrinciple ().ca.uhn.fhir.model.primitive.BoundCodeDt<MeasmntPrincipleEnum>getMeasurementPrincipleElement()Gets the value(s) for measurementPrinciple ().List<CodeableConceptDt>getOperationalStatus()Gets the value(s) for operationalStatus ().CodeableConceptDtgetOperationalStatusFirstRep()Gets the first repetition for operationalStatus (), creating it if it does not already exist.CodeableConceptDtgetParameterGroup()Gets the value(s) for parameterGroup ().ResourceReferenceDtgetParent()Gets the value(s) for parent ().List<DeviceComponent.ProductionSpecification>getProductionSpecification()Gets the value(s) for productionSpecification ().DeviceComponent.ProductionSpecificationgetProductionSpecificationFirstRep()Gets the first repetition for productionSpecification (), creating it if it does not already exist.StringgetResourceName()ResourceReferenceDtgetSource()Gets the value(s) for source ().ca.uhn.fhir.context.FhirVersionEnumgetStructureFhirVersionEnum()CodeableConceptDtgetType()Gets the value(s) for type ().booleanisEmpty()DeviceComponentsetIdentifier(IdentifierDt theValue)Sets the value(s) for identifier ()DeviceComponentsetLanguageCode(CodeableConceptDt theValue)Sets the value(s) for languageCode ()DeviceComponentsetLastSystemChange(ca.uhn.fhir.model.primitive.InstantDt theValue)Sets the value(s) for lastSystemChange ()DeviceComponentsetLastSystemChange(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for lastSystemChange ()DeviceComponentsetLastSystemChangeWithMillisPrecision(Date theDate)Sets the value for lastSystemChange ()DeviceComponentsetMeasurementPrinciple(MeasmntPrincipleEnum theValue)Sets the value(s) for measurementPrinciple ()DeviceComponentsetMeasurementPrinciple(ca.uhn.fhir.model.primitive.BoundCodeDt<MeasmntPrincipleEnum> theValue)Sets the value(s) for measurementPrinciple ()DeviceComponentsetOperationalStatus(List<CodeableConceptDt> theValue)Sets the value(s) for operationalStatus ()DeviceComponentsetParameterGroup(CodeableConceptDt theValue)Sets the value(s) for parameterGroup ()DeviceComponentsetParent(ResourceReferenceDt theValue)Sets the value(s) for parent ()DeviceComponentsetProductionSpecification(List<DeviceComponent.ProductionSpecification> theValue)Sets the value(s) for productionSpecification ()DeviceComponentsetSource(ResourceReferenceDt theValue)Sets the value(s) for source ()DeviceComponentsetType(CodeableConceptDt theValue)Sets the value(s) for type ()-
Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
-
-
-
Field Detail
-
SP_PARENT
public static final String SP_PARENT
Search parameter constant for 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
-
SP_TYPE
public static final String SP_TYPE
Search parameter constant for 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
-
SP_SOURCE
public static final String SP_SOURCE
Search parameter constant for 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_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".
-
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".
-
-
Constructor Detail
-
DeviceComponent
public DeviceComponent()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getType
public CodeableConceptDt getType()
Gets the value(s) for type (). creating it if it does not exist. Will not returnnull.Definition: Describes the specific component type as defined in the object-oriented or metric nomenclature partition.
-
setType
public DeviceComponent setType(CodeableConceptDt theValue)
Sets the value(s) for type ()Definition: Describes the specific component type as defined in the object-oriented or metric nomenclature partition.
-
getIdentifier
public IdentifierDt getIdentifier()
Gets the value(s) for identifier (). creating it if it does not exist. Will not returnnull.Definition: Describes the local assigned unique identification by the software. For example: handle ID.
-
setIdentifier
public DeviceComponent setIdentifier(IdentifierDt theValue)
Sets the value(s) for identifier ()Definition: Describes the local assigned unique identification by the software. For example: handle ID.
-
getLastSystemChangeElement
public ca.uhn.fhir.model.primitive.InstantDt getLastSystemChangeElement()
Gets the value(s) for lastSystemChange (). creating it if it does not exist. Will not returnnull.Definition: Describes the timestamp for the most recent system change which includes device configuration or setting change.
-
getLastSystemChange
public Date getLastSystemChange()
Gets the value(s) for lastSystemChange (). creating it if it does not exist. This method may returnnull.Definition: Describes the timestamp for the most recent system change which includes device configuration or setting change.
-
setLastSystemChange
public DeviceComponent setLastSystemChange(ca.uhn.fhir.model.primitive.InstantDt theValue)
Sets the value(s) for lastSystemChange ()Definition: Describes the timestamp for the most recent system change which includes device configuration or setting change.
-
setLastSystemChangeWithMillisPrecision
public DeviceComponent setLastSystemChangeWithMillisPrecision(Date theDate)
Sets the value for lastSystemChange ()Definition: Describes the timestamp for the most recent system change which includes device configuration or setting change.
-
setLastSystemChange
public DeviceComponent setLastSystemChange(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for lastSystemChange ()Definition: Describes the timestamp for the most recent system change which includes device configuration or setting change.
-
getSource
public ResourceReferenceDt getSource()
Gets the value(s) for source (). creating it if it does not exist. Will not returnnull.Definition: Describes the link to the source Device that contains administrative device information such as manufacture, serial number, etc.
-
setSource
public DeviceComponent setSource(ResourceReferenceDt theValue)
Sets the value(s) for source ()Definition: Describes the link to the source Device that contains administrative device information such as manufacture, serial number, etc.
-
getParent
public ResourceReferenceDt getParent()
Gets the value(s) for parent (). creating it if it does not exist. Will not returnnull.Definition: Describes the link to the parent resource. For example: Channel is linked to its VMD parent.
-
setParent
public DeviceComponent setParent(ResourceReferenceDt theValue)
Sets the value(s) for parent ()Definition: Describes the link to the parent resource. For example: Channel is linked to its VMD parent.
-
getOperationalStatus
public List<CodeableConceptDt> getOperationalStatus()
Gets the value(s) for operationalStatus (). creating it if it does not exist. Will not returnnull.Definition: Indicates current operational status of the device. For example: On, Off, Standby, etc.
-
setOperationalStatus
public DeviceComponent setOperationalStatus(List<CodeableConceptDt> theValue)
Sets the value(s) for operationalStatus ()Definition: Indicates current operational status of the device. For example: On, Off, Standby, etc.
-
addOperationalStatus
public CodeableConceptDt addOperationalStatus()
Adds and returns a new value for operationalStatus ()Definition: Indicates current operational status of the device. For example: On, Off, Standby, etc.
-
addOperationalStatus
public DeviceComponent addOperationalStatus(CodeableConceptDt theValue)
Adds a given new value for operationalStatus ()Definition: Indicates current operational status of the device. For example: On, Off, Standby, etc.
- Parameters:
theValue- The operationalStatus to add (must not benull)
-
getOperationalStatusFirstRep
public CodeableConceptDt getOperationalStatusFirstRep()
Gets the first repetition for operationalStatus (), creating it if it does not already exist.Definition: Indicates current operational status of the device. For example: On, Off, Standby, etc.
-
getParameterGroup
public CodeableConceptDt getParameterGroup()
Gets the value(s) for parameterGroup (). creating it if it does not exist. Will not returnnull.Definition: Describes the parameter group supported by the current device component that is based on some nomenclature, e.g. cardiovascular.
-
setParameterGroup
public DeviceComponent setParameterGroup(CodeableConceptDt theValue)
Sets the value(s) for parameterGroup ()Definition: Describes the parameter group supported by the current device component that is based on some nomenclature, e.g. cardiovascular.
-
getMeasurementPrincipleElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<MeasmntPrincipleEnum> getMeasurementPrincipleElement()
Gets the value(s) for measurementPrinciple (). creating it if it does not exist. Will not returnnull.Definition: Describes the physical principle of the measurement. For example: thermal, chemical, acoustical, etc.
-
getMeasurementPrinciple
public String getMeasurementPrinciple()
Gets the value(s) for measurementPrinciple (). creating it if it does not exist. This method may returnnull.Definition: Describes the physical principle of the measurement. For example: thermal, chemical, acoustical, etc.
-
setMeasurementPrinciple
public DeviceComponent setMeasurementPrinciple(ca.uhn.fhir.model.primitive.BoundCodeDt<MeasmntPrincipleEnum> theValue)
Sets the value(s) for measurementPrinciple ()Definition: Describes the physical principle of the measurement. For example: thermal, chemical, acoustical, etc.
-
setMeasurementPrinciple
public DeviceComponent setMeasurementPrinciple(MeasmntPrincipleEnum theValue)
Sets the value(s) for measurementPrinciple ()Definition: Describes the physical principle of the measurement. For example: thermal, chemical, acoustical, etc.
-
getProductionSpecification
public List<DeviceComponent.ProductionSpecification> getProductionSpecification()
Gets the value(s) for productionSpecification (). creating it if it does not exist. Will not returnnull.Definition: Describes the production specification such as component revision, serial number, etc.
-
setProductionSpecification
public DeviceComponent setProductionSpecification(List<DeviceComponent.ProductionSpecification> theValue)
Sets the value(s) for productionSpecification ()Definition: Describes the production specification such as component revision, serial number, etc.
-
addProductionSpecification
public DeviceComponent.ProductionSpecification addProductionSpecification()
Adds and returns a new value for productionSpecification ()Definition: Describes the production specification such as component revision, serial number, etc.
-
addProductionSpecification
public DeviceComponent addProductionSpecification(DeviceComponent.ProductionSpecification theValue)
Adds a given new value for productionSpecification ()Definition: Describes the production specification such as component revision, serial number, etc.
- Parameters:
theValue- The productionSpecification to add (must not benull)
-
getProductionSpecificationFirstRep
public DeviceComponent.ProductionSpecification getProductionSpecificationFirstRep()
Gets the first repetition for productionSpecification (), creating it if it does not already exist.Definition: Describes the production specification such as component revision, serial number, etc.
-
getLanguageCode
public CodeableConceptDt getLanguageCode()
Gets the value(s) for languageCode (). creating it if it does not exist. Will not returnnull.Definition: 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.
-
setLanguageCode
public DeviceComponent setLanguageCode(CodeableConceptDt theValue)
Sets the value(s) for languageCode ()Definition: 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.
-
getResourceName
public String getResourceName()
- Specified by:
getResourceNamein interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
- Specified by:
getStructureFhirVersionEnumin interfaceorg.hl7.fhir.instance.model.api.IBaseResource- Specified by:
getStructureFhirVersionEnumin interfaceca.uhn.fhir.model.api.IResource
-
-