FHIR implementation guide of AP-HP FormBuilder
1.0.0 - ci-build
FHIR implementation guide of AP-HP FormBuilder - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
The AP-HP FormBuilder propose 3 different approach to manage lists of answer for (open-)choice items :
We will focus on the second approach with the two following requirements in mind:
The text field "Answer value set" can contain any ValueSet cannonical URL.
If the corresponding ValueSet (and eventualy CodeSystem) are available in the AP-HP FormBuilder backend (by default the R4 hapi test server), the concepts gather in the ValueSet will be available for initial value and for conditional display
If the corresponding ValueSet (and eventualy CodeSystem) are NOT available, the above-mentionned feature won't work.
In both scenario, the ValueSet SHALL be available in the information system in which the Questionnaire will finally be used.
Disclaimer : the AP-HP FormBuilder is not a solution to manage properly terminological resources. the aim of this work is to provide a solution to create ValueSets on the fly for use in a Questionnaire for user that are not expert in terminology management.
To make a concept available for use in a ValueSet it must exists in a CodeSystem. It is therefor necessary to have a solution that manage CodeSystem, ValueSet (and Questionnaire).
The main idea was to formalize group of resources that cover a specific area of interest: 1 CodeSystem will contain all the concepts deemed as necessary, these concepts can be used to compose ValueSets, and these ValueSets can be bind to Choice item in any Questionnaire.
The group is formalized by the useContext: the resources having the same useContext belong to the same group.
To enjoy ValueSet creation with FormBuilder:
It is still possible to bind a ValueSet without the corresponding useContext to any (open-)choice item in any ValueSet (see the above paragraph).
The Use context field in the AP-HP FormBuilder lead to the creation of a usageContext which code is "program" and value is picked in the ProgramExample ValueSet, either in Questionnaire (for the form attribute field) or in CodeSystem (for the vocabulary module field), as follow :
"useContext": [
{
"code": {
"system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
"code": "program",
"display": "Program"
},
"valueCodeableConcept": {
"coding": [
{
"system": "https://aphp.fr/ig/fhir/formbuilder/CodeSystem/ProgramExample",
"code": "obstetric",
"display": "Obstetric"
}
]
}
}
]
The ValueCodeableConcept binding is an example, you should define your own ValueSet of programs.
It is possible to create a CodeSystem with a useContext by any mean, the vocabulary module being such a mean. Please refer to the vocabulary module notice to know how.
For (open-)choice item with answer options defined, it is possible to transform the answer option into one ValueSet. It is interesting if the set of answer value is common to multiple items for example.
Clicking on the Generate the corresponding ValueSet buton belo the answer option table will:
descendent-of root conceptwarning : the vocabulary module work as "cancel and replace". If you have transformed Answer Option into ValueSet, you can easily loose them all if you don't acte with cautious. In such scenario contact an advanced FHIR user that can retrieve easily the old version of your CodeSystem, with all the ValueSets.