import type * as CandidApi from "../../../index"; export interface UniversalEncounterCreateFromPreEncounterBase extends CandidApi.encounters.v4.EncounterBase { preEncounterPatientId: CandidApi.PreEncounterPatientId; preEncounterAppointmentIds: CandidApi.PreEncounterAppointmentId[]; /** The billing provider is the provider or business entity submitting the claim. Billing provider may be, but is not necessarily, the same person/NPI as the rendering provider. From a payer's perspective, this represents the person or entity being reimbursed. When a contract exists with the target payer, the billing provider should be the entity contracted with the payer. In some circumstances, this will be an individual provider. In that case, submit that provider's NPI and the tax ID (TIN) that the provider gave to the payer during contracting. In other cases, the billing entity will be a medical group. If so, submit the group NPI and the group's tax ID. Box 33 on the CMS-1500 claim or Form Locator 1 on a UB-04 claim form. */ billingProvider: CandidApi.encounterProviders.v2.BillingProvider; /** * The second iteration of Loop ID-2310 on an 837P form. Use code "P3 - Primary Care Provider" in this loop to * indicate the initial referral from the primary care provider or whatever provider wrote the initial referral for this patient's episode of care being billed/reported in this transaction. * Not used in an 837i claim */ initialReferringProvider?: CandidApi.encounterProviders.v2.InitialReferringProvider; /** Required when the rendering provider is supervised by a physician. If not required by this implementation guide, do not send. */ supervisingProvider?: CandidApi.encounterProviders.v2.SupervisingProvider; /** Encounter Service facility is typically the location a medical service was rendered, such as a provider office or hospital. For telehealth, service facility can represent the provider's location when the service was delivered (e.g., home), or the location where an in-person visit would have taken place, whichever is easier to identify. If the provider is in-network, service facility may be defined in payer contracts. Box 32 on the CMS-1500 claim form. There is no equivalent on the paper UB-04 claim form, but this field is equivalent to Loop 2310E Service Facility Location details on an 837i form, and is used when this is different to the entity identified as the Billing Provider. Note that for an in-network claim to be successfully adjudicated, the service facility address listed */ serviceFacility?: CandidApi.EncounterServiceFacilityBase; /** Holds a collection of clinical observations made by healthcare providers during patient encounters. Please note that medical records for appeals should be sent using the Encounter Attachments API. */ clinicalNotes?: CandidApi.encounters.v4.ClinicalNoteCategoryCreate[]; /** * Spot to store misc, human-readable, notes about this encounter to be used * in the billing process. */ billingNotes?: CandidApi.billingNotes.v2.BillingNoteBase[]; patientHistories?: CandidApi.encounters.v4.PatientHistoryCategory[]; /** * To be included for claims that have been submitted outside of Candid. * Candid supports posting remits and payments to these claims and working them in-platform (e.g. editing, resubmitting). */ externalClaimSubmission?: CandidApi.claimSubmission.v1.ExternalClaimSubmissionCreate; /** Names of tags that should be on the encounter. */ tagIds?: CandidApi.TagId[]; /** * Key-value pairs that must adhere to a schema created via the Custom Schema API. Multiple schema * instances cannot be created for the same schema on an encounter. */ schemaInstances?: CandidApi.customSchemas.v1.SchemaInstance[]; /** Corresponds to box 10a on the CMS-1500 (Loop 2300 on 837) */ relatedCausesInformation?: CandidApi.relatedCauses.v1.RelatedCausesInformationCreate; /** 837p Loop2010 REF02, CMS1500 Box 11b */ propertyCasualtyClaimNumber?: string; /** 837p Loop2300 DTP*439, CMS1500 Box 15 */ accidentDate?: string; /** * Patient identifier for Property and Casualty claims * 837p Loop 2010CA */ propertyCasualtyPatientIdentifier?: CandidApi.propertyAndCasualty.v1.PropertyCasualtyPatientIdentifierCreate; }