Send a FHIR Bundle and decide its mapping proposals

Send a FHIR Bundle into a study from the Mapping Workbench, read the receipt and pipeline run, and record steward decisions on the OMOP mapping proposals it produces.

You use CuRE Conduct’s Mapping Workbench to send a FHIR Bundle from an outside system into a study, read the receipt, follow the delivery through the pipeline, and decide the mapping proposals it produces. Conduct passes the Bundle to CuRE Conduit, the intake service that receives source data, records what arrived, and starts a pipeline run for the study. Where a source code needs a steward’s judgement, the run leaves a proposal that waits in Steward inbox, and a steward records the decision on it.

Before you start

  • Your role decides which parts of the job you can do. Data Operations Specialist and Data Governance Manager can send and replay a Bundle. Data Analyst and Data Governance Manager record mapping decisions. A Data Governance Manager can do the whole job alone; otherwise an operator sends the Bundle, a steward records the decision, and the operator replays the delivery.

  • As a Data Analyst, the Import Data page reads “FHIR Bundle uploads require Data Operations Specialist or Data Governance Manager access.” The drop zone stays available for other file types, and a FHIR JSON file is refused only after you choose it, with “You are not permitted to upload FHIR Bundles.”

  • Check the study before you send. The workbench works one study at a time, and the study selector sits in the workbench header rather than the top bar. Conduct reopens the last study you chose in this browser, so confirm the selector names the study you mean. With no study chosen, the page reads No study selected.

  • The file must be JSON that declares a resourceType of Bundle. Any other JSON file is refused before anything is sent, with “Not a FHIR Bundle: <file name>. JSON uploads must be a FHIR Bundle (resourceType “Bundle”).”

  • The file must be no larger than 25 MB. A larger Bundle is refused before it is sent, with “FHIR bundle exceeds the 25 MB upload limit.”

  • Send a collection or batch Bundle. Conduit cannot guarantee all-or-nothing processing, so it refuses a transaction Bundle. The page then shows the toast FHIR upload failed with “Conduit /ingest/fhir failed: 400 request rejected”, which does not name the cause, and no receipt appears. If you sent a transaction Bundle, that refusal is the cause: set the Bundle’s type to collection or batch and send it again.

  • Check the vocabulary release before you send. Statistics under Standardize lists each loaded OMOP vocabulary with its concept count and its Loaded release. Confirm that it lists the standard vocabularies your Bundle’s codes come from, such as SNOMED, LOINC, and RxNorm. A code from one of these that is missing from the release comes back UNMAPPED and cannot take a steward decision.

  • If no complete release is loaded, Mapping fails with “FHIR mapping proposals require a pinned vocabulary release identity; no complete release is loaded.”, no proposals appear, and the delivery cannot be replayed. Sending the same file again does not help, because Conduit collapses it as a duplicate of the failed delivery. Report it from Help and support, and have the vocabularies your Bundle needs loaded before you send.

Submit the Bundle

  1. Open Mapping Workbench under Integrate and choose the study in Select a study. The list holds the non-archived studies in your organization, and pending mapping reviews appear after you select one.

  2. Select Import data in the workbench header. The Import Data page opens with the Ready badge and two lanes, OMOP clinical data and Operational / CTMS data. The lanes apply to tabular files. A FHIR Bundle goes to Conduit the same way whichever lane is selected.

  3. Select Choose file, or drop the file on Drop a CSV, Excel, ZIP, FHIR JSON, or SAS/SPSS/Stata file to import. While the file is sent, the badge reads Sending FHIR bundle and the page reads “Sending FHIR bundle from <file name> to Conduit…”.

  4. Read the receipt. FHIR bundle queued confirms the delivery, and the line beneath it reports the count, for example “30 resources received by Conduit · Conduct mapping queued.” Received, Rejected, Resource types, and Unsupported report what arrived, and badges list the resource types that were received. Unsupported counts the resource types Conduit does not accept, and the receipt lists them as “Unsupported resource types reported by Conduit: <types>”. If Rejected is more than 0, the receipt gives no per-resource reason; quote the Ingestion ID in a report from Help and support.

If the file already landed, the receipt reads FHIR bundle already landed with “Conduit collapsed this upload as a duplicate raw delivery.” Received and Rejected both read 0. Ingestion ID shows a new ID for this collapsed attempt, which has no run of its own. view run in Pipeline and Proposed OMOP mappings still belong to the delivery that first landed. Nothing is mapped twice.

Follow the delivery

Ingestion ID identifies the delivery, and Copy ID copies it.

