SlideShare uma empresa Scribd logo
1 de 56
Baixar para ler offline
@GuimaraesSv @CesarHgt @tomitribe
Rafael Guimarães, César Hernández
Keeping Brazil’s Medical Industry
Safe with MicroProfile
@GuimaraesSv @CesarHgt @tomitribe
SPEAKERS
Rafael Guimarães
● Software Engineer
● GBR Systems.
● +27 experience in Medical and Judicial
areas in Brazil.
● University faculty professor.
● Focused on distributed software
architectures.
César Hernández
● Senior Software Engineer at Tomitribe
● Oracle Java Champion and
Groundbreaker Ambassador
● Duke’s Choice Award 2016, 2017
● Oracle Certified Professional
● +14 experience with Java EE
● Apache TomEE and Eclipse Committer,
Microprofile Contributor.
● Open Source advocate, writer, teacher
and public speaker
@GuimaraesSv @CesarHgt @tomitribe
Agenda
● Brazilian health care system Overview
● Base System
● Boosting Brazilian healthcare systems with Jakarta EE, Eclipse
MicroProfile and Apache TomEE
● Contribution to the COVID-19 Response
● Lessons Learned
@GuimaraesSv @CesarHgt @tomitribe
Brazilian health care system Overview
@GuimaraesSv @CesarHgt @tomitribe
5 major regions
26 states / 5570 cities
1 federal district
Brazilian health care system Overview
214M
People
563k
Doctors
155k
Health Service
Providers
6th largest population
(behind China, India, United
States, Indonesia, Pakistan)
source:
http://cnes.datasus.gov.br
http://fiscalizacao.cfm.org.br/
https://population.un.org/wpp/Download/Standard/Population/
5th largest country
(behind Russia, Canada,
China, United States)
@GuimaraesSv @CesarHgt @tomitribe
source:
http://cnes.datasus.gov.br
http://fiscalizacao.cfm.org.br/
https://population.un.org/wpp/Download/Standard/Population/
Brazilian health care system Overview
North
Midwest
Northeast
South
1 doctor / 1.1k
1 provider / 4.1k
Southeast
1 doctor / 5.1k
1 provider / 30k
1 doctor / 5.6k
1 provider / 31k
1 doctor / 1.6k
1 provider / 6.5k 1 doctor / 1.3k
1 provider / 4.7k
WHO recommends:
1 doctor / 1k
@GuimaraesSv @CesarHgt @tomitribe
Medical Practice!
Brazilian health care system - Actors
Medicine
Council
Government Health Departments
Control
Regulation
Policies
Sanitary Surveillance
Licences
Records
Professional Discipline
Ethical Judgment
Licence to work
Keep Records
Inspections
Complains
Guiding
Integrations
Information Sharing
Medicine
Schools
&
Residency
Programs
Learning, Training, Specializing
Counselors
&
Inspectors
Health Service
Providers
Doctors
Patients
@GuimaraesSv @CesarHgt @tomitribe
Brazilian health care system - Challenges
● Large and Complex
○ Inequalities
○ Difficult governance
○ 30 different Medical Specialties, 20 types of Health Service Providers
○ High frequency of Policy and Rule changes
● Difficult medicine practice
○ Poor infrastructure - high risk
○ Proliferation of medical schools - bad quality professionals
● Incomplete institutional information exchange
○ Diversity of technologies, legacy systems and standards
@GuimaraesSv @CesarHgt @tomitribe
Brazilian health care system - Challenges
● How to make good quality inspection reports, with agility, especially
considering the high amount of laws, recommendations, policies and
standards? And to create good statistics of those reports ?
● How to access legacy system data of other government departments without
bureaucracy, to check licences, records and information integrity ? Is the data
safe, monitored, fast, reliable ?
● What could be done to facilitate interaction between the doctors and the
council?
@GuimaraesSv @CesarHgt @tomitribe
GBR Systems
@GuimaraesSv @CesarHgt @tomitribe
About GBR
● Founded in 2008
● Consulting, Software Engineering & Architecture, Training
● Applications:
○ support Inspectors and Counselors in their principal job -
Professional Discipline, Guiding, Inspections
○ online services that control the Doctors and Service Providers
in their “life cycle” within Councils
○ to do quality auditing and certification of medical schools
@GuimaraesSv @CesarHgt @tomitribe
Base system
Server
● JAVA EE 6
● Jboss7
● Tomcat 6, 7
Client
● Adobe Flex
● Adobe Air
● Angular JS 1
Data Integration
● Kettle
ON-PREMISSE!
@GuimaraesSv @CesarHgt @tomitribe
About GBR coverage
Federal Medical
Council Nationwide
Regional
Medical Councils
National Inspection
Platform
CFM
Accreditation of
Medical Schools -
SAEME
South
Regional Santa Catarina
CRMSC
South
Regional Rio Grande do Sul
CREMERS
@GuimaraesSv @CesarHgt @tomitribe
Base system
@GuimaraesSv @CesarHgt @tomitribe
Backend Architecture Roadmap
● Improve overall system architecture
○ Java EE 6 → Jakarta EE8
○ Security
○ Fault Tolerance
○ Performance
○ Monitoring
● API Gateway
○ Secure OAuth 2.0 + HTTP signatures
○ Microservice Monitoring and routing
○ Standard Integrations - RMI, SOAP, → REST
● Cloud Native
○ Different cloud providers
● Provide APIs to other institutions
● javax -> jakarta namespace
@GuimaraesSv @CesarHgt @tomitribe
Boosting Brazilian healthcare systems with
Eclipse MicroProfile
and Apache TomEE
@GuimaraesSv @CesarHgt @tomitribe
Eclipse MicroProfile
@GuimaraesSv @CesarHgt @tomitribe
Eclipse MicroProfile
● An open-source community specification
● Focus on Enterprise Java microservices
● Generates: SPEC, API, and TCK.
● https://microprofile.io
● Implemented by different vendors.
@GuimaraesSv @CesarHgt @tomitribe
Eclipse MicroProfile
@GuimaraesSv @CesarHgt @tomitribe
Apache TomEE
@GuimaraesSv @CesarHgt @tomitribe
● Apache Tomcat + Java EE = Apache TomEE
● Built from Apache components
● MicroProfile compliant
● Footprint: 30MB zip, 100~MB memory
● TomEE 9.0.0-M7 (Jakarta EE 9 Web Profile
compatible implementation)
● tomee.apache.org
@GuimaraesSv @CesarHgt @tomitribe
Apache TomEE
TomEE JAX-RS Microprofile
Java Server Pages
(JSP)
Java Server Faces
(JSF)
Java Transaction
API (JTA)
Bean Validation
Enterprise
JavaBeans
JavaMail API
Java API for
RESTful Web
Services (JAX-RS)
Java Persistence
API (JPA)
Contexts and
Dependency
Injection (CDI)
Java Servlets
Java
Authentication and
Authorization
Service (JAAS)
Java Authorization
Contract for
Containers (JACC)
http://tomee.apache.org/comparison.html
@GuimaraesSv @CesarHgt @tomitribe
http://tribestream.io/
@GuimaraesSv @CesarHgt @tomitribe
Lessons learned so far in the journey
@GuimaraesSv @CesarHgt @tomitribe
MicroProfile Config
Before
● Sensitive information within project files
● Complex properties customizations
● Infrastructure environment management was painful
@GuimaraesSv @CesarHgt @tomitribe
Config
After
● Sensitive information decoupled from the application code
● Container friendly
● Easy hierarchy for environment variables vs maven -D
● Allow easy container horizontal scaling
@GuimaraesSv @CesarHgt @tomitribe
MP Configuration
@Inject
@ConfigProperty(name = "log.enabled", defaultValue = "true")
private Boolean logEnabled;
@Inject
private JsonWebToken token;
public void info(String message) {
if (logEnabled) {
if (token == null || !token.claim("email").isPresent()) {
logger.info(message);
} else {
logger.info(token.claim("email").get() + " - " + message);
}
}
}
@GuimaraesSv @CesarHgt @tomitribe
MP Configuration
@Inject
@ConfigProperty(name = "log.enabled", defaultValue = "true")
private Boolean logEnabled;
@Inject
private JsonWebToken token;
public void info(String message) {
if (logEnabled) {
if (token == null || !token.claim("email").isPresent()) {
logger.info(message);
} else {
logger.info(token.claim("email").get() + " - " + message);
}
}
}
@GuimaraesSv @CesarHgt @tomitribe
Before
● Manual process and lack of coverage
● Disperse monitoring
● Hard to trace
● “It’s slow”, “a glitch”, “restarts”
● Reactive most of the time
Health Check + Metrics
@GuimaraesSv @CesarHgt @tomitribe
After
● JSON base alerts are now centralized and provide unified notifications
● Custom rules base on standard status
● Proactiveness since the last 3 months
● Improves user satisfaction
Health Check + Metrics
@GuimaraesSv @CesarHgt @tomitribe
Microprofile HealthCheck
@Health
@ApplicationScoped
public class DatabaseHealthCheck implements HealthCheck {
@PersistenceContext(unitName = "crvirtual_unit")
protected EntityManager manager;
@Override
public HealthCheckResponse call() {
HealthCheckResponseBuilder responseBuilder = HealthCheckResponse.named("oracle");
try {
String result = (String) manager.createNativeQuery("select * from dual").getSingleResult();
if(result.equals("X")){
return responseBuilder.up().build();
} else {
return responseBuilder.down().build();
}
} catch (Exception e) {
return responseBuilder.withData("error", e.getMessage()).down().build();
}
}
}
@GuimaraesSv @CesarHgt @tomitribe
Microprofile HealthCheck
@Health
@ApplicationScoped
public class DatabaseHealthCheck implements HealthCheck {
@PersistenceContext(unitName = "crvirtual_unit")
protected EntityManager manager;
@Override
public HealthCheckResponse call() {
HealthCheckResponseBuilder responseBuilder = HealthCheckResponse.named("oracle");
try {
String result = (String) manager.createNativeQuery("select * from dual").getSingleResult();
if(result.equals("X")){
return responseBuilder.up().build();
} else {
return responseBuilder.down().build();
}
} catch (Exception e) {
return responseBuilder.withData("error", e.getMessage()).down().build();
}
}
}
@GuimaraesSv @CesarHgt @tomitribe
Microprofile HealthCheck
@GuimaraesSv @CesarHgt @tomitribe
JWT Authentication
Before:
● Basic HTTP Auth with session management
● Challenges for microservices
○ New stateless security requirement
○ Authentication and Authorization between microservices
○ Overhead and single point of failure
@GuimaraesSv @CesarHgt @tomitribe
JWT Authentication
After:
● OAuth 2.0 JWT
○ Stateless security
○ Authentication and Authorization between microservices
○ State was kept on the server and pointer on the client side
@GuimaraesSv @CesarHgt @tomitribe
Microprofile JWT
/** Microprofile JWT **/
@Inject
private JsonWebToken token;
/** Microprofile Config **/
@Inject
@ConfigProperty(name = "log.enabled", defaultValue = "true")
private Boolean logEnabled;
private Logger logger = Logger.getLogger(CrVirtualLogger.class.getName());
public void info(String message) {
if (logEnabled) {
if (token == null || !token.claim("email").isPresent()) {
logger.info(message);
} else {
logger.info(token.claim("email").get() + " - " + message);
}
}
}
@GuimaraesSv @CesarHgt @tomitribe
Microprofile JWT
/** Microprofile JWT **/
@Inject
private JsonWebToken token;
/** Microprofile Config **/
@Inject
@ConfigProperty(name = "log.enabled", defaultValue = "true")
private Boolean logEnabled;
private Logger logger = Logger.getLogger(CrVirtualLogger.class.getName());
public void info(String message) {
if (logEnabled) {
if (token == null || !token.claim("email").isPresent()) {
logger.info(message);
} else {
logger.info(token.claim("email").get() + " - " + message);
}
}
}
@GuimaraesSv @CesarHgt @tomitribe
Authentication
● Protected Access into Medical and Federal Knowledge databases
@GuimaraesSv @CesarHgt @tomitribe
Rest Client
Before
● JAX-RS Client
● No type-safe
● Service needed to be understood
● Request needed to be built by hand every time
● Not the best reusability of the code
@GuimaraesSv @CesarHgt @tomitribe
Rest Client
After
● Type-safe approach
● Usage of interfaces to call the services
● Header propagation and handling made easy
● Smooth JWT propagation
@GuimaraesSv @CesarHgt @tomitribe
@Dependent
@RegisterRestClient
public interface SerproSearchClient {
@POST
@Consumes(MediaType.APPLICATION_JSON)
public Response getToken(String body);
@GET
public Response searchCompany(@HeaderParam("Authorization") String key,
@HeaderParam("Accept") String accept);
}
Microprofile RestClient
@GuimaraesSv @CesarHgt @tomitribe
@Dependent
@RegisterRestClient
public interface SerproSearchClient {
@POST
@Consumes(MediaType.APPLICATION_JSON)
public Response getToken(String body);
@GET
public Response searchCompany(@HeaderParam("Authorization") String key,
@HeaderParam("Accept") String accept);
}
Microprofile RestClient
@GuimaraesSv @CesarHgt @tomitribe
Microprofile RestClient
import org.eclipse.microprofile.rest.client.inject.RegisterRestClient;
import javax.enterprise.context.Dependent;
import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;
import java.util.List;
@RegisterRestClient
@Path("api/doctors")
public interface DoctorResourceClient {
@GET
@Path("{id}")
@Produces(MediaType.APPLICATION_JSON)
Doctor find(@PathParam("id") Long id);
@GET
List<Doctor> getDoctors();
@POST
@Consumes("application/json")
Doctor addDoctor(Doctor doctor);
@GuimaraesSv @CesarHgt @tomitribe
Microprofile RestClient
import org.eclipse.microprofile.rest.client.inject.RegisterRestClient;
import javax.enterprise.context.Dependent;
import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;
import java.util.List;
@RegisterRestClient
@Path("api/doctors")
public interface DoctorResourceClient {
@GET
@Path("{id}")
@Produces(MediaType.APPLICATION_JSON)
Doctor find(@PathParam("id") Long id);
@GET
List<Doctor> getDoctors();
@POST
@Consumes("application/json")
Doctor addDoctor(Doctor doctor);
@GuimaraesSv @CesarHgt @tomitribe
Microprofile RestClient
import org.superbiz.moviefun.mpclient.DoctorResourceClient;
@Inject
@RestClient
private DoctorResourceClient doctorResourceClient;
public void printAllDoctors(){
List<Doctor> doctors = doctorResourceClient.getDoctors();
for (Doctor doctor : doctor) {
LOGGER.info(doctor.toString());
}
}
public void addNewDoctor() {
Doctor newDoctor = new Doctor ("7","Doctor 007.");
doctorResourceClient.addDoctor(newDoctor);
}
@GuimaraesSv @CesarHgt @tomitribe
Microprofile RestClient
import org.superbiz.moviefun.mpclient.DoctorResourceClient;
@Inject
@RestClient
private DoctorResourceClient doctorResourceClient;
public void printAllDoctors(){
List<Doctor> doctors = doctorResourceClient.getDoctors();
for (Doctor doctor : doctor) {
LOGGER.info(doctor.toString());
}
}
public void addNewDoctor() {
Doctor newDoctor = new Doctor ("7","Doctor 007.");
doctorResourceClient.addDoctor(newDoctor);
}
@GuimaraesSv @CesarHgt @tomitribe
Before
● Legacy system was not well document
● Documentation not fully aligned with master code
○ Duplication of code
○ Design first approach not trustable
OpenAPI
@GuimaraesSv @CesarHgt @tomitribe
OpenAPI
After
● Standard visibility
● Find duplication of code
● Allowed API design approach
● swagger-ui
@GuimaraesSv @CesarHgt @tomitribe
OpenAPI
@Operation(description = "To search Doctors by their record number")
@APIResponses({
@APIResponse(responseCode = "200", description = "Success",
content = @Content(schema = @Schema(implementation = User.class))),
@APIResponse(responseCode = "400", description = "Bad Request") })
@GET
@Produces(MediaType.APPLICATION_JSON)
@Path("{recordNumber}")
public Response getDoctor(@PathParam("recordNumber") Long recordNumber) {
try {
logger.info("searching Doctors by record number");
return Response.ok(dao.getByRecordNumber(recordNumber)).build();
} catch (Exception e) {
throw new WebApplicationException(
Response.status(Response.Status.BAD_REQUEST).entity(new ErrorMessages(e.getMessage())).build());
}
}
@GuimaraesSv @CesarHgt @tomitribe
OpenAPI
@GuimaraesSv @CesarHgt @tomitribe
COVID 19 response
@GuimaraesSv @CesarHgt @tomitribe
Telemedicine Support - Doctor's Prescriptions System
● 5 days development
○ REST API
● Some integrations
○ Doctor's space login, Federal Companies Database, Pharmacies Database, Google
Authenticator (two factor auth)
● Sensitive data protection
○ Attribute Converter
Medical Practice!
Digital Prescription Digital Prescription
Doctor Patient Pharmacy
Receive / Validate
Emit
@GuimaraesSv @CesarHgt @tomitribe
Telemedicine Support - Doctor's Prescriptions System
Digital Prescription
@GuimaraesSv @CesarHgt @tomitribe
Telemedicine Support - Doctor's Prescriptions System
@GuimaraesSv @CesarHgt @tomitribe
Telemedicine Support - Doctor's Prescriptions System
● Almost 2,6 millions prescriptions in south of Brazil installations-- since Mar/ 2020.
Santa Catarina State Rio Grande do Sul State
@GuimaraesSv @CesarHgt @tomitribe
Thank you
Contact us @TOMITRIBE
Rafael Guimarães, César Hernández
Keeping Brazil’s Medical Industry
Safe with MicroProfile

Mais conteúdo relacionado

Semelhante a Keeping brazil's medical industry safe with Micro Profile [TDC 2021]

Microsoft: A Waking Giant in Healthcare Analytics and Big Data
Microsoft: A Waking Giant in Healthcare Analytics and Big DataMicrosoft: A Waking Giant in Healthcare Analytics and Big Data
Microsoft: A Waking Giant in Healthcare Analytics and Big DataDale Sanders
 
Microsoft: A Waking Giant In Healthcare Analytics and Big Data
Microsoft: A Waking Giant In Healthcare Analytics and Big DataMicrosoft: A Waking Giant In Healthcare Analytics and Big Data
Microsoft: A Waking Giant In Healthcare Analytics and Big DataHealth Catalyst
 
How BrackenData Leverages Data on Over 250,000 Clinical Trials
How BrackenData Leverages Data on Over 250,000 Clinical TrialsHow BrackenData Leverages Data on Over 250,000 Clinical Trials
How BrackenData Leverages Data on Over 250,000 Clinical TrialsBracken
 
Seattle Code Camp 2016- Role of Data Science in Healthcare
Seattle Code Camp 2016- Role of Data Science in HealthcareSeattle Code Camp 2016- Role of Data Science in Healthcare
Seattle Code Camp 2016- Role of Data Science in HealthcareCalance
 
Webinar on Big Data Challenges : Presented by Raj Kasturi
Webinar on Big Data Challenges : Presented by Raj KasturiWebinar on Big Data Challenges : Presented by Raj Kasturi
Webinar on Big Data Challenges : Presented by Raj KasturioGuild .
 
Wellness presentation
Wellness presentationWellness presentation
Wellness presentation3DTechnology
 
Hospital Management System proposal
Hospital Management System proposalHospital Management System proposal
Hospital Management System proposalChandresh Prasad
 
Remote Urine Analysis for Cancer Patients At Home Using Machine Learning
Remote Urine Analysis for Cancer Patients At Home Using Machine LearningRemote Urine Analysis for Cancer Patients At Home Using Machine Learning
Remote Urine Analysis for Cancer Patients At Home Using Machine LearningGslab1
 
Business ideas pitch deck - multi project - Canada
Business ideas pitch deck - multi project - CanadaBusiness ideas pitch deck - multi project - Canada
Business ideas pitch deck - multi project - CanadaVijayananda Mohire
 
Wolters Kluwer Improves Patient Outcomes with GigaSpaces XAP
Wolters Kluwer Improves Patient Outcomes with GigaSpaces XAP Wolters Kluwer Improves Patient Outcomes with GigaSpaces XAP
Wolters Kluwer Improves Patient Outcomes with GigaSpaces XAP Amnon Raviv
 
5.3 years Experience as QA Test Engineer
5.3 years Experience as QA Test Engineer5.3 years Experience as QA Test Engineer
5.3 years Experience as QA Test EngineerISSAN SUBUDHI
 
Transforming Business Operations with Blockchain
Transforming Business Operations with BlockchainTransforming Business Operations with Blockchain
Transforming Business Operations with BlockchainPerficient, Inc.
 
Nearly the Holy Grail – Clinical Portals for Faster, Better and Borderless Care
Nearly the Holy Grail – Clinical Portals for Faster, Better and Borderless CareNearly the Holy Grail – Clinical Portals for Faster, Better and Borderless Care
Nearly the Holy Grail – Clinical Portals for Faster, Better and Borderless CareNHSScotlandEvent
 
How to Restructure and Modernize Active Directory
How to Restructure and Modernize Active DirectoryHow to Restructure and Modernize Active Directory
How to Restructure and Modernize Active DirectoryQuest
 
Eng-full corporate profile v2 2017
Eng-full corporate profile v2 2017Eng-full corporate profile v2 2017
Eng-full corporate profile v2 2017IntegraIT
 

Semelhante a Keeping brazil's medical industry safe with Micro Profile [TDC 2021] (20)

shashank_project_Mgmt
shashank_project_Mgmtshashank_project_Mgmt
shashank_project_Mgmt
 
Microsoft: A Waking Giant in Healthcare Analytics and Big Data
Microsoft: A Waking Giant in Healthcare Analytics and Big DataMicrosoft: A Waking Giant in Healthcare Analytics and Big Data
Microsoft: A Waking Giant in Healthcare Analytics and Big Data
 
Microsoft: A Waking Giant In Healthcare Analytics and Big Data
Microsoft: A Waking Giant In Healthcare Analytics and Big DataMicrosoft: A Waking Giant In Healthcare Analytics and Big Data
Microsoft: A Waking Giant In Healthcare Analytics and Big Data
 
How BrackenData Leverages Data on Over 250,000 Clinical Trials
How BrackenData Leverages Data on Over 250,000 Clinical TrialsHow BrackenData Leverages Data on Over 250,000 Clinical Trials
How BrackenData Leverages Data on Over 250,000 Clinical Trials
 
Seattle Code Camp 2016- Role of Data Science in Healthcare
Seattle Code Camp 2016- Role of Data Science in HealthcareSeattle Code Camp 2016- Role of Data Science in Healthcare
Seattle Code Camp 2016- Role of Data Science in Healthcare
 
Webinar on Big Data Challenges : Presented by Raj Kasturi
Webinar on Big Data Challenges : Presented by Raj KasturiWebinar on Big Data Challenges : Presented by Raj Kasturi
Webinar on Big Data Challenges : Presented by Raj Kasturi
 
Wellness presentation
Wellness presentationWellness presentation
Wellness presentation
 
Hospital Management System proposal
Hospital Management System proposalHospital Management System proposal
Hospital Management System proposal
 
Remote Urine Analysis for Cancer Patients At Home Using Machine Learning
Remote Urine Analysis for Cancer Patients At Home Using Machine LearningRemote Urine Analysis for Cancer Patients At Home Using Machine Learning
Remote Urine Analysis for Cancer Patients At Home Using Machine Learning
 
Business ideas pitch deck - multi project - Canada
Business ideas pitch deck - multi project - CanadaBusiness ideas pitch deck - multi project - Canada
Business ideas pitch deck - multi project - Canada
 
internship ppt.pptx
internship ppt.pptxinternship ppt.pptx
internship ppt.pptx
 
Wolters Kluwer Improves Patient Outcomes with GigaSpaces XAP
Wolters Kluwer Improves Patient Outcomes with GigaSpaces XAP Wolters Kluwer Improves Patient Outcomes with GigaSpaces XAP
Wolters Kluwer Improves Patient Outcomes with GigaSpaces XAP
 
Nitish Clinic.pptx
Nitish Clinic.pptxNitish Clinic.pptx
Nitish Clinic.pptx
 
5.3 years Experience as QA Test Engineer
5.3 years Experience as QA Test Engineer5.3 years Experience as QA Test Engineer
5.3 years Experience as QA Test Engineer
 
Beatrice_Profile_onshore_OK
Beatrice_Profile_onshore_OKBeatrice_Profile_onshore_OK
Beatrice_Profile_onshore_OK
 
Resume_01022017
Resume_01022017Resume_01022017
Resume_01022017
 
Transforming Business Operations with Blockchain
Transforming Business Operations with BlockchainTransforming Business Operations with Blockchain
Transforming Business Operations with Blockchain
 
Nearly the Holy Grail – Clinical Portals for Faster, Better and Borderless Care
Nearly the Holy Grail – Clinical Portals for Faster, Better and Borderless CareNearly the Holy Grail – Clinical Portals for Faster, Better and Borderless Care
Nearly the Holy Grail – Clinical Portals for Faster, Better and Borderless Care
 
How to Restructure and Modernize Active Directory
How to Restructure and Modernize Active DirectoryHow to Restructure and Modernize Active Directory
How to Restructure and Modernize Active Directory
 
Eng-full corporate profile v2 2017
Eng-full corporate profile v2 2017Eng-full corporate profile v2 2017
Eng-full corporate profile v2 2017
 

Mais de César Hernández

7 Recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...
7 Recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...7 Recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...
7 Recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...César Hernández
 
Paving the road with Jakarta EE and Apache TomEE - JCON 2021
Paving the road with Jakarta EE  and Apache TomEE - JCON 2021Paving the road with Jakarta EE  and Apache TomEE - JCON 2021
Paving the road with Jakarta EE and Apache TomEE - JCON 2021César Hernández
 
7 recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...
7 recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...7 recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...
7 recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...César Hernández
 
Aprende, contribuye, y surfea Cloud Native Java - GuateJUG 2021
Aprende, contribuye, y surfea Cloud Native Java - GuateJUG 2021Aprende, contribuye, y surfea Cloud Native Java - GuateJUG 2021
Aprende, contribuye, y surfea Cloud Native Java - GuateJUG 2021César Hernández
 
Paving the way with Jakarta EE and Apache TomEE - JCConf
Paving the way with Jakarta EE  and Apache TomEE - JCConfPaving the way with Jakarta EE  and Apache TomEE - JCConf
Paving the way with Jakarta EE and Apache TomEE - JCConfCésar Hernández
 
Pavimentando el camino con Jakarta EE 9 y Apache TomEE
Pavimentando el camino con Jakarta EE 9 y Apache TomEE Pavimentando el camino con Jakarta EE 9 y Apache TomEE
Pavimentando el camino con Jakarta EE 9 y Apache TomEE César Hernández
 
It is easy contributing to open source - JCON 2020
It is easy contributing to open source - JCON 2020It is easy contributing to open source - JCON 2020
It is easy contributing to open source - JCON 2020César Hernández
 
It is easy contributing to Open Source - ECLIPSE CON 2020
It is easy contributing to Open Source - ECLIPSE CON 2020It is easy contributing to Open Source - ECLIPSE CON 2020
It is easy contributing to Open Source - ECLIPSE CON 2020César Hernández
 
Paving the way with Jakarta EE and apache TomEE at cloudconferenceday
Paving the way with Jakarta EE and apache TomEE at cloudconferencedayPaving the way with Jakarta EE and apache TomEE at cloudconferenceday
Paving the way with Jakarta EE and apache TomEE at cloudconferencedayCésar Hernández
 
Pavimentando el Camino con Jakarta EE 9 y Apache TomEE 9.0.0
Pavimentando el Camino con Jakarta EE 9 y Apache TomEE 9.0.0Pavimentando el Camino con Jakarta EE 9 y Apache TomEE 9.0.0
Pavimentando el Camino con Jakarta EE 9 y Apache TomEE 9.0.0César Hernández
 
Creando microservicios con java micro profile y tomee - CUNORI 2020
Creando microservicios con java micro profile y tomee - CUNORI 2020Creando microservicios con java micro profile y tomee - CUNORI 2020
Creando microservicios con java micro profile y tomee - CUNORI 2020César Hernández
 
Paving the way with Jakarta EE and Apache TomEE - itkonekt 2020
Paving the way with Jakarta EE and Apache TomEE - itkonekt 2020Paving the way with Jakarta EE and Apache TomEE - itkonekt 2020
Paving the way with Jakarta EE and Apache TomEE - itkonekt 2020César Hernández
 
Creando microservicios con Java MicroProfile y TomEE - OGBT
Creando microservicios con Java MicroProfile y TomEE  - OGBTCreando microservicios con Java MicroProfile y TomEE  - OGBT
Creando microservicios con Java MicroProfile y TomEE - OGBTCésar Hernández
 
Creando microservicios con Java, Microprofile y TomEE - Baranquilla JUG
Creando microservicios con Java, Microprofile y TomEE - Baranquilla JUGCreando microservicios con Java, Microprofile y TomEE - Baranquilla JUG
Creando microservicios con Java, Microprofile y TomEE - Baranquilla JUGCésar Hernández
 
Es fácil contribuir al open source - Bolivia JUG 2020
Es fácil contribuir al open source - Bolivia JUG 2020Es fácil contribuir al open source - Bolivia JUG 2020
Es fácil contribuir al open source - Bolivia JUG 2020César Hernández
 
Its easy! contributing to open source - Devnexus 2020
Its easy! contributing to open source - Devnexus 2020Its easy! contributing to open source - Devnexus 2020
Its easy! contributing to open source - Devnexus 2020César Hernández
 
Conviértete en un contributor de open source con apache TomEE
Conviértete en un contributor de open source con apache TomEEConviértete en un contributor de open source con apache TomEE
Conviértete en un contributor de open source con apache TomEECésar Hernández
 
Deconstruyendo la seguridad en rest
Deconstruyendo la seguridad en restDeconstruyendo la seguridad en rest
Deconstruyendo la seguridad en restCésar Hernández
 
Open jalpa 2019 - CI y CD en la nube
Open jalpa 2019  - CI y CD en la nubeOpen jalpa 2019  - CI y CD en la nube
Open jalpa 2019 - CI y CD en la nubeCésar Hernández
 
Java EE ahora es Jakarta EE - Java Day Guatemala 2018
Java EE ahora es Jakarta EE - Java Day Guatemala 2018Java EE ahora es Jakarta EE - Java Day Guatemala 2018
Java EE ahora es Jakarta EE - Java Day Guatemala 2018César Hernández
 

Mais de César Hernández (20)

7 Recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...
7 Recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...7 Recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...
7 Recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...
 
Paving the road with Jakarta EE and Apache TomEE - JCON 2021
Paving the road with Jakarta EE  and Apache TomEE - JCON 2021Paving the road with Jakarta EE  and Apache TomEE - JCON 2021
Paving the road with Jakarta EE and Apache TomEE - JCON 2021
 
7 recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...
7 recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...7 recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...
7 recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...
 
Aprende, contribuye, y surfea Cloud Native Java - GuateJUG 2021
Aprende, contribuye, y surfea Cloud Native Java - GuateJUG 2021Aprende, contribuye, y surfea Cloud Native Java - GuateJUG 2021
Aprende, contribuye, y surfea Cloud Native Java - GuateJUG 2021
 
Paving the way with Jakarta EE and Apache TomEE - JCConf
Paving the way with Jakarta EE  and Apache TomEE - JCConfPaving the way with Jakarta EE  and Apache TomEE - JCConf
Paving the way with Jakarta EE and Apache TomEE - JCConf
 
Pavimentando el camino con Jakarta EE 9 y Apache TomEE
Pavimentando el camino con Jakarta EE 9 y Apache TomEE Pavimentando el camino con Jakarta EE 9 y Apache TomEE
Pavimentando el camino con Jakarta EE 9 y Apache TomEE
 
It is easy contributing to open source - JCON 2020
It is easy contributing to open source - JCON 2020It is easy contributing to open source - JCON 2020
It is easy contributing to open source - JCON 2020
 
It is easy contributing to Open Source - ECLIPSE CON 2020
It is easy contributing to Open Source - ECLIPSE CON 2020It is easy contributing to Open Source - ECLIPSE CON 2020
It is easy contributing to Open Source - ECLIPSE CON 2020
 
Paving the way with Jakarta EE and apache TomEE at cloudconferenceday
Paving the way with Jakarta EE and apache TomEE at cloudconferencedayPaving the way with Jakarta EE and apache TomEE at cloudconferenceday
Paving the way with Jakarta EE and apache TomEE at cloudconferenceday
 
Pavimentando el Camino con Jakarta EE 9 y Apache TomEE 9.0.0
Pavimentando el Camino con Jakarta EE 9 y Apache TomEE 9.0.0Pavimentando el Camino con Jakarta EE 9 y Apache TomEE 9.0.0
Pavimentando el Camino con Jakarta EE 9 y Apache TomEE 9.0.0
 
Creando microservicios con java micro profile y tomee - CUNORI 2020
Creando microservicios con java micro profile y tomee - CUNORI 2020Creando microservicios con java micro profile y tomee - CUNORI 2020
Creando microservicios con java micro profile y tomee - CUNORI 2020
 
Paving the way with Jakarta EE and Apache TomEE - itkonekt 2020
Paving the way with Jakarta EE and Apache TomEE - itkonekt 2020Paving the way with Jakarta EE and Apache TomEE - itkonekt 2020
Paving the way with Jakarta EE and Apache TomEE - itkonekt 2020
 
Creando microservicios con Java MicroProfile y TomEE - OGBT
Creando microservicios con Java MicroProfile y TomEE  - OGBTCreando microservicios con Java MicroProfile y TomEE  - OGBT
Creando microservicios con Java MicroProfile y TomEE - OGBT
 
Creando microservicios con Java, Microprofile y TomEE - Baranquilla JUG
Creando microservicios con Java, Microprofile y TomEE - Baranquilla JUGCreando microservicios con Java, Microprofile y TomEE - Baranquilla JUG
Creando microservicios con Java, Microprofile y TomEE - Baranquilla JUG
 
Es fácil contribuir al open source - Bolivia JUG 2020
Es fácil contribuir al open source - Bolivia JUG 2020Es fácil contribuir al open source - Bolivia JUG 2020
Es fácil contribuir al open source - Bolivia JUG 2020
 
Its easy! contributing to open source - Devnexus 2020
Its easy! contributing to open source - Devnexus 2020Its easy! contributing to open source - Devnexus 2020
Its easy! contributing to open source - Devnexus 2020
 
Conviértete en un contributor de open source con apache TomEE
Conviértete en un contributor de open source con apache TomEEConviértete en un contributor de open source con apache TomEE
Conviértete en un contributor de open source con apache TomEE
 
Deconstruyendo la seguridad en rest
Deconstruyendo la seguridad en restDeconstruyendo la seguridad en rest
Deconstruyendo la seguridad en rest
 
Open jalpa 2019 - CI y CD en la nube
Open jalpa 2019  - CI y CD en la nubeOpen jalpa 2019  - CI y CD en la nube
Open jalpa 2019 - CI y CD en la nube
 
Java EE ahora es Jakarta EE - Java Day Guatemala 2018
Java EE ahora es Jakarta EE - Java Day Guatemala 2018Java EE ahora es Jakarta EE - Java Day Guatemala 2018
Java EE ahora es Jakarta EE - Java Day Guatemala 2018
 

Último

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 

Último (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

Keeping brazil's medical industry safe with Micro Profile [TDC 2021]

  • 1. @GuimaraesSv @CesarHgt @tomitribe Rafael Guimarães, César Hernández Keeping Brazil’s Medical Industry Safe with MicroProfile
  • 2. @GuimaraesSv @CesarHgt @tomitribe SPEAKERS Rafael Guimarães ● Software Engineer ● GBR Systems. ● +27 experience in Medical and Judicial areas in Brazil. ● University faculty professor. ● Focused on distributed software architectures. César Hernández ● Senior Software Engineer at Tomitribe ● Oracle Java Champion and Groundbreaker Ambassador ● Duke’s Choice Award 2016, 2017 ● Oracle Certified Professional ● +14 experience with Java EE ● Apache TomEE and Eclipse Committer, Microprofile Contributor. ● Open Source advocate, writer, teacher and public speaker
  • 3. @GuimaraesSv @CesarHgt @tomitribe Agenda ● Brazilian health care system Overview ● Base System ● Boosting Brazilian healthcare systems with Jakarta EE, Eclipse MicroProfile and Apache TomEE ● Contribution to the COVID-19 Response ● Lessons Learned
  • 4. @GuimaraesSv @CesarHgt @tomitribe Brazilian health care system Overview
  • 5. @GuimaraesSv @CesarHgt @tomitribe 5 major regions 26 states / 5570 cities 1 federal district Brazilian health care system Overview 214M People 563k Doctors 155k Health Service Providers 6th largest population (behind China, India, United States, Indonesia, Pakistan) source: http://cnes.datasus.gov.br http://fiscalizacao.cfm.org.br/ https://population.un.org/wpp/Download/Standard/Population/ 5th largest country (behind Russia, Canada, China, United States)
  • 6. @GuimaraesSv @CesarHgt @tomitribe source: http://cnes.datasus.gov.br http://fiscalizacao.cfm.org.br/ https://population.un.org/wpp/Download/Standard/Population/ Brazilian health care system Overview North Midwest Northeast South 1 doctor / 1.1k 1 provider / 4.1k Southeast 1 doctor / 5.1k 1 provider / 30k 1 doctor / 5.6k 1 provider / 31k 1 doctor / 1.6k 1 provider / 6.5k 1 doctor / 1.3k 1 provider / 4.7k WHO recommends: 1 doctor / 1k
  • 7. @GuimaraesSv @CesarHgt @tomitribe Medical Practice! Brazilian health care system - Actors Medicine Council Government Health Departments Control Regulation Policies Sanitary Surveillance Licences Records Professional Discipline Ethical Judgment Licence to work Keep Records Inspections Complains Guiding Integrations Information Sharing Medicine Schools & Residency Programs Learning, Training, Specializing Counselors & Inspectors Health Service Providers Doctors Patients
  • 8. @GuimaraesSv @CesarHgt @tomitribe Brazilian health care system - Challenges ● Large and Complex ○ Inequalities ○ Difficult governance ○ 30 different Medical Specialties, 20 types of Health Service Providers ○ High frequency of Policy and Rule changes ● Difficult medicine practice ○ Poor infrastructure - high risk ○ Proliferation of medical schools - bad quality professionals ● Incomplete institutional information exchange ○ Diversity of technologies, legacy systems and standards
  • 9. @GuimaraesSv @CesarHgt @tomitribe Brazilian health care system - Challenges ● How to make good quality inspection reports, with agility, especially considering the high amount of laws, recommendations, policies and standards? And to create good statistics of those reports ? ● How to access legacy system data of other government departments without bureaucracy, to check licences, records and information integrity ? Is the data safe, monitored, fast, reliable ? ● What could be done to facilitate interaction between the doctors and the council?
  • 11. @GuimaraesSv @CesarHgt @tomitribe About GBR ● Founded in 2008 ● Consulting, Software Engineering & Architecture, Training ● Applications: ○ support Inspectors and Counselors in their principal job - Professional Discipline, Guiding, Inspections ○ online services that control the Doctors and Service Providers in their “life cycle” within Councils ○ to do quality auditing and certification of medical schools
  • 12. @GuimaraesSv @CesarHgt @tomitribe Base system Server ● JAVA EE 6 ● Jboss7 ● Tomcat 6, 7 Client ● Adobe Flex ● Adobe Air ● Angular JS 1 Data Integration ● Kettle ON-PREMISSE!
  • 13. @GuimaraesSv @CesarHgt @tomitribe About GBR coverage Federal Medical Council Nationwide Regional Medical Councils National Inspection Platform CFM Accreditation of Medical Schools - SAEME South Regional Santa Catarina CRMSC South Regional Rio Grande do Sul CREMERS
  • 15. @GuimaraesSv @CesarHgt @tomitribe Backend Architecture Roadmap ● Improve overall system architecture ○ Java EE 6 → Jakarta EE8 ○ Security ○ Fault Tolerance ○ Performance ○ Monitoring ● API Gateway ○ Secure OAuth 2.0 + HTTP signatures ○ Microservice Monitoring and routing ○ Standard Integrations - RMI, SOAP, → REST ● Cloud Native ○ Different cloud providers ● Provide APIs to other institutions ● javax -> jakarta namespace
  • 16. @GuimaraesSv @CesarHgt @tomitribe Boosting Brazilian healthcare systems with Eclipse MicroProfile and Apache TomEE
  • 18. @GuimaraesSv @CesarHgt @tomitribe Eclipse MicroProfile ● An open-source community specification ● Focus on Enterprise Java microservices ● Generates: SPEC, API, and TCK. ● https://microprofile.io ● Implemented by different vendors.
  • 21. @GuimaraesSv @CesarHgt @tomitribe ● Apache Tomcat + Java EE = Apache TomEE ● Built from Apache components ● MicroProfile compliant ● Footprint: 30MB zip, 100~MB memory ● TomEE 9.0.0-M7 (Jakarta EE 9 Web Profile compatible implementation) ● tomee.apache.org
  • 22. @GuimaraesSv @CesarHgt @tomitribe Apache TomEE TomEE JAX-RS Microprofile Java Server Pages (JSP) Java Server Faces (JSF) Java Transaction API (JTA) Bean Validation Enterprise JavaBeans JavaMail API Java API for RESTful Web Services (JAX-RS) Java Persistence API (JPA) Contexts and Dependency Injection (CDI) Java Servlets Java Authentication and Authorization Service (JAAS) Java Authorization Contract for Containers (JACC) http://tomee.apache.org/comparison.html
  • 24. @GuimaraesSv @CesarHgt @tomitribe Lessons learned so far in the journey
  • 25. @GuimaraesSv @CesarHgt @tomitribe MicroProfile Config Before ● Sensitive information within project files ● Complex properties customizations ● Infrastructure environment management was painful
  • 26. @GuimaraesSv @CesarHgt @tomitribe Config After ● Sensitive information decoupled from the application code ● Container friendly ● Easy hierarchy for environment variables vs maven -D ● Allow easy container horizontal scaling
  • 27. @GuimaraesSv @CesarHgt @tomitribe MP Configuration @Inject @ConfigProperty(name = "log.enabled", defaultValue = "true") private Boolean logEnabled; @Inject private JsonWebToken token; public void info(String message) { if (logEnabled) { if (token == null || !token.claim("email").isPresent()) { logger.info(message); } else { logger.info(token.claim("email").get() + " - " + message); } } }
  • 28. @GuimaraesSv @CesarHgt @tomitribe MP Configuration @Inject @ConfigProperty(name = "log.enabled", defaultValue = "true") private Boolean logEnabled; @Inject private JsonWebToken token; public void info(String message) { if (logEnabled) { if (token == null || !token.claim("email").isPresent()) { logger.info(message); } else { logger.info(token.claim("email").get() + " - " + message); } } }
  • 29. @GuimaraesSv @CesarHgt @tomitribe Before ● Manual process and lack of coverage ● Disperse monitoring ● Hard to trace ● “It’s slow”, “a glitch”, “restarts” ● Reactive most of the time Health Check + Metrics
  • 30. @GuimaraesSv @CesarHgt @tomitribe After ● JSON base alerts are now centralized and provide unified notifications ● Custom rules base on standard status ● Proactiveness since the last 3 months ● Improves user satisfaction Health Check + Metrics
  • 31. @GuimaraesSv @CesarHgt @tomitribe Microprofile HealthCheck @Health @ApplicationScoped public class DatabaseHealthCheck implements HealthCheck { @PersistenceContext(unitName = "crvirtual_unit") protected EntityManager manager; @Override public HealthCheckResponse call() { HealthCheckResponseBuilder responseBuilder = HealthCheckResponse.named("oracle"); try { String result = (String) manager.createNativeQuery("select * from dual").getSingleResult(); if(result.equals("X")){ return responseBuilder.up().build(); } else { return responseBuilder.down().build(); } } catch (Exception e) { return responseBuilder.withData("error", e.getMessage()).down().build(); } } }
  • 32. @GuimaraesSv @CesarHgt @tomitribe Microprofile HealthCheck @Health @ApplicationScoped public class DatabaseHealthCheck implements HealthCheck { @PersistenceContext(unitName = "crvirtual_unit") protected EntityManager manager; @Override public HealthCheckResponse call() { HealthCheckResponseBuilder responseBuilder = HealthCheckResponse.named("oracle"); try { String result = (String) manager.createNativeQuery("select * from dual").getSingleResult(); if(result.equals("X")){ return responseBuilder.up().build(); } else { return responseBuilder.down().build(); } } catch (Exception e) { return responseBuilder.withData("error", e.getMessage()).down().build(); } } }
  • 34. @GuimaraesSv @CesarHgt @tomitribe JWT Authentication Before: ● Basic HTTP Auth with session management ● Challenges for microservices ○ New stateless security requirement ○ Authentication and Authorization between microservices ○ Overhead and single point of failure
  • 35. @GuimaraesSv @CesarHgt @tomitribe JWT Authentication After: ● OAuth 2.0 JWT ○ Stateless security ○ Authentication and Authorization between microservices ○ State was kept on the server and pointer on the client side
  • 36. @GuimaraesSv @CesarHgt @tomitribe Microprofile JWT /** Microprofile JWT **/ @Inject private JsonWebToken token; /** Microprofile Config **/ @Inject @ConfigProperty(name = "log.enabled", defaultValue = "true") private Boolean logEnabled; private Logger logger = Logger.getLogger(CrVirtualLogger.class.getName()); public void info(String message) { if (logEnabled) { if (token == null || !token.claim("email").isPresent()) { logger.info(message); } else { logger.info(token.claim("email").get() + " - " + message); } } }
  • 37. @GuimaraesSv @CesarHgt @tomitribe Microprofile JWT /** Microprofile JWT **/ @Inject private JsonWebToken token; /** Microprofile Config **/ @Inject @ConfigProperty(name = "log.enabled", defaultValue = "true") private Boolean logEnabled; private Logger logger = Logger.getLogger(CrVirtualLogger.class.getName()); public void info(String message) { if (logEnabled) { if (token == null || !token.claim("email").isPresent()) { logger.info(message); } else { logger.info(token.claim("email").get() + " - " + message); } } }
  • 38. @GuimaraesSv @CesarHgt @tomitribe Authentication ● Protected Access into Medical and Federal Knowledge databases
  • 39. @GuimaraesSv @CesarHgt @tomitribe Rest Client Before ● JAX-RS Client ● No type-safe ● Service needed to be understood ● Request needed to be built by hand every time ● Not the best reusability of the code
  • 40. @GuimaraesSv @CesarHgt @tomitribe Rest Client After ● Type-safe approach ● Usage of interfaces to call the services ● Header propagation and handling made easy ● Smooth JWT propagation
  • 41. @GuimaraesSv @CesarHgt @tomitribe @Dependent @RegisterRestClient public interface SerproSearchClient { @POST @Consumes(MediaType.APPLICATION_JSON) public Response getToken(String body); @GET public Response searchCompany(@HeaderParam("Authorization") String key, @HeaderParam("Accept") String accept); } Microprofile RestClient
  • 42. @GuimaraesSv @CesarHgt @tomitribe @Dependent @RegisterRestClient public interface SerproSearchClient { @POST @Consumes(MediaType.APPLICATION_JSON) public Response getToken(String body); @GET public Response searchCompany(@HeaderParam("Authorization") String key, @HeaderParam("Accept") String accept); } Microprofile RestClient
  • 43. @GuimaraesSv @CesarHgt @tomitribe Microprofile RestClient import org.eclipse.microprofile.rest.client.inject.RegisterRestClient; import javax.enterprise.context.Dependent; import javax.ws.rs.*; import javax.ws.rs.core.MediaType; import java.util.List; @RegisterRestClient @Path("api/doctors") public interface DoctorResourceClient { @GET @Path("{id}") @Produces(MediaType.APPLICATION_JSON) Doctor find(@PathParam("id") Long id); @GET List<Doctor> getDoctors(); @POST @Consumes("application/json") Doctor addDoctor(Doctor doctor);
  • 44. @GuimaraesSv @CesarHgt @tomitribe Microprofile RestClient import org.eclipse.microprofile.rest.client.inject.RegisterRestClient; import javax.enterprise.context.Dependent; import javax.ws.rs.*; import javax.ws.rs.core.MediaType; import java.util.List; @RegisterRestClient @Path("api/doctors") public interface DoctorResourceClient { @GET @Path("{id}") @Produces(MediaType.APPLICATION_JSON) Doctor find(@PathParam("id") Long id); @GET List<Doctor> getDoctors(); @POST @Consumes("application/json") Doctor addDoctor(Doctor doctor);
  • 45. @GuimaraesSv @CesarHgt @tomitribe Microprofile RestClient import org.superbiz.moviefun.mpclient.DoctorResourceClient; @Inject @RestClient private DoctorResourceClient doctorResourceClient; public void printAllDoctors(){ List<Doctor> doctors = doctorResourceClient.getDoctors(); for (Doctor doctor : doctor) { LOGGER.info(doctor.toString()); } } public void addNewDoctor() { Doctor newDoctor = new Doctor ("7","Doctor 007."); doctorResourceClient.addDoctor(newDoctor); }
  • 46. @GuimaraesSv @CesarHgt @tomitribe Microprofile RestClient import org.superbiz.moviefun.mpclient.DoctorResourceClient; @Inject @RestClient private DoctorResourceClient doctorResourceClient; public void printAllDoctors(){ List<Doctor> doctors = doctorResourceClient.getDoctors(); for (Doctor doctor : doctor) { LOGGER.info(doctor.toString()); } } public void addNewDoctor() { Doctor newDoctor = new Doctor ("7","Doctor 007."); doctorResourceClient.addDoctor(newDoctor); }
  • 47. @GuimaraesSv @CesarHgt @tomitribe Before ● Legacy system was not well document ● Documentation not fully aligned with master code ○ Duplication of code ○ Design first approach not trustable OpenAPI
  • 48. @GuimaraesSv @CesarHgt @tomitribe OpenAPI After ● Standard visibility ● Find duplication of code ● Allowed API design approach ● swagger-ui
  • 49. @GuimaraesSv @CesarHgt @tomitribe OpenAPI @Operation(description = "To search Doctors by their record number") @APIResponses({ @APIResponse(responseCode = "200", description = "Success", content = @Content(schema = @Schema(implementation = User.class))), @APIResponse(responseCode = "400", description = "Bad Request") }) @GET @Produces(MediaType.APPLICATION_JSON) @Path("{recordNumber}") public Response getDoctor(@PathParam("recordNumber") Long recordNumber) { try { logger.info("searching Doctors by record number"); return Response.ok(dao.getByRecordNumber(recordNumber)).build(); } catch (Exception e) { throw new WebApplicationException( Response.status(Response.Status.BAD_REQUEST).entity(new ErrorMessages(e.getMessage())).build()); } }
  • 52. @GuimaraesSv @CesarHgt @tomitribe Telemedicine Support - Doctor's Prescriptions System ● 5 days development ○ REST API ● Some integrations ○ Doctor's space login, Federal Companies Database, Pharmacies Database, Google Authenticator (two factor auth) ● Sensitive data protection ○ Attribute Converter Medical Practice! Digital Prescription Digital Prescription Doctor Patient Pharmacy Receive / Validate Emit
  • 53. @GuimaraesSv @CesarHgt @tomitribe Telemedicine Support - Doctor's Prescriptions System Digital Prescription
  • 54. @GuimaraesSv @CesarHgt @tomitribe Telemedicine Support - Doctor's Prescriptions System
  • 55. @GuimaraesSv @CesarHgt @tomitribe Telemedicine Support - Doctor's Prescriptions System ● Almost 2,6 millions prescriptions in south of Brazil installations-- since Mar/ 2020. Santa Catarina State Rio Grande do Sul State
  • 56. @GuimaraesSv @CesarHgt @tomitribe Thank you Contact us @TOMITRIBE Rafael Guimarães, César Hernández Keeping Brazil’s Medical Industry Safe with MicroProfile