{
  "resourceType": "CapabilityStatement",
  "id": "mcode-sender-patients-with-cancer-condition",
  "text": {
    "status": "extensions",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>CapabilityStatementSenderPatientsWithCancerCondition</h2><div><p>Uses reverse chaining to retrieve a Bundle of Patient resources with a condition code in mCODE's cancer condition value set.</p>\n</div><table><tr><td>Mode</td><td>SERVER</td></tr><tr><td>Description</td><td/></tr><tr><td>Transaction</td><td></td></tr><tr><td>System History</td><td></td></tr><tr><td>System Search</td><td></td></tr></table><table><tr><th><b>Resource Type</b></th><th><b>Profile</b></th><th><b title=\"GET a resource (read interaction)\">Read</b></th><th><b title=\"GET all set of resources of the type (search interaction)\">Search</b></th><th><b title=\"PUT a new resource version (update interaction)\">Update</b></th><th><b title=\"POST a new resource (create interaction)\">Create</b></th></tr><tr><td>Patient</td><td>y</td><td>y</td><td></td><td></td></tr><tr><td>Group</td><td></td><td>y</td><td></td><td></td></tr></table></div>"
  },
  "url": "http://hl7.org/fhir/us/mcode/CapabilityStatement/mcode-sender-patients-with-cancer-condition",
  "version": "1.16.0",
  "name": "CapabilityStatementSenderPatientsWithCancerCondition",
  "title": "mCODE Data Sender CapabilityStatement: Get mCODE Patients using reverse chaining",
  "status": "draft",
  "experimental": true,
  "date": "2020-10-30T07:15:00.000000-04: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"
        }
      ]
    }
  ],
  "description": "Uses reverse chaining to retrieve a Bundle of Patient resources with a condition code in mCODE's cancer condition value set.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "US",
          "display": "United States of America"
        }
      ]
    }
  ],
  "kind": "requirements",
  "fhirVersion": "4.0.1",
  "format": [
    "xml",
    "json"
  ],
  "implementationGuide": [
    "http://hl7.org/fhir/us/mcode/ImplementationGuide/hl7.fhir.us.mcode"
  ],
  "rest": [
    {
      "mode": "server",
      "resource": [
        {
          "type": "Patient",
          "supportedProfile": [
            "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-cancer-patient"
          ],
          "interaction": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "read"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "search-type",
              "documentation": "Identify Patient resources conforming to mCODE's CancerPatient profile via reverse chaining searching for conditions in a specific ValueSet."
            }
          ],
          "searchParam": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "name": "_has:Condition:subject:code:in",
              "type": "uri"
            }
          ]
        },
        {
          "type": "Group",
          "interaction": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "code": "search-type",
              "documentation": "Retrieve Group of references to Patient resources conforming to mCODE."
            }
          ],
          "searchParam": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode": "SHALL"
                }
              ],
              "name": "code",
              "definition": "http://hl7.org/fhir/SearchParameter/Group-code",
              "type": "token"
            }
          ]
        }
      ]
    }
  ]
}