view run in Pipeline opens the run, or the run list filtered to its source before the run exists. When the receipt cannot resolve the delivery’s source, the link is absent; Copy ID still gives you the ingestion ID to quote in a support request. The run reports its status, the stages Ingestion, Mapping, Quality check, and Routing with their progress, the Run log, with a line when each stage starts and when it finishes or fails, and Configuration with the source, run id, source id, created, started, completed, and duration.

Routing is where Conduct publishes the delivery as governed OMOP output. It runs only after Mapping and Quality check finish. Each stage reports the row count it handled. Rows out at the top of the run counts the rows that left the last stage that finished, even when Routing never started, so check the Routing stage to see whether anything was published.

When Routing cannot publish, the stage shows its elapsed time, the Run log records ERR Governed Mapping output refused with its reason, and the run is Failed. The run page offers no retry, so report it from Help and support with the run id from Configuration. A run that stops earlier leaves the stages after it reading waiting.

Data-quality findings counts findings by severity (Critical, Error, Warning, and Info) and lists them in one table per severity, with Check, Resource, Field, Message, and Disposition. Disposition offers Review waiver on a failed check. OHDSI DQD Report shows the Data Quality Dashboard run recorded for this delivery. Until one is recorded the card reads DQD not run, even when Quality check has finished.

Read the proposed mappings

Proposed OMOP mappings appears under the receipt for the same delivery, together with the ingestion ID. Conduct checks each source code against the OMOP vocabulary release loaded in Conduct and lists a proposal for each coded position it recognizes, so one resource can produce two proposals for the same code, for example at Condition.code.coding[0] and Condition.unknown-coding. While the run maps the Bundle, the panel reads “Mapping is running; waiting for proposal evidence…”. If the run page already shows the run as finished and the panel still reads this, reload the page. The saved proposals then appear.

Each proposal shows its status badge, Inspect recorded mapping provenance, the resource and source path (for example Condition.code.coding[0]), the source code as <system>|<code> · <display>, and the reason Conduct reached that status:

  • RESOLVED — a target was chosen automatically. The reason reads “The source code is already a current standard concept. · standard-concept” or names the method that resolved it. The Source and OMOP target block puts the source code and its display beside the OMOP target’s name, vocabulary, domain, and concept id, and Inspect details beside the target opens it in the vocabulary.

  • AMBIGUOUS — more than one standard target matched. The reason reads “2 distinct standard targets were observed; no target was selected. · maps-to-candidates”, and each candidate is listed with its name, vocabulary, domain, and concept id.

  • UNMAPPED — no target matched. The reason names the miss, for example “No RxNorm concept matched source code 402243. · unmapped”. When Conduct’s classifier found a candidate but held it at moderate confidence, the proposal also carries an AI-held badge with that confidence, and the choice is left to a steward.

A failed run shows one of two banners in this panel. Mapping failed means the run stopped before it produced any proposal; the banner gives the reason. Pipeline did not complete means the proposals below it were saved before the failure and remain available for review. Whether one can be decided depends on its source; see If a proposal cannot be decided. The banner gives the reason, for example “vocabulary_unmapped: 13 distinct source code(s) are missing from the loaded vocabulary (first 13 listed in the failure detail) — load the missing vocabulary, then replay this delivery”, and then says how far the run got. A run that finished with nothing to propose reads “Mapping completed; this bundle contained no coded facts requiring an OMOP proposal.”

Read the reason in this panel. The run page’s Run log is less direct: it records each stage’s start and finish, and adds an error line only when a stage itself fails. A run stopped for missing vocabulary can therefore show every stage before Routing completed, Routing reading waiting, and no error line.

Decide a proposal

