Class Specimen.Collection

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.Specimen.Collection
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:
Specimen

public static class Specimen.Collection extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Specimen.collection ()

Definition: Details concerning the specimen collection

See Also:
  • Constructor Details

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

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

      Definition: Person who collected the specimen

    • setCollector

      Sets the value(s) for collector ()

      Definition: Person who collected the specimen

    • getComment

      public List<ca.uhn.fhir.model.primitive.StringDt> getComment()
      Gets the value(s) for comment (). creating it if it does not exist. Will not return null.

      Definition: To communicate any details or issues encountered during the specimen collection procedure.

    • setComment

      public Specimen.Collection setComment(List<ca.uhn.fhir.model.primitive.StringDt> theValue)
      Sets the value(s) for comment ()

      Definition: To communicate any details or issues encountered during the specimen collection procedure.

    • addComment

      public ca.uhn.fhir.model.primitive.StringDt addComment()
      Adds and returns a new value for comment ()

      Definition: To communicate any details or issues encountered during the specimen collection procedure.

    • addComment

      public Specimen.Collection addComment(ca.uhn.fhir.model.primitive.StringDt theValue)
      Adds a given new value for comment ()

      Definition: To communicate any details or issues encountered during the specimen collection procedure.

      Parameters:
      theValue - The comment to add (must not be null)
    • getCommentFirstRep

      public ca.uhn.fhir.model.primitive.StringDt getCommentFirstRep()
      Gets the first repetition for comment (), creating it if it does not already exist.

      Definition: To communicate any details or issues encountered during the specimen collection procedure.

    • addComment

      Adds a new value for comment ()

      Definition: To communicate any details or issues encountered during the specimen collection procedure.

      Returns:
      Returns a reference to this object, to allow for simple chaining.
    • getCollected

      public ca.uhn.fhir.model.api.IDatatype getCollected()
      Gets the value(s) for collected[x] (when.init). creating it if it does not exist. Will not return null.

      Definition: Time when specimen was collected from subject - the physiologically relevant time

    • setCollected

      public Specimen.Collection setCollected(ca.uhn.fhir.model.api.IDatatype theValue)
      Sets the value(s) for collected[x] (when.init)

      Definition: Time when specimen was collected from subject - the physiologically relevant time

    • getQuantity

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

      Definition: The quantity of specimen collected; for instance the volume of a blood sample, or the physical measurement of an anatomic pathology sample.

    • setQuantity

      Sets the value(s) for quantity ()

      Definition: The quantity of specimen collected; for instance the volume of a blood sample, or the physical measurement of an anatomic pathology sample.

    • getMethod

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

      Definition: A coded value specifying the technique that is used to perform the procedure

    • setMethod

      Sets the value(s) for method ()

      Definition: A coded value specifying the technique that is used to perform the procedure

    • getBodySite

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

      Definition: Anatomical location from which the specimen was collected (if subject is a patient). This is the target site. This element is not used for environmental specimens.

    • setBodySite

      Sets the value(s) for bodySite ()

      Definition: Anatomical location from which the specimen was collected (if subject is a patient). This is the target site. This element is not used for environmental specimens.