Documentation
¶
Overview ¶
Package hl7tofhirutils contains standalone functions for converting HL7v2 fields to FHIR.
Index ¶
Constants ¶
View Source
const ComparatorExtensionURI = "comparator"
Variables ¶
This section is empty.
Functions ¶
func IsNewerMessage ¶
IsNewerMessage checks if the provided extensions contains a DateTime extension with the provided URL, and if it does, whether the provided hl7MsgTime is more recent. Sometimes HL7 messages should only be taken into account if they are newer than the information that we already have.
func ToQuantity ¶
ToQuantity returns the *pb.Quantity representation of the given string. This function returns an error if it fails to parse the provided string as a Decimal.
func ToReferenceRange ¶
func ToReferenceRange(ctx context.Context, str string) *observationpb.Observation_ReferenceRange
ToReferenceRange returns the ReferenceRange representation of the given string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.