Skip to content

Comments

feature HAPI FHIR#73

Open
bwalsh wants to merge 1 commit intoohsu-developfrom
feature/hapi-fhir
Open

feature HAPI FHIR#73
bwalsh wants to merge 1 commit intoohsu-developfrom
feature/hapi-fhir

Conversation

@bwalsh
Copy link
Collaborator

@bwalsh bwalsh commented Nov 21, 2024

NOT FOR MERGING: intended as a sidecar for local development

This PR:

  • installs a HAPI FHIR service
  • creates a database in the gen3 postgres instance, default database name fhir
  • exposes the FHIR API endpoint at /fhir

Note:

  • there is no UI other than the swagger page
  • there is no data loaded to the server
  • no authorization is applied

Potential improvements:

Secrets/value.yaml additions:


# A new chart that simply creates a database for use by  hapi-fhir-jpaserver
hapi-fhir-db-init:
  postgres:
    dbCreate: true
    database: fhir
    username: fhir
    password: marionberry

# configure external hapi chart see "https://hapifhir.github.io/hapi-fhir-jpaserver-starter/"
hapi-fhir-jpaserver:
  postgresql:
    enabled: false  # the hapi chart should not create a postgresql database instance
  externalDatabase: # instead, it should use a pre-existing database instance
    host: local-postgresql  # coordinate with {{global.postgres.master.host}}
    password: marionberry
    user: fhir
  ingress:
    enabled: true
    hosts:
      - host: aced-training.compbio.ohsu.edu  # coordinate with {{global.hostname}}
        paths:
          - /fhir  # coordinate with `location` in helm/revproxy/gen3.nginx.conf/hapi-fhir-jpaserver-service.conf
  # see https://github.com/hapifhir/hapi-fhir-jpaserver-starter/blob/master/src/test/resources/application.yaml
  extraConfig: |
    hapi:
      fhir:
        fhir_version: R5
        auto_create_placeholder_reference_targets: true    
        delete_expunge_enabled: true    
        expunge_enabled: true
image

image

@bwalsh
Copy link
Collaborator Author

bwalsh commented Nov 21, 2024

@lbeckman314 Can you take a look?
@teslajoy FYI.

@lbeckman314 lbeckman314 force-pushed the ohsu-develop branch 2 times, most recently from 47df193 to d54a985 Compare March 10, 2025 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants