AnticipatoryMedicineBoxIssueProcedure template = new AnticipatoryMedicineBoxIssueProcedure();
template.setID(CDAUUID.generateUUIDString());
// There is only one code in this vocab, so if the below is omitted, that code will still be used - however
// we need to set it explicitly if we also want the code to include a cross-reference to a text section, which we do..
template.setAnticipatoryMedicineBoxIssueCode(
new CodedValue(EoLAnticipatoryMedicineBoxIssueSnCT._376201000000102, "#ambox"));
// Date issued
template.setTimeIssued(isbFields.getAnticipatoryMedicinesDateIssued());
// Location
template.setLocationOfBox(isbFields.getAnticipatoryMedicinesLocation());
return template;