Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateIG ¶
func ValidateIG(ctx context.Context, cfg IGValidatorConfig) error
ValidateIG validates conformance examples using the built-in Go validator.
Types ¶
type IGValidatorConfig ¶
type IGValidatorConfig struct {
// BaseBundleRoot is the HL7 R4 bundle root (contains structure-definitions/).
BaseBundleRoot string
// IGResourcesDir contains SUSHI-generated IG resources.
IGResourcesDir string
ValidDir string
InvalidDir string
}
IGValidatorConfig configures conformance example validation.
func DefaultIGValidatorConfig ¶
func DefaultIGValidatorConfig(repoRoot string) IGValidatorConfig
DefaultIGValidatorConfig returns paths for IG example validation under repoRoot.
Click to show internal directories.
Click to hide internal directories.