# PatientClaimInteractive - Pathology

POST https://Medicare/patientclaiminteractive/pathology/v1
Content-Type: application/json

### Patient claim interactive - pathology

Reference: https://developers.rebateright.com.au/rebate-right/advanced/claiming/patient-claim-interactive/patient-claim-interactive-pathology

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /Medicare/patientclaiminteractive/pathology/v1:
    post:
      operationId: patient-claim-interactive-pathology
      summary: PatientClaimInteractive - Pathology
      description: '### Patient claim interactive - pathology'
      tags:
        - >-
          subpackage_advanced.subpackage_advanced/claiming.subpackage_advanced/claiming/patientClaimInteractive
      parameters:
        - name: x-api-key
          in: header
          required: true
          schema:
            type: string
        - name: x-minor-id
          in: header
          required: false
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Advanced_Claiming_Patient Claim
                  Interactive_PatientClaimInteractive - Pathology_Response_200
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/PostMedicarePatientclaiminteractivePathologyV1RequestBadRequestError
      requestBody:
        content:
          application/json:
            schema:
              type: string
servers:
  - url: https:/
components:
  schemas:
    MedicarePatientclaiminteractivePathologyV1PostResponsesContentApplicationJsonSchemaClaimAssessmentMedicalEventItemsServiceItemsError:
      type: object
      properties:
        code:
          type: integer
        text:
          type: string
      required:
        - code
        - text
      title: >-
        MedicarePatientclaiminteractivePathologyV1PostResponsesContentApplicationJsonSchemaClaimAssessmentMedicalEventItemsServiceItemsError
    MedicarePatientclaiminteractivePathologyV1PostResponsesContentApplicationJsonSchemaClaimAssessmentMedicalEventItemsServiceItems:
      type: object
      properties:
        id:
          type: string
        error:
          $ref: >-
            #/components/schemas/MedicarePatientclaiminteractivePathologyV1PostResponsesContentApplicationJsonSchemaClaimAssessmentMedicalEventItemsServiceItemsError
        itemNumber:
          type: string
        chargeAmount:
          type: string
        assessmentCode:
          type: string
      required:
        - id
        - error
        - itemNumber
        - chargeAmount
        - assessmentCode
      title: >-
        MedicarePatientclaiminteractivePathologyV1PostResponsesContentApplicationJsonSchemaClaimAssessmentMedicalEventItemsServiceItems
    MedicarePatientclaiminteractivePathologyV1PostResponsesContentApplicationJsonSchemaClaimAssessmentMedicalEventItems:
      type: object
      properties:
        id:
          type: string
        service:
          type: array
          items:
            $ref: >-
              #/components/schemas/MedicarePatientclaiminteractivePathologyV1PostResponsesContentApplicationJsonSchemaClaimAssessmentMedicalEventItemsServiceItems
        eventDate:
          type: string
          format: date
      required:
        - id
        - service
        - eventDate
      title: >-
        MedicarePatientclaiminteractivePathologyV1PostResponsesContentApplicationJsonSchemaClaimAssessmentMedicalEventItems
    MedicarePatientclaiminteractivePathologyV1PostResponsesContentApplicationJsonSchemaClaimAssessment:
      type: object
      properties:
        claimId:
          type: string
        medicalEvent:
          type: array
          items:
            $ref: >-
              #/components/schemas/MedicarePatientclaiminteractivePathologyV1PostResponsesContentApplicationJsonSchemaClaimAssessmentMedicalEventItems
      required:
        - claimId
        - medicalEvent
      title: >-
        MedicarePatientclaiminteractivePathologyV1PostResponsesContentApplicationJsonSchemaClaimAssessment
    Advanced_Claiming_Patient Claim Interactive_PatientClaimInteractive - Pathology_Response_200:
      type: object
      properties:
        status:
          type: string
        correlationId:
          type: string
        claimAssessment:
          $ref: >-
            #/components/schemas/MedicarePatientclaiminteractivePathologyV1PostResponsesContentApplicationJsonSchemaClaimAssessment
      required:
        - status
        - correlationId
        - claimAssessment
      title: >-
        Advanced_Claiming_Patient Claim Interactive_PatientClaimInteractive -
        Pathology_Response_200
    MedicarePatientclaiminteractivePathologyV1PostResponsesContentApplicationJsonSchemaServiceMessageItems:
      type: object
      properties:
        code:
          type: string
        reason:
          type: string
        severity:
          type: string
      required:
        - code
        - reason
        - severity
      title: >-
        MedicarePatientclaiminteractivePathologyV1PostResponsesContentApplicationJsonSchemaServiceMessageItems
    PostMedicarePatientclaiminteractivePathologyV1RequestBadRequestError:
      type: object
      properties:
        correlationId:
          type: string
        serviceMessage:
          type: array
          items:
            $ref: >-
              #/components/schemas/MedicarePatientclaiminteractivePathologyV1PostResponsesContentApplicationJsonSchemaServiceMessageItems
        highestSeverity:
          type: string
      required:
        - correlationId
        - serviceMessage
        - highestSeverity
      title: PostMedicarePatientclaiminteractivePathologyV1RequestBadRequestError
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

```

## SDK Code Examples

```python Pended
import requests

url = "https://https/Medicare/patientclaiminteractive/pathology/v1"

