Class List_

All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IAnyResource, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions, org.hl7.fhir.instance.model.api.IBaseResource, org.hl7.fhir.instance.model.api.IDomainResource

public class List_ extends DomainResource
A set of information summarized from a list of other resources.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getIdentifier

      Returns:
      identifier (Identifier for the List assigned for business purposes outside the context of FHIR.)
    • hasIdentifier

      public boolean hasIdentifier()
    • addIdentifier

      Returns:
      identifier (Identifier for the List assigned for business purposes outside the context of FHIR.)
    • addIdentifier

    • getTitleElement

      Returns:
      title (A label for the list assigned by the author.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
    • hasTitleElement

      public boolean hasTitleElement()
    • hasTitle

      public boolean hasTitle()
    • setTitleElement

      Parameters:
      value - title (A label for the list assigned by the author.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
    • getTitle

      public String getTitle()
      Returns:
      A label for the list assigned by the author.
    • setTitle

      public List_ setTitle(String value)
      Parameters:
      value - A label for the list assigned by the author.
    • getCode

      Returns:
      code (This code defines the purpose of the list - why it was created.)
    • hasCode

      public boolean hasCode()
    • setCode

      public List_ setCode(CodeableConcept value)
      Parameters:
      value - code (This code defines the purpose of the list - why it was created.)
    • getSubject

      Returns:
      subject (The common subject (or patient) of the resources that are in the list, if there is one.)
    • hasSubject

      public boolean hasSubject()
    • setSubject

      public List_ setSubject(Reference value)
      Parameters:
      value - subject (The common subject (or patient) of the resources that are in the list, if there is one.)
    • getSubjectTarget

      Returns:
      subject The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The common subject (or patient) of the resources that are in the list, if there is one.)
    • setSubjectTarget

      Parameters:
      value - subject The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The common subject (or patient) of the resources that are in the list, if there is one.)
    • getSource

      public Reference getSource()
      Returns:
      source (The entity responsible for deciding what the contents of the list were. Where the list was created by a human, this is the same as the author of the list.)
    • hasSource

      public boolean hasSource()
    • setSource

      public List_ setSource(Reference value)
      Parameters:
      value - source (The entity responsible for deciding what the contents of the list were. Where the list was created by a human, this is the same as the author of the list.)
    • getSourceTarget

      Returns:
      source The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The entity responsible for deciding what the contents of the list were. Where the list was created by a human, this is the same as the author of the list.)
    • setSourceTarget

      public List_ setSourceTarget(Resource value)
      Parameters:
      value - source The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The entity responsible for deciding what the contents of the list were. Where the list was created by a human, this is the same as the author of the list.)
    • getEncounter

      Returns:
      encounter (The encounter that is the context in which this list was created.)
    • hasEncounter

      public boolean hasEncounter()
    • setEncounter

      public List_ setEncounter(Reference value)
      Parameters:
      value - encounter (The encounter that is the context in which this list was created.)
    • getEncounterTarget

      Returns:
      encounter The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The encounter that is the context in which this list was created.)
    • setEncounterTarget

      Parameters:
      value - encounter The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The encounter that is the context in which this list was created.)
    • getStatusElement

      Returns:
      status (Indicates the current state of this list.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
    • hasStatusElement

      public boolean hasStatusElement()
    • hasStatus

      public boolean hasStatus()
    • setStatusElement

      Parameters:
      value - status (Indicates the current state of this list.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
    • getStatus

      Returns:
      Indicates the current state of this list.
    • setStatus

      Parameters:
      value - Indicates the current state of this list.
    • getDateElement

      Returns:
      date (The date that the list was prepared.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
    • hasDateElement

      public boolean hasDateElement()
    • hasDate

      public boolean hasDate()
    • setDateElement

      Parameters:
      value - date (The date that the list was prepared.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
    • getDate

      public Date getDate()
      Returns:
      The date that the list was prepared.
    • setDate

      public List_ setDate(Date value)
      Parameters:
      value - The date that the list was prepared.
    • getOrderedBy

      Returns:
      orderedBy (What order applies to the items in the list.)
    • hasOrderedBy

      public boolean hasOrderedBy()
    • setOrderedBy

      Parameters:
      value - orderedBy (What order applies to the items in the list.)
    • getModeElement

      Returns:
      mode (How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.). This is the underlying object with id, value and extensions. The accessor "getMode" gives direct access to the value
    • hasModeElement

      public boolean hasModeElement()
    • hasMode

      public boolean hasMode()
    • setModeElement

      Parameters:
      value - mode (How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.). This is the underlying object with id, value and extensions. The accessor "getMode" gives direct access to the value
    • getMode

      Returns:
      How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.
    • setMode

      public List_ setMode(List_.ListMode value)
      Parameters:
      value - How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.
    • getNoteElement

      Returns:
      note (Comments that apply to the overall list.). This is the underlying object with id, value and extensions. The accessor "getNote" gives direct access to the value
    • hasNoteElement

      public boolean hasNoteElement()
    • hasNote

      public boolean hasNote()
    • setNoteElement

      Parameters:
      value - note (Comments that apply to the overall list.). This is the underlying object with id, value and extensions. The accessor "getNote" gives direct access to the value
    • getNote

      public String getNote()
      Returns:
      Comments that apply to the overall list.
    • setNote

      public List_ setNote(String value)
      Parameters:
      value - Comments that apply to the overall list.
    • getEntry

      Returns:
      entry (Entries in this list.)
    • hasEntry

      public boolean hasEntry()
    • addEntry

      Returns:
      entry (Entries in this list.)
    • addEntry

    • getEmptyReason

      Returns:
      emptyReason (If the list is empty, why the list is empty.)
    • hasEmptyReason

      public boolean hasEmptyReason()
    • setEmptyReason

      Parameters:
      value - emptyReason (If the list is empty, why the list is empty.)
    • listChildren

      protected void listChildren(List<Property> childrenList)
      Overrides:
      listChildren in class DomainResource
    • setProperty

      public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      setProperty in class DomainResource
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • addChild

      public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      addChild in class DomainResource
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • fhirType

      public String fhirType()
      Specified by:
      fhirType in interface org.hl7.fhir.instance.model.api.IBase
      Overrides:
      fhirType in class DomainResource
    • copy

      public List_ copy()
      Specified by:
      copy in class DomainResource
    • typedCopy

      protected List_ typedCopy()
    • equalsDeep

      public boolean equalsDeep(Base other)
      Overrides:
      equalsDeep in class DomainResource
    • equalsShallow

      public boolean equalsShallow(Base other)
      Overrides:
      equalsShallow in class DomainResource
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
      Overrides:
      isEmpty in class DomainResource
    • getResourceType

      Specified by:
      getResourceType in class Resource