About Medblocks Medblocks is building a developer-focused ?stack for healthcare? that makes it possible for anyone to build applications that integrate directly with clinical workflows without rebuilding expensive Electronic Medical Records systems We believe code has the potential to save more lives than doctors can by themselves Founded by doctors-turned-programmers, our team leverages open, vendor-neutral standards like openEHR, FHIR, SMART, and SNOMED CT to create a platform that makes healthcare data accessible, interoperable, and useful Our Culture Were a remote-first team that values deep work, clear communication, and continuous learning Were building technology that matters, and were looking for individuals who want their code to make a difference in healthcare The Role We are seeking a seasoned Principal Engineer at Medblocks to lay the foundation for our data-driven products and platforms You will be the primary architect of our data infrastructure, designing and implementing the foundation that powers our entire healthcare platform This is a high-ownership role where youll make critical decisions about technical excellence, architectural vision, security, and performance that will scale with us for years to come Key responsibilities include: Architecting and implementing complex PostgreSQL database schemas that handle millions of healthcare records with sub-second query performance Writing and optimising advanced PostgreSQL features, including RLS (Row-Level Security) policies, stored procedures, triggers, and custom functions Evaluate and choose technologies for distributed systems, data lakes, pipelines, and microservices Building reliable, real-time data pipelines using CDC (Change Data Capture) and event-driven architectures to sync data across multiple systems Designing and implementing database performance monitoring, query optimisation, and debugging strategies Creating data integration patterns that map between our core PostgreSQL database and external systems (data warehouses, analytics platforms, third-party APIs) Establishing database CI/CD practices, including migration strategies, testing frameworks, and zero-downtime deployment patterns Mentoring team members on database best practices and reviewing critical database design decisions Oversee data migrations, data quality initiatives, versioning, and governance Documenting complex data models and creating technical specifications that other engineers can follow RequirementsMust have: 5+ years of production database engineering experience, with at least 3 years focused on PostgreSQL Proven experience designing complex relational data models (50+ tables) that have scaled in production Deep PostgreSQL expertise, including: Advanced SQL (CTEs, window functions, recursive queries) PL/pgSQL programming for procedures and triggers Performance tuning (query plans, indexing strategies, vacuum configuration) Security implementations (RLS, role-based access) Experience building backend systems and applications in Typescript / NodeJS, Java, or Go Experience building data pipelines and ETL/ELT processes at scale Hands-on experience with data integration patterns (CDC, event streaming, batch processing) Strong DevOps skills, including: Database migration tools and strategies CI/CD pipeline implementation Infrastructure as Code (Terraform, Ansible) Containerization and orchestration Observability and SLA monitoring Experience with monitoring and debugging production database issues Track record of working in high-autonomy environments where you owned technical decisions Nice to have: Experience with data warehouse technologies (Snowflake, BigQuery, Redshift, Apache Iceberg) Knowledge of event streaming platforms (Kafka, Debezium, Apache Pulsar) Familiarity with dbt or similar data orchestration tools Experience with time-series data or audit log patterns Contributions to PostgreSQL extensions or database-related open source projects Experience with multi-tenant database architectures Background in regulated industries requiring data compliance What This Role Is Not This is not a junior or mid-level position we need someone who can make architectural decisions independently This is not a traditional DBA role focused on maintenance youll be building new systems This is not a pure analytics/BI role youll be working on transactional systems that power production applications Benefits We pay our people well because we know top talent deserves top rewards Flexible, remote-first work environment Complete autonomy to design and build our data platform Direct collaboration with founders on technical strategy Transparent company financials and metrics Regular opportunities to speak at conferences and write technical content Travel opportunities for team meet-ups and conferences Liberal leave policy with no micromanagement The chance to build the data infrastructure for healthcare from first principles