{
  "resourceType" : "OperationDefinition",
  "id" : "DDCC-QuestionnaireResponse-generateHealthCertificate",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>URL: [base]/QuestionnaireResponse/$generateHealthCertificate</p><p>URL: [base]/Bundle/$generateHealthCertificate</p><p>Parameters</p><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>response</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/resource.html\">Resource</a></td><td/><td><div><p>The questionnaire response or bundle resource used to generate the DDCC Document.</p>\n</div></td></tr><tr><td>OUT</td><td>return</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/bundle.html\">Bundle</a></td><td/><td><div><p>The DDCC, including any QR codes, that was created under the <a href=\"transactions.html#submit-health-event-expected-actions\">Generate Health Certificate</a> expected actions</p>\n</div></td></tr></table></div>"
  },
  "url" : "http://smart.who.int/ddcc/OperationDefinition/DDCC-QuestionnaireResponse-generateHealthCertificate",
  "version" : "1.0.0",
  "name" : "QuestionnaireResponse_Generate_Health_Certificate",
  "title" : "OperationDefinition for generating a health certificate (DDCC) that is signed.",
  "status" : "draft",
  "kind" : "operation",
  "experimental" : true,
  "date" : "2021-06-03",
  "publisher" : "WHO",
  "contact" : [{
    "name" : "WHO",
    "telecom" : [{
      "system" : "url",
      "value" : "http://who.int"
    }]
  }],
  "description" : "Generate one or more signed DDCC Documents based on a [DDCC QuestionnaireResponse](StructureDefinition-DDCCQuestionnaireResponse.html)",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001"
    }]
  }],
  "code" : "generateHealthCertificate",
  "resource" : ["QuestionnaireResponse",
  "Bundle"],
  "system" : false,
  "type" : true,
  "instance" : false,
  "parameter" : [{
    "name" : "response",
    "use" : "in",
    "min" : 1,
    "max" : "1",
    "documentation" : "The questionnaire response or bundle resource used to generate the DDCC Document.",
    "type" : "Resource"
  },
  {
    "name" : "return",
    "use" : "out",
    "min" : 0,
    "max" : "1",
    "documentation" : "The DDCC, including any QR codes, that was created under the [Generate Health Certificate](transactions.html#submit-health-event-expected-actions) expected actions",
    "type" : "Bundle"
  }]
}