headers = {
    "x-minor-id": "{{MinorId}}",
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Pended
const url = 'https://https/Medicare/patientclaiminteractive/pathology/v1';
const options = {
  method: 'POST',
  headers: {
    'x-minor-id': '{{MinorId}}',
    'x-api-key': '<apiKey>',
    'Content-Type': 'application/json'
  },
  body: undefined
};

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

```go Pended
package main

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

func main() {

	url := "https://https/Medicare/patientclaiminteractive/pathology/v1"

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

	req.Header.Add("x-minor-id", "{{MinorId}}")
	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 Pended
require 'uri'
require 'net/http'

url = URI("https://https/Medicare/patientclaiminteractive/pathology/v1")

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

request = Net::HTTP::Post.new(url)
request["x-minor-id"] = '{{MinorId}}'
request["x-api-key"] = '<apiKey>'
request["Content-Type"] = 'application/json'

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

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

HttpResponse<String> response = Unirest.post("https://https/Medicare/patientclaiminteractive/pathology/v1")
  .header("x-minor-id", "{{MinorId}}")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://https/Medicare/patientclaiminteractive/pathology/v1', [
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
    'x-minor-id' => '{{MinorId}}',
  ],
]);

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

```csharp Pended
using RestSharp;

var client = new RestClient("https://https/Medicare/patientclaiminteractive/pathology/v1");
var request = new RestRequest(Method.POST);
request.AddHeader("x-minor-id", "{{MinorId}}");
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
IRestResponse response = client.Execute(request);
```

```swift Pended
import Foundation

let headers = [
  "x-minor-id": "{{MinorId}}",
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://https/Medicare/patientclaiminteractive/pathology/v1")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers

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 Pendable - Already Paid
import requests

url = "https://https/Medicare/patientclaiminteractive/pathology/v1"

headers = {
    "x-minor-id": "{{MinorId}}",
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Pendable - Already Paid
const url = 'https://https/Medicare/patientclaiminteractive/pathology/v1';
const options = {
  method: 'POST',
  headers: {
    'x-minor-id': '{{MinorId}}',
    'x-api-key': '<apiKey>',
    'Content-Type': 'application/json'
  },
  body: undefined
};

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

```go Pendable - Already Paid
package main

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

func main() {

	url := "https://https/Medicare/patientclaiminteractive/pathology/v1"

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

	req.Header.Add("x-minor-id", "{{MinorId}}")
	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 Pendable - Already Paid
require 'uri'
require 'net/http'

url = URI("https://https/Medicare/patientclaiminteractive/pathology/v1")

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

request = Net::HTTP::Post.new(url)
request["x-minor-id"] = '{{MinorId}}'
request["x-api-key"] = '<apiKey>'
request["Content-Type"] = 'application/json'

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

```java Pendable - Already Paid
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://https/Medicare/patientclaiminteractive/pathology/v1")
  .header("x-minor-id", "{{MinorId}}")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .asString();
```

```php Pendable - Already Paid
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://https/Medicare/patientclaiminteractive/pathology/v1', [
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
    'x-minor-id' => '{{MinorId}}',
  ],
]);

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

```csharp Pendable - Already Paid
using RestSharp;

var client = new RestClient("https://https/Medicare/patientclaiminteractive/pathology/v1");
var request = new RestRequest(Method.POST);
request.AddHeader("x-minor-id", "{{MinorId}}");
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
IRestResponse response = client.Execute(request);
```

```swift Pendable - Already Paid
import Foundation

let headers = [
  "x-minor-id": "{{MinorId}}",
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://https/Medicare/patientclaiminteractive/pathology/v1")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers

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 Rejected - Unknown Item
import requests

url = "https://https/Medicare/patientclaiminteractive/pathology/v1"

headers = {
    "x-minor-id": "{{MinorId}}",
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Rejected - Unknown Item
const url = 'https://https/Medicare/patientclaiminteractive/pathology/v1';
const options = {
  method: 'POST',
  headers: {
    'x-minor-id': '{{MinorId}}',
    'x-api-key': '<apiKey>',
    'Content-Type': 'application/json'
  },
  body: undefined
};

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

```go Rejected - Unknown Item
package main

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

