<OperationDefinition xmlns="http://hl7.org/fhir">
  <url value="http://phr.kanta.fi/fiphr-od-readWithIncludes" />
  <name value="ReadWithIncludes" />
  <status value="draft" />
  <kind value="operation" />
  <publisher value="Kela" />
  <description value="ReadWithIncludes extends read operation. In addition to a resource corresponding to id parameter (main resource) also resources referenced by the main resource are included to the result" />
  <code value="readWithIncludes" />
  <resource value="Observation" />
  <resource value="QuestionnaireResponse" />
  <resource value="CarePlan" />
  <resource value="MedicationAdministration" />
  <system value="false" />
  <type value="false" />
  <instance value="true" />
  <parameter>
    <name value="query" />
    <use value="in" />
    <min value="1" />
    <max value="1" />
    <documentation value="The id of the resource that will be read." />
    <type value="id" />
  </parameter>
  <parameter>
    <name value="result" />
    <use value="out" />
    <min value="1" />
    <max value="1" />
    <documentation value="The resource being read and the resources to which it refers." />
    <type value="Bundle" />
  </parameter>
</OperationDefinition>