2nd DSTU Draft For Comment

This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Operation-valueset-lookup.json

Raw JSON (canonical form)

Operation Definition

{
  "resourceType": "OperationDefinition",
  "id": "ValueSet-lookup",
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "url": "http://hl7.org/fhir/OperationDefinition/ValueSet-lookup",
  "name": "Concept Look Up",
  "publisher": "HL7 (FHIR Project)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/fhir"
        },
        {
          "system": "email",
          "value": "fhir@lists.hl7.org"
        }
      ]
    }
  ],
  "description": "Given a code/system, or a Coding, get additional details about the concept",
  "status": "draft",
  "date": "2015-02-23T09:07:27+11:00",
  "kind": "operation",
  "code": "lookup",
  "system": false,
  "type": [
    "ValueSet"
  ],
  "instance": false,
  "parameter": [
    {
      "name": "code",
      "use": "in",
      "min": 0,
      "max": "1",
      "documentation": "The code that is to be validated. If a code is provided, a system must be provided",
      "type": "code"
    },
    {
      "name": "system",
      "use": "in",
      "min": 0,
      "max": "1",
      "documentation": "The system for the code that is to be validated",
      "type": "uri"
    },
    {
      "name": "version",
      "use": "in",
      "min": 0,
      "max": "1",
      "documentation": "The version of the system, if one was provided in the source data",
      "type": "string"
    },
    {
      "name": "coding",
      "use": "in",
      "min": 0,
      "max": "1",
      "documentation": "A coding to look up",
      "type": "Coding"
    },
    {
      "name": "date",
      "use": "in",
      "min": 0,
      "max": "1",
      "documentation": "The date for which the information should be returned. Normally, this is the current conditions (which is the default value) but under some circumstances, systems need to acccess this information as it would have been in the past. A typical example of this would be where code selection is constrained to the set of codes that were available when the patient was treated, not when the record is being edited. Note that which date is appropriate is a matter for implementation policy.",
      "type": "dateTime"
    },
    {
      "name": "name",
      "use": "out",
      "min": 1,
      "max": "1",
      "documentation": "A display name for the code system",
      "type": "string"
    },
    {
      "name": "version",
      "use": "out",
      "min": 0,
      "max": "1",
      "documentation": "The version that these details are based on",
      "type": "string"
    },
    {
      "name": "display",
      "use": "out",
      "min": 1,
      "max": "1",
      "documentation": "The preferred display for this concept",
      "type": "string"
    },
    {
      "name": "abstract",
      "use": "out",
      "min": 0,
      "max": "1",
      "documentation": "Whether this code is an abstract concept",
      "type": "boolean"
    },
    {
      "name": "designation",
      "use": "out",
      "min": 0,
      "max": "*",
      "documentation": "Additional representations for this concept",
      "part": [
        {
          "name": "language",
          "min": 0,
          "max": "1",
          "documentation": "The language this designation is defined for",
          "type": "code"
        },
        {
          "name": "use",
          "min": 0,
          "max": "1",
          "documentation": "A code that details how this designation would be used",
          "type": "Coding"
        },
        {
          "name": "value",
          "min": 1,
          "max": "1",
          "documentation": "The text value for this designation",
          "type": "string"
        }
      ]
    }
  ]
}

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.