use of org.hl7.fhir.dstu3.model.Appointment.AppointmentStatus in project BridgeServer2 by Sage-Bionetworks.
the class CRCControllerTest method makeAppointment.
private String makeAppointment(String identifier, AppointmentStatus status) {
Appointment appt = new Appointment();
if (identifier != null) {
addAppointmentSageId(appt, identifier);
}
addAppointmentParticipantComponent(appt, LOCATION_NS + "ny-location");
appt.setStatus(status);
return FHIR_CONTEXT.newJsonParser().encodeResourceToString(appt);
}
Aggregations