bonfhir / fhir-roast

A bare-bones FHIR Tterminology Service implementation made with Bun
0 stars 1 forks source link

Implement FHIR Specification Terminology Operations #2

Open biximilien opened 9 months ago

biximilien commented 9 months ago

The specification can be found here: [https://build.fhir.org/terminology-service.html]()

Currently only the CodeSystem/$lookup is partially implemented, it supports querying a code through the URL query parameters via system and code. The version parameter currently is not supported.

biximilien commented 9 months ago

I've added a partial implementation of the CodeSystem/$validate-code operation. It is built on top of the $lookup operation and provide basic validation for the code and system (url parameter ) with a basic equality test. If the concept is found and the input code and system matches it, it will return true, else it returns false. The message and issue output is currently not implemented.

biximilien commented 9 months ago

We need to add support for matching URL like URL: [base]/CodeSystem/[id]/$validate-code, currently only this URL: [base]/CodeSystem/$validate-code is supported.