Skip to content

Mapper sample spreadsheets: an OCL Docs page with one sample per domain and how to start with each #2955

Open
OpenConceptLab/ocl-docs
#80

Description

@paynejd

Part of OpenConceptLab/ocl_online#464 (critical user journey 1). Follows #2903, which added a single lab-tests sample as a direct download from the Mapper's empty project list.

The lab sample suits only LOINC, so a new user who maps diagnoses or procedures has nothing to try. Replace the single download with an OCL Docs page that offers several samples. Each one is paired with the target repository it suits and has a short note on how to get started with it. Start from option D in @filiperochalopes's comment on OpenConceptLab/ocl_issues#2907, which has candidate rows per domain:

  • lab tests and imaging → LOINC;
  • diagnoses → ICD-11 or ICD-10;
  • procedures → SNOMED CT;
  • a mixed sample for CIEL.

Acceptance criteria

  • A Mapper "Sample spreadsheets" page in OCL Docs lists the samples. For each, it says what's in the file, which target repository to choose, which columns to map, and what a good AutoMatch result looks like.
  • Each sample's target is a repository the Mapper offers. Filipe's comment didn't check this for SNOMED CT or WHO-ICHI.
  • Each sample has been run through AutoMatch against its target, and the page describes what comes back. The lab sample's Specimen values don't match LOINC's SYSTEM values (see the 10-15 comment on Mapper: suggest the field mapping from the column headers #2907).
  • samples/mapper_sample_lab_tests.csv keeps its path, because released Mappers download it by URL.
  • The Mapper's empty project list links to the page instead of downloading one file. The link text is in en, es, zh and pt-BR.

Components: ocl-docs docs/source/oclmap/ (new page, samples/, toctree in docs/source/index.rst); oclmap src/components/map-projects/MapProjects.jsx (SAMPLE_SPREADSHEET_URL, onSampleSpreadsheetClick) and map_project.download_sample_spreadsheet in the four locale files.

Activity

  1. added this to the P3 · Mapper: GA milestone on Oct 23, 2026
  2. added
    type/docs
    component/mapper
    component/docs
    on Oct 23, 2026
  3. added
    decision/planning-needed
    signal/large-scope
    signal/low-risk
    signal/needs-access
    signal/needs-human
    signal/well-specified
    on Oct 23, 2026
  4. ocl-automation commented on Oct 23, 2026

    @ocl-automation
    Collaborator

    Automated Triage — 2026-10-23

    Dimension Score
    Complexity 3
    Scope 4
    Clarity 4
    Dependency 2
    Risk 2

    Decision: decision/planning-needed
    Type: type/docs
    Signals: signal/low-risk, signal/large-scope, signal/well-specified, signal/needs-human, signal/needs-access
    Needs a person: decision: choose a substitute target for any sample whose repository (SNOMED CT, WHO-ICHI) the Mapper doesn't offer
    Needs access: Running Mapper with matching service (staging or production) and its list of offered repositories: confirm each sample's target is offered and run each sample through AutoMatch so the page can describe the real results

    The issue asks for a new OCL Docs page with several samples, plus a small oclmap change (link text in four locales replacing the single download). It spans two repos and keeps the existing CSV path, and its acceptance criteria are clear. The work is low-risk and depends only on #2903 and #2907, both closed. The AutoMatch runs and the check of which target repositories the Mapper offers need a live Mapper the worker can't reach. If SNOMED CT or WHO-ICHI isn't offered, the issue doesn't say what to use instead.


    Generated by ticket-triage pipeline v3. Model: anthropic/claude-sonnet-5.5 (openrouter).

  5. added
    stage/triaged
    on Oct 23, 2026
  6. filiperochalopes commented on Nov 2, 2026

    @filiperochalopes
  7. paynejd commented on Nov 19, 2026

    @paynejd
    MemberAuthor

    Thanks, Filipe. I'll take this one from here and build on your samples in ocl-docs#80.

    Next I'm mocking up where the samples appear: the OCL Docs page, the Mapper dashboard and the user profile when there are no projects yet, and a "New here? Try an example" link on the new-project page. I'll share the mockups here.

  8. self-assigned this
    on Nov 19, 2026
  9. filiperochalopes commented on Nov 20, 2026

    @filiperochalopes

    Yes, please follow OpenConceptLab/ocl-docs#80. The comments are not blocking the merge OpenConceptLab/ocl-docs#80 (comment) and somehow it's maybe not needed to be addressed now for Docs purpose

  10. paynejd commented on Nov 26, 2026

    @paynejd
    MemberAuthor

    Decisions (Nov 25) on the three choices left here (the TBv3 profile tab and the "New here? Try an example" link on the new-project form were settled on Nov 19):

    1. Docs page: group the sample spreadsheets by domain (diagnoses, procedures, lab, medications, mixed), with the guided and real-world samples inside each. People arrive with one kind of data, and it matches the Mapper's sample shortcuts. Docs/mapper samples ocl-docs#80 regroups to match.
    2. Empty project lists (the Mapper and the TBv3 profile tab): a "Try a sample spreadsheet" link to the docs page. It ships with the docs.
    3. The Mapper's sample links go to the docs page now. The in-app picker (the loader that fills the project settings, a samples.json in ocl-docs, and a + menu entry) follows as its own ticket.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

component/docscomponent/mapperdecision/planning-neededsignal/large-scopesignal/low-risksignal/needs-accesssignal/needs-humansignal/well-specifiedstage/triagedtype/docs

Type

No type

Fields

Priority

Medium

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions