FHIR🔥 API Extensions

ValueSet/$expand R5 features (since V6.3)

The additional parameter property can be supplied to an $expand request to request that the values for specified properties are also returned in the expansion (where they exist).

An example result looks like:

{
  "resourceType": "ValueSet",
  "expansion": {
    "total": 1,
    "offset": 0,
    "parameter": [{
      "name": "version",
      "valueUri": "https://dmd.nhs.uk|202107.1.0"
    }],
    "contains": [{
      "system": "https://dmd.nhs.uk",
      "code": "318248001",
      "display": "Verapamil 160mg tablets",
      "property": [{
        "url": "code",
        "valueCode": "ROUTECD"
      }, {
        "url": "value",
        "valueCoding": {
          "system": "https://dmd.nhs.uk",
          "code": "26643006"
        }
      }]
    }]
  }
}