fhir

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseFHIRInstant

func ParseFHIRInstant(instant string) (time.Time, error)

ParseFHIRInstant parses a FHIR instant string into a time.Time.

func RectifyBCDA

func RectifyBCDA(jsonResource []byte) (jsonOut []byte, err error)

RectifyBCDA takes an input BCDA derived FHIR JSON resource, and attempts to rectify it to fix known issues in source mapping (in the ways described below). This is a temporary, non-ideal, and minimalist approach, aimed to make the FHIR compatible with base R4 expectations so otherwise useful data can be easily uploaded to FHIR store with validation for other areas still intact.

func ToFHIRInstant

func ToFHIRInstant(t time.Time) string

ToFHIRInstant takes a time.Time and returns the string FHIR Instant representation of it.

Types

This section is empty.

Directories

Path Synopsis
Package processing provides utilities for building pipelines to process and store FHIR resources.
Package processing provides utilities for building pipelines to process and store FHIR resources.

Jump to

Keyboard shortcuts

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