Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Commit

Permalink
Add sample zen project
Browse files Browse the repository at this point in the history
Co-authored-by: @ddegr <[email protected]>
  • Loading branch information
KGOH and @ddegr committed Sep 7, 2021
1 parent 91d86b8 commit 431b141
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ PGHOSTPORT=5437
PGUSER=postgres
PGPASSWORD=postgres
PGDATABASE=devbox

AIDBOX_ZEN_PROJECT=/my-zen-project
AIDBOX_ZEN_ENTRY=my-zen-devbox
AIDBOX_ZEN_DEV_MODE=enable
2 changes: 2 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ services:
AIDBOX_ES_BATCH_TIMEOUT: 5000
AIDBOX_ES_INDEX_PAT: "'aidbox-logs'-yyyy-MM-dd"
ELASTIC_APM_SERVER_URLS: "http://apm-server:8200"
volumes:
- "./my-zen-project:/my-zen-project"

es:
image: "docker.elastic.co/elasticsearch/elasticsearch:7.13.2"
Expand Down
10 changes: 10 additions & 0 deletions my-zen-project/my-zen-devbox.edn
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{ns my-zen-devbox
import #{hl7-fhir-us-core.us-core-patient}

MyPatientProfile
{:zen/tags #{zen/schema zenbox/profile-schema}
:confirms #{hl7-fhir-us-core.us-core-patient/schema}
:zenbox/type "Patient"
:zenbox/profileUri "urn:profile:MyPatientProfile"
:type zen/map
:require #{:birthDate}}}
11 changes: 11 additions & 0 deletions my-zen-project/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "my-zen-project",
"version": "1.0.0",
"description": "Sample Aidbox Zen project",
"author": "HealthSamurai",
"license": "MIT",
"dependencies": {
"@zen-lang/fhir-r4": "latest",
"@zen-lang/us-core-v3": "latest"
}
}

0 comments on commit 431b141

Please sign in to comment.