Skip to main content
Version: v0.0.9

conformance

Interfaces​

ProfileDefect​

Internal

One structural defect in a profile: the PHI-free detail plus a best-effort FindingLocus (so the engine can attach it to a PROFILE_MALFORMED finding). When the defect is above segment level, locus.segment is the sentinel "(profile)".

Properties​

detail​

readonly detail: string

locus​

readonly locus: FindingLocus

Functions​

collectProfileDefects()​

collectProfileDefects(profile): readonly ProfileDefect[]

Internal

Collect every structural defect in a candidate conformance profile. Total over unknown and never throws: a caller may pass any value (even one cast through any) and get back a defect list rather than an exception. An empty result means the profile is well-formed enough to validate against.

Parameters​

profile​

unknown

Returns​

readonly ProfileDefect[]

References​

Cardinality​

Re-exports Cardinality


ConformanceFinding​

Re-exports ConformanceFinding


ConformanceProfile​

Re-exports ConformanceProfile


ConformanceResult​

Re-exports ConformanceResult


defineConformanceProfile​

Re-exports defineConformanceProfile


FieldRule​

Re-exports FieldRule


FINDING_CODES​

Re-exports FINDING_CODES


FindingCode​

Re-exports FindingCode


FindingLocus​

Re-exports FindingLocus


FindingSeverity​

Re-exports FindingSeverity


SegmentRule​

Re-exports SegmentRule


USAGE_CODES​

Re-exports USAGE_CODES


UsageCode​

Re-exports UsageCode


validateAgainstProfile​

Re-exports validateAgainstProfile