Documentation ¶
Index ¶
- func ReceiveCapabilityStatements(ctx context.Context, store *postgresql.Store, ...) error
- func ReceiveVersionResponses(ctx context.Context, store *postgresql.Store, ...) error
- func RunIncludedExtensionsChecks(capInt map[string]interface{}, includedFields []endpointmanager.IncludedField, ...) []endpointmanager.IncludedField
- func RunIncludedFieldsAndExtensionsChecks(capInt map[string]interface{}, fhirVersion string) []endpointmanager.IncludedField
- func RunIncludedFieldsChecks(capInt map[string]interface{}, includedFields []endpointmanager.IncludedField, ...) []endpointmanager.IncludedField
- func RunSupportedProfilesCheck(capInt map[string]interface{}, fhirVersion string) []endpointmanager.SupportedProfile
- func RunSupportedResourcesChecks(capInt map[string]interface{}) map[string][]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReceiveCapabilityStatements ¶
func ReceiveCapabilityStatements(ctx context.Context, store *postgresql.Store, messageQueue lanternmq.MessageQueue, channelID lanternmq.ChannelID, qName string) error
ReceiveCapabilityStatements connects to the given message queue channel and receives the capability statements from it. It then adds the capability statements to the given store.
func ReceiveVersionResponses ¶
func ReceiveVersionResponses(ctx context.Context, store *postgresql.Store, messageQueue lanternmq.MessageQueue, channelID lanternmq.ChannelID, qName string, capQueryQueue lanternmq.MessageQueue, capQueryChannelID lanternmq.ChannelID) error
ReceiveVersionResponses connects to the given message queue channel (qname) and receives the versions response from it. It then saves the versions response and queries the versions advertized
func RunIncludedExtensionsChecks ¶
func RunIncludedExtensionsChecks(capInt map[string]interface{}, includedFields []endpointmanager.IncludedField, fhirVersion string) []endpointmanager.IncludedField
RunIncludedExtensionsChecks stores whether each extension in capability statement is populated or not populated
func RunIncludedFieldsAndExtensionsChecks ¶
func RunIncludedFieldsAndExtensionsChecks(capInt map[string]interface{}, fhirVersion string) []endpointmanager.IncludedField
RunIncludedFieldsAndExtensionsChecks returns an interface that contains information about whether fields and extensions are supported or not
func RunIncludedFieldsChecks ¶
func RunIncludedFieldsChecks(capInt map[string]interface{}, includedFields []endpointmanager.IncludedField, fhirVersion string) []endpointmanager.IncludedField
RunIncludedFieldsChecks stores whether each field in capability statement is populated or not populated
func RunSupportedProfilesCheck ¶
func RunSupportedProfilesCheck(capInt map[string]interface{}, fhirVersion string) []endpointmanager.SupportedProfile
RunSupportedProfilesCheck returns an interface that contains information about what profiles the server supports
func RunSupportedResourcesChecks ¶
RunSupportedResourcesChecks takes the given capability statement and creates a map of the operations to the endpoint's resources that specified that operation. Example: { "read": ["AllergyInformation", "Medication"...],
"search-type": ["Medication", "Document"...], ...}
Types ¶
This section is empty.