Class CapabilityStatement
- java.lang.Object
-
- org.linuxforhealth.fhir.model.visitor.AbstractVisitable
-
- org.linuxforhealth.fhir.model.resource.Resource
-
- org.linuxforhealth.fhir.model.resource.DomainResource
-
- org.linuxforhealth.fhir.model.resource.CapabilityStatement
-
- All Implemented Interfaces:
Visitable
@Generated("org.linuxforhealth.fhir.tools.CodeGenerator") public class CapabilityStatement extends DomainResourceA Capability Statement documents a set of capabilities (behaviors) of a FHIR Server for a particular version of FHIR that may be used as a statement of actual server functionality or a statement of required or desired server implementation.Maturity level: FMM5 (Normative)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCapabilityStatement.Builderstatic classCapabilityStatement.DocumentA document definition.static classCapabilityStatement.ImplementationIdentifies a specific implementation instance that is described by the capability statement - i.e.static classCapabilityStatement.MessagingA description of the messaging capabilities of the solution.static classCapabilityStatement.RestA definition of the restful capabilities of the solution, if any.static classCapabilityStatement.SoftwareSoftware that is covered by this capability statement.
-
Field Summary
-
Fields inherited from class org.linuxforhealth.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(java.lang.String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static CapabilityStatement.Builderbuilder()booleanequals(java.lang.Object obj)java.util.List<ContactDetail>getContact()Contact details to assist a user in finding and communicating with the publisher.MarkdowngetCopyright()A copyright statement relating to the capability statement and/or its contents.DateTimegetDate()The date (and optionally time) when the capability statement was published.MarkdowngetDescription()A free text natural language description of the capability statement from a consumer's perspective.java.util.List<CapabilityStatement.Document>getDocument()A document definition.BooleangetExperimental()A Boolean value to indicate that this capability statement is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.FHIRVersiongetFhirVersion()The version of the FHIR specification that this CapabilityStatement describes (which SHALL be the same as the FHIR version of the CapabilityStatement itself).java.util.List<Code>getFormat()A list of the formats supported by this implementation using their content types.CapabilityStatement.ImplementationgetImplementation()Identifies a specific implementation instance that is described by the capability statement - i.e.java.util.List<Canonical>getImplementationGuide()A list of implementation guides that the server does (or should) support in their entirety.java.util.List<Canonical>getImports()Reference to a canonical URL of another CapabilityStatement that this software adds to.java.util.List<Canonical>getInstantiates()Reference to a canonical URL of another CapabilityStatement that this software implements.java.util.List<CodeableConcept>getJurisdiction()A legal or geographic region in which the capability statement is intended to be used.CapabilityStatementKindgetKind()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.java.util.List<CapabilityStatement.Messaging>getMessaging()A description of the messaging capabilities of the solution.StringgetName()A natural language name identifying the capability statement.java.util.List<Code>getPatchFormat()A list of the patch formats supported by this implementation using their content types.StringgetPublisher()The name of the organization or individual that published the capability statement.MarkdowngetPurpose()Explanation of why this capability statement is needed and why it has been designed as it has.java.util.List<CapabilityStatement.Rest>getRest()A definition of the restful capabilities of the solution, if any.CapabilityStatement.SoftwaregetSoftware()Software that is covered by this capability statement.PublicationStatusgetStatus()The status of this capability statement.StringgetTitle()A short, descriptive, user-friendly title for the capability statement.UrigetUrl()An absolute URI that is used to identify this capability statement when it is referenced in a specification, model, design or an instance; also called its canonical identifier.java.util.List<UsageContext>getUseContext()The content was developed with a focus and intent of supporting the contexts that are listed.StringgetVersion()The identifier that is used to identify this version of the capability statement when it is referenced in a specification, model, design or instance.booleanhasChildren()inthashCode()CapabilityStatement.BuildertoBuilder()Create a new Builder from the contents of this Resource-
Methods inherited from class org.linuxforhealth.fhir.model.resource.DomainResource
getContained, getExtension, getModifierExtension, getText
-
Methods inherited from class org.linuxforhealth.fhir.model.resource.Resource
as, getId, getImplicitRules, getLanguage, getMeta, is
-
-
-
-
Method Detail
-
getUrl
public Uri getUrl()
An absolute URI that is used to identify this capability statement when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this capability statement is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the capability statement is stored on different servers.- Returns:
- An immutable object of type
Urithat may be null.
-
getVersion
public String getVersion()
The identifier that is used to identify this version of the capability statement when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the capability statement author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.- Returns:
- An immutable object of type
Stringthat may be null.
-
getName
public String getName()
A natural language name identifying the capability statement. This name should be usable as an identifier for the module by machine processing applications such as code generation.- Returns:
- An immutable object of type
Stringthat may be null.
-
getTitle
public String getTitle()
A short, descriptive, user-friendly title for the capability statement.- Returns:
- An immutable object of type
Stringthat may be null.
-
getStatus
public PublicationStatus getStatus()
The status of this capability statement. Enables tracking the life-cycle of the content.- Returns:
- An immutable object of type
PublicationStatusthat is non-null.
-
getExperimental
public Boolean getExperimental()
A Boolean value to indicate that this capability statement is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.- Returns:
- An immutable object of type
Booleanthat may be null.
-
getDate
public DateTime getDate()
The date (and optionally time) when the capability statement was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the capability statement changes.- Returns:
- An immutable object of type
DateTimethat is non-null.
-
getPublisher
public String getPublisher()
The name of the organization or individual that published the capability statement.- Returns:
- An immutable object of type
Stringthat may be null.
-
getContact
public java.util.List<ContactDetail> getContact()
Contact details to assist a user in finding and communicating with the publisher.- Returns:
- An unmodifiable list containing immutable objects of type
ContactDetailthat may be empty.
-
getDescription
public Markdown getDescription()
A free text natural language description of the capability statement from a consumer's perspective. Typically, this is used when the capability statement describes a desired rather than an actual solution, for example as a formal expression of requirements as part of an RFP.- Returns:
- An immutable object of type
Markdownthat may be null.
-
getUseContext
public java.util.List<UsageContext> getUseContext()
The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate capability statement instances.- Returns:
- An unmodifiable list containing immutable objects of type
UsageContextthat may be empty.
-
getJurisdiction
public java.util.List<CodeableConcept> getJurisdiction()
A legal or geographic region in which the capability statement is intended to be used.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat may be empty.
-
getPurpose
public Markdown getPurpose()
Explanation of why this capability statement is needed and why it has been designed as it has.- Returns:
- An immutable object of type
Markdownthat may be null.
-
getCopyright
public Markdown getCopyright()
A copyright statement relating to the capability statement and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the capability statement.- Returns:
- An immutable object of type
Markdownthat may be null.
-
getKind
public CapabilityStatementKind getKind()
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).- Returns:
- An immutable object of type
CapabilityStatementKindthat is non-null.
-
getInstantiates
public java.util.List<Canonical> getInstantiates()
Reference to a canonical URL of another CapabilityStatement that this software implements. This capability statement is a published API description that corresponds to a business service. The server may actually implement a subset of the capability statement it claims to implement, so the capability statement must specify the full capability details.- Returns:
- An unmodifiable list containing immutable objects of type
Canonicalthat may be empty.
-
getImports
public java.util.List<Canonical> getImports()
Reference to a canonical URL of another CapabilityStatement that this software adds to. The capability statement automatically includes everything in the other statement, and it is not duplicated, though the server may repeat the same resources, interactions and operations to add additional details to them.- Returns:
- An unmodifiable list containing immutable objects of type
Canonicalthat may be empty.
-
getSoftware
public CapabilityStatement.Software getSoftware()
Software that is covered by this capability statement. It is used when the capability statement describes the capabilities of a particular software version, independent of an installation.- Returns:
- An immutable object of type
CapabilityStatement.Softwarethat may be null.
-
getImplementation
public CapabilityStatement.Implementation getImplementation()
Identifies a specific implementation instance that is described by the capability statement - i.e. a particular installation, rather than the capabilities of a software program.- Returns:
- An immutable object of type
CapabilityStatement.Implementationthat may be null.
-
getFhirVersion
public FHIRVersion getFhirVersion()
The version of the FHIR specification that this CapabilityStatement describes (which SHALL be the same as the FHIR version of the CapabilityStatement itself). There is no default value.- Returns:
- An immutable object of type
FHIRVersionthat is non-null.
-
getFormat
public java.util.List<Code> getFormat()
A list of the formats supported by this implementation using their content types.- Returns:
- An unmodifiable list containing immutable objects of type
Codethat is non-empty.
-
getPatchFormat
public java.util.List<Code> getPatchFormat()
A list of the patch formats supported by this implementation using their content types.- Returns:
- An unmodifiable list containing immutable objects of type
Codethat may be empty.
-
getImplementationGuide
public java.util.List<Canonical> getImplementationGuide()
A list of implementation guides that the server does (or should) support in their entirety.- Returns:
- An unmodifiable list containing immutable objects of type
Canonicalthat may be empty.
-
getRest
public java.util.List<CapabilityStatement.Rest> getRest()
A definition of the restful capabilities of the solution, if any.- Returns:
- An unmodifiable list containing immutable objects of type
CapabilityStatement.Restthat may be empty.
-
getMessaging
public java.util.List<CapabilityStatement.Messaging> getMessaging()
A description of the messaging capabilities of the solution.- Returns:
- An unmodifiable list containing immutable objects of type
CapabilityStatement.Messagingthat may be empty.
-
getDocument
public java.util.List<CapabilityStatement.Document> getDocument()
A document definition.- Returns:
- An unmodifiable list containing immutable objects of type
CapabilityStatement.Documentthat may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classDomainResource
-
accept
public void accept(java.lang.String elementName, int elementIndex, Visitor visitor)Description copied from interface:VisitableAccept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:if (visitor.preVisit(this)) { visitor.visitStart(elementName, elementIndex, this); if (visitor.visit(elementName, elementIndex, this)) { // visit children } visitor.visitEnd(elementName, elementIndex, this); visitor.postVisit(this); }- Specified by:
acceptin interfaceVisitable- Specified by:
acceptin classAbstractVisitable- Parameters:
elementName- the name of the element in the context of this visitelementIndex- the index of the element in a list or -1 if it is not contained within a Listvisitor- the visitor to use
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toBuilder
public CapabilityStatement.Builder toBuilder()
Description copied from class:ResourceCreate a new Builder from the contents of this Resource- Specified by:
toBuilderin classDomainResource
-
builder
public static CapabilityStatement.Builder builder()
-
-