Class ObservationDefinition

  • All Implemented Interfaces:
    Visitable

    @Generated("org.linuxforhealth.fhir.tools.CodeGenerator")
    public class ObservationDefinition
    extends DomainResource
    Set of definitional characteristics for a kind of observation or measurement produced or consumed by an orderable health care service.

    Maturity level: FMM0 (Trial Use)

    • Method Detail

      • getCategory

        public java.util.List<CodeableConcept> getCategory()
        A code that classifies the general type of observation.
        Returns:
        An unmodifiable list containing immutable objects of type CodeableConcept that may be empty.
      • getCode

        public CodeableConcept getCode()
        Describes what will be observed. Sometimes this is called the observation "name".
        Returns:
        An immutable object of type CodeableConcept that is non-null.
      • getIdentifier

        public java.util.List<Identifier> getIdentifier()
        A unique identifier assigned to this ObservationDefinition artifact.
        Returns:
        An unmodifiable list containing immutable objects of type Identifier that may be empty.
      • getPermittedDataType

        public java.util.List<ObservationDataType> getPermittedDataType()
        The data types allowed for the value element of the instance observations conforming to this ObservationDefinition.
        Returns:
        An unmodifiable list containing immutable objects of type ObservationDataType that may be empty.
      • getMultipleResultsAllowed

        public Boolean getMultipleResultsAllowed()
        Multiple results allowed for observations conforming to this ObservationDefinition.
        Returns:
        An immutable object of type Boolean that may be null.
      • getMethod

        public CodeableConcept getMethod()
        The method or technique used to perform the observation.
        Returns:
        An immutable object of type CodeableConcept that may be null.
      • getPreferredReportName

        public String getPreferredReportName()
        The preferred name to be used when reporting the results of observations conforming to this ObservationDefinition.
        Returns:
        An immutable object of type String that may be null.
      • getValidCodedValueSet

        public Reference getValidCodedValueSet()
        The set of valid coded results for the observations conforming to this ObservationDefinition.
        Returns:
        An immutable object of type Reference that may be null.
      • getNormalCodedValueSet

        public Reference getNormalCodedValueSet()
        The set of normal coded results for the observations conforming to this ObservationDefinition.
        Returns:
        An immutable object of type Reference that may be null.
      • getAbnormalCodedValueSet

        public Reference getAbnormalCodedValueSet()
        The set of abnormal coded results for the observation conforming to this ObservationDefinition.
        Returns:
        An immutable object of type Reference that may be null.
      • getCriticalCodedValueSet

        public Reference getCriticalCodedValueSet()
        The set of critical coded results for the observation conforming to this ObservationDefinition.
        Returns:
        An immutable object of type Reference that may be null.
      • accept

        public void accept​(java.lang.String elementName,
                           int elementIndex,
                           Visitor visitor)
        Description copied from interface: Visitable
        Accept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:
         if (visitor.preVisit(this)) {
             visitor.visitStart(elementName, elementIndex, this);
             if (visitor.visit(elementName, elementIndex, this)) {
                 // visit children
             }
             visitor.visitEnd(elementName, elementIndex, this);
             visitor.postVisit(this);
         }
         
        Specified by:
        accept in interface Visitable
        Specified by:
        accept in class AbstractVisitable
        Parameters:
        elementName - the name of the element in the context of this visit
        elementIndex - the index of the element in a list or -1 if it is not contained within a List
        visitor - the visitor to use
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object