preview

package
v0.0.0-...-e0ce755 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(w http.ResponseWriter, r *http.Request)

Run is the HTTP handler for the POST /preview route. It calls both the extractor and the transformer service to preview the FHIR transformation of a set of rows for a given resource.

Types

type Request

type Request struct {
	// PrimaryKeyValues can be a list of strings (eg ["E65"]) or a list of integers ([59])
	PrimaryKeyValues []interface{} `json:"primary_key_values"`
	ResourceID       string        `json:"resource_id"`
	PreviewID        string        `json:"preview_id"`
}

Request is the body of the POST /preview request.

Jump to

Keyboard shortcuts

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