Package com.ibm.fhir.model.resource
Class ObservationDefinition
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.resource.Resource
-
- com.ibm.fhir.model.resource.DomainResource
-
- com.ibm.fhir.model.resource.ObservationDefinition
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.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)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ObservationDefinition.Builder
static class
ObservationDefinition.QualifiedInterval
Multiple ranges of results qualified by different contexts for ordinal or continuous observations conforming to this ObservationDefinition.static class
ObservationDefinition.QuantitativeDetails
Characteristics for quantitative results of this observation.
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static ObservationDefinition.Builder
builder()
boolean
equals(java.lang.Object obj)
Reference
getAbnormalCodedValueSet()
The set of abnormal coded results for the observation conforming to this ObservationDefinition.java.util.List<CodeableConcept>
getCategory()
A code that classifies the general type of observation.CodeableConcept
getCode()
Describes what will be observed.Reference
getCriticalCodedValueSet()
The set of critical coded results for the observation conforming to this ObservationDefinition.java.util.List<Identifier>
getIdentifier()
A unique identifier assigned to this ObservationDefinition artifact.CodeableConcept
getMethod()
The method or technique used to perform the observation.Boolean
getMultipleResultsAllowed()
Multiple results allowed for observations conforming to this ObservationDefinition.Reference
getNormalCodedValueSet()
The set of normal coded results for the observations conforming to this ObservationDefinition.java.util.List<ObservationDataType>
getPermittedDataType()
The data types allowed for the value element of the instance observations conforming to this ObservationDefinition.String
getPreferredReportName()
The preferred name to be used when reporting the results of observations conforming to this ObservationDefinition.java.util.List<ObservationDefinition.QualifiedInterval>
getQualifiedInterval()
Multiple ranges of results qualified by different contexts for ordinal or continuous observations conforming to this ObservationDefinition.ObservationDefinition.QuantitativeDetails
getQuantitativeDetails()
Characteristics for quantitative results of this observation.Reference
getValidCodedValueSet()
The set of valid coded results for the observations conforming to this ObservationDefinition.boolean
hasChildren()
int
hashCode()
ObservationDefinition.Builder
toBuilder()
Create a new Builder from the contents of this Resource-
Methods inherited from class com.ibm.fhir.model.resource.DomainResource
getContained, getExtension, getModifierExtension, getText
-
Methods inherited from class com.ibm.fhir.model.resource.Resource
as, getId, getImplicitRules, getLanguage, getMeta, is
-
-
-
-
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.
-
getQuantitativeDetails
public ObservationDefinition.QuantitativeDetails getQuantitativeDetails()
Characteristics for quantitative results of this observation.- Returns:
- An immutable object of type
ObservationDefinition.QuantitativeDetails
that may be null.
-
getQualifiedInterval
public java.util.List<ObservationDefinition.QualifiedInterval> getQualifiedInterval()
Multiple ranges of results qualified by different contexts for ordinal or continuous observations conforming to this ObservationDefinition.- Returns:
- An unmodifiable list containing immutable objects of type
ObservationDefinition.QualifiedInterval
that may be empty.
-
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.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildren
in classDomainResource
-
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 interfaceVisitable
- Specified by:
accept
in classAbstractVisitable
- Parameters:
elementName
- the name of the element in the context of this visitelementIndex
- the index of the element in a list or -1 if it is not contained within a Listvisitor
- the visitor to use
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toBuilder
public ObservationDefinition.Builder toBuilder()
Description copied from class:Resource
Create a new Builder from the contents of this Resource- Specified by:
toBuilder
in classDomainResource
-
builder
public static ObservationDefinition.Builder builder()
-
-