Documentation / The suite

Administration: users, profiles and code systems

Create, edit and disable users; grant features and resource types.

Only administrators see this module.

Administration: the list of users
Administration: the list of users
  1. Menu – The sections of Administration: Users, Profiles and Code Systems.
  2. New user – Opens the user editor to create an account.
  3. User table – User name, display name, role, status, a summary of the permissions and the last sign-in.
  4. Edit – Change name, password, role, status and permissions of the user.
  5. Delete – Removes the user and all their sessions. You cannot delete yourself or the last administrator.
Users table
User name, display name, administrator / active status, permission summary and last sign-in.
New user
Opens the editor with an empty user.
Edit
Changes names, password, account flags and permissions.
Active (in the editor)
A user that is not active cannot sign in.

Profiles

Administration: Profiles
Administration: Profiles
  1. Profiles – The Profiles section of the left-hand menu.
  2. Upload – Add profiles from JSON files.
  3. Profiles – Who uploaded each profile, when, and how many custom rules use it.
  4. Delete – Delete the profile; you choose what happens to its rules.

Administration has three sections, chosen in the menu at the left (as in the Profiler and MDM): Users, Profiles, Code Systems and Settings. Profiles lists every FHIR® profile that was uploaded in Administration or in the Profiler (Quality rules → Profile), or fetched from simplifier.net: name and canonical address, resource type, version, the file or package it came from, who uploaded it, when, and how many custom rules in the Profiler were created from it.

  • Upload profile… adds profiles from JSON files: a StructureDefinition, or a Bundle or several files that also hold its ValueSets and CodeSystems. Uploading a profile with the same address and version again replaces the earlier upload (and keeps its rules linked).
  • Delete removes the profile. When custom rules were created from it you choose: Delete profile, keep rules (the rules stay and still name the profile), Delete profile and rules, or Cancel.
Deleting a profile that has rules
Deleting a profile that has rules
  1. Keep rules – The rules stay and still name the profile.
  2. Delete rules – Removes the custom rules as well.
  3. Cancel – Nothing is deleted.

Code Systems

Administration: Code Systems
Administration: Code Systems
  1. Code Systems – The Code Systems section of the left-hand menu.
  2. Download from hl7.org – Choose code systems from the list that HL7® publishes and store them in the vault.
  3. Upload – Upload a CodeSystem resource (JSON), or a Bundle of code systems.
  4. Values – Opens the values of the code system to view, add, edit or delete them.
  5. Delete – Deletes the whole code system.

Code Systems lists the FHIR CodeSystem resources that are installed in the vault: name and address, version, status, the number of values, where each came from, and when it was loaded. The values of a code system are the codes that value sets and the Profiler's "every value is one of a ValueSet" rules refer to.

The values of a code system

The values of a code system
The values of a code system
  1. Add value – Adds a value, at the top level or below another value.
  2. Delete code system – Deletes the code system with all its values.
  3. Filter – Finds values by code, display or definition (useful for long code systems).
  4. Edit – Changes the code, display or definition of the value.
  5. Delete – Deletes the value (and any values below it).

Values opens a code system. The filter finds values by code, display or definition (long code systems show the first 500 matches). Add value adds a code at the top level or below another value; Edit changes code, display and definition; Delete removes a value and the values below it (the dialog says how many). Codes must be unique within the code system. Delete code system removes the whole code system.

The vault never overwrites: each change is stored as a new version of the CodeSystem resource, and a deleted code system is marked as deleted, so the earlier versions stay in its history.

Upload and download

  • Upload code system… takes JSON files: a CodeSystem resource, or a Bundle that holds several. A code system with the same address as an installed one replaces it.
  • Download from hl7.org… lists the internal code systems of FHIR R5 (the page hl7.org/fhir/R5/terminologies-systems.html). Tick one or more (use the filter and Select shown for many) and press Download: each is fetched from hl7.org and stored as a CodeSystem resource in the vault. Code systems that are already installed are marked and will be replaced.
Code systems on hl7.org
Code systems on hl7.org
  1. Filter – Narrow the list by name or description.
  2. Select – Tick one or more code systems.
  3. Select shown – Ticks every code system that matches the filter.
  4. Download – Fetches the selected code systems from hl7.org and stores them in the vault.

Settings: Data Sources

Administration: Settings, Data Sources
Administration: Settings, Data Sources
  1. Data Sources – The Data Sources tab of Settings.
  2. Add data source – Opens the form for a new data source: connection string, the four schema names and the FHIR version.
  3. Schemas – The schema names of the raw vault, the golden vault, MDM and the Profiler.
  4. FHIR version – R4, R4B or R5, for both vaults of the data source.
  5. Reset – Reset to factory settings: deletes all data in the raw vault, the golden vault and the MDM schema, after you typed the name of the data source.

A data source is one database with a raw vault, a golden vault, an MDM schema and a Profiler schema, all for one FHIR version: R4, R4B or R5 (the default). The page lists every data source with its connection string (the password is hidden), database, the four schema names, FHIR version and whether it is reachable. Users, passwords, sessions and permissions are shared by all data sources; the page shows where they are stored.

