Class DiagnosticOrder.Item

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.DiagnosticOrder.Item
All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement, ca.uhn.fhir.model.api.IElement, ca.uhn.fhir.model.api.IIdentifiableElement, ca.uhn.fhir.model.api.IResourceBlock, ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions, Serializable, org.hl7.fhir.instance.model.api.IBase
Enclosing class:
DiagnosticOrder

public static class DiagnosticOrder.Item
extends ca.uhn.fhir.model.api.BaseIdentifiableElement
implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: DiagnosticOrder.item ()

Definition: The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested

See Also:
Serialized Form
  • Constructor Details

    • Item

      public Item()
  • Method Details

    • 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
    • getCode

      Gets the value(s) for code (). creating it if it does not exist. Will not return null.

      Definition: A code that identifies a particular diagnostic investigation, or panel of investigations, that have been requested

    • setCode

      Sets the value(s) for code ()

      Definition: A code that identifies a particular diagnostic investigation, or panel of investigations, that have been requested

    • getSpecimen

      Gets the value(s) for specimen (). creating it if it does not exist. Will not return null.

      Definition: If the item is related to a specific specimen

    • setSpecimen

      Sets the value(s) for specimen ()

      Definition: If the item is related to a specific specimen

    • addSpecimen

      Adds and returns a new value for specimen ()

      Definition: If the item is related to a specific specimen

    • getBodySite

      Gets the value(s) for bodySite (). creating it if it does not exist. Will not return null.

      Definition: Anatomical location where the request test should be performed. This is the target site.

    • setBodySite

      Sets the value(s) for bodySite ()

      Definition: Anatomical location where the request test should be performed. This is the target site.

    • getStatusElement

      public ca.uhn.fhir.model.primitive.BoundCodeDt<DiagnosticOrderStatusEnum> getStatusElement()
      Gets the value(s) for status (). creating it if it does not exist. Will not return null.

      Definition: The status of this individual item within the order

    • getStatus

      public String getStatus()
      Gets the value(s) for status (). creating it if it does not exist. This method may return null.

      Definition: The status of this individual item within the order

    • setStatus

      public DiagnosticOrder.Item setStatus​(ca.uhn.fhir.model.primitive.BoundCodeDt<DiagnosticOrderStatusEnum> theValue)
      Sets the value(s) for status ()

      Definition: The status of this individual item within the order

    • setStatus

      Sets the value(s) for status ()

      Definition: The status of this individual item within the order

    • getEvent

      Gets the value(s) for event (). creating it if it does not exist. Will not return null.

      Definition: A summary of the events of interest that have occurred as this item of the request is processed

    • setEvent

      Sets the value(s) for event ()

      Definition: A summary of the events of interest that have occurred as this item of the request is processed

    • addEvent

      Adds and returns a new value for event ()

      Definition: A summary of the events of interest that have occurred as this item of the request is processed

    • addEvent

      Adds a given new value for event ()

      Definition: A summary of the events of interest that have occurred as this item of the request is processed

      Parameters:
      theValue - The event to add (must not be null)
    • getEventFirstRep

      Gets the first repetition for event (), creating it if it does not already exist.

      Definition: A summary of the events of interest that have occurred as this item of the request is processed