arkhn / jpaltime

Apache License 2.0
0 stars 0 forks source link

Index/search decoded DocRef attachment data #26

Open vmttn opened 3 years ago

vmttn commented 3 years ago

Fixes

Fixes arkhn/fhir-river#422, arkhn/jpaltime#20

Description

Technical details

Tests

  1. docker-compose up -d potsgres elasticsearch kibana
  2. add use_narrowing_interceptor: false in application.yaml:hapi.fhir
  3. mvn jetty:run
  4. Go to http://localhost:8080/resource?serverId=home&pretty=false&_summary=&resource=DocumentReference
  5. Create resource ref with {"resourceType": "DocumentReference", "content": {"attachment": {"data": "Zm9vCg=="}}} ("Zm9vCg==" == base64("foo"))
  6. Go to http://localhost:5601/app/discover and validate that the data has been correctly indexed
  7. Search with : http://localhost:8080/fhir/DocumentReference?content=foo