Documentation ¶
Index ¶
- type AttributionFileStatus
- type AttributionFileStatusResponse
- type BulkResponseBody
- type CompletedJobResponse
- type FileItem
- type Handler
- func (h *Handler) ALRRequest(w http.ResponseWriter, r *http.Request)
- func (h *Handler) AttributionStatus(w http.ResponseWriter, r *http.Request)
- func (h *Handler) BulkGroupRequest(w http.ResponseWriter, r *http.Request)
- func (h *Handler) BulkPatientRequest(w http.ResponseWriter, r *http.Request)
- func (h *Handler) DeleteJob(w http.ResponseWriter, r *http.Request)
- func (h *Handler) JobStatus(w http.ResponseWriter, r *http.Request)
- func (h *Handler) JobsStatus(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttributionFileStatus ¶
type AttributionFileStatusResponse ¶
type AttributionFileStatusResponse struct {
Data []AttributionFileStatus `json:"ingestion_dates"`
}
type BulkResponseBody ¶
type BulkResponseBody struct { // Server time when the query was run TransactionTime time.Time `json:"transactionTime"` // URL of the bulk data export request RequestURL string `json:"request"` // Indicates whether an access token is required to download generated data files RequiresAccessToken bool `json:"requiresAccessToken"` // Information about generated data files, including URLs for downloading Files []FileItem `json:"output"` // Information about error files, including URLs for downloading Errors []FileItem `json:"error"` JobID uint }
type CompletedJobResponse ¶
type CompletedJobResponse struct { // in: body Body BulkResponseBody }
Data export job has completed successfully. The response body will contain a JSON object providing metadata about the transaction. swagger:response completedJobResponse
nolint
type FileItem ¶
type FileItem struct { // FHIR resource type of file contents Type string `json:"type"` // URL of the file URL string `json:"url"` }
swagger:model fileItem
type Handler ¶
type Handler struct { JobTimeout time.Duration Enq queueing.Enqueuer Svc service.Service RespWriter fhirResponseWriter // contains filtered or unexported fields }
func NewHandler ¶
func (*Handler) ALRRequest ¶
func (h *Handler) ALRRequest(w http.ResponseWriter, r *http.Request)
func (*Handler) AttributionStatus ¶
func (h *Handler) AttributionStatus(w http.ResponseWriter, r *http.Request)
func (*Handler) BulkGroupRequest ¶
func (h *Handler) BulkGroupRequest(w http.ResponseWriter, r *http.Request)
func (*Handler) BulkPatientRequest ¶
func (h *Handler) BulkPatientRequest(w http.ResponseWriter, r *http.Request)
func (*Handler) JobsStatus ¶
func (h *Handler) JobsStatus(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.