Skip to content

Curated Value Set Profile

Canonicalhttps://fhir.apps.health/StructureDefinition/nexus-valueset
Statusdraft · 1.33.0
BaseValueSet (constraint)
SourceFSH · JSON

A curated pick-list as this estate stores one: the coded options a clinician chooses from in the chart, held per tenant and fetched by the application at the point of use.

Examples

Schedule Codes (curated list as a tenant holds it) · Schedule Templates (one clinic's copy)

Schedule Templates (one clinic's copy)

One clinic's stored schedule templates -- the four defaults with Physical restyled by the clinic, plus a Walk-in template of its own in a second include under its own code system, each concept carrying the template extensions on compose and expansion.

ValueSet/schedule-templates-clinic-example — claims conformance to Curated Value Set Profile

{
  "resourceType": "ValueSet",
  "id": "schedule-templates-clinic-example",
  "meta": {
    "profile": [
      "https://fhir.apps.health/StructureDefinition/nexus-valueset"
    ]
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml"><p>One clinic's schedule templates as its store holds them: the four defaults, with Physical restyled by the clinic, and a Walk-in template of the clinic's own under its own code system.</p></div>"
  },
  "url": "https://fhir.apps.health/ValueSet/nexus-schedule-templates",
  "name": "NexusScheduleTemplates",
  "title": "Schedule Templates (one clinic's copy)",
  "status": "active",
  "description": "A clinic's stored schedule templates. Resolve this list by its url -- the resource id shown here is this clinic's, and another clinic holds its own copy under a different one.",
  "compose": {
    "include": [
      {
        "system": "https://fhir.apps.health/CodeSystem/nexus-schedule-template",
        "concept": [
          {
            "extension": [
              {
                "url": "https://fhir.apps.health/StructureDefinition/nexus-schedule-template-booking-limit",
                "valueInteger": 0
              },
              {
                "url": "https://fhir.apps.health/StructureDefinition/nexus-schedule-template-colour",
                "valueString": "#A3AFBF"
              },
              {
                "url": "https://fhir.apps.health/StructureDefinition/nexus-schedule-template-booking-warning",
                "valueString": "Blocked appointment slot"
              }
            ],
            "code": "B",
            "display": "Blocked"
          },
          {
            "extension": [
              {
                "url": "https://fhir.apps.health/StructureDefinition/nexus-schedule-template-colour",
                "valueString": "#4F86C6"
              }
            ],
            "code": "S",
            "display": "Same Day"
          },
          {
            "extension": [
              {
                "url": "https://fhir.apps.health/StructureDefinition/nexus-schedule-template-booking-limit",
                "valueInteger": 1
              },
              {
                "url": "https://fhir.apps.health/StructureDefinition/nexus-schedule-template-colour",
                "valueString": "#2E7D32"
              }
            ],
            "code": "P",
            "display": "Physical"
          },
          {
            "extension": [
              {
                "url": "https://fhir.apps.health/StructureDefinition/nexus-schedule-template-colour",
                "valueString": "#9B6FC6"
              },
              {
                "url": "https://fhir.apps.health/StructureDefinition/nexus-schedule-template-booking-warning",
                "valueString": "Virtual only"
              }
            ],
            "code": "V",
            "display": "Virtual"
          }
        ]
      },
      {
        "system": "https://fhir.apps.health/CodeSystem/3c5f9a2e-8d41-4b7a-9e0c-1f2a3b4c5d6e-schedule-template",
        "concept": [
          {
            "extension": [
              {
                "url": "https://fhir.apps.health/StructureDefinition/nexus-schedule-template-booking-limit",
                "valueInteger": 2
              },
              {
                "url": "https://fhir.apps.health/StructureDefinition/nexus-schedule-template-colour",
                "valueString": "#E8A33D"
              }
            ],
            "code": "X",
            "display": "Walk-in"
          }
        ]
      }
    ]
  },
  "expansion": {
    "timestamp": "2026-10-14T09:00:00-04:00",
    "total": 5,
    "contains": [
      {
        "extension": [
          {
            "url": "https://fhir.apps.health/StructureDefinition/nexus-schedule-template-booking-limit",
            "valueInteger": 0
          },
          {
            "url": "https://fhir.apps.health/StructureDefinition/nexus-schedule-template-colour",
            "valueString": "#A3AFBF"
          },
          {
            "url": "https://fhir.apps.health/StructureDefinition/nexus-schedule-template-booking-warning",
            "valueString": "Blocked appointment slot"
          }
        ],
        "system": "https://fhir.apps.health/CodeSystem/nexus-schedule-template",
        "code": "B",
        "display": "Blocked"
      },
      {
        "extension": [
          {
            "url": "https://fhir.apps.health/StructureDefinition/nexus-schedule-template-colour",
            "valueString": "#4F86C6"
          }
        ],
        "system": "https://fhir.apps.health/CodeSystem/nexus-schedule-template",
        "code": "S",
        "display": "Same Day"
      },
      {
        "extension": [
          {
            "url": "https://fhir.apps.health/StructureDefinition/nexus-schedule-template-booking-limit",
            "valueInteger": 1
          },
          {
            "url": "https://fhir.apps.health/StructureDefinition/nexus-schedule-template-colour",
            "valueString": "#2E7D32"
          }
        ],
        "system": "https://fhir.apps.health/CodeSystem/nexus-schedule-template",
        "code": "P",
        "display": "Physical"
      },
      {
        "extension": [
          {
            "url": "https://fhir.apps.health/StructureDefinition/nexus-schedule-template-colour",
            "valueString": "#9B6FC6"
          },
          {
            "url": "https://fhir.apps.health/StructureDefinition/nexus-schedule-template-booking-warning",
            "valueString": "Virtual only"
          }
        ],
        "system": "https://fhir.apps.health/CodeSystem/nexus-schedule-template",
        "code": "V",
        "display": "Virtual"
      },
      {
        "extension": [
          {
            "url": "https://fhir.apps.health/StructureDefinition/nexus-schedule-template-booking-limit",
            "valueInteger": 2
          },
          {
            "url": "https://fhir.apps.health/StructureDefinition/nexus-schedule-template-colour",
            "valueString": "#E8A33D"
          }
        ],
        "system": "https://fhir.apps.health/CodeSystem/3c5f9a2e-8d41-4b7a-9e0c-1f2a3b4c5d6e-schedule-template",
        "code": "X",
        "display": "Walk-in"
      }
    ]
  }
}