printdoc

package module
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrintDoc

type PrintDoc struct {
	App    *model.Handlers
	Object *model.Object

	StoragePath string // ej: ./pdf_files

	// static data:
	App_name           string
	App_version        string
	Business_name      string
	Business_address   string
	Business_phone     string
	Business_logo_path string //ej: ./app_files/logo.png

	//dynamic fields data:
	StaffName          string
	ServiceName        string
	Reason             string
	Diagnostic         string
	Prescription       string
	MedicalImagesPaths []string

	DayAttention string //ej: 21-05-2023

	//patient data:
	PatientName string
	PatientRun  string
	PatientAge  string
	// contains filtered or unexported fields
}

func New added in v0.0.3

func New(o *model.Object, h *model.Handlers) (*PrintDoc, error)

func (*PrintDoc) BuildPanesdoscopiaPDF

func (p *PrintDoc) BuildPanesdoscopiaPDF() error

func (PrintDoc) Create added in v0.0.3

func (p PrintDoc) Create(u *model.User, data ...map[string]string) error

Jump to

Keyboard shortcuts

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