Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,221 of 9,224 pages
About the help in other languages
All help pages

Content model for public health

Shipped Exponential classes that fit a public health site and recipes for Health topic, Alert and Clinic classes with real datatypes, including review dates, clinical sign-off and alert severity and end time.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/levels/public-health/content-model.md

On this page

Content model for public health

This page is for website creators and project managers who design the classes of a public health site. The classes and datatypes named exist in Exponential (sevenx_classes, kernel/classes/datatypes/, extensions named); the class editor is in Content classes for websites.

Contents

  1. Shipped classes that fit
  2. Class to add: Health topic
  3. Class to add: Alert
  4. Class to add: Clinic
  5. Translation settings

Shipped classes that fit

ClassIdentifierUse
Folderfoldertopic groups, alerts folder, professionals' area
Articlearticlenews, press releases
Filefilereports, posters, data files
Documentation pagedocumentation_pageprotocols with chapters for professionals
Eventeventvaccination days, information sessions
Videovideoexplainer videos (with captions from the source)
Feedback formfeedback_formgeneral contact (never patient data)

Class to add: Health topic

AttributeIdentifierDatatypeWhy
TitletitleText line (ezstring)the name people use ("Flu", not only the clinical term)
In shortsummaryText block (eztext)three key messages in plain language
AdvicebodyXML block (ezxmltext)headings: symptoms, what to do, when to get help
When to get help urgentlyurgentXML blockshown prominently
SourcessourcesXML blockevidence and references
Clinically reviewed onreviewed_onDate (ezdate)shown on the page
Reviewed by (role)reviewed_byText linea role, not a name, if your policy prefers
Next reviewreview_dateDatedrives the overdue list
TopicstagsTags (eztags)conditions, audiences, life stages
AudienceaudienceSelection (ezselection)public, professionals

Class to add: Alert

AttributeIdentifierDatatypeWhy
HeadlinetitleText lineshort, plain, action first
SeverityseveritySelectioninformation, advisory, warning
What to doactionText blockone to three sentences
DetailsbodyXML block
Area affectedareaTagsa tag tree of areas
IssuedissuedDate and time (ezdatetime)
Last updatedupdatedDate and timeshown on the page
Endshide_dateDate and timeused by hide.php to take the alert down

To end alerts automatically: in settings/override/content.ini.append.php, [HideSettings] RootNodeList[]=<alerts folder node> and HideDateAttributeList[alert]=hide_date, then clear the INI cache. The hide.php cronjob (global part) hides alerts whose end has passed (Cronjobs). Check that the global part runs often enough for your alerts; an alert that should end at 18:00 ends at the next run after that.

Class to add: Clinic

AttributeIdentifierDatatype
NamenameText line
ServicesservicesTags (vaccination, screening ...)
AddressaddressText block
Opening hoursopening_hoursXML block
How to bookbookingXML block and URL (ezurl)
AccessibilityaccessXML block

Translation settings

AttributeTranslatableWhy
Texts (title, summary, advice, action)yesevery language has its own
Dates (issued, ends, review dates)nothe same moment in every language
Severity, tagsno for the selection; tags have their own translationsone value for all languages

Untick Translatable on date and selection attributes in the class editor before content is created (Content languages).

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x