SQL on FHIR
2.1.0-pre - release International flag

SQL on FHIR, published by SQL on FHIR Working Group. This guide is not an authorized publication; it is the continuous build for version 2.1.0-pre built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/FHIR/sql-on-fhir-v2/ and changes regularly. See the Directory of published versions

: ExampleVehicleCodeSystem - JSON Representation

Draft as of 2026-05-21

Raw json | Download

{
  "resourceType" : "CodeSystem",
  "id" : "vehicles",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem vehicles</b></p><a name=\"vehicles\"> </a><a name=\"hcvehicles\"> </a><p>This  code system <code>http://example.org/CodeSystem/vehicles</code> defines the following codes in an undefined hierarchy:</p><table class=\"codes\"><tr><td><b>Lvl</b></td><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">vehicle<a name=\"vehicles-vehicle\"> </a></td><td>Vehicle</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">\u00a0\u00a0car<a name=\"vehicles-car\"> </a></td><td>Car</td></tr><tr><td>3</td><td style=\"white-space:nowrap\">\u00a0\u00a0\u00a0\u00a0sedan<a name=\"vehicles-sedan\"> </a></td><td>Sedan</td></tr><tr><td>3</td><td style=\"white-space:nowrap\">\u00a0\u00a0\u00a0\u00a0suv<a name=\"vehicles-suv\"> </a></td><td>SUV</td></tr><tr><td>3</td><td style=\"white-space:nowrap\">\u00a0\u00a0\u00a0\u00a0hatchback<a name=\"vehicles-hatchback\"> </a></td><td>Hatchback</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">\u00a0\u00a0truck<a name=\"vehicles-truck\"> </a></td><td>Truck</td></tr><tr><td>3</td><td style=\"white-space:nowrap\">\u00a0\u00a0\u00a0\u00a0pickup<a name=\"vehicles-pickup\"> </a></td><td>Pickup</td></tr><tr><td>3</td><td style=\"white-space:nowrap\">\u00a0\u00a0\u00a0\u00a0semi<a name=\"vehicles-semi\"> </a></td><td>Semi</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">\u00a0\u00a0motorbike<a name=\"vehicles-motorbike\"> </a></td><td>Motorbike</td></tr></table></div>"
  },
  "url" : "http://example.org/CodeSystem/vehicles",
  "identifier" : [
    {
      "system" : "urn:ietf:rfc:3986",
      "value" : "urn:oid:2.25.158148347308242154236102391146884827570"
    }
  ],
  "version" : "2.1.0-pre",
  "status" : "draft",
  "date" : "2026-05-21T08:25:31+00:00",
  "publisher" : "SQL on FHIR Working Group",
  "contact" : [
    {
      "name" : "SQL on FHIR Working Group",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://sql-on-fhir.org"
        }
      ]
    }
  ],
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001",
          "display" : "World"
        }
      ]
    }
  ],
  "content" : "complete",
  "concept" : [
    {
      "code" : "vehicle",
      "display" : "Vehicle",
      "concept" : [
        {
          "code" : "car",
          "display" : "Car",
          "concept" : [
            {
              "code" : "sedan",
              "display" : "Sedan"
            },
            {
              "code" : "suv",
              "display" : "SUV"
            },
            {
              "code" : "hatchback",
              "display" : "Hatchback"
            }
          ]
        },
        {
          "code" : "truck",
          "display" : "Truck",
          "concept" : [
            {
              "code" : "pickup",
              "display" : "Pickup"
            },
            {
              "code" : "semi",
              "display" : "Semi"
            }
          ]
        },
        {
          "code" : "motorbike",
          "display" : "Motorbike"
        }
      ]
    }
  ]
}