<OperationDefinition xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas/R5/fhir-single.xsd">
  <id value="op-paymentnotice-find" />
  <url value="https://bpcs.exchange/fhir/OperationDefinition/op-paymentnotice-find" />
  <name value="PaymentNoticeFind" />
  <title value="Find PaymentNotices" />
  <status value="active" />
  <kind value="query" />
  <experimental value="false" />
  <description value="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 value="false" />
  <code value="findPayments" />
  <resource value="PaymentNotice" />
  <system value="false" />
  <type value="true" />
  <instance value="false" />
  <outputProfile value="https://bpcs.exchange/fhir/StructureDefinition/profile-Bundle-paymentnotice" />
  <parameter>
    <name value="payee" />
    <use value="in" />
    <min value="1" />
    <max value="1" />
    <documentation value="The member or family to whom the payment was made" />
    <type value="string" />
    <searchType value="reference" />
  </parameter>
  <parameter>
    <name value="year" />
    <use value="in" />
    <min value="0" />
    <max value="1" />
    <documentation value="The benefit year for the coverage under which the payment was made" />
    <type value="string" />
    <searchType value="date" />
  </parameter>
  <parameter>
    <name value="result" />
    <use value="out" />
    <min value="1" />
    <max value="1" />
    <documentation value="The results of the search" />
    <type value="Bundle" />
  </parameter>
</OperationDefinition>