{
  "resourceType": "OperationDefinition",
  "id": "op-paymentnotice-find",
  "url": "https://bpcs.exchange/fhir/OperationDefinition/op-paymentnotice-find",
  "name": "PaymentNoticeFind",
  "title": "Find PaymentNotices",
  "status": "active",
  "kind": "query",
  "experimental": false,
  "description": "Retrieves payment information for a patient or application, potentially filtered by benefit year.  (A custom query is used because the benefit year filter is complex.)",
  "affectsState": false,
  "code": "findPayments",
  "resource": [
    "PaymentNotice"
  ],
  "system": false,
  "type": true,
  "instance": false,
  "outputProfile": "https://bpcs.exchange/fhir/StructureDefinition/profile-Bundle-paymentnotice",
  "parameter": [
    {
      "name": "payee",
      "use": "in",
      "min": 1,
      "max": "1",
      "documentation": "The member or family to whom the payment was made",
      "type": "string",
      "searchType": "reference"
    },
    {
      "name": "year",
      "use": "in",
      "min": 0,
      "max": "1",
      "documentation": "The benefit year for the coverage under which the payment was made",
      "type": "string",
      "searchType": "date"
    },
    {
      "name": "result",
      "use": "out",
      "min": 1,
      "max": "1",
      "documentation": "The results of the search",
      "type": "Bundle"
    }
  ]
}