Clinical Intelligence StandardsVersion 0.2

Functional standard / Definition kinds / Constrains Patient (site configuration, no instance of its own)

patient_fields

Which standard demographics a site collects, and which custom fields it adds.

Runtime

The harness validates Patient.demographics and Patient.custom_fields against the published patient_fields definition for the site.

Elements

NameCard.TypeDescription
defaults0..1objectFields copied onto a new instance. Values given at creation win.
approval_required_for0..*codeExtra states that need an Approval to enter.
standard0..*FieldSpeckey, label, field_type, options, required, enabled. Keys must be from the standard demographic set.
custom0..*FieldSpecSite-only fields.

Example

{ "standard": [{ "key": "phone", "field_type": "text", "enabled": true }], "custom": [{ "key": "mine_id", "label": "Mine", "field_type": "text" }] }