stu3

package
v0.27.1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2020 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOrganization

func NewOrganization(timeZone, orgID, name string) (*stu3pb.Organization, error)

NewOrganization returns a CDR STU3 organization in Google FHIR proto format

func NewSubscription added in v0.27.1

func NewSubscription(options ...WithFunc) (*stu3pb.Subscription, error)

NewSubscription creates a FHIR Subscription proto resource The WithFunc option methods should be used to build the structure

Types

type WithFunc added in v0.27.1

type WithFunc func(sub *stu3pb.Subscription) error

func WithContact added in v0.27.1

func WithContact(system, value, use string) WithFunc

func WithCriteria added in v0.27.1

func WithCriteria(critera string) WithFunc

func WithEndpoint added in v0.27.1

func WithEndpoint(endpoint string) WithFunc

func WithEndtime added in v0.27.1

func WithEndtime(at time.Time) WithFunc

WithEndtime sets the end time of the subscription

func WithHeaders added in v0.27.1

func WithHeaders(headers []string) WithFunc

func WithReason added in v0.27.1

func WithReason(reason string) WithFunc

Jump to

Keyboard shortcuts

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