valueset

One row per coded field in the schema.

One row per coded field in the schema.

Source

ModelLegRole
valuesetopenEHRdefines this table

Every coded column group names a value set here. openEHR value sets are minted per archetype field, so the id carries the archetype and the field (org.openehr::openEHR-EHR-OBSERVATION.blood_pressure.v2/position); FHIR value sets keep their canonical URL.

Columns

ColumnTypeNullDescriptionSource
idtext primary keynoValue set identifier — an archetype-scoped id or a FHIR canonical URL.—
versiontextyesMajor version of the archetype that minted it, where it came from openEHR.—
nametextnoHuman-readable name, unique across the schema.—
descriptiontextyes——
created_attimestamptznoRow creation timestamp.—
updated_attimestamptznoRow update timestamp; maintained by the application.—
created_bytextnoActor who created the row.—
updated_bytextnoActor who last updated the row.—

Unique

Referenced by

Definition

create table valueset (
    id text primary key,
    version text,
    name text not null unique,
    description text,
    created_at timestamptz not null default current_timestamp,
    updated_at timestamptz not null default current_timestamp,
    created_by text not null,
    updated_by text not null
);