templates

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: EUPL-1.2 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderPartial added in v0.2.0

func RenderPartial(w io.Writer, name string, data any)

func RenderWithBase

func RenderWithBase(w io.Writer, name string, data any)

Types

type EndpointCardProps added in v0.2.0

type EndpointCardProps struct {
	Endpoint     fhir.Endpoint
	Organization fhir.Organization
}

func MakeEndpointCards added in v0.2.0

func MakeEndpointCards(endpoints []fhir.Endpoint, org fhir.Organization) []EndpointCardProps

type EpListProps

type EpListProps struct {
	Id             string
	Address        string
	PayloadType    string
	Period         string
	ManagingOrg    string
	ConnectionType string
	Status         string
}

func MakeEpListProps

func MakeEpListProps(ep fhir.Endpoint) (out EpListProps)

func MakeEpListXsProps

func MakeEpListXsProps(eps []fhir.Endpoint) []EpListProps

type HealthcareServiceEndpointCardProps added in v0.5.0

type HealthcareServiceEndpointCardProps struct {
	Endpoint          fhir.Endpoint
	HealthcareService fhir.HealthcareService
}

func MakeHealthcareServiceEndpointCards added in v0.5.0

func MakeHealthcareServiceEndpointCards(endpoints []fhir.Endpoint, service fhir.HealthcareService) []HealthcareServiceEndpointCardProps

type LocationListProps

type LocationListProps struct {
	Id           string
	Name         string
	Type         string
	Status       string
	PhysicalType string
}

func MakeLocationListProps

func MakeLocationListProps(location fhir.Location) (out LocationListProps)

func MakeLocationListXsProps

func MakeLocationListXsProps(locations []fhir.Location) []LocationListProps

type OrgListProps

type OrgListProps struct {
	Id            string
	Name          string
	URA           string
	EndpointCount string
	Type          string
	Active        bool
}

func MakeOrgListProps

func MakeOrgListProps(org fhir.Organization) (out OrgListProps)

func MakeOrgListXsProps

func MakeOrgListXsProps(orgs []fhir.Organization) []OrgListProps

type PractitionerRoleProps added in v0.2.0

type PractitionerRoleProps struct {
	Id           string
	Uzi          string
	Organization string
	Code         string
	Telecom      string
}

func MakePractitionerRoleProps added in v0.2.0

func MakePractitionerRoleProps(role fhir.PractitionerRole) PractitionerRoleProps

func MakePractitionerRoleXsProps added in v0.2.0

func MakePractitionerRoleXsProps(roles []fhir.PractitionerRole) []PractitionerRoleProps

type ServiceListProps

type ServiceListProps struct {
	Id            string
	Name          string
	Type          string
	Active        bool
	ProvidedBy    string
	EndpointCount string
}

func MakeServiceListProps

func MakeServiceListProps(service fhir.HealthcareService) (out ServiceListProps)

func MakeServiceListXsProps

func MakeServiceListXsProps(services []fhir.HealthcareService) []ServiceListProps

Jump to

Keyboard shortcuts

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