{"openapi":"3.0.1","info":{"title":"EdiNation API","version":"2"},"paths":{},"components":{"schemas":{"TELCO_ID_A2":{"enum":["10","20","30","31","32","33","34","35","40","41","42","50","51","52","53","54","55","56","60","70","71","80","81","82","83","90","A0","A1","B0","C0","C1","C2","C3","C4","D0"],"type":"string","format":"TELCO_ID_A2"},"TELCO_ID_A3":{"enum":["B1","B2","B3","C1","C2","C3","D1","E1","N1","N2","N3","P1","P2","P3","P4","S1","S2","S3"],"type":"string","format":"TELCO_ID_A3"},"TELCO_ID_A9":{"enum":["1","2","3","4"],"type":"string","format":"TELCO_ID_A9"},"TELCO_ID_B2":{"enum":["01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","99"],"type":"string","format":"TELCO_ID_B2"},"TransactionHeader":{"required":["DateOfService_9","ServiceProviderID_8","ServiceProviderIDQualifier_7","TransactionCode_4","TransactionCount_6","TransactionReferenceNumber_1","VersionReleaseNumber_3"],"type":"object","properties":{"TransactionReferenceNumber_1":{"maxLength":10,"minLength":10,"type":"string","format":"TELCO_AN","x-openedi-element-id":"K5"},"BINNumber_2":{"maxLength":6,"minLength":6,"type":"string","format":"TELCO_N0","x-openedi-element-id":"A1"},"VersionReleaseNumber_3":{"maxLength":2,"minLength":2,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_A2"}],"x-openedi-element-id":"A2"},"TransactionCode_4":{"maxLength":2,"minLength":2,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_A3"}],"x-openedi-element-id":"A3"},"ProcessorControlNumber_5":{"maxLength":10,"minLength":10,"type":"string","format":"TELCO_AN","x-openedi-element-id":"A4"},"TransactionCount_6":{"maxLength":1,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_A9"}],"x-openedi-element-id":"A9"},"ServiceProviderIDQualifier_7":{"maxLength":2,"minLength":2,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_B2"}],"x-openedi-element-id":"B2"},"ServiceProviderID_8":{"maxLength":15,"minLength":15,"type":"string","format":"TELCO_AN","x-openedi-element-id":"B1"},"DateOfService_9":{"maxLength":8,"minLength":8,"type":"string","format":"TELCO_DT","x-openedi-element-id":"D1"},"SoftwareVendorCertificationID_10":{"maxLength":10,"minLength":10,"type":"string","format":"TELCO_AN","x-openedi-element-id":"AK"}},"x-openedi-segment-id":"G1"},"TELCO_ID_CX":{"enum":["01","02","03","04","05","06","1J","99","EA"],"type":"string","format":"TELCO_ID_CX"},"TELCO_ID_C5":{"enum":["0","1","2"],"type":"string","format":"TELCO_ID_C5"},"TELCO_ID_CO":{"enum":["AB","AK","AL","AR","AS","AZ","BC","CA","CO","CT","DC","DE","FL","FM","GA","GU","HI","IA","ID","IL","IN","KS","KY","LA","MA","MB","MD","ME","MH","MI","MN","MO","MP","MS","MT","NB","NC","ND","NE","NH","NJ","NL","NM","NS","NT","NU","NV","NY","OH","OK","ON","OR","PA","PE","PR","PW","QC","RI","SC","SD","SK","TN","TX","UT","VA","VI","VT","WA","WI","WV","WY","YT"],"type":"string","format":"TELCO_ID_CO"},"TELCO_ID_C7":{"enum":["1","11","12","13","14","15","16","20","21","22","23","24","25","26","3","31","32","33","34","4","41","42","49","5","50","51","52","53","54","55","56","57","6","60","61","62","65","7","71","72","8","81","99"],"type":"string","format":"TELCO_ID_C7"},"TELCO_ID_1C":{"enum":["1","2"],"type":"string","format":"TELCO_ID_1C"},"TELCO_ID_2C":{"enum":["1","2"],"type":"string","format":"TELCO_ID_2C"},"TELCO_ID_4X":{"enum":["0","1","10","11","12","13","14","15","2","3","4","5","6","7","8","9"],"type":"string","format":"TELCO_ID_4X"},"AM01":{"type":"object","properties":{"PatientIDQualifier_CX":{"maxLength":2,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_CX"}],"x-openedi-element-id":"CX"},"PatientID_CY":{"maxLength":20,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"CY"},"DateOfBirth_C4":{"maxLength":8,"minLength":1,"type":"string","format":"TELCO_DT","x-openedi-element-id":"C4"},"PatientGenderCode_C5":{"maxLength":1,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_C5"}],"x-openedi-element-id":"C5"},"PatientFirstName_CA":{"maxLength":12,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"CA"},"PatientLastName_CB":{"maxLength":15,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"CB"},"PatientStreetAddress_CM":{"maxLength":30,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"CM"},"PatientCityAddress_CN":{"maxLength":20,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"CN"},"PatientStateProvinceAddress_CO":{"maxLength":2,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_CO"}],"x-openedi-element-id":"CO"},"PatientZipPostalZone_CP":{"maxLength":15,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"CP"},"PatientPhoneNumber_CQ":{"maxLength":10,"minLength":1,"type":"string","format":"TELCO_N0","x-openedi-element-id":"CQ"},"PlaceOfService_C7":{"maxLength":2,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_C7"}],"x-openedi-element-id":"C7"},"EmployerID_CZ":{"maxLength":15,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"CZ"},"SmokerNonSmokerCode_1C":{"maxLength":1,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_1C"}],"x-openedi-element-id":"1C"},"PregnancyIndicator_2C":{"maxLength":1,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_2C"}],"x-openedi-element-id":"2C"},"PatientEMailAddress_HN":{"maxLength":80,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"HN"},"PatientResidence_4X":{"maxLength":2,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_4X"}],"x-openedi-element-id":"4X"}},"x-openedi-segment-id":"AM01"},"TELCO_ID_EM":{"enum":["1","2"],"type":"string","format":"TELCO_ID_EM"},"TELCO_ID_E1":{"enum":["00","01","02","03","04","05","06","07","08","09","10","11","12","13","15","28","29","30","31","32","33","34","36","99"],"type":"string","format":"TELCO_ID_E1"},"CSE":{"type":"object","properties":{"ProcedureModifierCode_ER":{"maxLength":2,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"ER"}},"x-openedi-composite-id":"CSE"},"TELCO_ID_D3":{"enum":["0","1","10","11","12","13","14","15","16","17","18","19","2","20","21","22","23","24","25","26","27","28","29","3","30","31","32","33","34","35","36","37","38","39","4","40","41","42","43","44","45","46","47","48","49","5","50","51","52","53","54","55","56","57","58","59","6","60","61","62","63","64","65","66","67","68","69","7","70","71","72","73","74","75","76","77","78","79","8","80","81","82","83","84","85","86","87","88","89","9","90","91","92","93","94","95","96","97","98","99"],"type":"string","format":"TELCO_ID_D3"},"TELCO_ID_D6":{"enum":["0","1","2"],"type":"string","format":"TELCO_ID_D6"},"TELCO_ID_D8":{"enum":["0","1","2","3","4","5","6","7","8","9"],"type":"string","format":"TELCO_ID_D8"},"TELCO_ID_DF":{"enum":["0","1","10","11","12","13","14","15","16","17","18","19","2","20","21","22","23","24","25","26","27","28","29","3","30","31","32","33","34","35","36","37","38","39","4","40","41","42","43","44","45","46","47","48","49","5","50","51","52","53","54","55","56","57","58","59","6","60","61","62","63","64","65","66","67","68","69","7","70","71","72","73","74","75","76","77","78","79","8","80","81","82","83","84","85","86","87","88","89","9","90","91","92","93","94","95","96","97","98","99"],"type":"string","format":"TELCO_ID_DF"},"TELCO_ID_DJ":{"enum":["0","1","2","3","4"],"type":"string","format":"TELCO_ID_DJ"},"TELCO_ID_DK":{"enum":["1","10","11","12","13","14","15","16","17","18","19","2","20","21","22","23","24","25","26","27","28","29","3","30","31","32","33","34","35","36","4","5","6","7","8","9","99"],"type":"string","format":"TELCO_ID_DK"},"CNX":{"type":"object","properties":{"SubmissionClarificationCode_DK":{"maxLength":2,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_DK"}],"x-openedi-element-id":"DK"}},"x-openedi-composite-id":"CNX"},"TELCO_ID_C8":{"enum":["0","1","2","3","4","5","6","7","8"],"type":"string","format":"TELCO_ID_C8"},"TELCO_ID_DT":{"enum":["0","1","2","3","4","5"],"type":"string","format":"TELCO_ID_DT"},"TELCO_ID_EJ":{"enum":["00","01","02","03","04","05","06","07","08","09","10","11","12","13","15","28","29","30","31","32","33","99"],"type":"string","format":"TELCO_ID_EJ"},"TELCO_ID_28":{"enum":["EA","GM","ML"],"type":"string","format":"TELCO_ID_28"},"TELCO_ID_DI":{"enum":["0","1","2","3","4","5","6"],"type":"string","format":"TELCO_ID_DI"},"TELCO_ID_EU":{"enum":["0","1","2","3","4","5","6","7","8","9"],"type":"string","format":"TELCO_ID_EU"},"TELCO_ID_EV":{"enum":["91100000000","91100000001","91100000002","91100000003","91100000004","91100000005"],"type":"string","format":"TELCO_ID_EV"},"TELCO_ID_EW":{"enum":["0","1","99"],"type":"string","format":"TELCO_ID_EW"},"TELCO_ID_HD":{"enum":["C","P"],"type":"string","format":"TELCO_ID_HD"},"TELCO_ID_NV":{"enum":["1","10","11","12","13","14","2","3","4","5","6","7","8","9"],"type":"string","format":"TELCO_ID_NV"},"TELCO_ID_MT":{"enum":["N","Y"],"type":"string","format":"TELCO_ID_MT"},"TELCO_ID_G1":{"enum":["01","02","03","04","05","06","07","99"],"type":"string","format":"TELCO_ID_G1"},"TELCO_ID_U7":{"enum":["1","2","3","4","5","6","7","8","99"],"type":"string","format":"TELCO_ID_U7"},"AM07":{"required":["PrescriptionServiceReferenceNumber_D2","PrescriptionServiceReferenceNumberQualifier_EM","ProductServiceID_D7","ProductServiceIDQualifier_E1"],"type":"object","properties":{"PrescriptionServiceReferenceNumberQualifier_EM":{"maxLength":1,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_EM"}],"x-openedi-element-id":"EM"},"PrescriptionServiceReferenceNumber_D2":{"maxLength":12,"minLength":1,"type":"string","format":"TELCO_N0","x-openedi-element-id":"D2"},"ProductServiceIDQualifier_E1":{"maxLength":2,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_E1"}],"x-openedi-element-id":"E1"},"ProductServiceID_D7":{"maxLength":19,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"D7"},"AssociatedPrescriptionServiceReferenceNumber_EN":{"maxLength":12,"minLength":1,"type":"string","format":"TELCO_N0","x-openedi-element-id":"EN"},"AssociatedPrescriptionServiceDate_EP":{"maxLength":8,"minLength":1,"type":"string","format":"TELCO_DT","x-openedi-element-id":"EP"},"ProcedureModifierCodeCount_SE":{"maxLength":2,"minLength":1,"type":"string","format":"TELCO_N0","x-openedi-element-id":"SE"},"CSE_08":{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/CSE"}},"QuantityDispensed_E7":{"maxLength":10,"minLength":1,"type":"string","format":"TELCO_N3","x-openedi-element-id":"E7"},"FillNumber_D3":{"maxLength":2,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_D3"}],"x-openedi-element-id":"D3"},"DaysSupply_D5":{"maxLength":3,"minLength":1,"type":"string","format":"TELCO_N0","x-openedi-element-id":"D5"},"CompoundCode_D6":{"maxLength":1,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_D6"}],"x-openedi-element-id":"D6"},"DispenseAsWritten_D8":{"maxLength":1,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_D8"}],"x-openedi-element-id":"D8"},"DatePrescriptionWritten_DE":{"maxLength":8,"minLength":1,"type":"string","format":"TELCO_DT","x-openedi-element-id":"DE"},"NumberOfRefillsAuthorized_DF":{"maxLength":2,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_DF"}],"x-openedi-element-id":"DF"},"PrescriptionOriginCode_DJ":{"maxLength":1,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_DJ"}],"x-openedi-element-id":"DJ"},"SubmissionClarificationCodeCount_NX":{"maxLength":1,"minLength":1,"type":"string","format":"TELCO_N0","x-openedi-element-id":"NX"},"CNX_18":{"maxItems":3,"type":"array","items":{"$ref":"#/components/schemas/CNX"}},"QuantityPrescribed_ET":{"maxLength":10,"minLength":1,"type":"string","format":"TELCO_N3","x-openedi-element-id":"ET"},"OtherCoverageCode_C8":{"maxLength":2,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_C8"}],"x-openedi-element-id":"C8"},"SpecialPackagingIndicator_DT":{"maxLength":1,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_DT"}],"x-openedi-element-id":"DT"},"OriginallyPrescribedProductServiceIDQualifier_EJ":{"maxLength":2,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_EJ"}],"x-openedi-element-id":"EJ"},"OriginallyPrescribedProductServiceCode_EA":{"maxLength":19,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"EA"},"OriginallyPrescribedQuantity_EB":{"maxLength":10,"minLength":1,"type":"string","format":"TELCO_N3","x-openedi-element-id":"EB"},"AlternateID_CW":{"maxLength":20,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"CW"},"ScheduledPrescriptionIDNumber_EK":{"maxLength":12,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"EK"},"UnitOfMeasure_28":{"maxLength":2,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_28"}],"x-openedi-element-id":"28"},"LevelOfService_DI":{"maxLength":2,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_DI"}],"x-openedi-element-id":"DI"},"PriorAuthorizationTypeCode_EU":{"maxLength":2,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_EU"}],"x-openedi-element-id":"EU"},"PriorAuthorizationNumberSubmitted_EV":{"maxLength":11,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_EV"}],"x-openedi-element-id":"EV"},"IntermediaryAuthorizationTypeID_EW":{"maxLength":2,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_EW"}],"x-openedi-element-id":"EW"},"IntermediaryAuthorizationID_EX":{"maxLength":11,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"EX"},"DispensingStatus_HD":{"maxLength":1,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_HD"}],"x-openedi-element-id":"HD"},"QuantityIntendedToBeDispensed_HF":{"maxLength":10,"minLength":1,"type":"string","format":"TELCO_N3","x-openedi-element-id":"HF"},"DaysSupplyIntendedToBeDispensed_HG":{"maxLength":3,"minLength":1,"type":"string","format":"TELCO_N0","x-openedi-element-id":"HG"},"DelayReasonCode_NV":{"maxLength":2,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_NV"}],"x-openedi-element-id":"NV"},"TransactionReferenceNumber_K5":{"maxLength":10,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"K5"},"PatientAssignmentIndicator_MT":{"maxLength":1,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_MT"}],"x-openedi-element-id":"MT"},"RouteOfAdministration_E2":{"maxLength":11,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"E2"},"CompoundType_G1":{"maxLength":2,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_G1"}],"x-openedi-element-id":"G1"},"ControlNumber_N4":{"maxLength":20,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"N4"},"PharmacyServiceType_U7":{"maxLength":2,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_U7"}],"x-openedi-element-id":"U7"}},"x-openedi-segment-id":"AM07"},"TELCO_ID_EY":{"enum":["01","02","03","04","05","06","07","99"],"type":"string","format":"TELCO_ID_EY"},"AM02":{"type":"object","properties":{"ProviderIDQualifier_EY":{"maxLength":2,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_EY"}],"x-openedi-element-id":"EY"},"ProviderID_E9":{"maxLength":15,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"E9"}},"x-openedi-segment-id":"AM02"},"TELCO_ID_EZ":{"enum":["01","02","03","04","05","06","08","09","10","11","12","13","14","15","99"],"type":"string","format":"TELCO_ID_EZ"},"TELCO_ID_2E":{"enum":["01","02","03","04","05","06","08","09","10","11","12","13","14","15","99"],"type":"string","format":"TELCO_ID_2E"},"TELCO_ID_2N":{"enum":["AB","AK","AL","AR","AS","AZ","BC","CA","CO","CT","DC","DE","FL","FM","GA","GU","HI","IA","ID","IL","IN","KS","KY","LA","MA","MB","MD","ME","MH","MI","MN","MO","MP","MS","MT","NB","NC","ND","NE","NH","NJ","NL","NM","NS","NT","NU","NV","NY","OH","OK","ON","OR","PA","PE","PR","PW","QC","RI","SC","SD","SK","TN","TX","UT","VA","VI","VT","WA","WI","WV","WY","YT"],"type":"string","format":"TELCO_ID_2N"},"AM03":{"type":"object","properties":{"PrescriberIDQualifier_EZ":{"maxLength":2,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_EZ"}],"x-openedi-element-id":"EZ"},"PrescriberID_DB":{"maxLength":15,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"DB"},"PrescriberLastName_DR":{"maxLength":15,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"DR"},"PrescriberPhoneNumber_PM":{"maxLength":10,"minLength":1,"type":"string","format":"TELCO_N0","x-openedi-element-id":"PM"},"PrimaryCareProviderIDQualifier_2E":{"maxLength":2,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_2E"}],"x-openedi-element-id":"2E"},"PrimaryCareProviderID_DL":{"maxLength":15,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"DL"},"PrimaryCareProviderLastName_4E":{"maxLength":15,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"4E"},"PrescriberFirstName_2J":{"maxLength":12,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"2J"},"PrescriberStreetAddress_2K":{"maxLength":30,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"2K"},"PrescriberCityAddress_2M":{"maxLength":20,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"2M"},"PrescriberStateProvinceAddress_2N":{"maxLength":2,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_2N"}],"x-openedi-element-id":"2N"},"PrescriberZipPostalZone_2P":{"maxLength":15,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"2P"}},"x-openedi-segment-id":"AM03"},"Loop_AM07_TSC1":{"required":["AM07"],"type":"object","properties":{"AM07":{"$ref":"#/components/schemas/AM07"},"AM02":{"$ref":"#/components/schemas/AM02"},"AM03":{"$ref":"#/components/schemas/AM03"}},"x-openedi-group-type":"anyOf"},"TSC1":{"required":["AM01","AM07Loop","G1"],"type":"object","properties":{"G1":{"$ref":"#/components/schemas/TransactionHeader"},"AM01":{"$ref":"#/components/schemas/AM01"},"AM07Loop":{"maxItems":4,"type":"array","items":{"$ref":"#/components/schemas/Loop_AM07_TSC1"}}},"x-openedi-message-id":"C1","x-openedi-message-standard":"TELCO"}}}}