Only a Data Analyst or Data Governance Manager can decide. A Data Operations Specialist sees each proposal, its candidates, and its reason, but no candidate selector, rationale field, or Record steward decision. Only an AMBIGUOUS or UNMAPPED proposal takes a decision. A RESOLVED proposal offers no override.

  1. Open Steward inbox in the workbench header. The page is headed Steward Inbox and reads “Every mapping decision waiting on a steward, from tabular imports and FHIR bundles, oldest first.” Four tiles count and filter the work: All pending, Tabular review, FHIR proposals, and AI-held. The study list, which starts at All studies, narrows the inbox to one study. FHIR proposals counts source codings, so one resource can add two proposals; it is not a count of distinct decisions.

  2. Read the row: Lane (Tabular review or FHIR proposal), Source with the field path, Study, Status (a FHIR proposal reads Ambiguous or Unmapped; a tabular row reads, for example, Awaiting review, In review, or Escalated), Confidence, Waiting, and Open. On a FHIR proposal row, Open opens Proposed OMOP mappings on the Import Data page showing only that proposal. Open each of a delivery’s proposals from its own row. A Tabular review row opens the review queue instead.

  3. Read the reason line before you decide. A proposal Conduct cannot publish stays in Steward inbox, because there is no action to decline it or mark it as cannot-map. If a proposal cannot be decided, below, lists the cases.

  4. Choose the target. For AMBIGUOUS, select one of the listed candidates. For UNMAPPED, select Find a current standard OMOP concept…, search by name or concept id, and select the result. If the target you choose is not in the loaded release, the decision is refused with “OMOP target concept <id> was not found in the loaded release.”; choose another.

  5. Enter a Decision rationale — the field is required and is sealed verbatim with the decision — and select Record steward decision. Vocabulary release beside the button names the release every target is checked against.

  6. The decision is recorded as sealed evidence for your organization beside the proposal: Decided target, Decided by, Method (steward-selection), Vocabulary release, Release content hash, Source / target vocab version, Decision identity, Rationale, and Registry version. Recording a decision also publishes the mapping into your organization’s terminology registry, and Registry version names the published version. The proposal keeps its status badge until the delivery is replayed, because the decision takes effect on replay, not when it is recorded. The panel shows Decided target as soon as the decision is recorded, and the proposal leaves Steward inbox. A recorded decision is final for that proposal: it no longer offers a selector, and a different decision on it is refused. Afterwards, the operator who sent the Bundle sees the decision in the delivery’s panel on Import Data.

If a proposal cannot be decided

Some proposals refuse every target. Each stays in Steward inbox with its reason.

  • A code missing from the loaded release. The reason reads “No <vocabulary> concept matched source code <code>.” for a standard vocabulary such as RxNorm, SNOMED, or LOINC. The code is missing from the loaded vocabulary release, and every target is refused with a message that names the vocabulary, for RxNorm “Distributed source vocabulary RxNorm requires a resolvable positive source concept in that vocabulary before a governed Maps to edge can be published.” Ask whoever manages vocabulary releases for your organization to load it.

  • A site’s own code system. Every target is refused with “The source FHIR system has no OMOP vocabulary mapping, so a decision cannot be bound to a source vocabulary release.” No vocabulary load changes this, because Conduct binds only the standard code systems it knows to an OMOP vocabulary. Ask the sending site to send that field in a standard vocabulary such as SNOMED CT or LOINC.

  • An AMBIGUOUS proposal with no right candidate. An AMBIGUOUS proposal accepts only the candidates listed on it, so when none of them is the right concept you cannot choose a different target or decline the proposal.

A delivery with no proposal you can decide has no replay in Conduct; report it from Help and support. When a code is missing from the release, decide the delivery’s AMBIGUOUS proposals before that release changes: after it changes, a decision on a proposal made against the old release is refused with “The proposal was projected against a different vocabulary release; replay the bundle before deciding so the candidate set matches the loaded release.”

Replay the delivery

A steward’s decision takes effect only when the delivery is replayed. A Data Operations Specialist or Data Governance Manager replays it from Proposed OMOP mappings on the Import Data page. A Data Analyst does not see Replay bundle.

  1. Open the delivery’s panel with the original file in hand. How you open it depends on where you start:

    • On the page where you sent the Bundle, the file is already there.

    • From Steward inbox, the proposal offers decisions but no replay, because replay needs the original file. Open Mapping Workbench, confirm the study in the selector, select Import data, and send the same file again. The receipt reads FHIR bundle already landed, and its panel belongs to the original delivery.

    • After a reload, Import Data reopens your last delivery. Once the delivery can be replayed, it asks for the file under Original FHIR Bundle for replay; choose the same file you sent. Until then, the reopened panel shows no Replay bundle button.

  2. Select Replay bundle. Until the delivery has a published decision, the button is disabled and its tooltip reads “Publish a governed mapping decision before replaying this bundle”. After you select it, Conduct reprocesses the delivery; follow the run it produces in Pipeline.

When Mapping failed with “OMOP vocabulary load incomplete: …” before it produced any proposal, the same button reads Recover failed ingestion. Use it after the missing concepts have been loaded, or the run fails the same way again. A run that failed because no complete release is loaded offers no recovery.

Where to go next

Where you go next depends on your role.

  • As a steward, Steward inbox in the workbench header lists every mapping decision waiting on a steward, from tabular imports and FHIR bundles, across studies. A Data Analyst cannot replay, so tell whoever operates the delivery that it is ready, naming the study and the Ingestion ID from the delivery’s panel. A Data Governance Manager replays it from Import Data.

  • As an operator, Import data starts another delivery, and Replay bundle on a decided delivery reprocesses it.

  • If a step is refused with a message this page does not explain, or a proposal cannot be decided, select Help and support (the question-mark button in the top bar) to ask a question or report the problem.

For the rest of the workbench, return to What CuRE Conduct does and how it is organized.