Class Conformance

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.IBaseConformance, 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 Conformance extends DomainResource implements org.hl7.fhir.instance.model.api.IBaseConformance
A conformance statement is a set of capabilities of a FHIR Server that may be used as a statement of actual server functionality or a statement of required or desired server implementation.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getUrlElement

      Returns:
      url (An absolute URL that is used to identify this conformance statement 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 conformance statement 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 conformance statement 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 conformance statement 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 conformance statement 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 conformance statement is (or will be) published.
    • setUrl

      public Conformance setUrl(String value)
      Parameters:
      value - An absolute URL that is used to identify this conformance statement 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 conformance statement is (or will be) published.
    • getVersionElement

      Returns:
      version (The identifier that is used to identify this version of the conformance statement when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp.). 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 conformance statement when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp.). 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 conformance statement when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp.
    • setVersion

      public Conformance setVersion(String value)
      Parameters:
      value - The identifier that is used to identify this version of the conformance statement when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp.
    • getNameElement

      Returns:
      name (A free text natural language name identifying the conformance statement.). 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 (A free text natural language name identifying the conformance statement.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
    • getName

      public String getName()
      Returns:
      A free text natural language name identifying the conformance statement.
    • setName

      public Conformance setName(String value)
      Parameters:
      value - A free text natural language name identifying the conformance statement.
    • getStatusElement

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

      Returns:
      The status of this conformance statement.
    • setStatus

      Parameters:
      value - The status of this conformance statement.
    • getExperimentalElement

      Returns:
      experimental (A flag to indicate that this conformance statement 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 conformance statement 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 conformance statement is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
    • setExperimental

      public Conformance setExperimental(boolean value)
      Parameters:
      value - A flag to indicate that this conformance statement 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 conformance.). 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 conformance.). 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 conformance.
    • setPublisher

      Parameters:
      value - The name of the individual or organization that published the conformance.
    • 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 (and optionally time) when the conformance statement 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 conformance statement 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 (and optionally time) when the conformance statement 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 conformance statement 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 (and optionally time) when the conformance statement 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 conformance statement changes.
    • setDate

      public Conformance setDate(Date value)
      Parameters:
      value - The date (and optionally time) when the conformance statement 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 conformance statement changes.
    • getDescriptionElement

      Returns:
      description (A free text natural language description of the conformance statement and its use. Typically, this is used when the conformance statement describes a desired rather than an actual solution, for example as a formal expression of requirements as part of an RFP.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
    • hasDescriptionElement

      public boolean hasDescriptionElement()
    • hasDescription

      public boolean hasDescription()
    • setDescriptionElement

      Parameters:
      value - description (A free text natural language description of the conformance statement and its use. Typically, this is used when the conformance statement describes a desired rather than an actual solution, for example as a formal expression of requirements as part of an RFP.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
    • getDescription

      Returns:
      A free text natural language description of the conformance statement and its use. Typically, this is used when the conformance statement describes a desired rather than an actual solution, for example as a formal expression of requirements as part of an RFP.
    • setDescription

      Parameters:
      value - A free text natural language description of the conformance statement and its use. Typically, this is used when the conformance statement describes a desired rather than an actual solution, for example as a formal expression of requirements as part of an RFP.
    • getRequirementsElement

      Returns:
      requirements (Explains why this conformance statement is needed and why it's been constrained as it has.). This is the underlying object with id, value and extensions. The accessor "getRequirements" gives direct access to the value
    • hasRequirementsElement

      public boolean hasRequirementsElement()
    • hasRequirements

      public boolean hasRequirements()
    • setRequirementsElement

      Parameters:
      value - requirements (Explains why this conformance statement is needed and why it's been constrained as it has.). This is the underlying object with id, value and extensions. The accessor "getRequirements" gives direct access to the value
    • getRequirements

      Returns:
      Explains why this conformance statement is needed and why it's been constrained as it has.
    • setRequirements

      Parameters:
      value - Explains why this conformance statement is needed and why it's been constrained as it has.
    • getCopyrightElement

      Returns:
      copyright (A copyright statement relating to the conformance statement and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the system described by the conformance statement.). 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 conformance statement and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the system described by the conformance statement.). 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 conformance statement and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the system described by the conformance statement.
    • setCopyright

      Parameters:
      value - A copyright statement relating to the conformance statement and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the system described by the conformance statement.
    • getKindElement

      Returns:
      kind (The way that this statement is intended to be used, to describe an actual running instance of software, a particular product (kind not instance of software) or a class of implementation (e.g. a desired purchase).). This is the underlying object with id, value and extensions. The accessor "getKind" gives direct access to the value
    • hasKindElement

      public boolean hasKindElement()
    • hasKind

      public boolean hasKind()
    • setKindElement

      Parameters:
      value - kind (The way that this statement is intended to be used, to describe an actual running instance of software, a particular product (kind not instance of software) or a class of implementation (e.g. a desired purchase).). This is the underlying object with id, value and extensions. The accessor "getKind" gives direct access to the value
    • getKind

      Returns:
      The way that this statement is intended to be used, to describe an actual running instance of software, a particular product (kind not instance of software) or a class of implementation (e.g. a desired purchase).
    • setKind

      Parameters:
      value - The way that this statement is intended to be used, to describe an actual running instance of software, a particular product (kind not instance of software) or a class of implementation (e.g. a desired purchase).
    • getSoftware

      Returns:
      software (Software that is covered by this conformance statement. It is used when the conformance statement describes the capabilities of a particular software version, independent of an installation.)
    • hasSoftware

      public boolean hasSoftware()
    • setSoftware

      Parameters:
      value - software (Software that is covered by this conformance statement. It is used when the conformance statement describes the capabilities of a particular software version, independent of an installation.)
    • getImplementation

      Returns:
      implementation (Identifies a specific implementation instance that is described by the conformance statement - i.e. a particular installation, rather than the capabilities of a software program.)
    • hasImplementation

      public boolean hasImplementation()
    • setImplementation

      Parameters:
      value - implementation (Identifies a specific implementation instance that is described by the conformance statement - i.e. a particular installation, rather than the capabilities of a software program.)
    • getFhirVersionElement

      Returns:
      fhirVersion (The version of the FHIR specification on which this conformance statement is based.). This is the underlying object with id, value and extensions. The accessor "getFhirVersion" gives direct access to the value
    • hasFhirVersionElement

      public boolean hasFhirVersionElement()
    • hasFhirVersion

      public boolean hasFhirVersion()
    • setFhirVersionElement

      Parameters:
      value - fhirVersion (The version of the FHIR specification on which this conformance statement is based.). This is the underlying object with id, value and extensions. The accessor "getFhirVersion" gives direct access to the value
    • getFhirVersion

      Returns:
      The version of the FHIR specification on which this conformance statement is based.
    • setFhirVersion

      Parameters:
      value - The version of the FHIR specification on which this conformance statement is based.
    • getAcceptUnknownElement

      Returns:
      acceptUnknown (A code that indicates whether the application accepts unknown elements or extensions when reading resources.). This is the underlying object with id, value and extensions. The accessor "getAcceptUnknown" gives direct access to the value
    • hasAcceptUnknownElement

      public boolean hasAcceptUnknownElement()
    • hasAcceptUnknown

      public boolean hasAcceptUnknown()
    • setAcceptUnknownElement

      Parameters:
      value - acceptUnknown (A code that indicates whether the application accepts unknown elements or extensions when reading resources.). This is the underlying object with id, value and extensions. The accessor "getAcceptUnknown" gives direct access to the value
    • getAcceptUnknown

      Returns:
      A code that indicates whether the application accepts unknown elements or extensions when reading resources.
    • setAcceptUnknown

      Parameters:
      value - A code that indicates whether the application accepts unknown elements or extensions when reading resources.
    • getFormat

      public List<CodeType> getFormat()
      Returns:
      format (A list of the formats supported by this implementation using their content types.)
    • hasFormat

      public boolean hasFormat()
    • addFormatElement

      Returns:
      format (A list of the formats supported by this implementation using their content types.)
    • addFormat

      public Conformance addFormat(String value)
      Parameters:
      value - format (A list of the formats supported by this implementation using their content types.)
    • hasFormat

      public boolean hasFormat(String value)
      Parameters:
      value - format (A list of the formats supported by this implementation using their content types.)
    • getProfile

      Returns:
      profile (A list of profiles that represent different use cases supported by the system. For a server, "supported by the system" means the system hosts/produces a set of resources that are conformant to a particular profile, and allows clients that use its services to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. See further discussion in [Using Profiles]{profiling.html#profile-uses}.)
    • hasProfile

      public boolean hasProfile()
    • addProfile

      Returns:
      profile (A list of profiles that represent different use cases supported by the system. For a server, "supported by the system" means the system hosts/produces a set of resources that are conformant to a particular profile, and allows clients that use its services to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. See further discussion in [Using Profiles]{profiling.html#profile-uses}.)
    • addProfile

    • getProfileTarget

      Returns:
      profile (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. A list of profiles that represent different use cases supported by the system. For a server, "supported by the system" means the system hosts/produces a set of resources that are conformant to a particular profile, and allows clients that use its services to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. See further discussion in [Using Profiles]{profiling.html#profile-uses}.)
    • addProfileTarget

      Returns:
      profile (Add an actual object that is the target of the reference. The reference library doesn't use these, but you can use this to hold the resources if you resolvethemt. A list of profiles that represent different use cases supported by the system. For a server, "supported by the system" means the system hosts/produces a set of resources that are conformant to a particular profile, and allows clients that use its services to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. See further discussion in [Using Profiles]{profiling.html#profile-uses}.)
    • getRest

      Returns:
      rest (A definition of the restful capabilities of the solution, if any.)
    • hasRest

      public boolean hasRest()
    • addRest

      Returns:
      rest (A definition of the restful capabilities of the solution, if any.)
    • addRest

    • getMessaging

      Returns:
      messaging (A description of the messaging capabilities of the solution.)
    • hasMessaging

      public boolean hasMessaging()
    • addMessaging

      Returns:
      messaging (A description of the messaging capabilities of the solution.)
    • addMessaging

    • getDocument

      Returns:
      document (A document definition.)
    • hasDocument

      public boolean hasDocument()
    • addDocument

      Returns:
      document (A document definition.)
    • addDocument

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

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