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

      • Item

        public Item()
    • 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
      • getCode

        public CodeableConceptDt 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

        public DiagnosticOrder.Item setCode​(CodeableConceptDt theValue)
        Sets the value(s) for code ()

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

      • getSpecimen

        public List<ResourceReferenceDtgetSpecimen()
        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

      • addSpecimen

        public ResourceReferenceDt addSpecimen()
        Adds and returns a new value for specimen ()

        Definition: If the item is related to a specific specimen

      • getBodySite

        public CodeableConceptDt 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.

      • getStatusElement

        public ca.uhn.fhir.model.primitive.BoundCodeDt<DiagnosticOrderStatusEnumgetStatusElement()
        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

      • getEvent

        public List<DiagnosticOrder.EventgetEvent()
        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

      • addEvent

        public DiagnosticOrder.Event 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

        public DiagnosticOrder.Item addEvent​(DiagnosticOrder.Event theValue)
        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

        public DiagnosticOrder.Event 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