func main() {

	url := "https://https/Medicare/patientclaiminteractive/pathology/v1"

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

	req.Header.Add("x-minor-id", "{{MinorId}}")
	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 Rejected - Unknown Item
require 'uri'
require 'net/http'

url = URI("https://https/Medicare/patientclaiminteractive/pathology/v1")

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

request = Net::HTTP::Post.new(url)
request["x-minor-id"] = '{{MinorId}}'
request["x-api-key"] = '<apiKey>'
request["Content-Type"] = 'application/json'

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

```java Rejected - Unknown Item
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://https/Medicare/patientclaiminteractive/pathology/v1")
  .header("x-minor-id", "{{MinorId}}")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .asString();
```

```php Rejected - Unknown Item
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://https/Medicare/patientclaiminteractive/pathology/v1', [
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
    'x-minor-id' => '{{MinorId}}',
  ],
]);

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

```csharp Rejected - Unknown Item
using RestSharp;

var client = new RestClient("https://https/Medicare/patientclaiminteractive/pathology/v1");
var request = new RestRequest(Method.POST);
request.AddHeader("x-minor-id", "{{MinorId}}");
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
IRestResponse response = client.Execute(request);
```

```swift Rejected - Unknown Item
import Foundation

let headers = [
  "x-minor-id": "{{MinorId}}",
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://https/Medicare/patientclaiminteractive/pathology/v1")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers

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 Advanced_Claiming_Patient Claim Interactive_PatientClaimInteractive - Pathology_example
import requests

url = "https://https/Medicare/patientclaiminteractive/pathology/v1"

payload = "{
    //\"correlationId\": \"urn:uuid:MDE00000c1b1667dbcd9461c\",
    \"patientClaimInteractive\": {
        \"accountPaidInd\": \"N\",
        \"accountReferenceId\": \"SPEC12345\",
        \"authorisationDate\": \"2026-04-01\",
        \"submissionAuthorityInd\": \"Y\",
        \"referral\": {
            \"provider\": {
                \"providerNumber\": \"2447781L\"
            },
            \"issueDate\": \"2025-07-15\",
            \"typeCode\": \"P\"
            //,\"period\": \"6\",
            //,\"periodCode\": \"M\"
        },
        // \"referralOverrideCode\": \"N\",
        \"serviceProvider\": {
            \"providerNumber\": \"2446081F\"
        },
        \"patient\": {
            \"identity\": {
                \"dateOfBirth\": \"1980-01-01\",
                \"familyName\": \"Jones\",
                \"givenName\": \"Marrianna-Louise\"
            },
            \"medicare\": {
                \"memberNumber\": \"2298039875\",
                \"memberRefNumber\": \"1\"
            }
        },
        \"claimant\": {
            \"identity\": {
                \"dateOfBirth\": \"2009-02-08\",
                \"familyName\": \"FLETCHER\",
                \"givenName\": \"Clint\"
            },
            \"medicare\": {
                \"memberNumber\": \"4951525561\",
                \"memberRefNumber\": \"3\"
            }
            //  , \"contactDetails\": {
            //     \"name\": \"Jane Doe\",
            //     \"phoneNumber\": \"0412345678\",
            //     \"emailAddress\": \"jane.doe@example.com\"
            //   }
            //  , \"eftDetails\": {
            //     \"accountName\": \"Jane Doe\",
            //     \"accountNumber\": \"123456789\",
            //     \"bsbCode\": \"062000\"
            //   },
            //   \"residentialAddress\": {
            //     \"addressLineOne\": \"123 Main St\",
            //     \"addressLineTwo\": \"Unit 4\",
            //     \"locality\": \"Sydney\",
            //     \"postcode\": \"2000\"
            //   }
        },
        \"medicalEvent\": [
            {
                \"id\": \"01\",
                \"medicalEventDate\": \"2026-04-01\",
                // \"medicalEventTime\": \"09:00:00+10:00\",
                \"service\": [
                    {
                        \"id\": \"1001\",
                        \"itemNumber\": \"65120\",
                        \"chargeAmount\": \"2505\",
                        \"scpId\": \"00001\"
                        // ,\"selfDeemedCode\":\"SD\"
                        // ,\"collectionDateTime\":\"2025-09-01T08:30:00+10:00\"
                        // ,\"accessionDateTime\":\"2025-09-01T08:30:00+10:00\"
                        //,\"aftercareOverrideInd\": \"Y\"
                        //,\"duplicateServiceOverrideInd\": \"Y\"
                        //,\"multipleProcedureOverrideInd\": \"Y\"
                        //,\"numberOfPatientsSeen\": \"1\"
                        //,\"restrictiveOverrideCode\": \"NR\"
                        //,\"text\": \"Specialist Consultation\"
                        // ,\"facilityId\": \"9988770W\"
                        // ,\"hospitalInd\": \"Y\"
                        //,\"s4b3ExemptInd\":\"Y\"
                        //  ,\"rule3ExemptInd\":\"Y\"
                        ,
                        \"patientContribAmount\": \"1500\"
                    }
                ]
            }
        ]
        // ,\"payeeProvider\": {
        //   \"providerNumber\": \"0000000X\"
        // }
    }
}"
headers = {
    "x-minor-id": "{{MinorId}}",
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Advanced_Claiming_Patient Claim Interactive_PatientClaimInteractive - Pathology_example
const url = 'https://https/Medicare/patientclaiminteractive/pathology/v1';
const options = {
  method: 'POST',
  headers: {
    'x-minor-id': '{{MinorId}}',
    'x-api-key': '<apiKey>',
    'Content-Type': 'application/json'
  },
  body: '"{\r\n    //\"correlationId\": \"urn:uuid:MDE00000c1b1667dbcd9461c\",\r\n    \"patientClaimInteractive\": {\r\n        \"accountPaidInd\": \"N\",\r\n        \"accountReferenceId\": \"SPEC12345\",\r\n        \"authorisationDate\": \"2026-04-01\",\r\n        \"submissionAuthorityInd\": \"Y\",\r\n        \"referral\": {\r\n            \"provider\": {\r\n                \"providerNumber\": \"2447781L\"\r\n            },\r\n            \"issueDate\": \"2025-07-15\",\r\n            \"typeCode\": \"P\"\r\n            //,\"period\": \"6\",\r\n            //,\"periodCode\": \"M\"\r\n        },\r\n        // \"referralOverrideCode\": \"N\",\r\n        \"serviceProvider\": {\r\n            \"providerNumber\": \"2446081F\"\r\n        },\r\n        \"patient\": {\r\n            \"identity\": {\r\n                \"dateOfBirth\": \"1980-01-01\",\r\n                \"familyName\": \"Jones\",\r\n                \"givenName\": \"Marrianna-Louise\"\r\n            },\r\n            \"medicare\": {\r\n                \"memberNumber\": \"2298039875\",\r\n                \"memberRefNumber\": \"1\"\r\n            }\r\n        },\r\n        \"claimant\": {\r\n            \"identity\": {\r\n                \"dateOfBirth\": \"2009-02-08\",\r\n                \"familyName\": \"FLETCHER\",\r\n                \"givenName\": \"Clint\"\r\n            },\r\n            \"medicare\": {\r\n                \"memberNumber\": \"4951525561\",\r\n                \"memberRefNumber\": \"3\"\r\n            }\r\n            //  , \"contactDetails\": {\r\n            //     \"name\": \"Jane Doe\",\r\n            //     \"phoneNumber\": \"0412345678\",\r\n            //     \"emailAddress\": \"jane.doe@example.com\"\r\n            //   }\r\n            //  , \"eftDetails\": {\r\n            //     \"accountName\": \"Jane Doe\",\r\n            //     \"accountNumber\": \"123456789\",\r\n            //     \"bsbCode\": \"062000\"\r\n            //   },\r\n            //   \"residentialAddress\": {\r\n            //     \"addressLineOne\": \"123 Main St\",\r\n            //     \"addressLineTwo\": \"Unit 4\",\r\n            //     \"locality\": \"Sydney\",\r\n            //     \"postcode\": \"2000\"\r\n            //   }\r\n        },\r\n        \"medicalEvent\": [\r\n            {\r\n                \"id\": \"01\",\r\n                \"medicalEventDate\": \"2026-04-01\",\r\n                // \"medicalEventTime\": \"09:00:00+10:00\",\r\n                \"service\": [\r\n                    {\r\n                        \"id\": \"1001\",\r\n                        \"itemNumber\": \"65120\",\r\n                        \"chargeAmount\": \"2505\",\r\n                        \"scpId\": \"00001\"\r\n                        // ,\"selfDeemedCode\":\"SD\"\r\n                        // ,\"collectionDateTime\":\"2025-09-01T08:30:00+10:00\"\r\n                        // ,\"accessionDateTime\":\"2025-09-01T08:30:00+10:00\"\r\n                        //,\"aftercareOverrideInd\": \"Y\"\r\n                        //,\"duplicateServiceOverrideInd\": \"Y\"\r\n                        //,\"multipleProcedureOverrideInd\": \"Y\"\r\n                        //,\"numberOfPatientsSeen\": \"1\"\r\n                        //,\"restrictiveOverrideCode\": \"NR\"\r\n                        //,\"text\": \"Specialist Consultation\"\r\n                        // ,\"facilityId\": \"9988770W\"\r\n                        // ,\"hospitalInd\": \"Y\"\r\n                        //,\"s4b3ExemptInd\":\"Y\"\r\n                        //  ,\"rule3ExemptInd\":\"Y\"\r\n                        ,\r\n                        \"patientContribAmount\": \"1500\"\r\n                    }\r\n                ]\r\n            }\r\n        ]\r\n        // ,\"payeeProvider\": {\r\n        //   \"providerNumber\": \"0000000X\"\r\n        // }\r\n    }\r\n}"'
};

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

```go Advanced_Claiming_Patient Claim Interactive_PatientClaimInteractive - Pathology_example
package main

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

func main() {

	url := "https://https/Medicare/patientclaiminteractive/pathology/v1"

	payload := strings.NewReader("\"{\\r\\n    //\\\"correlationId\\\": \\\"urn:uuid:MDE00000c1b1667dbcd9461c\\\",\\r\\n    \\\"patientClaimInteractive\\\": {\\r\\n        \\\"accountPaidInd\\\": \\\"N\\\",\\r\\n        \\\"accountReferenceId\\\": \\\"SPEC12345\\\",\\r\\n        \\\"authorisationDate\\\": \\\"2026-04-01\\\",\\r\\n        \\\"submissionAuthorityInd\\\": \\\"Y\\\",\\r\\n        \\\"referral\\\": {\\r\\n            \\\"provider\\\": {\\r\\n                \\\"providerNumber\\\": \\\"2447781L\\\"\\r\\n            },\\r\\n            \\\"issueDate\\\": \\\"2025-07-15\\\",\\r\\n            \\\"typeCode\\\": \\\"P\\\"\\r\\n            //,\\\"period\\\": \\\"6\\\",\\r\\n            //,\\\"periodCode\\\": \\\"M\\\"\\r\\n        },\\r\\n        // \\\"referralOverrideCode\\\": \\\"N\\\",\\r\\n        \\\"serviceProvider\\\": {\\r\\n            \\\"providerNumber\\\": \\\"2446081F\\\"\\r\\n        },\\r\\n        \\\"patient\\\": {\\r\\n            \\\"identity\\\": {\\r\\n                \\\"dateOfBirth\\\": \\\"1980-01-01\\\",\\r\\n                \\\"familyName\\\": \\\"Jones\\\",\\r\\n                \\\"givenName\\\": \\\"Marrianna-Louise\\\"\\r\\n            },\\r\\n            \\\"medicare\\\": {\\r\\n                \\\"memberNumber\\\": \\\"2298039875\\\",\\r\\n                \\\"memberRefNumber\\\": \\\"1\\\"\\r\\n            }\\r\\n        },\\r\\n        \\\"claimant\\\": {\\r\\n            \\\"identity\\\": {\\r\\n                \\\"dateOfBirth\\\": \\\"2009-02-08\\\",\\r\\n                \\\"familyName\\\": \\\"FLETCHER\\\",\\r\\n                \\\"givenName\\\": \\\"Clint\\\"\\r\\n            },\\r\\n            \\\"medicare\\\": {\\r\\n                \\\"memberNumber\\\": \\\"4951525561\\\",\\r\\n                \\\"memberRefNumber\\\": \\\"3\\\"\\r\\n            }\\r\\n            //  , \\\"contactDetails\\\": {\\r\\n            //     \\\"name\\\": \\\"Jane Doe\\\",\\r\\n            //     \\\"phoneNumber\\\": \\\"0412345678\\\",\\r\\n            //     \\\"emailAddress\\\": \\\"jane.doe@example.com\\\"\\r\\n            //   }\\r\\n            //  , \\\"eftDetails\\\": {\\r\\n            //     \\\"accountName\\\": \\\"Jane Doe\\\",\\r\\n            //     \\\"accountNumber\\\": \\\"123456789\\\",\\r\\n            //     \\\"bsbCode\\\": \\\"062000\\\"\\r\\n            //   },\\r\\n            //   \\\"residentialAddress\\\": {\\r\\n            //     \\\"addressLineOne\\\": \\\"123 Main St\\\",\\r\\n            //     \\\"addressLineTwo\\\": \\\"Unit 4\\\",\\r\\n            //     \\\"locality\\\": \\\"Sydney\\\",\\r\\n            //     \\\"postcode\\\": \\\"2000\\\"\\r\\n            //   }\\r\\n        },\\r\\n        \\\"medicalEvent\\\": [\\r\\n            {\\r\\n                \\\"id\\\": \\\"01\\\",\\r\\n                \\\"medicalEventDate\\\": \\\"2026-04-01\\\",\\r\\n                // \\\"medicalEventTime\\\": \\\"09:00:00+10:00\\\",\\r\\n                \\\"service\\\": [\\r\\n                    {\\r\\n                        \\\"id\\\": \\\"1001\\\",\\r\\n                        \\\"itemNumber\\\": \\\"65120\\\",\\r\\n                        \\\"chargeAmount\\\": \\\"2505\\\",\\r\\n                        \\\"scpId\\\": \\\"00001\\\"\\r\\n                        // ,\\\"selfDeemedCode\\\":\\\"SD\\\"\\r\\n                        // ,\\\"collectionDateTime\\\":\\\"2025-09-01T08:30:00+10:00\\\"\\r\\n                        // ,\\\"accessionDateTime\\\":\\\"2025-09-01T08:30:00+10:00\\\"\\r\\n                        //,\\\"aftercareOverrideInd\\\": \\\"Y\\\"\\r\\n                        //,\\\"duplicateServiceOverrideInd\\\": \\\"Y\\\"\\r\\n                        //,\\\"multipleProcedureOverrideInd\\\": \\\"Y\\\"\\r\\n                        //,\\\"numberOfPatientsSeen\\\": \\\"1\\\"\\r\\n                        //,\\\"restrictiveOverrideCode\\\": \\\"NR\\\"\\r\\n                        //,\\\"text\\\": \\\"Specialist Consultation\\\"\\r\\n                        // ,\\\"facilityId\\\": \\\"9988770W\\\"\\r\\n                        // ,\\\"hospitalInd\\\": \\\"Y\\\"\\r\\n                        //,\\\"s4b3ExemptInd\\\":\\\"Y\\\"\\r\\n                        //  ,\\\"rule3ExemptInd\\\":\\\"Y\\\"\\r\\n                        ,\\r\\n                        \\\"patientContribAmount\\\": \\\"1500\\\"\\r\\n                    }\\r\\n                ]\\r\\n            }\\r\\n        ]\\r\\n        // ,\\\"payeeProvider\\\": {\\r\\n        //   \\\"providerNumber\\\": \\\"0000000X\\\"\\r\\n        // }\\r\\n    }\\r\\n}\"")

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

	req.Header.Add("x-minor-id", "{{MinorId}}")
	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 Advanced_Claiming_Patient Claim Interactive_PatientClaimInteractive - Pathology_example
require 'uri'
require 'net/http'

url = URI("https://https/Medicare/patientclaiminteractive/pathology/v1")

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

request = Net::HTTP::Post.new(url)
request["x-minor-id"] = '{{MinorId}}'
request["x-api-key"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "\"{\\r\\n    //\\\"correlationId\\\": \\\"urn:uuid:MDE00000c1b1667dbcd9461c\\\",\\r\\n    \\\"patientClaimInteractive\\\": {\\r\\n        \\\"accountPaidInd\\\": \\\"N\\\",\\r\\n        \\\"accountReferenceId\\\": \\\"SPEC12345\\\",\\r\\n        \\\"authorisationDate\\\": \\\"2026-04-01\\\",\\r\\n        \\\"submissionAuthorityInd\\\": \\\"Y\\\",\\r\\n        \\\"referral\\\": {\\r\\n            \\\"provider\\\": {\\r\\n                \\\"providerNumber\\\": \\\"2447781L\\\"\\r\\n            },\\r\\n            \\\"issueDate\\\": \\\"2025-07-15\\\",\\r\\n            \\\"typeCode\\\": \\\"P\\\"\\r\\n            //,\\\"period\\\": \\\"6\\\",\\r\\n            //,\\\"periodCode\\\": \\\"M\\\"\\r\\n        },\\r\\n        // \\\"referralOverrideCode\\\": \\\"N\\\",\\r\\n        \\\"serviceProvider\\\": {\\r\\n            \\\"providerNumber\\\": \\\"2446081F\\\"\\r\\n        },\\r\\n        \\\"patient\\\": {\\r\\n            \\\"identity\\\": {\\r\\n                \\\"dateOfBirth\\\": \\\"1980-01-01\\\",\\r\\n                \\\"familyName\\\": \\\"Jones\\\",\\r\\n                \\\"givenName\\\": \\\"Marrianna-Louise\\\"\\r\\n            },\\r\\n            \\\"medicare\\\": {\\r\\n                \\\"memberNumber\\\": \\\"2298039875\\\",\\r\\n                \\\"memberRefNumber\\\": \\\"1\\\"\\r\\n            }\\r\\n        },\\r\\n        \\\"claimant\\\": {\\r\\n            \\\"identity\\\": {\\r\\n                \\\"dateOfBirth\\\": \\\"2009-02-08\\\",\\r\\n                \\\"familyName\\\": \\\"FLETCHER\\\",\\r\\n                \\\"givenName\\\": \\\"Clint\\\"\\r\\n            },\\r\\n            \\\"medicare\\\": {\\r\\n                \\\"memberNumber\\\": \\\"4951525561\\\",\\r\\n                \\\"memberRefNumber\\\": \\\"3\\\"\\r\\n            }\\r\\n            //  , \\\"contactDetails\\\": {\\r\\n            //     \\\"name\\\": \\\"Jane Doe\\\",\\r\\n            //     \\\"phoneNumber\\\": \\\"0412345678\\\",\\r\\n            //     \\\"emailAddress\\\": \\\"jane.doe@example.com\\\"\\r\\n            //   }\\r\\n            //  , \\\"eftDetails\\\": {\\r\\n            //     \\\"accountName\\\": \\\"Jane Doe\\\",\\r\\n            //     \\\"accountNumber\\\": \\\"123456789\\\",\\r\\n            //     \\\"bsbCode\\\": \\\"062000\\\"\\r\\n            //   },\\r\\n            //   \\\"residentialAddress\\\": {\\r\\n            //     \\\"addressLineOne\\\": \\\"123 Main St\\\",\\r\\n            //     \\\"addressLineTwo\\\": \\\"Unit 4\\\",\\r\\n            //     \\\"locality\\\": \\\"Sydney\\\",\\r\\n            //     \\\"postcode\\\": \\\"2000\\\"\\r\\n            //   }\\r\\n        },\\r\\n        \\\"medicalEvent\\\": [\\r\\n            {\\r\\n                \\\"id\\\": \\\"01\\\",\\r\\n                \\\"medicalEventDate\\\": \\\"2026-04-01\\\",\\r\\n                // \\\"medicalEventTime\\\": \\\"09:00:00+10:00\\\",\\r\\n                \\\"service\\\": [\\r\\n                    {\\r\\n                        \\\"id\\\": \\\"1001\\\",\\r\\n                        \\\"itemNumber\\\": \\\"65120\\\",\\r\\n                        \\\"chargeAmount\\\": \\\"2505\\\",\\r\\n                        \\\"scpId\\\": \\\"00001\\\"\\r\\n                        // ,\\\"selfDeemedCode\\\":\\\"SD\\\"\\r\\n                        // ,\\\"collectionDateTime\\\":\\\"2025-09-01T08:30:00+10:00\\\"\\r\\n                        // ,\\\"accessionDateTime\\\":\\\"2025-09-01T08:30:00+10:00\\\"\\r\\n                        //,\\\"aftercareOverrideInd\\\": \\\"Y\\\"\\r\\n                        //,\\\"duplicateServiceOverrideInd\\\": \\\"Y\\\"\\r\\n                        //,\\\"multipleProcedureOverrideInd\\\": \\\"Y\\\"\\r\\n                        //,\\\"numberOfPatientsSeen\\\": \\\"1\\\"\\r\\n                        //,\\\"restrictiveOverrideCode\\\": \\\"NR\\\"\\r\\n                        //,\\\"text\\\": \\\"Specialist Consultation\\\"\\r\\n                        // ,\\\"facilityId\\\": \\\"9988770W\\\"\\r\\n                        // ,\\\"hospitalInd\\\": \\\"Y\\\"\\r\\n                        //,\\\"s4b3ExemptInd\\\":\\\"Y\\\"\\r\\n                        //  ,\\\"rule3ExemptInd\\\":\\\"Y\\\"\\r\\n                        ,\\r\\n                        \\\"patientContribAmount\\\": \\\"1500\\\"\\r\\n                    }\\r\\n                ]\\r\\n            }\\r\\n        ]\\r\\n        // ,\\\"payeeProvider\\\": {\\r\\n        //   \\\"providerNumber\\\": \\\"0000000X\\\"\\r\\n        // }\\r\\n    }\\r\\n}\""

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

```java Advanced_Claiming_Patient Claim Interactive_PatientClaimInteractive - Pathology_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://https/Medicare/patientclaiminteractive/pathology/v1")
  .header("x-minor-id", "{{MinorId}}")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("\"{\\r\\n    //\\\"correlationId\\\": \\\"urn:uuid:MDE00000c1b1667dbcd9461c\\\",\\r\\n    \\\"patientClaimInteractive\\\": {\\r\\n        \\\"accountPaidInd\\\": \\\"N\\\",\\r\\n        \\\"accountReferenceId\\\": \\\"SPEC12345\\\",\\r\\n        \\\"authorisationDate\\\": \\\"2026-04-01\\\",\\r\\n        \\\"submissionAuthorityInd\\\": \\\"Y\\\",\\r\\n        \\\"referral\\\": {\\r\\n            \\\"provider\\\": {\\r\\n                \\\"providerNumber\\\": \\\"2447781L\\\"\\r\\n            },\\r\\n            \\\"issueDate\\\": \\\"2025-07-15\\\",\\r\\n            \\\"typeCode\\\": \\\"P\\\"\\r\\n            //,\\\"period\\\": \\\"6\\\",\\r\\n            //,\\\"periodCode\\\": \\\"M\\\"\\r\\n        },\\r\\n        // \\\"referralOverrideCode\\\": \\\"N\\\",\\r\\n        \\\"serviceProvider\\\": {\\r\\n            \\\"providerNumber\\\": \\\"2446081F\\\"\\r\\n        },\\r\\n        \\\"patient\\\": {\\r\\n            \\\"identity\\\": {\\r\\n                \\\"dateOfBirth\\\": \\\"1980-01-01\\\",\\r\\n                \\\"familyName\\\": \\\"Jones\\\",\\r\\n                \\\"givenName\\\": \\\"Marrianna-Louise\\\"\\r\\n            },\\r\\n            \\\"medicare\\\": {\\r\\n                \\\"memberNumber\\\": \\\"2298039875\\\",\\r\\n                \\\"memberRefNumber\\\": \\\"1\\\"\\r\\n            }\\r\\n        },\\r\\n        \\\"claimant\\\": {\\r\\n            \\\"identity\\\": {\\r\\n                \\\"dateOfBirth\\\": \\\"2009-02-08\\\",\\r\\n                \\\"familyName\\\": \\\"FLETCHER\\\",\\r\\n                \\\"givenName\\\": \\\"Clint\\\"\\r\\n            },\\r\\n            \\\"medicare\\\": {\\r\\n                \\\"memberNumber\\\": \\\"4951525561\\\",\\r\\n                \\\"memberRefNumber\\\": \\\"3\\\"\\r\\n            }\\r\\n            //  , \\\"contactDetails\\\": {\\r\\n            //     \\\"name\\\": \\\"Jane Doe\\\",\\r\\n            //     \\\"phoneNumber\\\": \\\"0412345678\\\",\\r\\n            //     \\\"emailAddress\\\": \\\"jane.doe@example.com\\\"\\r\\n            //   }\\r\\n            //  , \\\"eftDetails\\\": {\\r\\n            //     \\\"accountName\\\": \\\"Jane Doe\\\",\\r\\n            //     \\\"accountNumber\\\": \\\"123456789\\\",\\r\\n            //     \\\"bsbCode\\\": \\\"062000\\\"\\r\\n            //   },\\r\\n            //   \\\"residentialAddress\\\": {\\r\\n            //     \\\"addressLineOne\\\": \\\"123 Main St\\\",\\r\\n            //     \\\"addressLineTwo\\\": \\\"Unit 4\\\",\\r\\n            //     \\\"locality\\\": \\\"Sydney\\\",\\r\\n            //     \\\"postcode\\\": \\\"2000\\\"\\r\\n            //   }\\r\\n        },\\r\\n        \\\"medicalEvent\\\": [\\r\\n            {\\r\\n                \\\"id\\\": \\\"01\\\",\\r\\n                \\\"medicalEventDate\\\": \\\"2026-04-01\\\",\\r\\n                // \\\"medicalEventTime\\\": \\\"09:00:00+10:00\\\",\\r\\n                \\\"service\\\": [\\r\\n                    {\\r\\n                        \\\"id\\\": \\\"1001\\\",\\r\\n                        \\\"itemNumber\\\": \\\"65120\\\",\\r\\n                        \\\"chargeAmount\\\": \\\"2505\\\",\\r\\n                        \\\"scpId\\\": \\\"00001\\\"\\r\\n                        // ,\\\"selfDeemedCode\\\":\\\"SD\\\"\\r\\n                        // ,\\\"collectionDateTime\\\":\\\"2025-09-01T08:30:00+10:00\\\"\\r\\n                        // ,\\\"accessionDateTime\\\":\\\"2025-09-01T08:30:00+10:00\\\"\\r\\n                        //,\\\"aftercareOverrideInd\\\": \\\"Y\\\"\\r\\n                        //,\\\"duplicateServiceOverrideInd\\\": \\\"Y\\\"\\r\\n                        //,\\\"multipleProcedureOverrideInd\\\": \\\"Y\\\"\\r\\n                        //,\\\"numberOfPatientsSeen\\\": \\\"1\\\"\\r\\n                        //,\\\"restrictiveOverrideCode\\\": \\\"NR\\\"\\r\\n                        //,\\\"text\\\": \\\"Specialist Consultation\\\"\\r\\n                        // ,\\\"facilityId\\\": \\\"9988770W\\\"\\r\\n                        // ,\\\"hospitalInd\\\": \\\"Y\\\"\\r\\n                        //,\\\"s4b3ExemptInd\\\":\\\"Y\\\"\\r\\n                        //  ,\\\"rule3ExemptInd\\\":\\\"Y\\\"\\r\\n                        ,\\r\\n                        \\\"patientContribAmount\\\": \\\"1500\\\"\\r\\n                    }\\r\\n                ]\\r\\n            }\\r\\n        ]\\r\\n        // ,\\\"payeeProvider\\\": {\\r\\n        //   \\\"providerNumber\\\": \\\"0000000X\\\"\\r\\n        // }\\r\\n    }\\r\\n}\"")
  .asString();
```

```php Advanced_Claiming_Patient Claim Interactive_PatientClaimInteractive - Pathology_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://https/Medicare/patientclaiminteractive/pathology/v1', [
  'body' => '"{\\r\\n    //\\"correlationId\\": \\"urn:uuid:MDE00000c1b1667dbcd9461c\\",\\r\\n    \\"patientClaimInteractive\\": {\\r\\n        \\"accountPaidInd\\": \\"N\\",\\r\\n        \\"accountReferenceId\\": \\"SPEC12345\\",\\r\\n        \\"authorisationDate\\": \\"2026-04-01\\",\\r\\n        \\"submissionAuthorityInd\\": \\"Y\\",\\r\\n        \\"referral\\": {\\r\\n            \\"provider\\": {\\r\\n                \\"providerNumber\\": \\"2447781L\\"\\r\\n            },\\r\\n            \\"issueDate\\": \\"2025-07-15\\",\\r\\n            \\"typeCode\\": \\"P\\"\\r\\n            //,\\"period\\": \\"6\\",\\r\\n            //,\\"periodCode\\": \\"M\\"\\r\\n        },\\r\\n        // \\"referralOverrideCode\\": \\"N\\",\\r\\n        \\"serviceProvider\\": {\\r\\n            \\"providerNumber\\": \\"2446081F\\"\\r\\n        },\\r\\n        \\"patient\\": {\\r\\n            \\"identity\\": {\\r\\n                \\"dateOfBirth\\": \\"1980-01-01\\",\\r\\n                \\"familyName\\": \\"Jones\\",\\r\\n                \\"givenName\\": \\"Marrianna-Louise\\"\\r\\n            },\\r\\n            \\"medicare\\": {\\r\\n                \\"memberNumber\\": \\"2298039875\\",\\r\\n                \\"memberRefNumber\\": \\"1\\"\\r\\n            }\\r\\n        },\\r\\n        \\"claimant\\": {\\r\\n            \\"identity\\": {\\r\\n                \\"dateOfBirth\\": \\"2009-02-08\\",\\r\\n                \\"familyName\\": \\"FLETCHER\\",\\r\\n                \\"givenName\\": \\"Clint\\"\\r\\n            },\\r\\n            \\"medicare\\": {\\r\\n                \\"memberNumber\\": \\"4951525561\\",\\r\\n                \\"memberRefNumber\\": \\"3\\"\\r\\n            }\\r\\n            //  , \\"contactDetails\\": {\\r\\n            //     \\"name\\": \\"Jane Doe\\",\\r\\n            //     \\"phoneNumber\\": \\"0412345678\\",\\r\\n            //     \\"emailAddress\\": \\"jane.doe@example.com\\"\\r\\n            //   }\\r\\n            //  , \\"eftDetails\\": {\\r\\n            //     \\"accountName\\": \\"Jane Doe\\",\\r\\n            //     \\"accountNumber\\": \\"123456789\\",\\r\\n            //     \\"bsbCode\\": \\"062000\\"\\r\\n            //   },\\r\\n            //   \\"residentialAddress\\": {\\r\\n            //     \\"addressLineOne\\": \\"123 Main St\\",\\r\\n            //     \\"addressLineTwo\\": \\"Unit 4\\",\\r\\n            //     \\"locality\\": \\"Sydney\\",\\r\\n            //     \\"postcode\\": \\"2000\\"\\r\\n            //   }\\r\\n        },\\r\\n        \\"medicalEvent\\": [\\r\\n            {\\r\\n                \\"id\\": \\"01\\",\\r\\n                \\"medicalEventDate\\": \\"2026-04-01\\",\\r\\n                // \\"medicalEventTime\\": \\"09:00:00+10:00\\",\\r\\n                \\"service\\": [\\r\\n                    {\\r\\n                        \\"id\\": \\"1001\\",\\r\\n                        \\"itemNumber\\": \\"65120\\",\\r\\n                        \\"chargeAmount\\": \\"2505\\",\\r\\n                        \\"scpId\\": \\"00001\\"\\r\\n                        // ,\\"selfDeemedCode\\":\\"SD\\"\\r\\n                        // ,\\"collectionDateTime\\":\\"2025-09-01T08:30:00+10:00\\"\\r\\n                        // ,\\"accessionDateTime\\":\\"2025-09-01T08:30:00+10:00\\"\\r\\n                        //,\\"aftercareOverrideInd\\": \\"Y\\"\\r\\n                        //,\\"duplicateServiceOverrideInd\\": \\"Y\\"\\r\\n                        //,\\"multipleProcedureOverrideInd\\": \\"Y\\"\\r\\n                        //,\\"numberOfPatientsSeen\\": \\"1\\"\\r\\n                        //,\\"restrictiveOverrideCode\\": \\"NR\\"\\r\\n                        //,\\"text\\": \\"Specialist Consultation\\"\\r\\n                        // ,\\"facilityId\\": \\"9988770W\\"\\r\\n                        // ,\\"hospitalInd\\": \\"Y\\"\\r\\n                        //,\\"s4b3ExemptInd\\":\\"Y\\"\\r\\n                        //  ,\\"rule3ExemptInd\\":\\"Y\\"\\r\\n                        ,\\r\\n                        \\"patientContribAmount\\": \\"1500\\"\\r\\n                    }\\r\\n                ]\\r\\n            }\\r\\n        ]\\r\\n        // ,\\"payeeProvider\\": {\\r\\n        //   \\"providerNumber\\": \\"0000000X\\"\\r\\n        // }\\r\\n    }\\r\\n}"',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
    'x-minor-id' => '{{MinorId}}',
  ],
]);

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

