package
0.0.0-20241112042809-5b88717fc97e
Repository: https://github.com/fhir-fli/fhirpath-go.git
Documentation: pkg.go.dev

# Functions

FragmentFromResource creates an R4 FHIR Canonical element from a resource that has a URL, such as a Questionnaire, Device, etc., and will mark it as a fragment-reference.
FromResource creates an R4 FHIR FromResource element from a resource that has a URL, such as a Questionnaire, Device, etc.
IdentityFromReference returns an Identity object from a given canonical reference Replaces: ph.ParseCanonical.
IdentityOf returns a canonicalIdentity representing the given canonical resource.
New constructs an R4 FHIR New element from the specified url string and canonical options.
VersionedFromResource creates an R4 FHIR Canonical element from a resource that has a URL, such as a Questionnaire, Device, etc, along with a version string.
WithFragment adds a "fragment" portion to Canonical references.
WithVersion adds a "version" portion to Canonical references.

# Variables

ErrNoCanonicalURL is an error returned when an API receives a canonical that does not have a specified URL field.

# Interfaces

Option is an option interface for constructing canonicals from raw data.