FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagehl7.fhir.uv.sdc.r4b
Resource TypeQuestionnaire
IdQuestionnaire-sdc-modular-name.json
FHIR VersionR4B

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.

Source1

{
  "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": "2024-12-17T01:55:34+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
    }
  ]
}