Class Endpoint
- 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.Endpoint
-
- All Implemented Interfaces:
Visitable
@Generated("org.linuxforhealth.fhir.tools.CodeGenerator") public class Endpoint extends DomainResourceThe technical details of an endpoint that can be used for electronic services, such as for web services providing XDS. b or a REST endpoint for another FHIR server. This may include any security context information.Maturity level: FMM2 (Trial Use)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEndpoint.Builder
-
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 Endpoint.Builderbuilder()booleanequals(java.lang.Object obj)UrlgetAddress()The uri that describes the actual end-point to connect to.CodinggetConnectionType()A coded value that represents the technical details of the usage of this endpoint, such as what WSDLs should be used in what way.java.util.List<ContactPoint>getContact()Contact details for a human to contact about the subscription.java.util.List<String>getHeader()Additional headers / information to send as part of the notification.java.util.List<Identifier>getIdentifier()Identifier for the organization that is used to identify the endpoint across multiple disparate systems.ReferencegetManagingOrganization()The organization that manages this endpoint (even if technically another organization is hosting this in the cloud, it is the organization associated with the data).StringgetName()A friendly name that this endpoint can be referred to with.java.util.List<Code>getPayloadMimeType()The mime type to send the payload in - e.g.java.util.List<CodeableConcept>getPayloadType()The payload type describes the acceptable content that can be communicated on the endpoint.PeriodgetPeriod()The interval during which the endpoint is expected to be operational.EndpointStatusgetStatus()active | suspended | error | off | test.booleanhasChildren()inthashCode()Endpoint.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
-
getIdentifier
public java.util.List<Identifier> getIdentifier()
Identifier for the organization that is used to identify the endpoint across multiple disparate systems.- Returns:
- An unmodifiable list containing immutable objects of type
Identifierthat may be empty.
-
getStatus
public EndpointStatus getStatus()
active | suspended | error | off | test.- Returns:
- An immutable object of type
EndpointStatusthat is non-null.
-
getConnectionType
public Coding getConnectionType()
A coded value that represents the technical details of the usage of this endpoint, such as what WSDLs should be used in what way. (e.g. XDS.b/DICOM/cds-hook).- Returns:
- An immutable object of type
Codingthat is non-null.
-
getName
public String getName()
A friendly name that this endpoint can be referred to with.- Returns:
- An immutable object of type
Stringthat may be null.
-
getManagingOrganization
public Reference getManagingOrganization()
The organization that manages this endpoint (even if technically another organization is hosting this in the cloud, it is the organization associated with the data).- Returns:
- An immutable object of type
Referencethat may be null.
-
getContact
public java.util.List<ContactPoint> getContact()
Contact details for a human to contact about the subscription. The primary use of this for system administrator troubleshooting.- Returns:
- An unmodifiable list containing immutable objects of type
ContactPointthat may be empty.
-
getPeriod
public Period getPeriod()
The interval during which the endpoint is expected to be operational.- Returns:
- An immutable object of type
Periodthat may be null.
-
getPayloadType
public java.util.List<CodeableConcept> getPayloadType()
The payload type describes the acceptable content that can be communicated on the endpoint.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat is non-empty.
-
getPayloadMimeType
public java.util.List<Code> getPayloadMimeType()
The mime type to send the payload in - e.g. application/fhir+xml, application/fhir+json. If the mime type is not specified, then the sender could send any content (including no content depending on the connectionType).- Returns:
- An unmodifiable list containing immutable objects of type
Codethat may be empty.
-
getAddress
public Url getAddress()
The uri that describes the actual end-point to connect to.- Returns:
- An immutable object of type
Urlthat is non-null.
-
getHeader
public java.util.List<String> getHeader()
Additional headers / information to send as part of the notification.- Returns:
- An unmodifiable list containing immutable objects of type
Stringthat 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 Endpoint.Builder toBuilder()
Description copied from class:ResourceCreate a new Builder from the contents of this Resource- Specified by:
toBuilderin classDomainResource
-
builder
public static Endpoint.Builder builder()
-
-