How to set my local FHIR Terminoloy server in order to get coded elements populated?

How to set my local FHIR Terminoloy server in order to get coded elements populated in a example Composition?

Using the openEHR tool to Get an example Composition from a template, it would complain that there is No example for termínology:

      <items xsi:type="ELEMENT" archetype_node_id="at0089">
        <name>
          <value>Example Coded Element Name</value>
        </name>
        <value xsi:type="DV_CODED_TEXT">
          <value>No example for termínology '//fhir.hl7.org/ValueSet/$expand?url=https://example.com/fhir/ValueSet/valueset-exmaple' available</value>
          <defining_code>
            <terminology_id>
              <value>//fhir.hl7.org/ValueSet/$expand?url=https://example.com/fhir/ValueSet/valueset-exmaple</value>
            </terminology_id>
            <code_string>42</code_string>
          </defining_code>
        </value>
      </items>

As you know, in the online Archetype Designer, a local FHIR Terminoloy server can be set to do so.

Where should such settings be specified in the openEHR tool or EHRBase Server?

Thanks in advance.

Related Topic:

I haven’t set up the FHIR terminology server yet. Maybe this conversation helps: How to set external terminology validation - #11 by Alex_Paris

and the official documentation:

1 Like

Thanks a lot, @surfer. Exactly what I’m looking for.

BTW, for me at least, the official EHRBase Docs could only accessed by utilizing the webpage cached by Microsoft Bing.

Weeks ago, EHRBase Docs at readthedocs.io was available for me, but saddly now such a link would redirect me to the official one.

This might be one of the reasons why I have so many questions that would frequently bother my dear friends here.

Hi, @surfer . Thanks to your help, the env variables for my local terminology server has now been successfully set for EHRBase. See How to set external terminology validation for details.
During the start process of the EHRBase docker image, its message says that it has successfully recognized the baseURL of the specified terminology server.

However, the operation GET Example Composition still fails to obtain the valueset needed to populate the coded data element.