Adding a data source: the check reports what already exists
Adding a data source: the check reports what already exists
  1. Connection string – The PostgreSQL® connection string. Empty means the connection of the server environment.
  2. Schemas – Names of the four schemas (lower-case letters, digits and underscore). Missing schemas and tables are created automatically.
  3. FHIR version – Choose R4, R4B or R5.
  4. Already exists – The check shows which database and schemas already exist and whether they hold data.
  5. Confirm – An existing database is only used after you confirm that you are sure.
  • Add data source / Edit: enter a name, the connection string (empty = the connection of the server environment), the four schema names and the FHIR version. Check reports whether the database and each schema already exist and hold data. Missing schemas, tables and the loader are created automatically (and the database too, when the connection may create databases). When the database or a schema already exists you must confirm with I am sure: use the existing database.
  • Reset… returns a data source to factory settings: all data in the raw vault, the golden vault and the MDM schema is deleted (MDM gets its standard rules again, and the Profiler results that were computed from the data are cleared). You must type the name of the data source. Tables, users, profiles, code systems and custom rules stay.
  • Remove takes the data source out of the suite. The database itself is not touched.
CarefulThe data of a reset cannot be recovered. A connection string with a password is stored in the authentication database.

Settings: Genome

The Genome tab of Settings switches the lookup of genome information on the internet on or off (see A resource: Genome (MolecularSequence)), lists the services the server contacts and has a Test the connection button. Only identifiers are sent. Without internet access the Viewer uses built-in reference data. Load sample genomes into the current data source (Settings, Documents) loads sample DNA and protein sequences with variants, in R5 or R4 form depending on the data source.

Data sources per user

The user editor: access and permissions per data source
The user editor: access and permissions per data source
  1. Access – Tick the data sources the user may use.
  2. Edit permissions – Choose the data source whose features and resource types are set below.
  3. Permissions in – The permissions below apply to the selected data source only.

In the user editor, tick the data sources the user may use, then press Edit permissions next to one to set the features and resource types for that data source. Administrators may use all data sources. A user with access to more than one sees a list in the header to choose the data source for the session. At sign-in the app opens the last data source the user chose; if it is gone, unreachable or no longer permitted, the first available one is used.

FHIR versions

All modules work with R4, R4B and R5. Differences are handled automatically (for example Encounter.class and Encounter.period, MedicationRequest.medication[x]). Resource types that do not exist in the version are not listed; ImagingSelection (marks on images) is R5 only, so the Preview tab shows no marks for R4 and R4B, and the sample loader skips it.

Settings: Documents

Administration: Settings, Documents
Administration: Settings, Documents
  1. Documents – The Documents tab of Settings.
  2. Folder – Folder on the server with the external documents.
  3. Sample data – Copy the sample documents and load the sample resources.

Settings holds the location of the external documents: the folder on the server with the DICOM, X-ray and other files that DocumentReference and ImagingStudy resources refer to (a DICOM study sits in dicom/<Study Instance UID>; other files are addressed by their path below the folder). Type the full path and press Save, or Use default folder (the environment variable DOCUMENTS_DIR, or sample-data/documents). The page shows the folder in use and how many files and study folders it holds.

  • Copy sample documents to the folder copies the synthetic samples (CT, MR, chest X-ray, PDF, text and other documents).
  • Load sample resources into the current data source loads 22 FHIR resources that refer to them (server name sample).
  • Do both does both. Open ImagingStudy imgdemo-ct-head in the Viewer and choose the Preview tab.

The user editor

The user editor: account details and permission blocks
The user editor: account details and permission blocks
  1. User name / display name – The user name is what is typed at sign-in (letters, digits, dot, dash, underscore). The display name appears in the navigation bar.
  2. Password – Required for a new user; when editing, leave empty to keep the current password.
  3. Account – Administrator passes every check and sees Administration. Active off blocks sign-in without deleting the user.
  4. Block button – Grants every feature of the application at once (viewer:*). Individual boxes below are then disabled.
  5. Feature boxes – One permission per feature; hover for its description.
  • User name, Display name and Password (at least 12 characters; the user must change it at the first sign-in; when editing, leave empty to keep the current one).
  • Account: Administrator can use Administration and bypasses all permission checks; Active allows sign-in. You cannot change these for yourself.
  • The footer shows a permission count and Create user / Save changes.
  • Features: tick per module the functions the user may use (see Permission reference).

Limiting by resource type

Resource-type permissions
Resource-type permissions
  1. All resource types – type:*: every resource type, now and in the future.
  2. Filter – Narrows the groups and types to those whose name contains the text.
  3. Group row – The group checkbox grants every type of the group (group:people). The arrow expands the group.
  4. Single type – type:Patient etc. Dimmed boxes are already included by a group or the all-types setting.

Besides features you can limit which data a user sees: whole groups (group:<key>) or single resource types (type:<Type>). With no type permission at all the user sees every type; as soon as one is ticked, only ticked ones are visible, in lists, counts, searches, charts and direct links.

ExampleA data steward for patients only

Not an administrator; features mdm:dashboard, mdm:remediate, mdm:golden, viewer:browse, viewer:patient; types type:Patient, type:RelatedPerson. The steward reviews only patient duplicates.

ExampleA read-only analyst

Features viewer:* and profiler:overview, profiler:profile, profiler:quality; no mdm:*; no type limits.

CarefulAt least one active administrator must always remain; you cannot disable or demote yourself.