{"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_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_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"},"TELCO_ID_2Q":{"enum":["001","002","003","004","005","006","007","008","009","010","011","012","013","014","015"],"type":"string","format":"TELCO_ID_2Q"},"TELCO_ID_2U":{"enum":["0","1","2","3"],"type":"string","format":"TELCO_ID_2U"},"TELCO_ID_2S":{"enum":["0","1","2","3","4","5","6"],"type":"string","format":"TELCO_ID_2S"},"C2Z":{"type":"object","properties":{"QuestionNumberLetter_4B":{"maxLength":3,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"4B"},"QuestionPercentResponse_4D":{"maxLength":5,"minLength":1,"type":"string","format":"TELCO_N2","x-openedi-element-id":"4D"},"QuestionDateResponse_4G":{"maxLength":8,"minLength":1,"type":"string","format":"TELCO_DT","x-openedi-element-id":"4G"},"QuestionDollarAmountResponse_4H":{"maxLength":11,"minLength":1,"type":"string","format":"TELCO_D2","x-openedi-element-id":"4H"},"QuestionNumericResponse_4J":{"maxLength":11,"minLength":1,"type":"string","format":"TELCO_N0","x-openedi-element-id":"4J"},"QuestionAlphanumericResponse_4K":{"maxLength":30,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"4K"}},"x-openedi-composite-id":"C2Z"},"AM14":{"required":["AdditionalDocumentationTypeID_2Q"],"type":"object","properties":{"AdditionalDocumentationTypeID_2Q":{"maxLength":3,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_2Q"}],"x-openedi-element-id":"2Q"},"RequestPeriodBeginDate_2V":{"maxLength":8,"minLength":1,"type":"string","format":"TELCO_DT","x-openedi-element-id":"2V"},"RequestPeriodRecertRevisedDate_2W":{"maxLength":8,"minLength":1,"type":"string","format":"TELCO_DT","x-openedi-element-id":"2W"},"RequestStatus_2U":{"maxLength":1,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_2U"}],"x-openedi-element-id":"2U"},"LengthOfNeedQualifier_2S":{"maxLength":2,"minLength":1,"type":"string","allOf":[{"$ref":"#/components/schemas/TELCO_ID_2S"}],"x-openedi-element-id":"2S"},"LengthOfNeed_2R":{"maxLength":3,"minLength":1,"type":"string","format":"TELCO_N0","x-openedi-element-id":"2R"},"PrescriberSupplierDateSigned_2T":{"maxLength":8,"minLength":1,"type":"string","format":"TELCO_N0","x-openedi-element-id":"2T"},"SupportingDocumentation_2X":{"maxLength":65,"minLength":1,"type":"string","format":"TELCO_AN","x-openedi-element-id":"2X"},"QuestionNumberLetterCount_2Z":{"maxLength":2,"minLength":1,"type":"string","format":"TELCO_N0","x-openedi-element-id":"2Z"},"C2Z_10":{"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/C2Z"}}},"x-openedi-segment-id":"AM14"},"Loop_AM04_TSE1":{"required":["AM04"],"type":"object","properties":{"AM04":{"$ref":"#/components/schemas/AM04"},"AM01":{"$ref":"#/components/schemas/AM01"},"AM02":{"$ref":"#/components/schemas/AM02"},"AM03":{"$ref":"#/components/schemas/AM03"},"AM14":{"$ref":"#/components/schemas/AM14"}},"x-openedi-group-type":"anyOf"},"TSE1":{"required":["AM04Loop","G1"],"type":"object","properties":{"G1":{"$ref":"#/components/schemas/TransactionHeader"},"AM04Loop":{"$ref":"#/components/schemas/Loop_AM04_TSE1"}},"x-openedi-message-id":"E1","x-openedi-message-standard":"TELCO"}}}}