versionsoperatorparser

package
v0.0.0-...-33bd6cc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2021 License: Apache-2.0 Imports: 2 Imported by: 1

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL