# Functions
NewResource creates a dummy resource object for the purposes of testing of type `resourceType.
NewResourceFromBase returns a copy of a resource modified by given options.
NewResource creates a dummy resource object for the purposes of testing of type `T.
NOTE: This method is deprecated and should use the production one in "github.com/verily-src/fhirpath-go/internal/element/meta".
No description provided by the author
TouchMeta touches the meta to generate a new version ID and use now as the time.
UpdateID will update the resource's ID to the specified resourceID string.
UpdateMeta updates the meta contents of the fhir resource to use the new version-ID and update-time.
WithCodeField creates a ResourceOpt for setting up the specified proto-field with the value of a resource code.
WithGeneratedIdentifier creates a ResourceOpt for automatically generating an Identifier for the given resource with the specified system.
WithJSONField creates a ResourceOpt for setting up the specified proto-field with the given value in JSON format.
WithProtoField creates a ResourceOpt for setting up the specified proto-field with the value set in the proto message.
WithRepeatedProtoField creates a ResourceOpt for setting up the specified repeated proto-field with the values set in the supplied proto messages.
WithResourceModification applies a modifier on a resource.
# Variables
BackboneElements is a map of all backbone element-names to an instance of that element type.
CanonicalResources is a map of all canonical-resource-names to an instance of that canonical-resource type.
DomainResources is a map of all domain-resource-names to an instance of that domain-resource type.
Elements is a map of all element-names to an instance of that element type.
MetadataResources is a map of all metadata-resource-names to an instance of that metadata-resource type.
Resources is a map of all resource-names to an instance of that resource type.
# Type aliases
ResourceOption is an option type acting on resources for setting up a resource.