use of org.hl7.davinci.endpoint.cdshooks.services.crd.CdsServiceInformation in project CRD by HL7-DaVinci.
the class CdsHooksController method serviceDiscovery.
/**
* The FHIR r4 services discovery endpoint.
* @return A services object containing an array of all services available on this server
*/
@CrossOrigin
@GetMapping(value = FHIR_RELEASE + URL_BASE)
public CdsServiceInformation serviceDiscovery() {
logger.info("r4/serviceDiscovery");
CdsServiceInformation serviceInformation = new CdsServiceInformation();
serviceInformation.addServicesItem(orderSignService);
serviceInformation.addServicesItem(orderSelectService);
return serviceInformation;
}
Aggregations