Class DataElement

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 DataElement extends DomainResource
The formal description of a single piece of information that can be gathered and reported.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getUrlElement

      Returns:
      url (An absolute URL that is used to identify this data element when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this data element is (or will be) published.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
    • hasUrlElement

      public boolean hasUrlElement()
    • hasUrl

      public boolean hasUrl()
    • setUrlElement

      Parameters:
      value - url (An absolute URL that is used to identify this data element when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this data element is (or will be) published.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
    • getUrl

      public String getUrl()
      Returns:
      An absolute URL that is used to identify this data element when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this data element is (or will be) published.
    • setUrl

      public DataElement setUrl(String value)
      Parameters:
      value - An absolute URL that is used to identify this data element when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this data element is (or will be) published.
    • getIdentifier

      Returns:
      identifier (Formal identifier that is used to identify this data element when it is represented in other formats, or referenced in a specification, model, design or an instance.)
    • hasIdentifier

      public boolean hasIdentifier()
    • addIdentifier

      Returns:
      identifier (Formal identifier that is used to identify this data element when it is represented in other formats, or referenced in a specification, model, design or an instance.)
    • addIdentifier

    • getVersionElement

      Returns:
      version (The identifier that is used to identify this version of the data element when it is referenced in a StructureDefinition, Questionnaire or instance. This is an arbitrary value managed by the definition author manually.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
    • hasVersionElement

      public boolean hasVersionElement()
    • hasVersion

      public boolean hasVersion()
    • setVersionElement

      Parameters:
      value - version (The identifier that is used to identify this version of the data element when it is referenced in a StructureDefinition, Questionnaire or instance. This is an arbitrary value managed by the definition author manually.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
    • getVersion

      public String getVersion()
      Returns:
      The identifier that is used to identify this version of the data element when it is referenced in a StructureDefinition, Questionnaire or instance. This is an arbitrary value managed by the definition author manually.
    • setVersion

      public DataElement setVersion(String value)
      Parameters:
      value - The identifier that is used to identify this version of the data element when it is referenced in a StructureDefinition, Questionnaire or instance. This is an arbitrary value managed by the definition author manually.
    • getNameElement

      Returns:
      name (The term used by humans to refer to the data element. Should ideally be unique within the context in which the data element is expected to be used.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
    • hasNameElement

      public boolean hasNameElement()
    • hasName

      public boolean hasName()
    • setNameElement

      Parameters:
      value - name (The term used by humans to refer to the data element. Should ideally be unique within the context in which the data element is expected to be used.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
    • getName

      public String getName()
      Returns:
      The term used by humans to refer to the data element. Should ideally be unique within the context in which the data element is expected to be used.
    • setName

      public DataElement setName(String value)
      Parameters:
      value - The term used by humans to refer to the data element. Should ideally be unique within the context in which the data element is expected to be used.
    • getStatusElement

      Returns:
      status (The status of the data element.). 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 (The status of the data element.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
    • getStatus

      Returns:
      The status of the data element.
    • setStatus

      Parameters:
      value - The status of the data element.
    • getExperimentalElement

      Returns:
      experimental (A flag to indicate that this search data element definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value
    • hasExperimentalElement

      public boolean hasExperimentalElement()
    • hasExperimental

      public boolean hasExperimental()
    • setExperimentalElement

      Parameters:
      value - experimental (A flag to indicate that this search data element definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the value
    • getExperimental

      public boolean getExperimental()
      Returns:
      A flag to indicate that this search data element definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
    • setExperimental

      public DataElement setExperimental(boolean value)
      Parameters:
      value - A flag to indicate that this search data element definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
    • getPublisherElement

      Returns:
      publisher (The name of the individual or organization that published the data element.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value
    • hasPublisherElement

      public boolean hasPublisherElement()
    • hasPublisher

      public boolean hasPublisher()
    • setPublisherElement

      Parameters:
      value - publisher (The name of the individual or organization that published the data element.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the value
    • getPublisher

      public String getPublisher()
      Returns:
      The name of the individual or organization that published the data element.
    • setPublisher

      Parameters:
      value - The name of the individual or organization that published the data element.
    • getContact

      Returns:
      contact (Contacts to assist a user in finding and communicating with the publisher.)
    • hasContact

      public boolean hasContact()
    • addContact

      Returns:
      contact (Contacts to assist a user in finding and communicating with the publisher.)
    • addContact

    • getDateElement

      Returns:
      date (The date this version of the data element was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the data element changes.). 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 this version of the data element was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the data element changes.). 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 this version of the data element was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the data element changes.
    • setDate

      public DataElement setDate(Date value)
      Parameters:
      value - The date this version of the data element was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the data element changes.
    • getUseContext

      Returns:
      useContext (The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of data element definitions.)
    • hasUseContext

      public boolean hasUseContext()
    • addUseContext

      Returns:
      useContext (The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of data element definitions.)
    • addUseContext

    • getCopyrightElement

      Returns:
      copyright (A copyright statement relating to the definition of the data element. Copyright statements are generally legal restrictions on the use and publishing of the details of the definition of the data element.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value
    • hasCopyrightElement

      public boolean hasCopyrightElement()
    • hasCopyright

      public boolean hasCopyright()
    • setCopyrightElement

      Parameters:
      value - copyright (A copyright statement relating to the definition of the data element. Copyright statements are generally legal restrictions on the use and publishing of the details of the definition of the data element.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the value
    • getCopyright

      public String getCopyright()
      Returns:
      A copyright statement relating to the definition of the data element. Copyright statements are generally legal restrictions on the use and publishing of the details of the definition of the data element.
    • setCopyright

      Parameters:
      value - A copyright statement relating to the definition of the data element. Copyright statements are generally legal restrictions on the use and publishing of the details of the definition of the data element.
    • getStringencyElement

      Returns:
      stringency (Identifies how precise the data element is in its definition.). This is the underlying object with id, value and extensions. The accessor "getStringency" gives direct access to the value
    • hasStringencyElement

      public boolean hasStringencyElement()
    • hasStringency

      public boolean hasStringency()
    • setStringencyElement

      Parameters:
      value - stringency (Identifies how precise the data element is in its definition.). This is the underlying object with id, value and extensions. The accessor "getStringency" gives direct access to the value
    • getStringency

      Returns:
      Identifies how precise the data element is in its definition.
    • setStringency

      Parameters:
      value - Identifies how precise the data element is in its definition.
    • getMapping

      Returns:
      mapping (Identifies a specification (other than a terminology) that the elements which make up the DataElement have some correspondence with.)
    • hasMapping

      public boolean hasMapping()
    • addMapping

      Returns:
      mapping (Identifies a specification (other than a terminology) that the elements which make up the DataElement have some correspondence with.)
    • addMapping

    • getElement

      Returns:
      element (Defines the structure, type, allowed values and other constraining characteristics of the data element.)
    • hasElement

      public boolean hasElement()
    • addElement

      Returns:
      element (Defines the structure, type, allowed values and other constraining characteristics of the data element.)
    • addElement

    • 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 DataElement copy()
      Specified by:
      copy in class DomainResource
    • typedCopy

      protected DataElement 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