```csharp Advanced_Claiming_Patient Claim Interactive_PatientClaimInteractive - Pathology_example
using RestSharp;

var client = new RestClient("https://https/Medicare/patientclaiminteractive/pathology/v1");
var request = new RestRequest(Method.POST);
request.AddHeader("x-minor-id", "{{MinorId}}");
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "\"{\\r\\n    //\\\"correlationId\\\": \\\"urn:uuid:MDE00000c1b1667dbcd9461c\\\",\\r\\n    \\\"patientClaimInteractive\\\": {\\r\\n        \\\"accountPaidInd\\\": \\\"N\\\",\\r\\n        \\\"accountReferenceId\\\": \\\"SPEC12345\\\",\\r\\n        \\\"authorisationDate\\\": \\\"2026-04-01\\\",\\r\\n        \\\"submissionAuthorityInd\\\": \\\"Y\\\",\\r\\n        \\\"referral\\\": {\\r\\n            \\\"provider\\\": {\\r\\n                \\\"providerNumber\\\": \\\"2447781L\\\"\\r\\n            },\\r\\n            \\\"issueDate\\\": \\\"2025-07-15\\\",\\r\\n            \\\"typeCode\\\": \\\"P\\\"\\r\\n            //,\\\"period\\\": \\\"6\\\",\\r\\n            //,\\\"periodCode\\\": \\\"M\\\"\\r\\n        },\\r\\n        // \\\"referralOverrideCode\\\": \\\"N\\\",\\r\\n        \\\"serviceProvider\\\": {\\r\\n            \\\"providerNumber\\\": \\\"2446081F\\\"\\r\\n        },\\r\\n        \\\"patient\\\": {\\r\\n            \\\"identity\\\": {\\r\\n                \\\"dateOfBirth\\\": \\\"1980-01-01\\\",\\r\\n                \\\"familyName\\\": \\\"Jones\\\",\\r\\n                \\\"givenName\\\": \\\"Marrianna-Louise\\\"\\r\\n            },\\r\\n            \\\"medicare\\\": {\\r\\n                \\\"memberNumber\\\": \\\"2298039875\\\",\\r\\n                \\\"memberRefNumber\\\": \\\"1\\\"\\r\\n            }\\r\\n        },\\r\\n        \\\"claimant\\\": {\\r\\n            \\\"identity\\\": {\\r\\n                \\\"dateOfBirth\\\": \\\"2009-02-08\\\",\\r\\n                \\\"familyName\\\": \\\"FLETCHER\\\",\\r\\n                \\\"givenName\\\": \\\"Clint\\\"\\r\\n            },\\r\\n            \\\"medicare\\\": {\\r\\n                \\\"memberNumber\\\": \\\"4951525561\\\",\\r\\n                \\\"memberRefNumber\\\": \\\"3\\\"\\r\\n            }\\r\\n            //  , \\\"contactDetails\\\": {\\r\\n            //     \\\"name\\\": \\\"Jane Doe\\\",\\r\\n            //     \\\"phoneNumber\\\": \\\"0412345678\\\",\\r\\n            //     \\\"emailAddress\\\": \\\"jane.doe@example.com\\\"\\r\\n            //   }\\r\\n            //  , \\\"eftDetails\\\": {\\r\\n            //     \\\"accountName\\\": \\\"Jane Doe\\\",\\r\\n            //     \\\"accountNumber\\\": \\\"123456789\\\",\\r\\n            //     \\\"bsbCode\\\": \\\"062000\\\"\\r\\n            //   },\\r\\n            //   \\\"residentialAddress\\\": {\\r\\n            //     \\\"addressLineOne\\\": \\\"123 Main St\\\",\\r\\n            //     \\\"addressLineTwo\\\": \\\"Unit 4\\\",\\r\\n            //     \\\"locality\\\": \\\"Sydney\\\",\\r\\n            //     \\\"postcode\\\": \\\"2000\\\"\\r\\n            //   }\\r\\n        },\\r\\n        \\\"medicalEvent\\\": [\\r\\n            {\\r\\n                \\\"id\\\": \\\"01\\\",\\r\\n                \\\"medicalEventDate\\\": \\\"2026-04-01\\\",\\r\\n                // \\\"medicalEventTime\\\": \\\"09:00:00+10:00\\\",\\r\\n                \\\"service\\\": [\\r\\n                    {\\r\\n                        \\\"id\\\": \\\"1001\\\",\\r\\n                        \\\"itemNumber\\\": \\\"65120\\\",\\r\\n                        \\\"chargeAmount\\\": \\\"2505\\\",\\r\\n                        \\\"scpId\\\": \\\"00001\\\"\\r\\n                        // ,\\\"selfDeemedCode\\\":\\\"SD\\\"\\r\\n                        // ,\\\"collectionDateTime\\\":\\\"2025-09-01T08:30:00+10:00\\\"\\r\\n                        // ,\\\"accessionDateTime\\\":\\\"2025-09-01T08:30:00+10:00\\\"\\r\\n                        //,\\\"aftercareOverrideInd\\\": \\\"Y\\\"\\r\\n                        //,\\\"duplicateServiceOverrideInd\\\": \\\"Y\\\"\\r\\n                        //,\\\"multipleProcedureOverrideInd\\\": \\\"Y\\\"\\r\\n                        //,\\\"numberOfPatientsSeen\\\": \\\"1\\\"\\r\\n                        //,\\\"restrictiveOverrideCode\\\": \\\"NR\\\"\\r\\n                        //,\\\"text\\\": \\\"Specialist Consultation\\\"\\r\\n                        // ,\\\"facilityId\\\": \\\"9988770W\\\"\\r\\n                        // ,\\\"hospitalInd\\\": \\\"Y\\\"\\r\\n                        //,\\\"s4b3ExemptInd\\\":\\\"Y\\\"\\r\\n                        //  ,\\\"rule3ExemptInd\\\":\\\"Y\\\"\\r\\n                        ,\\r\\n                        \\\"patientContribAmount\\\": \\\"1500\\\"\\r\\n                    }\\r\\n                ]\\r\\n            }\\r\\n        ]\\r\\n        // ,\\\"payeeProvider\\\": {\\r\\n        //   \\\"providerNumber\\\": \\\"0000000X\\\"\\r\\n        // }\\r\\n    }\\r\\n}\"", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Advanced_Claiming_Patient Claim Interactive_PatientClaimInteractive - Pathology_example
import Foundation

let headers = [
  "x-minor-id": "{{MinorId}}",
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = "{
    //\"correlationId\": \"urn:uuid:MDE00000c1b1667dbcd9461c\",
    \"patientClaimInteractive\": {
        \"accountPaidInd\": \"N\",
        \"accountReferenceId\": \"SPEC12345\",
        \"authorisationDate\": \"2026-04-01\",
        \"submissionAuthorityInd\": \"Y\",
        \"referral\": {
            \"provider\": {
                \"providerNumber\": \"2447781L\"
            },
            \"issueDate\": \"2025-07-15\",
            \"typeCode\": \"P\"
            //,\"period\": \"6\",
            //,\"periodCode\": \"M\"
        },
        // \"referralOverrideCode\": \"N\",
        \"serviceProvider\": {
            \"providerNumber\": \"2446081F\"
        },
        \"patient\": {
            \"identity\": {
                \"dateOfBirth\": \"1980-01-01\",
                \"familyName\": \"Jones\",
                \"givenName\": \"Marrianna-Louise\"
            },
            \"medicare\": {
                \"memberNumber\": \"2298039875\",
                \"memberRefNumber\": \"1\"
            }
        },
        \"claimant\": {
            \"identity\": {
                \"dateOfBirth\": \"2009-02-08\",
                \"familyName\": \"FLETCHER\",
                \"givenName\": \"Clint\"
            },
            \"medicare\": {
                \"memberNumber\": \"4951525561\",
                \"memberRefNumber\": \"3\"
            }
            //  , \"contactDetails\": {
            //     \"name\": \"Jane Doe\",
            //     \"phoneNumber\": \"0412345678\",
            //     \"emailAddress\": \"jane.doe@example.com\"
            //   }
            //  , \"eftDetails\": {
            //     \"accountName\": \"Jane Doe\",
            //     \"accountNumber\": \"123456789\",
            //     \"bsbCode\": \"062000\"
            //   },
            //   \"residentialAddress\": {
            //     \"addressLineOne\": \"123 Main St\",
            //     \"addressLineTwo\": \"Unit 4\",
            //     \"locality\": \"Sydney\",
            //     \"postcode\": \"2000\"
            //   }
        },
        \"medicalEvent\": [
            {
                \"id\": \"01\",
                \"medicalEventDate\": \"2026-04-01\",
                // \"medicalEventTime\": \"09:00:00+10:00\",
                \"service\": [
                    {
                        \"id\": \"1001\",
                        \"itemNumber\": \"65120\",
                        \"chargeAmount\": \"2505\",
                        \"scpId\": \"00001\"
                        // ,\"selfDeemedCode\":\"SD\"
                        // ,\"collectionDateTime\":\"2025-09-01T08:30:00+10:00\"
                        // ,\"accessionDateTime\":\"2025-09-01T08:30:00+10:00\"
                        //,\"aftercareOverrideInd\": \"Y\"
                        //,\"duplicateServiceOverrideInd\": \"Y\"
                        //,\"multipleProcedureOverrideInd\": \"Y\"
                        //,\"numberOfPatientsSeen\": \"1\"
                        //,\"restrictiveOverrideCode\": \"NR\"
                        //,\"text\": \"Specialist Consultation\"
                        // ,\"facilityId\": \"9988770W\"
                        // ,\"hospitalInd\": \"Y\"
                        //,\"s4b3ExemptInd\":\"Y\"
                        //  ,\"rule3ExemptInd\":\"Y\"
                        ,
                        \"patientContribAmount\": \"1500\"
                    }
                ]
            }
        ]
        // ,\"payeeProvider\": {
        //   \"providerNumber\": \"0000000X\"
        // }
    }
}" as [String : Any]

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

let request = NSMutableURLRequest(url: NSURL(string: "https://https/Medicare/patientclaiminteractive/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()
```