For clean Markdown of any page, append .md to the page URL. For a complete documentation index, see https://docs.rebateright.com.au/api-reference/dva/llms.txt. For full documentation content, see https://docs.rebateright.com.au/api-reference/dva/llms-full.txt.

# DVA Claim — Pathology

POST https://api.rebateright.com.au/Medicare/dvaclaim/pathology/v1
Content-Type: application/json

> 🚧 **Coming Soon** — This endpoint is not yet available.
> RebateRight is completing DVA certification. Availability will be announced when certification is complete.

Submit a DVA pathology claim. Set `serviceTypeCode` to `P`.

Each pathology service requires a collection date/time (`collectionDateTime`) and accession date/time (`accessionDateTime`). These must both be supplied together and must not be after the medical event date/time.

#### Referral Requirement

Each medical event must satisfy one of:
- A pathology request (`referral` with `typeCode: P`)
- `referralOverrideCode: N` (not required)
- `selfDeemedCode: SD` on at least one service

#### Claim ID

On success, pathology claims submitted in hospital return a `claimId` prefixed with `#` (e.g. `#9876@`). Out-of-hospital pathology returns an alpha prefix (e.g. `D0744@`).

#### Status Codes

| Code | Meaning |
|---|---|
| `9202` | Field-level validation failure — see `serviceMessage` for detail |
| `9006` | Provider not authorised for this function |
| `9777` | Duplicate transaction ID — resubmit with a unique transaction ID |
| `3004` | Daily claim limit of 2,500 reached for this payee provider and location |


Reference: https://docs.rebateright.com.au/api-reference/dva/dva-claim-pathology

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /Medicare/dvaclaim/pathology/v1:
    post:
      operationId: dva-claim-pathology
      summary: DVA Claim — Pathology
      description: >
        > 🚧 **Coming Soon** — This endpoint is not yet available.

        > RebateRight is completing DVA certification. Availability will be
        announced when certification is complete.


        Submit a DVA pathology claim. Set `serviceTypeCode` to `P`.


        Each pathology service requires a collection date/time
        (`collectionDateTime`) and accession date/time (`accessionDateTime`).
        These must both be supplied together and must not be after the medical
        event date/time.


        #### Referral Requirement


        Each medical event must satisfy one of:

        - A pathology request (`referral` with `typeCode: P`)

        - `referralOverrideCode: N` (not required)

        - `selfDeemedCode: SD` on at least one service


        #### Claim ID


        On success, pathology claims submitted in hospital return a `claimId`
        prefixed with `#` (e.g. `#9876@`). Out-of-hospital pathology returns an
        alpha prefix (e.g. `D0744@`).


        #### Status Codes


        | Code | Meaning |

        |---|---|

        | `9202` | Field-level validation failure — see `serviceMessage` for
        detail |

        | `9006` | Provider not authorised for this function |

        | `9777` | Duplicate transaction ID — resubmit with a unique transaction
        ID |

        | `3004` | Daily claim limit of 2,500 reached for this payee provider
        and location |
      tags:
        - subpackage_dva
      parameters:
        - name: x-api-key
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DVA_DVA Claim — Pathology_Response_200'
        '400':
          description: >-
            Validation or business-rule failure; body includes `serviceMessage`
            entries and `correlationId`.
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/PostMedicareDvaclaimPathologyV1RequestBadRequestError
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                correlationId:
                  type: string
                  description: >-
                    Optional. Supply a unique transaction ID in the format
                    `urn:uuid:{MinorId}{16 hex chars}` (33 characters total,
                    e.g. `urn:uuid:MDE00000a1b2c3d4e5f6a7b8`). If the same
                    `correlationId` is submitted twice, the second request is
                    rejected with error `9777`. If omitted, RebateRight
                    generates one automatically.
                claim:
                  $ref: >-
                    #/components/schemas/MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaim
              required:
                - claim
servers:
  - url: https://api.rebateright.com.au
  - url: https://test-api.rebateright.com.au
