Tiro.health Implementation Guide
0.1.0 - ci-build

Tiro.health Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: Operation Outcome Issue Detail - JSON Representation

Draft as of 2026-06-09

Raw json | Download

{
  "resourceType" : "CodeSystem",
  "id" : "operation-outcome-issue-detail",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem operation-outcome-issue-detail</b></p><a name=\"operation-outcome-issue-detail\"> </a><a name=\"hcoperation-outcome-issue-detail\"> </a><p>This case-sensitive code system <code>http://fhir.tiro.health/CodeSystem/operation-outcome-issue-detail</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">VALIDATE_PATIENT_SUCCESS<a name=\"operation-outcome-issue-detail-VALIDATE_PATIENT_SUCCESS\"> </a></td><td>Patient validation successful</td><td>Returned as an information/success issue when a Patient validation operation succeeds.</td></tr><tr><td style=\"white-space:nowrap\">VALIDATE_TASK_SUCCESS<a name=\"operation-outcome-issue-detail-VALIDATE_TASK_SUCCESS\"> </a></td><td>Task validation successful</td><td>Returned as an information/success issue when a Task validation operation succeeds.</td></tr><tr><td style=\"white-space:nowrap\">VALIDATE_TEMPLATE_FAILURE<a name=\"operation-outcome-issue-detail-VALIDATE_TEMPLATE_FAILURE\"> </a></td><td>Template validation failed</td><td>The template failed validation; check for empty blocks or groups.</td></tr><tr><td style=\"white-space:nowrap\">VALIDATE_RESOURCE_FAILURE<a name=\"operation-outcome-issue-detail-VALIDATE_RESOURCE_FAILURE\"> </a></td><td>Resource validation failed</td><td>The submitted resource failed validation; check for empty blocks or groups. Returned on 422 validation errors.</td></tr><tr><td style=\"white-space:nowrap\">TEMPLATE_NOT_ACTIVE<a name=\"operation-outcome-issue-detail-TEMPLATE_NOT_ACTIVE\"> </a></td><td>Template not active or does not exist</td><td>The referenced questionnaire template (canonical, optionally version-pinned) is not active — it was retired or superseded by a newer version, or does not exist. Returned as a 400 by Task/$initialize. Prefer a version-independent canonical.</td></tr><tr><td style=\"white-space:nowrap\">TEMPLATE_EXPERIMENTAL_VERSION_REQUIRED<a name=\"operation-outcome-issue-detail-TEMPLATE_EXPERIMENTAL_VERSION_REQUIRED\"> </a></td><td>Experimental template requires an explicit version</td><td>The referenced template is experimental and requires an explicit version in the canonical reference (e.g. `...|1.2.0`). Returned as a 400 by Task/$initialize.</td></tr><tr><td style=\"white-space:nowrap\">INITIAL_RESPONSE_PATIENT_MISMATCH<a name=\"operation-outcome-issue-detail-INITIAL_RESPONSE_PATIENT_MISMATCH\"> </a></td><td>Initial-response Patient mismatch</td><td>The supplied initial-response QuestionnaireResponse references a different Patient than the Task. Returned as a 400 by Task/$initialize.</td></tr><tr><td style=\"white-space:nowrap\">INITIAL_RESPONSE_CANONICAL_MISMATCH<a name=\"operation-outcome-issue-detail-INITIAL_RESPONSE_CANONICAL_MISMATCH\"> </a></td><td>Initial-response canonical mismatch</td><td>The supplied initial-response QuestionnaireResponse is based on a different questionnaire canonical than the Task. Returned as a 400 by Task/$initialize.</td></tr></table></div>"
  },
  "url" : "http://fhir.tiro.health/CodeSystem/operation-outcome-issue-detail",
  "version" : "0.1.0",
  "name" : "OperationOutcomeIssueDetail",
  "title" : "Operation Outcome Issue Detail",
  "status" : "draft",
  "experimental" : false,
  "date" : "2026-06-09T06:13:55+00:00",
  "publisher" : "Tiro.health",
  "contact" : [
    {
      "name" : "Tiro.health",
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://tiro.health"
        }
      ]
    }
  ],
  "description" : "Tiro.health detail codes carried in `OperationOutcome.issue.details.coding`. They give a stable, machine-readable classification of an issue beyond the standard FHIR issue-type (`OperationOutcome.issue.code`). Consumers should branch on these codes rather than on the free-text `issue.details.text`. Documentation: https://docs.tiro.health/fhir/errors",
  "caseSensitive" : true,
  "content" : "complete",
  "count" : 8,
  "concept" : [
    {
      "code" : "VALIDATE_PATIENT_SUCCESS",
      "display" : "Patient validation successful",
      "definition" : "Returned as an information/success issue when a Patient validation operation succeeds."
    },
    {
      "code" : "VALIDATE_TASK_SUCCESS",
      "display" : "Task validation successful",
      "definition" : "Returned as an information/success issue when a Task validation operation succeeds."
    },
    {
      "code" : "VALIDATE_TEMPLATE_FAILURE",
      "display" : "Template validation failed",
      "definition" : "The template failed validation; check for empty blocks or groups."
    },
    {
      "code" : "VALIDATE_RESOURCE_FAILURE",
      "display" : "Resource validation failed",
      "definition" : "The submitted resource failed validation; check for empty blocks or groups. Returned on 422 validation errors."
    },
    {
      "code" : "TEMPLATE_NOT_ACTIVE",
      "display" : "Template not active or does not exist",
      "definition" : "The referenced questionnaire template (canonical, optionally version-pinned) is not active — it was retired or superseded by a newer version, or does not exist. Returned as a 400 by Task/$initialize. Prefer a version-independent canonical."
    },
    {
      "code" : "TEMPLATE_EXPERIMENTAL_VERSION_REQUIRED",
      "display" : "Experimental template requires an explicit version",
      "definition" : "The referenced template is experimental and requires an explicit version in the canonical reference (e.g. `...|1.2.0`). Returned as a 400 by Task/$initialize."
    },
    {
      "code" : "INITIAL_RESPONSE_PATIENT_MISMATCH",
      "display" : "Initial-response Patient mismatch",
      "definition" : "The supplied initial-response QuestionnaireResponse references a different Patient than the Task. Returned as a 400 by Task/$initialize."
    },
    {
      "code" : "INITIAL_RESPONSE_CANONICAL_MISMATCH",
      "display" : "Initial-response canonical mismatch",
      "definition" : "The supplied initial-response QuestionnaireResponse is based on a different questionnaire canonical than the Task. Returned as a 400 by Task/$initialize."
    }
  ]
}