FHIR / fhir-candle

fhir-candle - A FHIR development and test server implemented in C#
MIT License
3 stars 0 forks source link

Validate operation unsupported #15

Open alejosv opened 1 week ago

alejosv commented 1 week ago

Great project, congrats !!!!!.

I'm load the implementation guide from Costa Rica and not have any problems. I trying use the validate operation but the "candle server" send response the follow OperationOutcome:

{
    "resourceType": "OperationOutcome",
    "id": "b5827e82-2cc8-475a-8454-093da2fca868",
    "issue": [
        {
            "severity": "error",
            "code": "not-found",
            "diagnostics": "Operation $validate does not have an executable implementation on this server."
        }
    ]
}

This operation is unsupported?

GinoCanessa commented 1 week ago

I have held off on adding validation support so far because of terminology server requirements. Candle is not a full terminology server and will not be able to validate larger systems (e.g. LOINC, Snomed).

That said, we should be able to configure validation with everything else (e.g., loaded packages, profiles, Code Systems, etc.). We could also add support for an external terminology server.

I flagged this as a medium priority so that I put some thought into the implementation. It should be fairly straightforward - my biggest concerns are not technical (e.g., I do not want to add a lot of load to tx.fhir.org). If you have additional thoughts, please share.

Cheers!

alejosv commented 1 week ago

Great!!! I agree that the server can validate everything else and be able to count on terminological validations with external servers (best implementation) event in test.