Class 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
    • Field Detail

      • SP_PARENT

        public static final String SP_PARENT
        Search parameter constant for parent

        Description: 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 parent

        Description: The parent DeviceComponent resource
        Type: reference
        Path: DeviceComponent.parent

      • SP_TYPE

        public static final String SP_TYPE
        Search parameter constant for type

        Description: 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 type

        Description: The device component type
        Type: token
        Path: DeviceComponent.type

      • SP_SOURCE

        public static final String SP_SOURCE
        Search parameter constant for source

        Description: 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 source

        Description: 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".
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface org.hl7.fhir.instance.model.api.IBase
      • getAllPopulatedChildElementsOfType

        public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType​(Class<T> theType)
        Specified by:
        getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElement
      • getType

        public CodeableConceptDt getType()
        Gets the value(s) for type (). creating it if it does not exist. Will not return null.

        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 return null.

        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 return null.

        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 return null.

        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 return null.

        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 return null.

        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<CodeableConceptDtgetOperationalStatus()
        Gets the value(s) for operationalStatus (). creating it if it does not exist. Will not return null.

        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 be null)
      • 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 return null.

        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<MeasmntPrincipleEnumgetMeasurementPrincipleElement()
        Gets the value(s) for measurementPrinciple (). creating it if it does not exist. Will not return null.

        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 return null.

        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.

      • getLanguageCode

        public CodeableConceptDt getLanguageCode()
        Gets the value(s) for languageCode (). creating it if it does not exist. Will not return null.

        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:
        getResourceName in interface ca.uhn.fhir.model.api.IResource
      • getStructureFhirVersionEnum

        public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
        Specified by:
        getStructureFhirVersionEnum in interface org.hl7.fhir.instance.model.api.IBaseResource
        Specified by:
        getStructureFhirVersionEnum in interface ca.uhn.fhir.model.api.IResource