{"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_C9":{"enum":["0","1","2","3","4","5","6"],"type":"string","format":"TELCO_ID_C9"},"TELCO_ID_C6":{"enum":["0","1","2","3","4"],"type":"string","format":"TELCO_ID_C6"},"TELCO_ID_2B":{"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_2B"},"TELCO_ID_2D":{"enum":["N","Y"],"type":"string","format":"TELCO_ID_2D"},"TELCO_ID_G2":{"enum":["N","Y"],"type":"string","format":"TELCO_ID_G2"},"AM04":{"required":["CardholderID_C2"],"type":"object","properties":{"CardholderID_C2":{"maxLength":20,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"C2"},"CardholderFirstName_CC":{"maxLength":12,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"CC"},"CardholderLastName_CD":{"maxLength":15,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"CD"},"HomePlan_CE":{"maxLength":3,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"CE"},"PlanID_FO":{"maxLength":8,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"FO"},"EligibilityClarificationCode_C9":{"maxLength":1,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_C9"}],"x-openedi-element-id":"C9"},"GroupID_C1":{"maxLength":15,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"C1"},"PersonCode_C3":{"maxLength":3,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"C3"},"PatientRelationshipCode_C6":{"maxLength":1,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_C6"}],"x-openedi-element-id":"C6"},"OtherPayerBINNumber_MG":{"maxLength":6,"minLength":1,"type":"string","format":"TELCO_N0","x-openedi-element-id":"MG"},"OtherPayerProcessorControlNumber_MH":{"maxLength":10,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"MH"},"OtherPayerCardholderID_NU":{"maxLength":20,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"NU"},"OtherPayerGroupID_MJ":{"maxLength":15,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"MJ"},"MedigapID_2A":{"maxLength":20,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"2A"},"MedicaidIndicator_2B":{"maxLength":2,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_2B"}],"x-openedi-element-id":"2B"},"ProviderAcceptAssignmentIndicator_2D":{"maxLength":1,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_2D"}],"x-openedi-element-id":"2D"},"CMSPartDDefinedQualifiedFacility_G2":{"maxLength":1,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_G2"}],"x-openedi-element-id":"G2"},"MedicaidIDNumber_N5":{"maxLength":20,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"N5"},"MedicaidAgencyNumber_N6":{"maxLength":15,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"N6"}},"x-openedi-segment-id":"AM04"},"TELCO_ID_PA":{"enum":["1","2","3"],"type":"string","format":"TELCO_ID_PA"},"TELCO_ID_PD":{"enum":["ME","PL","PR"],"type":"string","format":"TELCO_ID_PD"},"TELCO_ID_PJ":{"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_PJ"},"AM12":{"required":["BasisOfRequest_PD","RequestPeriodDateBegin_PB","RequestPeriodDateEnd_PC","RequestType_PA"],"type":"object","properties":{"RequestType_PA":{"maxLength":1,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_PA"}],"x-openedi-element-id":"PA"},"RequestPeriodDateBegin_PB":{"maxLength":8,"minLength":1,"type":"string","format":"TELCO_DT","x-openedi-element-id":"PB"},"RequestPeriodDateEnd_PC":{"maxLength":8,"minLength":1,"type":"string","format":"TELCO_DT","x-openedi-element-id":"PC"},"BasisOfRequest_PD":{"maxLength":2,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_PD"}],"x-openedi-element-id":"PD"},"AuthorizedRepresentativeFirstName_PE":{"maxLength":12,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"PE"},"AuthorizedRepresentativeLastName_PF":{"maxLength":15,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"PF"},"AuthorizedRepresentativeStreetAddress_PG":{"maxLength":30,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"PG"},"AuthorizedRepresentativeCityAddress_PH":{"maxLength":20,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"PH"},"AuthorizedRepresentativeStateProvinceAddress_PJ":{"maxLength":2,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_PJ"}],"x-openedi-element-id":"PJ"},"AuthorizedRepresentativeZipPostalZone_PK":{"maxLength":15,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"PK"},"PriorAuthorizationNumberAssigned_PY":{"maxLength":11,"minLength":1,"type":"string","format":"TELCO_N0","x-openedi-element-id":"PY"},"AuthorizationNumber_F3":{"maxLength":20,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"F3"},"PriorAuthorizationSupportingDocumentation_PP":{"maxLength":500,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"PP"}},"x-openedi-segment-id":"AM12"},"TSP2":{"required":["G1"],"type":"object","properties":{"G1":{"$ref":"#/components/schemas/TransactionHeader"},"AM04":{"$ref":"#/components/schemas/AM04"},"AM12":{"maxItems":1,"type":"array","items":{"$ref":"#/components/schemas/AM12"}}},"x-openedi-message-id":"P2","x-openedi-message-standard":"TELCO"}}}}