Posting

Introduction #

This module defines models related to payments and postings associated with healthcare claims.

Basic usage #

To retrieve a posting by ID:

from canvas_sdk.v1.data.posting import BasePosting

posting = BasePosting.objects.get(dbid=1234)

To retrieve all active postings for a given claim:

from canvas_sdk.v1.data.claim import Claim

claim = Claim.objects.get(id="<uuid>")
claim_postings = claim.postings.active()

Payments, adjustments, and transfers each record the claim line item the amount was posted to. To find the charge behind a payment, go through its claim line item:

from canvas_sdk.v1.data import NewLineItemPayment

payment = NewLineItemPayment.objects.select_related("claim_line_item").get(dbid=1234)
claim_line_item = payment.claim_line_item
print(claim_line_item.proc_code)

# None when the claim line item has no billing line item
charge = claim_line_item.billing_line_item

Attributes #

BasePosting #

Base model for aggregating multiple line item-level transactions (payments, adjustments, transfers) associated with a claim.

Field NameTypeDescription
dbidInteger 
corrected_postingBasePosting 
claimClaim 
payment_collectionPaymentCollection 
descriptionString 
entered_in_errorCanvasUser 
createdDateTime 
modifiedDateTime 
correction_postingsQuerySet[BasePosting] 
paid_amountDecimal (computed)Total paid
contractual_adjusted_amountDecimal (computed)Adjustments marked as write-offs
non_write_off_adjusted_amountDecimal (computed)Non-write-off adjustments
transferred_amountDecimal (computed)Total transferred
transferred_to_patient_amountDecimal (computed)Portion transferred to the patient
transferred_to_coverage_amountDecimal (computed)Portion transferred to another coverage
adjusted_and_transferred_amountDecimal (computed)Combined adjusted and transferred amount
posted_amountDecimal (computed)Total of payments and write-offs

CoveragePosting #

Represents an insurance payment or adjustment associated with a claim’s coverage.

Field NameType
remittanceBaseRemittanceAdvice
claim_coverageClaimCoverage
crossover_carrierString
crossover_idString
payer_icnString
position_in_eraInteger

PatientPosting #

Represents patient-side payments or adjustments, including links to copays or patient-level discounts.

Field NameTypeDescription
claim_patientClaimPatient 
patient_paymentBulkPatientPosting 
copayBulkPatientPosting 
discounted_amountDecimal (computed)Discount applied
charges_amountDecimal (computed)Discount plus paid amount

BulkPatientPosting #

Aggregates bulk patient payments on multiple claims.

Field NameTypeDescription
idUUID 
dbidInteger 
payment_collectionPaymentCollection 
total_paidDecimal 
createdDateTime 
modifiedDateTime 
discountDiscount 
payerPatient 
postingsQuerySet[PatientPosting] 
copaysQuerySet[PatientPosting] 
total_posted_amountDecimal (computed)Sum of all posted amounts
discounted_amountDecimal (computed)Sum of discounted amounts

BaseRemittanceAdvice #

Represents shared data for both electronic and manual remittance advice.

Field NameTypeDescription
idUUID 
dbidInteger 
payment_collectionPaymentCollection 
total_paidDecimal 
createdDateTime 
modifiedDateTime 
transactorTransactor 
era_idString 
postingsQuerySet[CoveragePosting] 
total_posted_amountDecimal (computed)Sum of all posted amounts

PaymentCollection #

Captures metadata about the method and details of a collected payment.

Field NameType
idUUID
dbidInteger
total_collectedDecimal
methodPostingMethods
check_numberString
check_dateDate
deposit_dateDate
descriptionString
createdDateTime
modifiedDateTime
postingsQuerySet[BasePosting]
receiptReceipt

NewLineItemPayment #

Represents a payment applied to a claim line item.

Field NameType
dbidInteger
postingBasePosting
billing_line_itemBillingLineItem (deprecated)
claim_line_itemClaimLineItem
amountDecimal
chargedDecimal
entered_in_errorCanvasUser
createdDateTime
modifiedDateTime

NewLineItemAdjustment #

Represents an adjustment applied to a claim line item.

Field NameType
dbidInteger
postingBasePosting
billing_line_itemBillingLineItem (deprecated)
claim_line_itemClaimLineItem
amountDecimal
codeString
groupString
deviated_from_posting_rulesetBoolean
write_offBoolean
entered_in_errorCanvasUser
createdDateTime
modifiedDateTime

LineItemTransfer #

Represents a transfer of a claim line item balance to another coverage or patient.

Field NameType
dbidInteger
postingBasePosting
billing_line_itemBillingLineItem (deprecated)
claim_line_itemClaimLineItem
amountDecimal
codeString
groupString
deviated_from_posting_rulesetBoolean
transfer_toClaimCoverage
transfer_to_patientBoolean
entered_in_errorCanvasUser
createdDateTime
modifiedDateTime

Discount #

Represents a discount applied to a claim or patient posting, linked by adjustment group and code.

Field NameType
dbidInteger
nameString
adjustment_groupString
adjustment_codeString
discountDecimal
createdDateTime
modifiedDateTime
patient_postingsQuerySet[BulkPatientPosting]

Enumeration types #

PostingMethods #

ValueLabel
cashCash
checkCheck
cardCard
otherOther