PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci-dtr@2.2.0-ballot
    http://hl7.org/fhir/us/davinci-dtr/OperationDefinition/DTR-ValueSet-expand
{
  "description": "The definition of a value set is used to create a simple collection of codes suitable for use for data entry or validation. The operation is called at the system level and a url **SHALL** be provided.  Additionally, the valueset **SHALL** use the current date as the expansion date and **SHALL** include only active codes. An expanded value set will be returned, or an OperationOutcome with an error message. \\n\\nFor more details regarding this operation, see the FHIR R4 [`$expand`](https://hl7.org/fhir/R4/operation-valueset-expand.html) operation definition.",
  "_filename": "OperationDefinition-DTR-ValueSet-expand.json",
  "package_name": "hl7.fhir.us.davinci-dtr",
  "date": "2025-07-14T08:00:00+11:00",
  "system": false,
  "publisher": "HL7 International / Clinical Decision Support",
  "instance": false,
  "jurisdiction": [ {
    "coding": [ {
      "code": "US",
      "system": "urn:iso:std:iso:3166"
    } ]
  } ],
  "name": "DTRValuesetExpansion",
  "type": "true",
  "experimental": null,
  "resourceType": "OperationDefinition",
  "title": "DTR Value Set Expansion",
  "package_version": "2.2.0-ballot",
  "extension": [ {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode": "cds"
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger": 2,
    "_valueInteger": {
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical": "http://hl7.org/fhir/us/davinci-dtr/ImplementationGuide/hl7.fhir.us.davinci-dtr"
      } ]
    }
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode": "trial-use",
    "_valueCode": {
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical": "http://hl7.org/fhir/us/davinci-dtr/ImplementationGuide/hl7.fhir.us.davinci-dtr"
      } ]
    }
  } ],
  "status": "active",
  "id": "07b5bc32-4ae2-431d-afb4-7b0f608ebd67",
  "resource": [ "ValueSet" ],
  "kind": "operation",
  "url": "http://hl7.org/fhir/us/davinci-dtr/OperationDefinition/DTR-ValueSet-expand",
  "code": "expand",
  "base": "http://hl7.org/fhir/OperationDefinition/ValueSet-expand",
  "version": "2.2.0-ballot",
  "contact": [ {
    "name": "HL7 International / Clinical Decision Support",
    "telecom": [ {
      "value": "http://www.hl7.org/Special/committees/dss",
      "system": "url"
    } ]
  } ],
  "parameter": [ {
    "max": "1",
    "min": 1,
    "use": "in",
    "name": "url",
    "type": "uri",
    "documentation": "A canonical reference to a value set. The server must know the value set (e.g. it is defined explicitly in the server's value sets, or it is defined implicitly by some code system known to the server"
  }, {
    "max": "1",
    "min": 0,
    "use": "in",
    "name": "filter",
    "type": "string",
    "documentation": "A text filter that is applied to restrict the codes that are returned (this is useful in a UI context). The interpretation of this is delegated to the server in order to allow to determine the most optimal search approach for the context. The server can document the way this parameter works in TerminologyCapabilities.expansion.textFilter. Typical usage of this parameter includes functionality like:\n\n* using left matching e.g. \"acut ast\"\n* allowing for wild cards such as %, &, ?\n* searching on definition as well as display(s)\n* allowing for search conditions (and / or / exclusions)\n\nText Search engines such as Lucene or Solr, long with their considerable functionality, might also be used. The optional text search might also be code system specific, and servers might have different implementations for different code systems"
  }, {
    "max": "1",
    "min": 0,
    "use": "in",
    "name": "offset",
    "type": "integer",
    "documentation": "Paging support - where to start if a subset is desired (default = 0). Offset is number of records (not number of pages)"
  }, {
    "max": "1",
    "min": 1,
    "use": "out",
    "name": "return",
    "type": "ValueSet",
    "documentation": "The result of the expansion. Servers generating expansions SHOULD ensure that all the parameters that affect the contents of the expansion are recorded in the ValueSet.expansion.parameter list"
  } ]
}