{
  "resourceType" : "OperationDefinition",
  "id" : "ncdhc-composition-view-document",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>NCDHC OperationDefination $view-document</h2><p>OPERATION: NCDHC OperationDefination $view-document</p><p>The official URL for this operation definition is: </p><pre>http://hl7.org.au/fhir/ch/v1/OperationDefinition/ncdhc-composition-view-document</pre><p>URL: [base]/Composition/$view-document</p><p>Parameters</p><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</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>subject</td><td>1..1</td><td><a href=\"http://hl7.org/fhir/STU3/patient.html\">Patient</a></td><td/><td><div><p>The Patient in context for whom the document will be genrated.</p>\n</div></td></tr><tr><td>IN</td><td>type</td><td>1..1</td><td><a href=\"http://hl7.org/fhir/STU3/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td/><td><div><p>type code to instruct the FHIR server which type of view needs to be generated</p>\n</div></td></tr><tr><td>IN</td><td>summary</td><td>0..1</td><td><a href=\"http://hl7.org/fhir/STU3/datatypes.html#boolean\">boolean</a></td><td/><td><div><p>This parameter instructs the FHIR server to produce a document with minimum details (as defined by server). the default value is true. If client wants full document then the value should be provided as 'false'. In that case the server will provide the referenced resources in the Bundle. For an example if the $view-document generates a view where each section of the document is based on QuestionnaireResponse, then 'false' value of this param will force the server to include the referenced Questionnaire resource in the Bundle document and section source using Provenence resource.</p>\n</div></td></tr></table><div><p>This custom FHIR operation will be used to get access to the view generated from multiple sources.</p>\n</div></div>"
  },
  "url" : "http://hl7.org.au/fhir/ch/v1/OperationDefinition/ncdhc-composition-view-document",
  "version" : "v1.0.0",
  "name" : "NCDHC OperationDefination $view-document",
  "status" : "active",
  "kind" : "operation",
  "date" : "2019-05-24T00:00:00+00:00",
  "publisher" : "National Children's Digital Health Collaborative (NCDHC)",
  "purpose" : "To allow client system to access custom view generated from multiple sources",
  "code" : "view-document",
  "comment" : "This custom FHIR operation will be used to get access to the view generated from multiple sources.",
  "base" : {
    "reference" : "http://hl7.org/fhir/OperationDefinition/Composition-document"
  },
  "resource" : [
    "Composition"
  ],
  "system" : false,
  "type" : true,
  "instance" : false,
  "parameter" : [
    {
      "name" : "subject",
      "use" : "in",
      "min" : 1,
      "max" : "1",
      "documentation" : "The Patient in context for whom the document will be genrated.",
      "type" : "Patient"
    },
    {
      "name" : "type",
      "use" : "in",
      "min" : 1,
      "max" : "1",
      "documentation" : "type code to instruct the FHIR server which type of view needs to be generated",
      "type" : "CodeableConcept"
    },
    {
      "name" : "summary",
      "use" : "in",
      "min" : 0,
      "max" : "1",
      "documentation" : "This parameter instructs the FHIR server to produce a document with minimum details (as defined by server). the default value is true. If client wants full document then the value should be provided as 'false'. In that case the server will provide the referenced resources in the Bundle. For an example if the $view-document generates a view where each section of the document is based on QuestionnaireResponse, then 'false' value of this param will force the server to include the referenced Questionnaire resource in the Bundle document and section source using Provenence resource.",
      "type" : "boolean"
    }
  ]
}