I am trying to upload a source in a form of a FHIR CodeSystem but I either receive no feedback from the API or nothing happen on OCL (I tied to follow as much as possible the docs).
is there hidden constraints ? is there a mapping available between codesystem concept properties and OCL concept fields that are not covered in FHIR Codesystem concept base fields ? if I fall back on using the “json line” format (btw, quite annoying to generate, why not supporting json list) is there python library that define models for OCL Concept and help with sync ?
bit of context; we are trying to build a visual authoring tool and the datadictionary should have the form of a FHIR CodeSystem but ideally we want to rely on OCL to manage the data dictionary (do mapping, translation etc)
the upload issue is that I was not setting up the owner_type; what is annoying that there is no error message I had to check the delta from a concept export
I have to find a way to make it mandatory in pydantic model while not having it for embedded concept in sources
Hi @pdelcroix ! Sorry for the late reply - I only just saw this post. Love to see this work, and would be very interested in keeping up!
Looks like you were able to get the upload working, which is great. We do need to improve our feedback for uploads to help users to troubleshoot.
If you still need to get the CodeSystem back from OCL, then we can troublehott that now. Did you save a version of your Source in OCL? OCL won’t return a CodeSystem unless a version has been saved (not counting the HEAD version, that is). I only see HEAD version for that example source though.