Class Flag

  • 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 Flag
    extends DomainResource
    Prospective warnings of potential issues when providing care to the patient.
    See Also:
    Serialized Form
    • Method Detail

      • getCategory

        public CodeableConcept getCategory()
        Returns:
        category (Allows an flag to be divided into different categories like clinical, administrative etc. Intended to be used as a means of filtering which flags are displayed to particular user or in a given context.)
      • setCategory

        public Flag setCategory​(CodeableConcept value)
        Parameters:
        value - category (Allows an flag to be divided into different categories like clinical, administrative etc. Intended to be used as a means of filtering which flags are displayed to particular user or in a given context.)
      • setStatusElement

        public Flag setStatusElement​(Enumeration<Flag.FlagStatus> value)
        Parameters:
        value - status (Supports basic workflow.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
      • getPeriod

        public Period getPeriod()
        Returns:
        period (The period of time from the activation of the flag to inactivation of the flag. If the flag is active, the end of the period should be unspecified.)
      • setPeriod

        public Flag setPeriod​(Period value)
        Parameters:
        value - period (The period of time from the activation of the flag to inactivation of the flag. If the flag is active, the end of the period should be unspecified.)
      • getSubject

        public Reference getSubject()
        Returns:
        subject (The patient, location, group , organization , or practitioner this is about record this flag is associated with.)
      • setSubject

        public Flag setSubject​(Reference value)
        Parameters:
        value - subject (The patient, location, group , organization , or practitioner this is about record this flag is associated with.)
      • getSubjectTarget

        public Resource 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 patient, location, group , organization , or practitioner this is about record this flag is associated with.)
      • setSubjectTarget

        public Flag setSubjectTarget​(Resource value)
        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 patient, location, group , organization , or practitioner this is about record this flag is associated with.)
      • getEncounterTarget

        public Encounter 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. (This alert is only relevant during the encounter.)
      • setEncounterTarget

        public Flag setEncounterTarget​(Encounter value)
        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. (This alert is only relevant during the encounter.)
      • setAuthor

        public Flag setAuthor​(Reference value)
        Parameters:
        value - author (The person, organization or device that created the flag.)
      • getAuthorTarget

        public Resource getAuthorTarget()
        Returns:
        author 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 person, organization or device that created the flag.)
      • setAuthorTarget

        public Flag setAuthorTarget​(Resource value)
        Parameters:
        value - author 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 person, organization or device that created the flag.)
      • getCode

        public CodeableConcept getCode()
        Returns:
        code (The coded value or textual component of the flag to display to the user.)
      • hasCode

        public boolean hasCode()
      • setCode

        public Flag setCode​(CodeableConcept value)
        Parameters:
        value - code (The coded value or textual component of the flag to display to the user.)
      • isEmpty

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