UNPKG

healthone

Version:

Health One format library for JavaScript

2 lines 293 B
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}}} //# sourceMappingURL=parseA3.js.map