{
  "resourceType": "OperationDefinition",
  "id": "mcode-patient-everything",
  "text": {
    "status": "extensions",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>Fetch_mCODE_patient_bundle</h2><p>OPERATION: Fetch_mCODE_patient_bundle</p><p>The official URL for this operation definition is: </p><pre>http://hl7.org/fhir/us/mcode/OperationDefinition/mcode-patient-everything</pre><p>URL: [base]/Patient/[id]/$mcode-everything</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>id</td><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td/><td><div><p>Patient ID</p>\n</div></td></tr><tr><td>IN</td><td>start</td><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#date\">date</a></td><td/><td><div><p>The date range relates to filtering by date for a subset of resources in the Bundle. If no start date is provided, all records prior to the end date are in scope. Filtering is inclusive (i.e., if <code>start=2020-01-01</code>, records from January 1, 2020 are in scope).</p>\n</div></td></tr><tr><td>IN</td><td>end</td><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#date\">date</a></td><td/><td><div><p>The date range relates to filtering by date for a subset of resources in the Bundle. If no end date is provided, all records subsequent to the start date are in scope.  Filtering is inclusive (i.e., if <code>end=2020-09-01</code>, records from September 1, 2020 are in scope).</p>\n</div></td></tr><tr><td>OUT</td><td>return</td><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/bundle.html\">Bundle</a></td><td/><td><div><p>A Bundle conforming to <a href=\"StructureDefinition-mcode-patient-bundle.html\"><code>MCODEPatientBundle</code></a>.</p>\n</div></td></tr></table></div>"
  },
  "url": "http://hl7.org/fhir/us/mcode/OperationDefinition/mcode-patient-everything",
  "version": "2.0.0",
  "name": "Fetch_mCODE_patient_bundle",
  "title": "Fetch mCODE Patient Bundle for a given Patient",
  "status": "draft",
  "kind": "operation",
  "date": "2022-01-18T03:17:40+00:00",
  "publisher": "HL7 International Clinical Interoperability Council",
  "contact": [
    {
      "name": "HL7 International Clinical Interoperability Council",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/cic"
        },
        {
          "system": "email",
          "value": "ciclist@lists.HL7.org"
        }
      ]
    }
  ],
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "US",
          "display": "United States of America"
        }
      ]
    }
  ],
  "code": "mcode-everything",
  "resource": [
    "Patient"
  ],
  "system": false,
  "type": false,
  "instance": true,
  "parameter": [
    {
      "name": "id",
      "use": "in",
      "min": 1,
      "max": "1",
      "documentation": "Patient ID",
      "type": "string"
    },
    {
      "name": "start",
      "use": "in",
      "min": 0,
      "max": "1",
      "documentation": "The date range relates to filtering by date for a subset of resources in the Bundle. If no start date is provided, all records prior to the end date are in scope. Filtering is inclusive (i.e., if `start=2020-01-01`, records from January 1, 2020 are in scope).",
      "type": "date"
    },
    {
      "name": "end",
      "use": "in",
      "min": 0,
      "max": "1",
      "documentation": "The date range relates to filtering by date for a subset of resources in the Bundle. If no end date is provided, all records subsequent to the start date are in scope.  Filtering is inclusive (i.e., if `end=2020-09-01`, records from September 1, 2020 are in scope).",
      "type": "date"
    },
    {
      "name": "return",
      "use": "out",
      "min": 1,
      "max": "1",
      "documentation": "A Bundle conforming to [`MCODEPatientBundle`](StructureDefinition-mcode-patient-bundle.html).",
      "type": "Bundle"
    }
  ]
}