healthone
Version:
Health One format library for JavaScript
2 lines • 298 B
JavaScript
import validateLineLength from"./validateLineLength.js";export default function parseA5(a,b){validateLineLength(a,"A5",[7,8],b.trailing.A5);const[c,d,e,f,g,h,i,j]=a;return{descriptor:c,reference:d,mutuality:{id:e,coverage:g,holder:h,kg1:i,kg2:j},patient:{nn:f}}}
//# sourceMappingURL=parseA5.js.map