{
  "resourceType" : "OperationDefinition",
  "id" : "log-questionnaire-errors",
  "language" : "en",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition log-questionnaire-errors</b></p><a name=\"log-questionnaire-errors\"> </a><a name=\"hclog-questionnaire-errors\"> </a><p>URL: [base]/Questionnaire/$log-questionnaire-errors</p><h3>Parameters</h3><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>resource</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/parameters.html\">Parameters</a> (<a href=\"StructureDefinition-dtr-log-errors-input-parameters.html\" title=\"http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-log-errors-input-parameters|2.2.0\">DTR Log Questionnaire Errors Input Parameters</a>)</td><td/><td><div><p>The Questionnaire which generated the errors and/or an OperationOutcome</p>\n</div></td></tr></table></div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "cds"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 2,
    "_valueInteger" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/us/davinci-dtr/ImplementationGuide/hl7.fhir.us.davinci-dtr"
      }]
    }
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use",
    "_valueCode" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/us/davinci-dtr/ImplementationGuide/hl7.fhir.us.davinci-dtr"
      }]
    }
  }],
  "url" : "http://hl7.org/fhir/us/davinci-dtr/OperationDefinition/log-questionnaire-errors",
  "version" : "2.2.0",
  "name" : "LogQuestionnaireErrors",
  "title" : "Log errors resulting from a specific Questionnaire and/or CQL to the originating Payer",
  "status" : "active",
  "kind" : "operation",
  "date" : "2026-03-27T16:11:21+11:00",
  "publisher" : "HL7 International / Clinical Decision Support",
  "contact" : [{
    "name" : "HL7 International / Clinical Decision Support",
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/dss"
    }]
  }],
  "description" : "§oper-1^dtr-client,dtr-server^exchange:This operation **SHALL** be supported by payers and DTR applications.§  It allows submission of issues encountered when working with these DTR-provided artifacts.  The operation will pass the Questionnaire and an OperationOutcome detailing the issue(s) including where the error occurred.    \n\n§oper-2^dtr-client^exchange:The input OperationOutcome resource **SHOULD** include information on the DTR application identity and version, date-time with time-zone offset, as well as the provider endpoint during which the error occurred, and it **SHALL NOT** contain information about the response or information retrieved from FHIR APIs that could potentially include PHI.§  §oper-3^dtr-client^exchange:The Questionnaire reference **SHOULD** be version-specific.§",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "urn:iso:std:iso:3166",
      "code" : "US"
    }]
  }],
  "code" : "log-questionnaire-errors",
  "resource" : ["Questionnaire"],
  "system" : false,
  "type" : true,
  "instance" : false,
  "parameter" : [{
    "name" : "resource",
    "use" : "in",
    "min" : 1,
    "max" : "1",
    "documentation" : "The Questionnaire which generated the errors and/or an OperationOutcome",
    "type" : "Parameters",
    "targetProfile" : ["http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-log-errors-input-parameters|2.2.0"]
  }]
}