Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VersionsResponse ¶
type VersionsResponse struct {
Response map[string]interface{}
}
VersionsResponse is a wrapper struct for a response to the $versions FHIR operation this implementation assumes that we are requesting and receiving the application/json response future support for the FHIR representation of this will require making the VersionsResponse an interface following the same pattern used for the CapabilityStatement
func (*VersionsResponse) Equal ¶
func (vr1 *VersionsResponse) Equal(vr2 VersionsResponse) bool
Equal checks if the versions response is equal to the given versionsresponse statement.
func (*VersionsResponse) GetDefaultVersion ¶
func (vr *VersionsResponse) GetDefaultVersion() string
GetDefaultVersion gets the default FHIR version out of the versions response
func (*VersionsResponse) GetJSON ¶
func (vr *VersionsResponse) GetJSON() ([]byte, error)
GetJSON returns the JSON representation of the versions response
func (*VersionsResponse) GetSupportedVersions ¶
func (vr *VersionsResponse) GetSupportedVersions() []string
GetSupportedVersions gets the supported FHIR versions out of the versions response