Skip to content
View MrCosta77's full-sized avatar
  • Portugal
  • 11:59 (UTC +01:00)

Block or report MrCosta77

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
MrCosta77/README.md

Hi there, I'm Mário Costa 👋

Biochemist | Clinical Data Engineer | Statistical Programmer

Python • SAS • SQL | CDISC SDTM/ADaM • FHIR • OMOP CDM

LinkedIn Email


I am a biochemist specializing in Clinical Data Engineering and Statistical Programming. I build reproducible and auditable pipelines across CDISC, FHIR, and OMOP CDM, combining biomedical domain knowledge with Python, SAS, SQL, data quality controls, and clinical terminology governance.

My portfolio follows clinical data from synthetic raw EDC or FHIR inputs to analysis- and RWE-oriented structures. It emphasizes traceability, deterministic processing, explicit validation boundaries, and human-reviewed semantic mapping. The projects are portfolio/reference implementations and do not claim regulatory validation or clinical production use.

I am seeking junior opportunities in CROs, pharmaceutical companies, RWE, and healthcare IT, in Portugal, across Europe, or remotely.

🛠️ Tech Stack & Skills

  • Languages: Python, SAS, SQL
  • Data Engineering: DuckDB, Pandas, ETL Pipelines, RAG (Retrieval-Augmented Generation)
  • Clinical Standards: OMOP CDM v5.4, CDISC (SDTM/ADaM), FHIR, OHDSI Ecosystem
  • AI & ML: Ollama, ChromaDB, Sentence-Transformers
  • Software Engineering: Flask, PostgreSQL, Pytest, Git, GitHub Actions, CI/CD, Ruff, Data Governance

🚀 Featured Clinical Data Projects

My portfolio forms a coherent narrative covering the entire clinical data lifecycle, from Raw Electronic Data Capture (EDC) to Real-World Evidence (RWE) ready formats:

1. FHIR-to-OMOP (Python, DuckDB, AI)

A production-oriented reference framework that transforms synthetic FHIR JSON bundles into OMOP CDM v5.4.

  • Combines deterministic terminology mapping with RAG and local LLM proposals.
  • Implements fail-closed controls, blinded human review, provenance, and DQD checks.
  • Includes CI, an extensive automated test suite, versioned benchmarks, and a reproducible release process.

2. CDISC-to-OMOP (Python)

A clinical data integration reference pipeline with production-oriented controls.

  • Maps synthetic CDISC SDTM datasets into OMOP CDM v5.4 with record-level lineage.
  • Uses deterministic and LLM-assisted terminology proposals behind a human approval gate.

3. Clinical-data-to-CDISC (SAS, Python)

An educational clinical programming pipeline built with synthetic study data.

  • Transforms raw EDC-style inputs into CDISC-inspired SDTM and ADaM datasets.
  • Demonstrates defensive SAS programming, QC, TLFs, and a structural Define-XML prototype without claiming submission readiness.

📊 The Pipeline Vision

flowchart LR
    A["Raw EDC Data"] --> B["Clinical-data-to-CDISC"]
    B --> C["CDISC SDTM/ADaM"]
    C --> D["CDISC-to-OMOP"]
    D --> E["OMOP CDM v5.4"]
    F["FHIR JSON Bundles"] --> G["FHIR-to-OMOP"]
    G --> E
    E --> H["Real-World Evidence"]
Loading

💰 Beyond Clinical Data

Financial literacy is a personal interest of mine. As a complementary full-stack project, I built Amealha, a personal finance platform for tracking income and expenses, managing accounts, sharing household costs, and exploring financial scenarios. It demonstrates my broader software engineering practice across Flask, PostgreSQL, authentication, privacy, automated testing, deployment, and production monitoring.


Open to Junior Clinical Data Engineer, Statistical Programmer, Clinical Data Programmer, and RWE opportunities.

Popular repositories Loading

  1. FHIR-to-OMOP FHIR-to-OMOP Public

    An end-to-end clinical data pipeline mapping FHIR to OMOP CDM v5.4. Features DuckDB, RAG-driven semantic mapping, Human-in-the-Loop governance, and OHDSI DQD validation.

    Python 4

  2. Clinical-data-to-CDISC Clinical-data-to-CDISC Public

    An end-to-end Clinical Programming pipeline transforming raw EDC data into CDISC SDTM and ADaM regulatory standards using SAS and Python.

    SAS 4

  3. CDISC-to-OMOP CDISC-to-OMOP Public

    ETL pipeline to map clinical trial data from the CDISC standard (SDTM/ADaM) to the OMOP Common Data Model (CDM), enabling the integration of clinical research with Real-World Evidence (RWE).

    Python 4

  4. MrCosta77 MrCosta77 Public