FHIR🔥 API Extensions

Boosting

The Extension URI http://ontoserver.csiro.au/profiles/boost can be added to the ValueSet.compose.include element to adjust the ranking up (value > 1.0) or down (value < 1.0) of codes when performing an $expand with filter.

The following example demonstrates usage:

{
   "resourceType" : "ValueSet",
   "url" : "http://csiro.au/example/ValueSet/boost1",
   "compose" : {
      "include" : [ {
         "system" : "http://snomed.info/sct",
         "filter" : [ {
            "property" : "concept",
            "op" : "is-a",
            "value" : "30560011000036108"
         } ],
         // This extension reduces the significance of codes matching this filter
         "extension" : [ {
            "url" : "http://ontoserver.csiro.au/profiles/boost",
            "valueDecimal" : 0.01
         } ]
      }, {
         "system" : "http://snomed.info/sct",
         "filter" : [ {
            "property" : "concept",
            "op" : "is-a",
            "value" : "30404011000036106"
         } ],
         "extension" : [ {
            // This extension increases the significance of codes matching this filter
            "url" : "http://ontoserver.csiro.au/profiles/boost",
            "valueDecimal" : 10.01
         } ]
      }, {
         "valueSet": [
            "http://snomed.info/sct?fhir_vs=refset/30513011000036104"
         ],
         "extension" : [ {
            // This extension increases the significance of codes in the imported ValueSet
            "url" : "http://ontoserver.csiro.au/profiles/boost",
            "valueDecimal" : 5.0
         } ]
      } ]
   }
}