From 4b62ee14543c19e7b2996e77ec160be51290317d Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc kop@karlpinc.com" Date: Sat, 6 Jun 2026 21:12:10 +0000 Subject: [PATCH] Create LE_CERTAINTIES code table --- db/schemas/codes/tables/Makefile | 1 + .../codes/tables/create/le_certainties.m4 | 29 +++++++++++++ doc/src/code_tables.m4 | 43 +++++++++++++++++++ doc/src/epilog.inc.m4 | 4 ++ 4 files changed, 77 insertions(+) create mode 100644 db/schemas/codes/tables/create/le_certainties.m4 diff --git a/db/schemas/codes/tables/Makefile b/db/schemas/codes/tables/Makefile index 5ea5ef4..79b6184 100644 --- a/db/schemas/codes/tables/Makefile +++ b/db/schemas/codes/tables/Makefile @@ -32,6 +32,7 @@ ORDER := agg_severities \ entrytypes \ food_names \ food_parts \ + le_certainties \ people \ obs_periods \ role_codes \ diff --git a/db/schemas/codes/tables/create/le_certainties.m4 b/db/schemas/codes/tables/create/le_certainties.m4 new file mode 100644 index 0000000..c56c99f --- /dev/null +++ b/db/schemas/codes/tables/create/le_certainties.m4 @@ -0,0 +1,29 @@ +dnl Copyright (C) 2026 The Meme Factory, Inc., http://www.karlpinc.com/ +dnl +dnl This program is free software: you can redistribute it and/or modify +dnl it under the terms of the GNU Affero General Public License as published +dnl by the Free Software Foundation, either version 3 of the License, or +dnl (at your option) any later version. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU Affero General Public License for more details. +dnl +dnl You should have received a copy of the GNU Affero General Public License +dnl along with this program. If not, see . +dnl +dnl Karl O. Pinc +dnl +dnl +dnl m4 includes +include(`copyright.m4')dnl +include(`constants.m4')dnl +include(`tablemacros.m4')dnl +include(`grants.m4')dnl +dnl + +support_table(`LE_CERTAINTIES', `Code', `TEXT', ` + emptytext_check(`Code') + uppercase_check(`Code')' +) diff --git a/doc/src/code_tables.m4 b/doc/src/code_tables.m4 index 927a2a6..1e7e2a6 100644 --- a/doc/src/code_tables.m4 +++ b/doc/src/code_tables.m4 @@ -600,6 +600,49 @@ Description |ENTRYTYPES.Description_summary| |emptytext| |notnull| +.. _LE_CERTAINTIES: + +LE_CERTAINTIES (Lactation End CERTAINTIES) +------------------------------------------ + +.. |LE_CERTAINTIES_summary| replace:: + Contains one row for each category of certainty of the swelling + used to determine the end of lactational amenorrhea. + +|LE_CERTAINTIES_summary| + + +Special Values +`````````````` + +None. + + +Column Descriptions +``````````````````` + +.. _LE_CERTAINTIES.Code: + +Code +'''' + +.. |LE_CERTAINTIES.Code_summary| replace:: + A code identifying a category of certainty. + +|LE_CERTAINTIES.Code_summary| |keycol| |uppercase| + + +.. _LE_CERTAINTIES.Description: + +Description +''''''''''' + +.. |LE_CERTAINTIES.Description_summary| replace:: + A description of the code. + +|LE_CERTAINTIES.Description_summary| |emptytext| |notnull| + + .. _FOOD_NAMES: FOOD_NAMES (FOOD sources) diff --git a/doc/src/epilog.inc.m4 b/doc/src/epilog.inc.m4 index 057082d..7ed0941 100644 --- a/doc/src/epilog.inc.m4 +++ b/doc/src/epilog.inc.m4 @@ -318,6 +318,10 @@ sdb_generated_rst()dnl .. |ENTRYTYPES.EntryType| replace:: :ref:`EntryType ` +.. |LE_CERTAINTIES| replace:: :ref:`LE_CERTAINTIES ` +.. |LE_CERTAINTIES.Code| replace:: + :ref:`Code ` + .. |SWELLING_SOURCES| replace:: :ref:`SWELLING_SOURCES ` .. |SWELLING_SOURCES.ID| replace:: -- 2.34.1