components:
  schemas:
    MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimServiceTypeCode:
      type: string
      enum:
        - P
      description: |
        Use **P** for pathology DVA claims.

        | Code | Meaning |
        |------|---------|
        | P | Pathology services |
      title: >-
        MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimServiceTypeCode
    MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimHospitalInd:
      type: string
      enum:
        - 'Y'
      description: >
        Optional. Set **Y** if the service was rendered within a hospital
        facility.


        | Code | Meaning |

        |------|---------|

        | Y | In-hospital |
      title: >-
        MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimHospitalInd
    MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimServiceProvider:
      type: object
      properties:
        providerNumber:
          type: string
          description: >-
            Provider number of the practitioner who rendered the service.
            6-digit stem + 1 location character + 1 check digit (e.g.
            `2447781L`).
      required:
        - providerNumber
      title: >-
        MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimServiceProvider
    MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimPayeeProvider:
      type: object
      properties:
        providerNumber:
          type: string
          description: 6-digit stem + 1 location character + 1 check digit.
      description: >-
        Optional. The provider to whom the benefit will be paid, if different
        from the servicing provider. Must have a different provider stem (first
        6 characters).
      title: >-
        MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimPayeeProvider
    MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsReferralOverrideCode:
      type: string
      enum:
        - 'N'
      description: >
        Use **N** when no pathology referral is supplied. Do not set together
        with **referral**.


        | Code | Meaning |

        |------|---------|

        | N | Referral not required |
      title: >-
        MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsReferralOverrideCode
    MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsSubmissionAuthorityInd:
      type: string
      enum:
        - 'Y'
      description: >
        Must be **Y** — confirms the claim was authorised for submission by the
        provider.


        | Code | Meaning |

        |------|---------|

        | Y | Authorised for submission |
      title: >-
        MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsSubmissionAuthorityInd
    MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsAcceptedDisabilityInd:
      type: string
      enum:
        - 'Y'
      description: |
        Must be **Y** — service is for a condition covered by a **White Card**.

        | Code | Meaning |
        |------|---------|
        | Y | White Card condition |
      title: >-
        MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsAcceptedDisabilityInd
    MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsAcceptedDisability:
      type: object
      properties:
        ind:
          $ref: >-
            #/components/schemas/MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsAcceptedDisabilityInd
          description: >
            Must be **Y** — service is for a condition covered by a **White
            Card**.


            | Code | Meaning |

            |------|---------|

            | Y | White Card condition |
        code:
          type: string
          description: >-
            Description of the condition treated. Alphanumeric and special
            characters (`: ; , . -`) allowed. First character must be alpha or
            numeric. 1–100 characters.
      required:
        - ind
        - code
      title: >-
        MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsAcceptedDisability
    MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsReferralTypeCode:
      type: string
      enum:
        - P
      description: |
        Must be **P** on the pathology request.

        | Code | Meaning |
        |------|---------|
        | P | Pathology request |
      title: >-
        MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsReferralTypeCode
    MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsReferralProvider:
      type: object
      properties:
        providerNumber:
          type: string
          description: >-
            Provider number of the requesting practitioner. Must differ from
            both service and payee providers.
      required:
        - providerNumber
      title: >-
        MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsReferralProvider
    MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsReferral:
      type: object
      properties:
        issueDate:
          type: string
          format: date
          description: >-
            Date the request was issued. Must not be in the future, after
            `medicalEventDate`, or before patient DOB.
        typeCode:
          $ref: >-
            #/components/schemas/MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsReferralTypeCode
          description: |
            Must be **P** on the pathology request.

            | Code | Meaning |
            |------|---------|
            | P | Pathology request |
        provider:
          $ref: >-
            #/components/schemas/MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsReferralProvider
      description: >-
        Pathology request details. Required unless `referralOverrideCode` or
        `selfDeemedCode` is used instead.
      title: >-
        MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsReferral
    MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsPatientIdentitySex:
      type: string
      enum:
        - '1'
        - '2'
        - '3'
        - '9'
      description: |
        Patient sex (Services Australia coding).

        | Code | Meaning |
        |------|---------|
        | 1 | Male |
        | 2 | Female |
        | 3 | Other |
        | 9 | Not stated |
      title: >-
        MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsPatientIdentitySex
    MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsPatientIdentity:
      type: object
      properties:
        dateOfBirth:
          type: string
          format: date
          description: >-
            Must not be in the future, more than 130 years in the past, or after
            `medicalEventDate`.
        familyName:
          type: string
          description: >-
            1–40 characters. Alpha, numeric, spaces, apostrophes and hyphens
            only.
        givenName:
          type: string
          description: >-
            1–40 characters. Alpha, numeric, spaces, apostrophes and hyphens
            only. Use `*Onlyname*` if the patient has only one name.
        sex:
          $ref: >-
            #/components/schemas/MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsPatientIdentitySex
          description: |
            Patient sex (Services Australia coding).

            | Code | Meaning |
            |------|---------|
            | 1 | Male |
            | 2 | Female |
            | 3 | Other |
            | 9 | Not stated |
      required:
        - dateOfBirth
        - familyName
        - givenName
        - sex
      title: >-
        MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsPatientIdentity
    MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsPatientResidentialAddress:
      type: object
      properties:
        locality:
          type: string
          description: >-
            Suburb or town. 1–40 characters. Do not include the state code as a
            separate value.
        postcode:
          type: string
          description: 4-digit postcode. Must not be `0000`.
      description: Optional. If provided, both fields are required.
      title: >-
        MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsPatientResidentialAddress
    MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsPatientVeteranMembership:
      type: object
      properties:
        veteranNumber:
          type: string
          description: >-
            DVA file number (e.g. `NX901667`). 3–9 characters total, no spaces
            within the file number.
      description: Optional for pathology claims.
      title: >-
        MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsPatientVeteranMembership
    MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsPatient:
      type: object
      properties:
        identity:
          $ref: >-
            #/components/schemas/MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsPatientIdentity
        residentialAddress:
          $ref: >-
            #/components/schemas/MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsPatientResidentialAddress
          description: Optional. If provided, both fields are required.
        veteranMembership:
          $ref: >-
            #/components/schemas/MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsPatientVeteranMembership
          description: Optional for pathology claims.
      required:
        - identity
      title: >-
        MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsPatient
    MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsServiceItemsSelfDeemedCode:
      type: string
      enum:
        - SD
      description: >
        Optional. Self-deemed additional tests by a consultant physician. Cannot
        be set when

        **referralOverrideCode** is set.


        | Code | Meaning |

        |------|---------|

        | SD | Self deemed — additional service to a valid request |
      title: >-
        MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsServiceItemsSelfDeemedCode
    MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsServiceItemsRule3ExemptInd:
      type: string
      enum:
        - 'Y'
      description: >
        Optional. Set **Y** if the service is exempt from MBS Rule 3. Requires
        **medicalEventTime**.

        Cannot be set together with **s4b3ExemptInd**.


        | Code | Meaning |

        |------|---------|

        | Y | Rule 3 exempt |
      title: >-
        MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsServiceItemsRule3ExemptInd
    MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsServiceItemsS4B3ExemptInd:
      type: string
      enum:
        - 'Y'
      description: >
        Optional. Set **Y** if exempt from S4b3 assessing requirements. Requires
        **hospitalInd**

        **Y** on the claim and both **collectionDateTime** and
        **accessionDateTime** on every service

        in the medical event. Cannot be set together with **rule3ExemptInd**.


        | Code | Meaning |

        |------|---------|

        | Y | S4b3 exempt |
      title: >-
        MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsServiceItemsS4B3ExemptInd
    MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsServiceItems:
      type: object
      properties:
        id:
          type: string
          description: >-
            4-character alphanumeric identifier, unique within the claim (e.g.
            `0001`).
        itemNumber:
          type: string
          description: MBS or DVA pathology item number. 1–5 characters.
        chargeAmount:
          type: string
          description: Charge in cents. Minimum `100` ($1.00).
        collectionDateTime:
          type: string
          format: date-time
          description: >-
            Date and time the pathology sample was collected. Must not be after
            `accessionDateTime`, before patient DOB, or before referral issue
            date. Must be a valid Australian timezone offset. Required together
            with `accessionDateTime`.
        accessionDateTime:
          type: string
          format: date-time
          description: >-
            Date and time the pathology test was performed. Must not be after
            `medicalEventDate` (or time if supplied) or after `createDateTime`.
            Must be a valid Australian timezone offset. Required together with
            `collectionDateTime`.
        accountReferenceNumber:
          type: string
          description: >-
            Optional. Invoice or medical record reference. 1–8 alphanumeric
            characters, no spaces.
        scpId:
          type: string
          description: >-
            Optional. Specimen Collection Point ID. 3–5 alphanumeric characters.
            Required for pathology claims with a referral or
            `referralOverrideCode: N` or `selfDeemedCode: SD`.
        selfDeemedCode:
          $ref: >-
            #/components/schemas/MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsServiceItemsSelfDeemedCode
          description: >
            Optional. Self-deemed additional tests by a consultant physician.
            Cannot be set when

            **referralOverrideCode** is set.


            | Code | Meaning |

            |------|---------|

            | SD | Self deemed — additional service to a valid request |
        rule3ExemptInd:
          $ref: >-
            #/components/schemas/MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsServiceItemsRule3ExemptInd
          description: >
            Optional. Set **Y** if the service is exempt from MBS Rule 3.
            Requires **medicalEventTime**.

            Cannot be set together with **s4b3ExemptInd**.


            | Code | Meaning |

            |------|---------|

            | Y | Rule 3 exempt |
        s4b3ExemptInd:
          $ref: >-
            #/components/schemas/MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsServiceItemsS4B3ExemptInd
          description: >
            Optional. Set **Y** if exempt from S4b3 assessing requirements.
            Requires **hospitalInd**

            **Y** on the claim and both **collectionDateTime** and
            **accessionDateTime** on every service

            in the medical event. Cannot be set together with
            **rule3ExemptInd**.


            | Code | Meaning |

            |------|---------|

            | Y | S4b3 exempt |
        text:
          type: string
          description: Optional. Free text for additional information. 1–100 characters.
      required:
        - id
        - itemNumber
        - chargeAmount
        - collectionDateTime
        - accessionDateTime
      title: >-
        MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsServiceItems
    MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItems:
      type: object
      properties:
        id:
          type: string
          description: >-
            Sequential numeric identifier for this medical event. Must start at
            `01` and increment by 1.
        authorisationDate:
          type: string
          format: date
          description: >-
            Date the claim was authorised. Must not be in the future or before
            `medicalEventDate`.
        createDateTime:
          type: string
          format: date-time
          description: >-
            Date and time the medical event record was created. Must not be in
            the future or before `medicalEventDate`. Must be a valid Australian
            timezone offset.
        medicalEventDate:
          type: string
          format: date
          description: >-
            Date the service was rendered. Must not be in the future or more
            than 2 years in the past.
        medicalEventTime:
          type: string
          description: >-
            Optional. Time the service was rendered. Required when
            `rule3ExemptInd` is set on any service.
        referralOverrideCode:
          $ref: >-
            #/components/schemas/MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsReferralOverrideCode
          description: >
            Use **N** when no pathology referral is supplied. Do not set
            together with **referral**.


            | Code | Meaning |

            |------|---------|

            | N | Referral not required |
        submissionAuthorityInd:
          $ref: >-
            #/components/schemas/MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsSubmissionAuthorityInd
          description: >
            Must be **Y** — confirms the claim was authorised for submission by
            the provider.


            | Code | Meaning |

            |------|---------|

            | Y | Authorised for submission |
        acceptedDisability:
          $ref: >-
            #/components/schemas/MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsAcceptedDisability
        referral:
          $ref: >-
            #/components/schemas/MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsReferral
          description: >-
            Pathology request details. Required unless `referralOverrideCode` or
            `selfDeemedCode` is used instead.
        patient:
          $ref: >-
            #/components/schemas/MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsPatient
        service:
          type: array
          items:
            $ref: >-
              #/components/schemas/MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItemsServiceItems
          description: >-
            One or more pathology services. Maximum 14 per medical event. All
            services in a medical event must share the same LSPN if set.
      required:
        - id
        - authorisationDate
        - createDateTime
        - medicalEventDate
        - submissionAuthorityInd
        - acceptedDisability
        - patient
        - service
      title: >-
        MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItems
    MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaim:
      type: object
      properties:
        serviceTypeCode:
          $ref: >-
            #/components/schemas/MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimServiceTypeCode
          description: |
            Use **P** for pathology DVA claims.

            | Code | Meaning |
            |------|---------|
            | P | Pathology services |
        hospitalInd:
          $ref: >-
            #/components/schemas/MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimHospitalInd
          description: >
            Optional. Set **Y** if the service was rendered within a hospital
            facility.


            | Code | Meaning |

            |------|---------|

            | Y | In-hospital |
        serviceProvider:
          $ref: >-
            #/components/schemas/MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimServiceProvider
        payeeProvider:
          $ref: >-
            #/components/schemas/MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimPayeeProvider
          description: >-
            Optional. The provider to whom the benefit will be paid, if
            different from the servicing provider. Must have a different
            provider stem (first 6 characters).
        medicalEvent:
          type: array
          items:
            $ref: >-
              #/components/schemas/MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaimMedicalEventItems
          description: One or more medical events. Maximum 80 per claim.
      required:
        - serviceTypeCode
        - serviceProvider
        - medicalEvent
      title: >-
        MedicareDvaclaimPathologyV1PostRequestBodyContentApplicationJsonSchemaClaim
    DVA_DVA Claim — Pathology_Response_200:
      type: object
      properties:
        claimId:
          type: string
          description: >-
            Unique claim identifier. Out-of-hospital pathology uses an alpha
            prefix (e.g. `D0744@`); in-hospital pathology uses `#` prefix (e.g.
            `#9876@`).
        status:
          type: string
          description: Always `SUCCESS` on a successful submission.
        correlationId:
          type: string
      title: DVA_DVA Claim — Pathology_Response_200
    MedicareDvaclaimPathologyV1PostResponsesContentApplicationJsonSchemaServiceMessageItems:
      type: object
      properties:
        code:
          type: string
        severity:
          type: string
        reason:
          type: string
      title: >-
        MedicareDvaclaimPathologyV1PostResponsesContentApplicationJsonSchemaServiceMessageItems
    PostMedicareDvaclaimPathologyV1RequestBadRequestError:
      type: object
      properties:
        highestSeverity:
          type: string
        serviceMessage:
          type: array
          items:
            $ref: >-
              #/components/schemas/MedicareDvaclaimPathologyV1PostResponsesContentApplicationJsonSchemaServiceMessageItems
        correlationId:
          type: string
      required:
        - highestSeverity
        - serviceMessage
        - correlationId
      title: PostMedicareDvaclaimPathologyV1RequestBadRequestError
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
    minorId:
      type: apiKey
      in: header
      name: x-minor-id

