Skip to content

Commit 0bed8a2

Browse files
BFD-4193: Restructure bfd-model-idr, set up formatting/linting, and add CI (#2781)
1 parent b8163e4 commit 0bed8a2

219 files changed

Lines changed: 2201 additions & 1855 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI - Synthetic Pipeline
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "apps/bfd-model-idr/*"
7+
- "apps/bfd-pipeline/bfd-pipeline-idr/*"
8+
- ".github/workflows/ci-pipeline-synthetic.yml"
9+
merge_group:
10+
11+
jobs:
12+
run-synthetic:
13+
runs-on: ubuntu-24.04
14+
steps:
15+
- name: Checkout code
16+
id: code-checkout
17+
uses: actions/checkout@v4
18+
- name: Install uv
19+
uses: astral-sh/setup-uv@v5
20+
with:
21+
version: "0.8.10"
22+
- name: Install node
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: '22'
26+
- name: Install dependencies
27+
run: |
28+
npm install -g fsh-sushi
29+
cd ${{ github.workspace }}/apps/bfd-model-idr
30+
sushi build ./sushi
31+
uv run patient_generator.py
32+
uv run claims_generator.py --benes ./out/SYNTHETIC_BENE_HSTRY.csv
33+
cd ../bfd-pipeline/bfd-pipeline-idr
34+
./run-db.sh
35+
uv run pipeline.py local

apps/.gitignore

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,5 @@
99
**/nb-configuration.xml
1010
**/nbactions.xml
1111

12-
#ignore artifacts from FHIR Mapping Language
13-
bfd-model/bfd-model-idr/StructureMaps/*
14-
bfd-model/bfd-model-idr/outputs/*
15-
bfd-model/bfd-model-idr/sushi/fsh-generated/*
16-
bfd-model/bfd-model-idr/validator_cli.jar
17-
1812
# Ignore Python bytecode files
1913
*.pyc

apps/bfd-model-idr/.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#ignore artifacts from FHIR Mapping Language
2+
StructureMaps/*
3+
out/*
4+
!out/.gitkeep
5+
sushi/fsh-generated/*
6+
validator_cli.jar

apps/bfd-model/bfd-model-idr/sample-data/generator/Benes-Sandbox.csv renamed to apps/bfd-model-idr/Benes-Sandbox.csv

File renamed without changes.
Lines changed: 42 additions & 42 deletions

apps/bfd-model/bfd-model-idr/ReferenceTables/BENE_BUYIN_CD.csv renamed to apps/bfd-model-idr/ReferenceTables/BENE_BUYIN_CD.csv

File renamed without changes.

apps/bfd-model/bfd-model-idr/ReferenceTables/BENE_DSBLD_STUS_ID.csv renamed to apps/bfd-model-idr/ReferenceTables/BENE_DSBLD_STUS_ID.csv

File renamed without changes.

apps/bfd-model/bfd-model-idr/ReferenceTables/BENE_ENRLMT_RSN_CD.csv renamed to apps/bfd-model-idr/ReferenceTables/BENE_ENRLMT_RSN_CD.csv

File renamed without changes.

apps/bfd-model/bfd-model-idr/ReferenceTables/BENE_ESRD_STUS_ID.csv renamed to apps/bfd-model-idr/ReferenceTables/BENE_ESRD_STUS_ID.csv

File renamed without changes.

apps/bfd-model/bfd-model-idr/ReferenceTables/BENE_MDCR_ENTLMT_RSN_CD.csv renamed to apps/bfd-model-idr/ReferenceTables/BENE_MDCR_ENTLMT_RSN_CD.csv

File renamed without changes.

0 commit comments

Comments
 (0)