{
  "resourceType" : "OperationDefinition",
  "id" : "log-questionnaire-errors",
  "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><a name=\"log-questionnaire-errors-en-US\"> </a><p>URL: [base]/Questionnaire/$log-questionnaire-errors</p><p>Input parameters Profile:<a href=\"StructureDefinition-dtr-log-errors-input-parameters.html\">DTR Log Questionnaire Errors Input Parameters</a></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>Questionnaire</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#canonical\">canonical</a></td><td/><td><div><p>The Questionnaire which generated the errors</p>\n</div></td></tr><tr><td>IN</td><td>OperationOutcome</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/operationoutcome.html\">OperationOutcome</a></td><td/><td><div><p>The OperationOutcome documenting the Questionnaire/CQL errors and their location</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.1.0",
  "name" : "LogQuestionnaireErrors",
  "title" : "Log errors resulting from a specific Questionnaire and/or CQL to the originating Payer",
  "status" : "active",
  "kind" : "operation",
  "date" : "2024-12-21T15:53:40+00: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" : "This operation **SHOULD** be supported by payers and DTR applications and 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\nThe 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.  The Questionnaire reference **SHOULD** be version-specific.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "urn:iso:std:iso:3166",
      "code" : "US"
    }]
  }],
  "code" : "log-questionnaire-errors",
  "base" : "http://hl7.org/fhir/us/davinci-dtr/OperationDefinition/log-questionnaire-errors",
  "resource" : ["Questionnaire"],
  "system" : false,
  "type" : true,
  "instance" : false,
  "inputProfile" : "http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-log-errors-input-parameters",
  "parameter" : [{
    "name" : "Questionnaire",
    "use" : "in",
    "min" : 1,
    "max" : "1",
    "documentation" : "The Questionnaire which generated the errors",
    "type" : "canonical"
  },
  {
    "name" : "OperationOutcome",
    "use" : "in",
    "min" : 1,
    "max" : "1",
    "documentation" : "The OperationOutcome documenting the Questionnaire/CQL errors and their location",
    "type" : "OperationOutcome"
  }]
}