```

## SDK Code Examples

```python Referral
import requests

url = "https://api.rebateright.com.au/Medicare/dvaclaim/pathology/v1"

payload = { "claim": {
        "serviceTypeCode": "P",
        "serviceProvider": { "providerNumber": "2447781L" },
        "medicalEvent": [
            {
                "id": "01",
                "authorisationDate": "2026-04-09",
                "createDateTime": "2026-04-09T10:00:00+10:00",
                "medicalEventDate": "2026-04-09",
                "submissionAuthorityInd": "Y",
                "acceptedDisability": {
                    "ind": "Y",
                    "code": "OSTEOARTHRITIS"
                },
                "patient": {
                    "identity": {
                        "dateOfBirth": "1958-09-27",
                        "familyName": "IAN",
                        "givenName": "JANET",
                        "sex": "2"
                    },
                    "veteranMembership": { "veteranNumber": "NX901667" }
                },
                "service": [
                    {
                        "id": "0001",
                        "itemNumber": "65060",
                        "chargeAmount": "5000",
                        "collectionDateTime": "2026-04-09T08:00:00+10:00",
                        "accessionDateTime": "2026-04-09T09:00:00+10:00"
                    }
                ],
                "referral": {
                    "issueDate": "2026-01-01",
                    "typeCode": "P",
                    "provider": { "providerNumber": "2054781W" }
                }
            }
        ]
    } }
