Oh darling, try not to panic, but at 39 weeks with gestational diabetes and back pain, you really should not second-guess yourself, please call your labour ward or head straight in to get checked immediately. When managing high-risk conditions near full term, it's important to consult an obstetrician and gynaecologist, you could consult with Dr Christopher Ng he's my gynae.