import validateLineLength from"./validateLineLength.js";export default function parseA3(a,b){validateLineLength(a,"A3",[2,3,4,5],b.trailing.A3);const[c,d,e,f,g]=a.slice(0,-1);return{descriptor:c,reference:d,patient:{streetandnumber:e,zip:f,municipality:g}}}