Documentation
¶
Index ¶
Constants ¶
View Source
const CarePlanServiceOAuth2Scope = "careplanservice"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CarePlanServiceConfig ¶
type CarePlanServiceConfig struct { // URL is the base URL of the CarePlanService at which the CarePlanContributor creates/reads CarePlans. URL string `koanf:"url"` }
type Config ¶
type Config struct { CarePlanService CarePlanServiceConfig `koanf:"careplanservice"` FrontendConfig FrontendConfig `koanf:"frontend"` AppLaunch applaunch.Config `koanf:"applaunch"` // FHIR contains the configuration to connect to the FHIR API holding EHR data, // to be made available through the CarePlanContributor. FHIR coolfhir.ClientConfig `koanf:"fhir"` TaskFiller TaskFillerConfig `koanf:"taskfiller"` ServiceBusConfig ehr.ServiceBusConfig `koanf:"servicebus"` Enabled bool `koanf:"enabled"` HealthDataViewEndpointEnabled bool `koanf:"healthdataviewendpointenabled"` SessionTimeout time.Duration `koanf:"sessiontimeout"` StaticBearerToken string }
func DefaultConfig ¶
func DefaultConfig() Config
type FrontendConfig ¶
type FrontendConfig struct { // URL is the base URL of the frontend for ORCA URL string `koanf:"url"` }
type ScpValidationResult ¶
type ScpValidationResult struct {
// contains filtered or unexported fields
}
type Service ¶
type Service struct { SessionManager *user.SessionManager // contains filtered or unexported fields }
func (*Service) RegisterHandlers ¶
type TaskFillerConfig ¶
type TaskFillerConfig struct { // QuestionnaireFHIR contains the configuration to connect to the FHIR API holding Questionnaires and HealthcareServices, // used to negotiate FHIR Tasks. It might be a different FHIR API than the one holding EHR data, // also because HAPI doesn't allow storing Questionnaires in partitions. QuestionnaireFHIR coolfhir.ClientConfig `koanf:"questionnairefhir"` QuestionnaireSyncURLs []string `koanf:"questionnairesyncurls"` }
func (TaskFillerConfig) Validate ¶
func (c TaskFillerConfig) Validate() error
type TaskRejection ¶
TaskRejection is an error type that is used when a Task can't be processed by the Task Filler, and isn't retryable. Reasons are: invalid Task, missing Task.partOf, unsupported service or condition code, etc. It should NOT be used for transient errors, like network issues: in that case, the Task should be retried.
func (TaskRejection) Error ¶
func (t TaskRejection) Error() string
func (TaskRejection) FormatReason ¶
func (t TaskRejection) FormatReason() string
Directories
¶
Path | Synopsis |
---|---|
Package ehr is a generated GoMock package.
|
Package ehr is a generated GoMock package. |
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.