Skip to content

Resources linking system

Britta Gustafson edited this page Aug 14, 2024 · 29 revisions

For reference for the team. See also: structure and content of resources, which should get consolidated into this page.

Structure of resources

Each resource has an item ID (assigned by the system) and some combination of the following aspects:

  • Date [can be year, year + month, or year + month + day, such as "2021-10-18"]
  • Document ID [identifier, such as "SHO # 21-005"]
  • Title [usually a document title, such as "Re: Medicaid Eligibility for COFA Migrants"]
  • Category [such as "State Health Official (SHO) Letter"]
  • URL (or filename for internal files)
    • Extract_URL - this is a hidden field that is only populated for post-1994 Federal Register links, to support searching those documents
  • Subjects
  • Regulation citations [section or subpart info, such as "42 435.4", "42 435.907", etc.]
  • Statute citations
  • Editor notes (only shown in the admin panel)
  • Approval status

Internal links and files also have:

  • Summary
  • Coming soon: Visibility status

Federal Register links also have:

  • Document number
  • Docket numbers
  • Groups
  • Action type
  • Correction status
  • Withdrawal status

Display of resources

As shown on a subject page:

subject page

In search results (see Feature: repository search for details):

search results

Types of resources

Public links (formerly known as supplemental content)

This includes all public documents except FR documents, such as links to related statutes, subregulatory guidance, technical assistance documents, etc.

SMEs enter all of this information by hand. For determining how to associate related regulation citations, they use our criteria whitepaper as a guide (also linked on the live site for reader review).

Federal Register links

Our system automatically pulls in new documents via the FederalRegister.gov API, including automatically populating the "locations" list (associated sections and subparts). New documents are automatically marked "approved", since the parser does a good job at importing accurate info for new documents.

By default, we only pull in documents that are marked in the FR doc metadata as associated with our parts in scope. So, for example, if a FR doc is only related to 42 CFR 413, we won't pull it in, since that's not a part in our scope. (See "Configuration of subpart and section info" below for more details.)

Our system groups FR documents as described in this page.

Older documents

The FR API includes most CMS FR documents from present to 1994. Many of its records for items in the 1990s are incomplete, so we manually corrected them in our database, such as by adding missing locations. We also corrected a lot of the "groups" by hand.

We manually entered all the documents in our database dated before 1994, including locations.

Internal links

This is meant for links to Box, SharePoint, etc. These are entered by hand.

Internal files

These are entered by hand.

Categories

Category structure

You can assign an item to a category or subcategory. On the site sidebars, categories display a list of subcategories that belong to the category, then a list of items that belong to the category. Subcategories contain items.

Category hierarchy

The top-level categories and subregulatory guidance subcategories should be arranged in order of authoritativeness.

We add and update categories as we work on the content; the following list is an example.

  • Statutes
  • Federal Register Documents (groups of documents, sorted in date order by the most-recently-published document that each group contains)
  • Related Regulations
  • Subregulatory Guidance
    • State Medicaid Director Letter (SMDL)
    • State Health Official Letter (SHO)
    • CMCS Informational Bulletin (CIB)
    • Frequently Asked Questions (FAQs)
    • State Medicaid Manual (SMM)
  • Implementation Resources
    • State Plan Amendment Resources
    • Technical Assistance for States
    • Templates
    • Toolkits
    • Waiver Resources
    • Other Resources

Configuration of categories and subcategories

Our admin panel enables team members to:

  • Create, rename, and delete categories and subcategories
  • Associate a subcategory with a parent category
  • Add text descriptions for categories, to be displayed under the category name (subcategories don't display descriptions)
  • Determine the placement of a category or subcategory in the list, by giving it a numerical value for its order (for example, a category with a weight of "1" would show up first in the list, and a category with a weight of "1000" would show up last)

Sorting

This applies to lists that are not sorted by relevance (not search results), such as sidebars and subject pages.

In sidebars, Federal Register documents have a special "grouped" ordering, to help people find related rules - see Federal-Register-link-grouping.

Default sort order for content items in general:

  1. All items with dates are sorted in reverse-chronological order (most recent first) by date.
    1. If multiple items have the same date, use the next step to order.
  2. Then all items without dates but with document IDs are sorted in alphanumeric order by Document ID. (For an example of alphanumeric order, see call numbers in a library.)
    1. If multiple items have the same document ID, use the next step to order.
  3. Then all items without dates or document IDs are sorted in alphanumeric order by title.
    1. If multiple items have the same title, sort them in any order. Doesn't matter at that point.

Related regulation citations

Creation of subpart and section info

Approximately once a day, our parser fetches data from eCFR. At that time, our system reads the structure of sections and subparts from eCFR, and it makes that information available to the rest of the system in a convenient format (posts it to a supplemental content endpoint).

The system adds all of the subparts to the subpart menu of the admin panel, and it adds all of the sections to the section menu. For all sections that belong to a subpart, it updates each section to be associated with its subpart. Sections that don’t belong to a subpart (such as 42 CFR 431.1 and 42 CFR 433.1) are not tagged with a subpart. If it finds that a section or subpart already exists and is correct, it skips over it.

If there are sections or subparts in the admin panel that didn’t exist in the eCFR data, they remain in the admin panel (they are skipped, not modified). This typically happens if people had added sections with typos, or if there are old sections that aren't in the latest version of the regulations.

Configuration of subpart and section info

Under "Parser Configuration", we can add parts from any title and declare whether the parser should do one or more of these things with that part:

  • Upload the regulation text (so that the part displays in our Table of Contents, people can read it within eRegulations, etc.)
  • Upload "locations" (add the subpart and section info to our admin panel, allowing us to associate documents with those locations)
  • Upload FR docs (fetch Federal Register rules related to that part and put them into our resources database)

Overview

Data

Features

Decisions

User research

Usability studies

Design

Development

Clone this wiki locally