FHIR © HL7.org  |  Server Home  |  XIG Home  |  XIG Stats  |  Server Source  |  FHIR  

FHIR IG Statistics: Questionnaire/sdc-modular-name

Packagehl7.fhir.uv.sdc
Resource TypeQuestionnaire
Idsdc-modular-name
FHIR VersionR4
Sourcehttp://hl7.org/fhir/uv/sdc/https://build.fhir.org/ig/HL7/sdc/Questionnaire-sdc-modular-name.html
URLhttp://hl7.org/fhir/uv/sdc/Questionnaire/sdc-modular-name
Version4.0.0-ballot
Statusactive
Date2025-07-14T18:38:59+00:00
NameQuestionnaireSDCModularName
TitleExample sub-module Questionnaire for name
Realmuv
Authorityhl7
DescriptionExample questionnaire module - Used to represent a patient or other human name as an example of a Questionnaire that can be referenced by other Questionnaires. It is itself modular in that it relies on external element definitions

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: Questionnaire sdc-modular-name

Structure
LinkIDTextCardinalityTypeDescription & Constraintsdoco
.. QuestionnaireSDCModularNameExample questionnaire module - Used to represent a patient or other human name as an example of a Questionnaire that can be referenced by other Questionnaires. It is itself modular in that it relies on external element definitionsQuestionnairehttp://hl7.org/fhir/uv/sdc/Questionnaire/sdc-modular-name#4.0.0-ballot
... 1Title1..1stringOptions: 4 options
... 2null1..1stringDefinition: SdcQuestionLibrary.name.first
... 3null1..1stringDefinition: SdcQuestionLibrary.name.last

doco Documentation for this format

Options Sets

Answer options for 1

  • Mr.
  • Miss
  • Mrs.
  • Ms.

Source

{
  "resourceType": "Questionnaire",
  "id": "sdc-modular-name",
  "meta": {
    "profile": [
      "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular"
    ]
  },
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]",
      "valueCoding": {
        "system": "http://hl7.org/fhir/version-algorithm",
        "code": "semver"
      }
    },
    {
      "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation",
      "valueCode": "assemble-child"
    },
    {
      "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext",
      "valueString": "linkIdPrefix"
    },
    {
      "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext",
      "valueString": "person"
    },
    {
      "extension": [
        {
          "url": "key",
          "valueId": "qcontact-1"
        },
        {
          "url": "severity",
          "valueCode": "error"
        },
        {
          "url": "human",
          "valueString": "Must have either first or last name"
        },
        {
          "url": "expression",
          "valueExpression": {
            "language": "text/fhirpath",
            "expression": "item.where(linkId=%linkIdPrefix+'1').exists() or item.where(linkId=%linkIdPrefix+'2').exists()"
          }
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/targetConstraint"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "name",
        "language": "text/fhirpath",
        "expression": "iif(%person.name.where(use='official').exists(),%person.name.where(use='official')[0],%person.name[0])"
      }
    }
  ],
  "url": "http://hl7.org/fhir/uv/sdc/Questionnaire/sdc-modular-name",
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:2.16.840.1.113883.4.642.40.17.35.29"
    }
  ],
  "version": "4.0.0-ballot",
  "name": "QuestionnaireSDCModularName",
  "title": "Example sub-module Questionnaire for name",
  "status": "active",
  "experimental": true,
  "date": "2025-07-14T18:38:59+00:00",
  "publisher": "HL7 International / FHIR Infrastructure",
  "contact": [
    {
      "name": "HL7 International / FHIR Infrastructure",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    },
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description": "Example questionnaire module - Used to represent a patient or other human name as an example of a Questionnaire that can be referenced by other Questionnaires.  It is itself modular in that it relies on external element definitions",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001",
          "display": "World"
        }
      ]
    }
  ],
  "item": [
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
          "valueExpression": {
            "language": "text/fhirpath",
            "expression": "%name.prefix.where($this in ('Mr.'|'Miss'|'Mrs'|'Ms.'))[0]"
          }
        }
      ],
      "linkId": "1",
      "text": "Title",
      "type": "string",
      "required": true,
      "answerOption": [
        {
          "valueString": "Mr."
        },
        {
          "valueString": "Miss"
        },
        {
          "valueString": "Mrs."
        },
        {
          "valueString": "Ms."
        }
      ]
    },
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
          "valueExpression": {
            "language": "text/fhirpath",
            "expression": "%name.given.first()"
          }
        }
      ],
      "linkId": "2",
      "definition": "http://hl7.org/fhir/uv/sdc/StructureDefinition/SdcQuestionLibrary#SdcQuestionLibrary.name.first",
      "type": "string",
      "required": true
    },
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
          "valueExpression": {
            "language": "text/fhirpath",
            "expression": "%name.family"
          }
        }
      ],
      "linkId": "3",
      "definition": "http://hl7.org/fhir/uv/sdc/StructureDefinition/SdcQuestionLibrary#SdcQuestionLibrary.name.last",
      "type": "string",
      "required": true
    }
  ]
}