Claim $attach

post/Claim/$attach
Page View

This resource contains the financial details for provider services for a patient visit or treatment. Healthcare organizations can use this resource to request reimbursement, while payers can review this resource to process claims and respond with the ClaimResponse resource.

You can submit, check, or add to claim information using one of the supported operations.

$attach

Attach additional patient information (i.e., X12 275) to a claim.

Providing extra context for a claim often helps it process more successfully.

Request parameters and payload

cURL request example

bash
1
curl 'https://api.redoxengine.com/fhir/R4/{destinationSlug}/{environmentFlag}/Claim/$attach' \
2
--request POST \
3
--header 'Authorization: Bearer $API_TOKEN' \
4
--header 'Content-Type: application/fhir+json' \
5
--data '{
6
"resourceType": "Bundle",
7
"id": "RedoxClaimAttachBundleExample",
8
"meta": {
9
"extension": [
10
{
11
"url": "https://fhir.redoxengine.com/StructureDefinition/example-sort-order",
12
"valueInteger": 1
13
}
14
]
15
},
16
"type": "collection",
17
"timestamp": "2022-01-14T19:46:21.374Z",
18
"entry": [
19
{
20
"resource": {
21
"resourceType": "DocumentReference",
22
"id": "RedoxPADocumentReferenceExample",
23
"status": "current",
24
"context": {
25
"related": [
26
{
27
"identifier": {
28
"type": {
29
"coding": [
30
{
31
"code": "ClaimID"
32
}
33
]
34
},
35
"value": "urn:uuid:97b8d6d0-ac3d-411a-b32a-e1d237aceb6a"
36
}
37
}
38
]
39
},
40
"content": [
41
{
42
"attachment": {
43
"contentType": "application/pdf",
44
"data": "SW1hZ2luZSB0aGlzIGlzIGEgYmluYXJ5IFBERiBkb2N1bWVudA==",
45
"title": "Timothy Chart.pdf"
46
}
47
}
48
]
49
}
50
}
51
]
52
}'

Request Body Schema

  • resourceType
    required, string

    Identifies the type of the resource

    Value: Bundle
  • type
    required, string

    Indicates the purpose of this bundle - how it is intended to be used.

    Value: collection
  • entry
    required, Array of DocumentReference, Patient, Organization, PractitionerRole, Practitioner, RelatedPerson, Coverage, Claim, ClaimResponse or Other

    An array of FHIR resources. Only a DocumentReference resource is required, but additional resources associated with the document or prior auth (such as the patient) may also be included.

    In certain async workflows, some or all of the claim-related resources may also be included.

    • resource
      required, object

      A binary document relating to a claim or response. The claim identifier is communicated in context.related.

      • resourceType
        required, string

        Identifies the type of the resource

        Value: DocumentReference
      • status
        required, string

        The status of this document reference.

        Possible Values: current, superseded, entered-in-error
      • content
        required, Array of object

        The contents of the document. If the size is small enough (<7mb), the data can be base64-encoded and sent in the attachment.data field. Otherwise, a binary resource must be uploaded independently and its identifier sent in attachment.url.

        • attachment
          required, object

          The document or URL of the document along with critical metadata to prove content has integrity.

          • contentType
            string

            Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.

          • data
            string

            The actual data of the attachment - a sequence of bytes, base64 encoded.

          • url
            string

            A location where the data can be accessed.

      • context
        required, object

        The clinical context in which the document was prepared.

        • related
          required, Array of object

          If the FHIR Claim or ClaimResponse resource is known or included in the bundle, reference can point to its internal FHIR id. Otherwise, identifier communicates the value of Claim.identifier

          Must be a resource of type Resource.

          • reference
            string

            A reference to another resource. This is typically either a relative reference which includes the resource type and ID, or an internal reference which starts with # and refers to a contained resource.

          • identifier
            object

            An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.

            • extension
              Array of Boolean, String, CodeableConcept, Coding, HumanName or Reference

              May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

              • url
                required, string

                Source of the definition for the extension code - a logical name or a URL.

              • valueBoolean
                boolean

                A single value for the extension.

            • use
              string

              The purpose of this identifier.

              Possible Values: usual, official, temp, secondary, old (If known)
            • system
              string

              Establishes the namespace for the value - that is, a URL that describes a set values that are unique.

            • value
              string

              The portion of the identifier typically relevant to the user and which is unique within the context of the system.

      • subject
        object

        Who or what the document is about. The document can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of farm animals, or a set of patients that share a common exposure).

        Must reference one of the following types of resources:

        • Patient
        • Practitioner
        • Group
        • Device
        • reference
          string

          A reference to another resource. This is typically either a relative reference which includes the resource type and ID, or an internal reference which starts with # and refers to a contained resource.

        • identifier
          object

          An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.

          • extension
            Array of Boolean, String, CodeableConcept, Coding, HumanName or Reference

            May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

            • url
              required, string

              Source of the definition for the extension code - a logical name or a URL.

            • valueBoolean
              boolean

              A single value for the extension.

          • use
            string

            The purpose of this identifier.

            Possible Values: usual, official, temp, secondary, old (If known)
          • system
            string

            Establishes the namespace for the value - that is, a URL that describes a set values that are unique.

          • value
            string

            The portion of the identifier typically relevant to the user and which is unique within the context of the system.

Response fields and example

Example
json
1
"Operation Response"