headers = {
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Referral
const url = 'https://api.rebateright.com.au/Medicare/dvaclaim/pathology/v1';
const options = {
  method: 'POST',
  headers: {'x-api-key': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{"claim":{"serviceTypeCode":"P","serviceProvider":{"providerNumber":"2447781L"},"medicalEvent":[{"id":"01","authorisationDate":"2026-04-09","createDateTime":"2026-04-09T10:00:00+10:00","medicalEventDate":"2026-04-09","submissionAuthorityInd":"Y","acceptedDisability":{"ind":"Y","code":"OSTEOARTHRITIS"},"patient":{"identity":{"dateOfBirth":"1958-09-27","familyName":"IAN","givenName":"JANET","sex":"2"},"veteranMembership":{"veteranNumber":"NX901667"}},"service":[{"id":"0001","itemNumber":"65060","chargeAmount":"5000","collectionDateTime":"2026-04-09T08:00:00+10:00","accessionDateTime":"2026-04-09T09:00:00+10:00"}],"referral":{"issueDate":"2026-01-01","typeCode":"P","provider":{"providerNumber":"2054781W"}}}]}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Referral
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.rebateright.com.au/Medicare/dvaclaim/pathology/v1"

	payload := strings.NewReader("{\n  \"claim\": {\n    \"serviceTypeCode\": \"P\",\n    \"serviceProvider\": {\n      \"providerNumber\": \"2447781L\"\n    },\n    \"medicalEvent\": [\n      {\n        \"id\": \"01\",\n        \"authorisationDate\": \"2026-04-09\",\n        \"createDateTime\": \"2026-04-09T10:00:00+10:00\",\n        \"medicalEventDate\": \"2026-04-09\",\n        \"submissionAuthorityInd\": \"Y\",\n        \"acceptedDisability\": {\n          \"ind\": \"Y\",\n          \"code\": \"OSTEOARTHRITIS\"\n        },\n        \"patient\": {\n          \"identity\": {\n            \"dateOfBirth\": \"1958-09-27\",\n            \"familyName\": \"IAN\",\n            \"givenName\": \"JANET\",\n            \"sex\": \"2\"\n          },\n          \"veteranMembership\": {\n            \"veteranNumber\": \"NX901667\"\n          }\n        },\n        \"service\": [\n          {\n            \"id\": \"0001\",\n            \"itemNumber\": \"65060\",\n            \"chargeAmount\": \"5000\",\n            \"collectionDateTime\": \"2026-04-09T08:00:00+10:00\",\n            \"accessionDateTime\": \"2026-04-09T09:00:00+10:00\"\n          }\n        ],\n        \"referral\": {\n          \"issueDate\": \"2026-01-01\",\n          \"typeCode\": \"P\",\n          \"provider\": {\n            \"providerNumber\": \"2054781W\"\n          }\n        }\n      }\n    ]\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("x-api-key", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Referral
require 'uri'
require 'net/http'

url = URI("https://api.rebateright.com.au/Medicare/dvaclaim/pathology/v1")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"claim\": {\n    \"serviceTypeCode\": \"P\",\n    \"serviceProvider\": {\n      \"providerNumber\": \"2447781L\"\n    },\n    \"medicalEvent\": [\n      {\n        \"id\": \"01\",\n        \"authorisationDate\": \"2026-04-09\",\n        \"createDateTime\": \"2026-04-09T10:00:00+10:00\",\n        \"medicalEventDate\": \"2026-04-09\",\n        \"submissionAuthorityInd\": \"Y\",\n        \"acceptedDisability\": {\n          \"ind\": \"Y\",\n          \"code\": \"OSTEOARTHRITIS\"\n        },\n        \"patient\": {\n          \"identity\": {\n            \"dateOfBirth\": \"1958-09-27\",\n            \"familyName\": \"IAN\",\n            \"givenName\": \"JANET\",\n            \"sex\": \"2\"\n          },\n          \"veteranMembership\": {\n            \"veteranNumber\": \"NX901667\"\n          }\n        },\n        \"service\": [\n          {\n            \"id\": \"0001\",\n            \"itemNumber\": \"65060\",\n            \"chargeAmount\": \"5000\",\n            \"collectionDateTime\": \"2026-04-09T08:00:00+10:00\",\n            \"accessionDateTime\": \"2026-04-09T09:00:00+10:00\"\n          }\n        ],\n        \"referral\": {\n          \"issueDate\": \"2026-01-01\",\n          \"typeCode\": \"P\",\n          \"provider\": {\n            \"providerNumber\": \"2054781W\"\n          }\n        }\n      }\n    ]\n  }\n}"

response = http.request(request)
puts response.read_body
```

```java Referral
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.rebateright.com.au/Medicare/dvaclaim/pathology/v1")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"claim\": {\n    \"serviceTypeCode\": \"P\",\n    \"serviceProvider\": {\n      \"providerNumber\": \"2447781L\"\n    },\n    \"medicalEvent\": [\n      {\n        \"id\": \"01\",\n        \"authorisationDate\": \"2026-04-09\",\n        \"createDateTime\": \"2026-04-09T10:00:00+10:00\",\n        \"medicalEventDate\": \"2026-04-09\",\n        \"submissionAuthorityInd\": \"Y\",\n        \"acceptedDisability\": {\n          \"ind\": \"Y\",\n          \"code\": \"OSTEOARTHRITIS\"\n        },\n        \"patient\": {\n          \"identity\": {\n            \"dateOfBirth\": \"1958-09-27\",\n            \"familyName\": \"IAN\",\n            \"givenName\": \"JANET\",\n            \"sex\": \"2\"\n          },\n          \"veteranMembership\": {\n            \"veteranNumber\": \"NX901667\"\n          }\n        },\n        \"service\": [\n          {\n            \"id\": \"0001\",\n            \"itemNumber\": \"65060\",\n            \"chargeAmount\": \"5000\",\n            \"collectionDateTime\": \"2026-04-09T08:00:00+10:00\",\n            \"accessionDateTime\": \"2026-04-09T09:00:00+10:00\"\n          }\n        ],\n        \"referral\": {\n          \"issueDate\": \"2026-01-01\",\n          \"typeCode\": \"P\",\n          \"provider\": {\n            \"providerNumber\": \"2054781W\"\n          }\n        }\n      }\n    ]\n  }\n}")
  .asString();
```

```php Referral
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.rebateright.com.au/Medicare/dvaclaim/pathology/v1', [
  'body' => '{
  "claim": {
    "serviceTypeCode": "P",
    "serviceProvider": {
      "providerNumber": "2447781L"
    },
    "medicalEvent": [
      {
        "id": "01",
        "authorisationDate": "2026-04-09",
        "createDateTime": "2026-04-09T10:00:00+10:00",
        "medicalEventDate": "2026-04-09",
        "submissionAuthorityInd": "Y",
        "acceptedDisability": {
          "ind": "Y",
          "code": "OSTEOARTHRITIS"
        },
        "patient": {
          "identity": {
            "dateOfBirth": "1958-09-27",
            "familyName": "IAN",
            "givenName": "JANET",
            "sex": "2"
          },
          "veteranMembership": {
            "veteranNumber": "NX901667"
          }
        },
        "service": [
          {
            "id": "0001",
            "itemNumber": "65060",
            "chargeAmount": "5000",
            "collectionDateTime": "2026-04-09T08:00:00+10:00",
            "accessionDateTime": "2026-04-09T09:00:00+10:00"
          }
        ],
        "referral": {
          "issueDate": "2026-01-01",
          "typeCode": "P",
          "provider": {
            "providerNumber": "2054781W"
          }
        }
      }
    ]
  }
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Referral
using RestSharp;

var client = new RestClient("https://api.rebateright.com.au/Medicare/dvaclaim/pathology/v1");
var request = new RestRequest(Method.POST);
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"claim\": {\n    \"serviceTypeCode\": \"P\",\n    \"serviceProvider\": {\n      \"providerNumber\": \"2447781L\"\n    },\n    \"medicalEvent\": [\n      {\n        \"id\": \"01\",\n        \"authorisationDate\": \"2026-04-09\",\n        \"createDateTime\": \"2026-04-09T10:00:00+10:00\",\n        \"medicalEventDate\": \"2026-04-09\",\n        \"submissionAuthorityInd\": \"Y\",\n        \"acceptedDisability\": {\n          \"ind\": \"Y\",\n          \"code\": \"OSTEOARTHRITIS\"\n        },\n        \"patient\": {\n          \"identity\": {\n            \"dateOfBirth\": \"1958-09-27\",\n            \"familyName\": \"IAN\",\n            \"givenName\": \"JANET\",\n            \"sex\": \"2\"\n          },\n          \"veteranMembership\": {\n            \"veteranNumber\": \"NX901667\"\n          }\n        },\n        \"service\": [\n          {\n            \"id\": \"0001\",\n            \"itemNumber\": \"65060\",\n            \"chargeAmount\": \"5000\",\n            \"collectionDateTime\": \"2026-04-09T08:00:00+10:00\",\n            \"accessionDateTime\": \"2026-04-09T09:00:00+10:00\"\n          }\n        ],\n        \"referral\": {\n          \"issueDate\": \"2026-01-01\",\n          \"typeCode\": \"P\",\n          \"provider\": {\n            \"providerNumber\": \"2054781W\"\n          }\n        }\n      }\n    ]\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Referral
import Foundation

let headers = [
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = ["claim": [
    "serviceTypeCode": "P",
    "serviceProvider": ["providerNumber": "2447781L"],
    "medicalEvent": [
      [
        "id": "01",
        "authorisationDate": "2026-04-09",
        "createDateTime": "2026-04-09T10:00:00+10:00",
        "medicalEventDate": "2026-04-09",
        "submissionAuthorityInd": "Y",
        "acceptedDisability": [
          "ind": "Y",
          "code": "OSTEOARTHRITIS"
        ],
        "patient": [
          "identity": [
            "dateOfBirth": "1958-09-27",
            "familyName": "IAN",
            "givenName": "JANET",
            "sex": "2"
          ],
          "veteranMembership": ["veteranNumber": "NX901667"]
        ],
        "service": [
          [
            "id": "0001",
            "itemNumber": "65060",
            "chargeAmount": "5000",
            "collectionDateTime": "2026-04-09T08:00:00+10:00",
            "accessionDateTime": "2026-04-09T09:00:00+10:00"
          ]
        ],
        "referral": [
          "issueDate": "2026-01-01",
          "typeCode": "P",
          "provider": ["providerNumber": "2054781W"]
        ]
      ]
    ]
  ]] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.rebateright.com.au/Medicare/dvaclaim/pathology/v1")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

```python Override Not Required
import requests

url = "https://api.rebateright.com.au/Medicare/dvaclaim/pathology/v1"

payload = { "claim": {
        "serviceTypeCode": "P",
        "serviceProvider": { "providerNumber": "2447781L" },
        "medicalEvent": [
            {
                "id": "01",
                "authorisationDate": "2026-04-09",
                "createDateTime": "2026-04-09T10:00:00+10:00",
                "medicalEventDate": "2026-04-09",
                "submissionAuthorityInd": "Y",
                "acceptedDisability": {
                    "ind": "Y",
                    "code": "DIABETES"
                },
                "patient": {
                    "identity": {
                        "dateOfBirth": "1965-01-10",
                        "familyName": "ESME",
                        "givenName": "RODERICK",
                        "sex": "1"
                    },
                    "veteranMembership": { "veteranNumber": "NX901669" }
                },
                "service": [
                    {
                        "id": "0001",
                        "itemNumber": "65060",
                        "chargeAmount": "8000",
                        "collectionDateTime": "2026-04-09T08:00:00+10:00",
                        "accessionDateTime": "2026-04-09T09:00:00+10:00",
                        "scpId": "00001"
                    }
                ],
                "referralOverrideCode": "N"
            }
        ]
    } }
headers = {
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Override Not Required
const url = 'https://api.rebateright.com.au/Medicare/dvaclaim/pathology/v1';
const options = {
  method: 'POST',
  headers: {'x-api-key': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{"claim":{"serviceTypeCode":"P","serviceProvider":{"providerNumber":"2447781L"},"medicalEvent":[{"id":"01","authorisationDate":"2026-04-09","createDateTime":"2026-04-09T10:00:00+10:00","medicalEventDate":"2026-04-09","submissionAuthorityInd":"Y","acceptedDisability":{"ind":"Y","code":"DIABETES"},"patient":{"identity":{"dateOfBirth":"1965-01-10","familyName":"ESME","givenName":"RODERICK","sex":"1"},"veteranMembership":{"veteranNumber":"NX901669"}},"service":[{"id":"0001","itemNumber":"65060","chargeAmount":"8000","collectionDateTime":"2026-04-09T08:00:00+10:00","accessionDateTime":"2026-04-09T09:00:00+10:00","scpId":"00001"}],"referralOverrideCode":"N"}]}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Override Not Required
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.rebateright.com.au/Medicare/dvaclaim/pathology/v1"

	payload := strings.NewReader("{\n  \"claim\": {\n    \"serviceTypeCode\": \"P\",\n    \"serviceProvider\": {\n      \"providerNumber\": \"2447781L\"\n    },\n    \"medicalEvent\": [\n      {\n        \"id\": \"01\",\n        \"authorisationDate\": \"2026-04-09\",\n        \"createDateTime\": \"2026-04-09T10:00:00+10:00\",\n        \"medicalEventDate\": \"2026-04-09\",\n        \"submissionAuthorityInd\": \"Y\",\n        \"acceptedDisability\": {\n          \"ind\": \"Y\",\n          \"code\": \"DIABETES\"\n        },\n        \"patient\": {\n          \"identity\": {\n            \"dateOfBirth\": \"1965-01-10\",\n            \"familyName\": \"ESME\",\n            \"givenName\": \"RODERICK\",\n            \"sex\": \"1\"\n          },\n          \"veteranMembership\": {\n            \"veteranNumber\": \"NX901669\"\n          }\n        },\n        \"service\": [\n          {\n            \"id\": \"0001\",\n            \"itemNumber\": \"65060\",\n            \"chargeAmount\": \"8000\",\n            \"collectionDateTime\": \"2026-04-09T08:00:00+10:00\",\n            \"accessionDateTime\": \"2026-04-09T09:00:00+10:00\",\n            \"scpId\": \"00001\"\n          }\n        ],\n        \"referralOverrideCode\": \"N\"\n      }\n    ]\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("x-api-key", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Override Not Required
require 'uri'
require 'net/http'

url = URI("https://api.rebateright.com.au/Medicare/dvaclaim/pathology/v1")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"claim\": {\n    \"serviceTypeCode\": \"P\",\n    \"serviceProvider\": {\n      \"providerNumber\": \"2447781L\"\n    },\n    \"medicalEvent\": [\n      {\n        \"id\": \"01\",\n        \"authorisationDate\": \"2026-04-09\",\n        \"createDateTime\": \"2026-04-09T10:00:00+10:00\",\n        \"medicalEventDate\": \"2026-04-09\",\n        \"submissionAuthorityInd\": \"Y\",\n        \"acceptedDisability\": {\n          \"ind\": \"Y\",\n          \"code\": \"DIABETES\"\n        },\n        \"patient\": {\n          \"identity\": {\n            \"dateOfBirth\": \"1965-01-10\",\n            \"familyName\": \"ESME\",\n            \"givenName\": \"RODERICK\",\n            \"sex\": \"1\"\n          },\n          \"veteranMembership\": {\n            \"veteranNumber\": \"NX901669\"\n          }\n        },\n        \"service\": [\n          {\n            \"id\": \"0001\",\n            \"itemNumber\": \"65060\",\n            \"chargeAmount\": \"8000\",\n            \"collectionDateTime\": \"2026-04-09T08:00:00+10:00\",\n            \"accessionDateTime\": \"2026-04-09T09:00:00+10:00\",\n            \"scpId\": \"00001\"\n          }\n        ],\n        \"referralOverrideCode\": \"N\"\n      }\n    ]\n  }\n}"

response = http.request(request)
puts response.read_body
```

```java Override Not Required
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.rebateright.com.au/Medicare/dvaclaim/pathology/v1")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"claim\": {\n    \"serviceTypeCode\": \"P\",\n    \"serviceProvider\": {\n      \"providerNumber\": \"2447781L\"\n    },\n    \"medicalEvent\": [\n      {\n        \"id\": \"01\",\n        \"authorisationDate\": \"2026-04-09\",\n        \"createDateTime\": \"2026-04-09T10:00:00+10:00\",\n        \"medicalEventDate\": \"2026-04-09\",\n        \"submissionAuthorityInd\": \"Y\",\n        \"acceptedDisability\": {\n          \"ind\": \"Y\",\n          \"code\": \"DIABETES\"\n        },\n        \"patient\": {\n          \"identity\": {\n            \"dateOfBirth\": \"1965-01-10\",\n            \"familyName\": \"ESME\",\n            \"givenName\": \"RODERICK\",\n            \"sex\": \"1\"\n          },\n          \"veteranMembership\": {\n            \"veteranNumber\": \"NX901669\"\n          }\n        },\n        \"service\": [\n          {\n            \"id\": \"0001\",\n            \"itemNumber\": \"65060\",\n            \"chargeAmount\": \"8000\",\n            \"collectionDateTime\": \"2026-04-09T08:00:00+10:00\",\n            \"accessionDateTime\": \"2026-04-09T09:00:00+10:00\",\n            \"scpId\": \"00001\"\n          }\n        ],\n        \"referralOverrideCode\": \"N\"\n      }\n    ]\n  }\n}")
  .asString();
```

```php Override Not Required
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.rebateright.com.au/Medicare/dvaclaim/pathology/v1', [
  'body' => '{
  "claim": {
    "serviceTypeCode": "P",
    "serviceProvider": {
      "providerNumber": "2447781L"
    },
    "medicalEvent": [
      {
        "id": "01",
        "authorisationDate": "2026-04-09",
        "createDateTime": "2026-04-09T10:00:00+10:00",
        "medicalEventDate": "2026-04-09",
        "submissionAuthorityInd": "Y",
        "acceptedDisability": {
          "ind": "Y",
          "code": "DIABETES"
        },
        "patient": {
          "identity": {
            "dateOfBirth": "1965-01-10",
            "familyName": "ESME",
            "givenName": "RODERICK",
            "sex": "1"
          },
          "veteranMembership": {
            "veteranNumber": "NX901669"
          }
        },
        "service": [
          {
            "id": "0001",
            "itemNumber": "65060",
            "chargeAmount": "8000",
            "collectionDateTime": "2026-04-09T08:00:00+10:00",
            "accessionDateTime": "2026-04-09T09:00:00+10:00",
            "scpId": "00001"
          }
        ],
        "referralOverrideCode": "N"
      }
    ]
  }
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Override Not Required
using RestSharp;

var client = new RestClient("https://api.rebateright.com.au/Medicare/dvaclaim/pathology/v1");
var request = new RestRequest(Method.POST);
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"claim\": {\n    \"serviceTypeCode\": \"P\",\n    \"serviceProvider\": {\n      \"providerNumber\": \"2447781L\"\n    },\n    \"medicalEvent\": [\n      {\n        \"id\": \"01\",\n        \"authorisationDate\": \"2026-04-09\",\n        \"createDateTime\": \"2026-04-09T10:00:00+10:00\",\n        \"medicalEventDate\": \"2026-04-09\",\n        \"submissionAuthorityInd\": \"Y\",\n        \"acceptedDisability\": {\n          \"ind\": \"Y\",\n          \"code\": \"DIABETES\"\n        },\n        \"patient\": {\n          \"identity\": {\n            \"dateOfBirth\": \"1965-01-10\",\n            \"familyName\": \"ESME\",\n            \"givenName\": \"RODERICK\",\n            \"sex\": \"1\"\n          },\n          \"veteranMembership\": {\n            \"veteranNumber\": \"NX901669\"\n          }\n        },\n        \"service\": [\n          {\n            \"id\": \"0001\",\n            \"itemNumber\": \"65060\",\n            \"chargeAmount\": \"8000\",\n            \"collectionDateTime\": \"2026-04-09T08:00:00+10:00\",\n            \"accessionDateTime\": \"2026-04-09T09:00:00+10:00\",\n            \"scpId\": \"00001\"\n          }\n        ],\n        \"referralOverrideCode\": \"N\"\n      }\n    ]\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Override Not Required
import Foundation

let headers = [
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = ["claim": [
    "serviceTypeCode": "P",
    "serviceProvider": ["providerNumber": "2447781L"],
    "medicalEvent": [
      [
        "id": "01",
        "authorisationDate": "2026-04-09",
        "createDateTime": "2026-04-09T10:00:00+10:00",
        "medicalEventDate": "2026-04-09",
        "submissionAuthorityInd": "Y",
        "acceptedDisability": [
          "ind": "Y",
          "code": "DIABETES"
        ],
        "patient": [
          "identity": [
            "dateOfBirth": "1965-01-10",
            "familyName": "ESME",
            "givenName": "RODERICK",
            "sex": "1"
          ],
          "veteranMembership": ["veteranNumber": "NX901669"]
        ],
        "service": [
          [
            "id": "0001",
            "itemNumber": "65060",
            "chargeAmount": "8000",
            "collectionDateTime": "2026-04-09T08:00:00+10:00",
            "accessionDateTime": "2026-04-09T09:00:00+10:00",
            "scpId": "00001"
          ]
        ],
        "referralOverrideCode": "N"
      ]
    ]
  ]] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.rebateright.com.au/Medicare/dvaclaim/pathology/v1")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```