patient

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: BSD-3-Clause Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrExtractingPatientID = errors.New("extracting patient id")
	ErrUnsupportedType     = errors.New("extraction unsupported for type")
)

Functions

func IDFromResource

func IDFromResource(res fhir.Resource) (string, error)

IDFromResource returns the patient's ID from a FHIR Resource. This function provides a mapping from an input resource to the patient ID it references.

func Reference

func Reference(patientID string) *dtpb.Reference

Reference creates a literal Patient reference. This replaces verily-go-fhir/protohelpers.PatientReference.

Types

This section is empty.

Jump to

Keyboard shortcuts

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