regulatory
What an analysis configuration claims for itself: its regulatory claims and certifications.
A claim is part of the configuration, so it changes only by the review a configuration's change goes through, and the configuration's SHA-1 covers it. A configuration with no claim is for research use only, which every configuration is until one is made.
What a claim covers binds the configuration while the claim is submitted or granted: the configuration may then offer only the values the claim covers, and run only where the claim allows. A planned claim binds nothing yet, and a withdrawn one nothing any more.
ClaimKind
¶
Bases: str, Enum
Whether a claim is made to a regulator or is a certification by another body.
ClaimStatus
¶
Bases: str, Enum
Where a claim stands.
Regulatory
pydantic-model
¶
Bases: BaseModel
The configuration's claims. None: the analysis is for research use only.
Config:
extra:forbidfrozen:True
Fields:
-
claims(list[RegulatoryClaim])
binding
property
¶
The claims that bind the configuration: those submitted or granted.
claims
pydantic-field
¶
Every regulatory claim or certification made or being prepared for this configuration. A scope another claim covers differently, such as other parameter values in another jurisdiction, is a configuration of its own.
allows(place)
¶
Whether every binding claim lets the analysis run at place; true when none binds.
RegulatoryClaim
pydantic-model
¶
Bases: BaseModel
One claim the configuration makes, or is preparing to make, and what it covers.
Config:
extra:forbidfrozen:True
Fields:
-
scheme(str) -
kind(ClaimKind) -
status(ClaimStatus) -
reference(str | None) -
jurisdictions(list[str]) -
intended_purpose(str) -
covers(dict[ParameterKeyStr, list[CoveredValue]]) -
hosts(list[RunPlace]) -
effective_from(date | None) -
effective_until(date | None)
Validators:
-
jurisdictions_are_codes→jurisdictions -
covered_values_are_unique→covers -
hosts_include_the_platform→hosts -
the_claim_is_complete_for_its_stage
binds
property
¶
Whether the claim binds what the configuration offers: it is submitted or granted.
covers
pydantic-field
¶
The values of each device parameter the claim covers, by the parameter's key. A parameter the claim does not list is covered at its default only.
effective_from = None
pydantic-field
¶
The day the claim takes effect, once known.
effective_until = None
pydantic-field
¶
The last day the claim is in effect, if it ends.
hosts
pydantic-field
¶
Where the analysis may run under the claim: on the platform, or on the platform and at an organisation's site.
intended_purpose
pydantic-field
¶
The intended purpose the claim rests on: the document and version that states it, such as the technical file's intended-purpose document at the version submitted.
jurisdictions
pydantic-field
¶
Where the claim applies, as ISO 3166-1 alpha-2 codes, 'EU' for the European Union. Required for a regulatory claim; a certification may apply everywhere and name none.
kind
pydantic-field
¶
'regulatory' for a regulator's clearance, 'certification' for a professional body's.
reference = None
pydantic-field
¶
The body's reference: a certificate, notified-body or submission number. Required once the claim is submitted.
scheme
pydantic-field
¶
The scheme the claim is made under, such as 'EU MDR', 'FDA 510(k)', 'UKCA' or 'AASM autoscoring certification'.
status
pydantic-field
¶
Where the claim stands. Only a submitted or granted claim binds what the configuration offers and where it runs.
covered_values_are_unique(covers)
pydantic-validator
¶
Require at least one covered value per listed parameter, each once.
hosts_include_the_platform(hosts)
pydantic-validator
¶
Require the platform among the hosts, as every analysis runs there, in one order.
jurisdictions_are_codes(jurisdictions)
pydantic-validator
¶
Accept two-letter upper-case codes, each once, kept in one order.
the_claim_is_complete_for_its_stage()
pydantic-validator
¶
Require what a claim's stage and kind need.
A submitted or granted claim names the body's reference, a regulatory claim where it applies, and an end no earlier than its start.
no_claims(value)
¶
Leave an empty declaration out of the dump, so adding the field changes no hash.