Class EHR_STATUS

All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseDatatype, org.hl7.fhir.instance.model.api.ICompositeType

public class EHR_STATUS extends LOCATABLE implements org.hl7.fhir.instance.model.api.ICompositeType
Single object per EHR containing various EHR-wide status flags and settings, including whether this EHR can be queried, modified etc. This object is always modifiable, in order to change the status of the EHR as a whole.
See Also:
  • Field Details

    • subject

      protected PARTY_SELF subject
      The subject of this EHR. The external_ref attribute can be used to contain a direct reference to the subject in a demographic or identity service. Alternatively, the association between patients and their records may be done elsewhere for security reasons.
    • is_queryable

      True if this EHR should be included in population queries, i.e. if this EHR is considered active in the population.
    • is_modifiable

      True if the EHR, other than the EHR_STATUS object, is allowed to be written to. The EHR_STATUS object itself can always be written to.
    • other_details

      Any other details of the EHR summary object, in the form of an archetyped ITEM_STRUCTURE.
  • Constructor Details

    • EHR_STATUS

      public EHR_STATUS()
      Constructor
    • EHR_STATUS

      public EHR_STATUS(PARTY_SELF subject, boolean is_queryable, boolean is_modifiable)
      Constructor
  • Method Details

    • getSubject

      Returns:
      subject (The subject of this EHR. The external_ref attribute can be used to contain a direct reference to the subject in a demographic or identity service. Alternatively, the association between patients and their records may be done elsewhere for security reasons.)
    • hasSubject

      public boolean hasSubject()
    • setSubject

      Parameters:
      value - subject (The subject of this EHR. The external_ref attribute can be used to contain a direct reference to the subject in a demographic or identity service. Alternatively, the association between patients and their records may be done elsewhere for security reasons.)
    • getIs_queryableElement

      Returns:
      is_queryable (True if this EHR should be included in population queries, i.e. if this EHR is considered active in the population.). This is the underlying object with id, value and extensions. The accessor "getIs_queryable" gives direct access to the value
    • hasIs_queryableElement

      public boolean hasIs_queryableElement()
    • hasIs_queryable

      public boolean hasIs_queryable()
    • setIs_queryableElement

      Parameters:
      value - is_queryable (True if this EHR should be included in population queries, i.e. if this EHR is considered active in the population.). This is the underlying object with id, value and extensions. The accessor "getIs_queryable" gives direct access to the value
    • getIs_queryable

      public boolean getIs_queryable()
      Returns:
      True if this EHR should be included in population queries, i.e. if this EHR is considered active in the population.
    • setIs_queryable

      public EHR_STATUS setIs_queryable(boolean value)
      Parameters:
      value - True if this EHR should be included in population queries, i.e. if this EHR is considered active in the population.
    • getIs_modifiableElement

      Returns:
      is_modifiable (True if the EHR, other than the EHR_STATUS object, is allowed to be written to. The EHR_STATUS object itself can always be written to.). This is the underlying object with id, value and extensions. The accessor "getIs_modifiable" gives direct access to the value
    • hasIs_modifiableElement

      public boolean hasIs_modifiableElement()
    • hasIs_modifiable

      public boolean hasIs_modifiable()
    • setIs_modifiableElement

      Parameters:
      value - is_modifiable (True if the EHR, other than the EHR_STATUS object, is allowed to be written to. The EHR_STATUS object itself can always be written to.). This is the underlying object with id, value and extensions. The accessor "getIs_modifiable" gives direct access to the value
    • getIs_modifiable

      public boolean getIs_modifiable()
      Returns:
      True if the EHR, other than the EHR_STATUS object, is allowed to be written to. The EHR_STATUS object itself can always be written to.
    • setIs_modifiable

      public EHR_STATUS setIs_modifiable(boolean value)
      Parameters:
      value - True if the EHR, other than the EHR_STATUS object, is allowed to be written to. The EHR_STATUS object itself can always be written to.
    • getOther_details

      Returns:
      other_details (Any other details of the EHR summary object, in the form of an archetyped ITEM_STRUCTURE.)
    • hasOther_details

      public boolean hasOther_details()
    • setOther_details

      Parameters:
      value - other_details (Any other details of the EHR summary object, in the form of an archetyped ITEM_STRUCTURE.)
    • listChildren

      protected void listChildren(List<Property> children)
      Overrides:
      listChildren in class PATHABLE
    • getNamedProperty

      public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      getNamedProperty in class PATHABLE
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • getProperty

      public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      getProperty in class PATHABLE
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • setProperty

      public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      setProperty in class PATHABLE
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • setProperty

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

      public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      makeProperty in class PATHABLE
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • getTypesForProperty

      public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      getTypesForProperty in class PATHABLE
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • addChild

      public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      addChild in class PATHABLE
      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 LOCATABLE
      Returns:
      the FHIR type name of the instance (not the java class name)
    • copy

      public EHR_STATUS copy()
      Specified by:
      copy in class LOCATABLE
    • copyValues

      public void copyValues(EHR_STATUS dst)
    • typedCopy

      protected EHR_STATUS typedCopy()
    • equalsDeep

      public boolean equalsDeep(Base other_)
      Overrides:
      equalsDeep in class PATHABLE
    • equalsShallow

      public boolean equalsShallow(Base other_)
      Overrides:
      equalsShallow in class PATHABLE
    • isEmpty

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