0

FHIR Extensions

  • updated 8 mths ago

LogicNets uses additional defined FHIR extensions to map some LogicNets-supported concepts to FHIR Questionnaire concepts. These extensions are LogicNets specific, but they also support customer-specific extensions to export customer-specific attributes.

Standard Extensions Used

Besides the LogicNets- and customer-specific extensions the generated FHIRQuestionnaire also relies on standard FHIR (Questionnaire) extensions described in http://build.fhir.org/ig/HL7/sdc/behavior.html. The following standard extensions are used (this may change in the future):

LogicNets Extensions Used

The following chapters describe the LogicNets extensions used in this solution.

ExtensionInResponse Extension

URL http://logicnets.info/fhir/StructureDefinition/ExtensionInResponse
Description The FHIRQuestionnaire (items) can contain several (custom) extensions. By default, the extensions are not copied to the FHIRQuestionnaireResponse. In some cases, it may be useful to copy these extensions to the FHIRQuestionnaireResponse. For example, a conclusion item does contain extensions to describe additional attributes of the conclusion (e.g., priority). The client can create a conclusion overview by using the response, but it requires the additional attributes to order the conclusion.
Value-type uri (https://build.fhir.org/datatypes.html#uri)
Multiplicity 0..*
Location questionnaire
Child-extensions -
Example
{
 "extension": [
    { "url": "http://logicnets.info/fhir/StructureDefinition/ExtensionInResponse",
      "valueUri": "http://customer.info/fhir/StructureDefinition/Recommendation.Subpoints"
    },
    { "url": "http://logicnets.info/fhir/StructureDefinition/ExtensionInResponse",
       "valueUri": "http://customer.info/fhir/StructureDefinition/Recommendation.Endpoint"
    }
],
 "item": [],
 "name": "Example Guideline",
"resourceType": "Questionnaire",
 "status": "active"
}

 

Coding Extension

URL http://logicnets.info/fhir/StructureDefinition/Coding
Description The LogicNets system supports coding of questions and individual answer options. Every question can have zero or more codes (of one or more code systems) attached. Every answer option can also have zero or more codes attached. The FHIRQuestionnaire does support coding of items (https://www.hl7.org/fhir/questionnaire-definitions.html#Questionnaire.item.code) and coding of answerOptions (https://www.hl7.org/fhir/questionnaire-definitions.html#Questionnaire.item.answerOption.value_x_); however, it does not support define multiple codes to one answerOption. This extension is used to express multiple codes of an individual answerOption.
Value-type coding (https://build.fhir.org/datatypes.html#coding)
Multiplicity 0..*
Location Questionnaire.item.answerOption
Child-extensions -
Example
{
"answerOption": [
    { "valueString": "Fever",
        "extension": [
           {
            "url": "http://logicnets.info/fhir/StructureDefinition/Coding",
            "valueCoding": {
                "code": "R50.9",
                "display": "Fever, unspecified",
                "system": "http://hl7.org/fhir/sid/icd-10"
                }
             }
         ]
    }]
}

 

NodeType Extension

URL http://logicnets.info/fhir/StructureDefinition/NodeType
Description The LogicNets system supports multiple node types, such as form-part, conclusion, process, rule, and switch. In the Designer, the shape and styling of the nodes is based on the node type. Nodes in LogicNets are translated to questionnaire items in the export of type group. With this extension the fhirquestionnaire item is labeled with the node type of the original node. This extension can be used in the client runtime, for example, to style the questionnaire item differently.
Value-type string (https://build.fhir.org/datatypes.html#string)
Multiplicity 0..1
Location Questionnaire.item
Child-extensions  
Example
{
    "id": "6#1680~1:node",
    "item": [],
    "extension": [ {
        "url": "http://logicnets.info/fhir/StructureDefinition/NodeType", "valueString": "conclusion"
    }

    ],
    "linkId": "6#1680~1",
    "type": "group"
}

 

Description Extension

URL http://logicnets.info/fhir/StructureDefinition/Description
Description Some parts/nodes in LogicNets, such as the conclusion part, have a description field. This value of this field is exported via this extension.
Value-type string (https://build.fhir.org/datatypes.html#string)
Multiplicity 0..1
Location Questionnaire.item
Child-extensions  
Example
{

    "id": "6#1680~1:node",
    "item": [],
    "extension": [ {
        "url": "http://logicnets.info/fhir/StructureDefinition/Description", "valueString": "conclusion description"
    }

    ],
    "linkId": "6#1680~1",
    "type": "group"
}

 

Reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
Like Follow
  • 8 mths agoLast active
  • 11Views
  • 2 Following

Home