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

FHIR IG analytics

Packagehl7.fhir.uv.sdc
Resource TypeQuestionnaire
IdQuestionnaire-questionnaire-modular-library.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/HL7/sdc/Questionnaire-questionnaire-modular-library.html
URLhttp://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-modular-library
Version4.0.0
Statusactive
Date2025-10-22T20:08:54+00:00
NameSDCModularQuestionnaireLibrary
Realmuv
Authorityhl7

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 questionnaire-modular-library

LinkIDTextCardinalityTypeDescription & Constraintsdoco
.. SDCModularQuestionnaireLibraryQuestionnairehttp://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-modular-library#4.0.0
... dobWhat is this person's date of birth?0..1date
... sexWhat is this person's gender?0..1choiceValue Set: AdministrativeGender
... addressWhat is this person's current mailing address?0..1group
.... streetStreet address0..1string
.... cityCity/Town0..1string
.... stateState0..1open-choiceValue Set: Australian States - example value set
.... postalCodePostal Code0..1string
... nameWhat is the person's official name?0..1group
.... prefixPrefix0..1string
.... firstFirst0..1stringMax Length: 100
.... lastLast0..1stringMax Length: 100

doco Documentation for this format

Source1

{
  "resourceType": "Questionnaire",
  "id": "questionnaire-modular-library",
  "meta": {
    "profile": [
      "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular-library"
    ]
  },
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm%5Bx%5D",
      "valueCoding": {
        "system": "http://hl7.org/fhir/version-algorithm",
        "code": "semver"
      }
    }
  ],
  "url": "http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-modular-library",
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:2.16.840.1.113883.4.642.40.17.35.42"
    }
  ],
  "version": "4.0.0",
  "name": "SDCModularQuestionnaireLibrary",
  "status": "active",
  "experimental": true,
  "date": "2025-10-22T20:08:54+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"
        }
      ]
    }
  ],
  "useContext": [
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "workflow"
      },
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/temp",
            "code": "question-library"
          }
        ]
      }
    }
  ],
  "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": "%patient.birthdate"
          }
        },
        {
          "url": "http://hl7.org/fhir/StructureDefinition/minValue",
          "valueDate": "1900-01-01"
        },
        {
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-expression",
          "valueExpression": {
            "language": "text/fhirpath",
            "expression": "now() as date + 1 day"
          }
        }
      ],
      "linkId": "dob",
      "text": "What is this person's date of birth?",
      "type": "date"
    },
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
          "valueExpression": {
            "language": "text/fhirpath",
            "expression": "iif(%patient.gender='male','M', iif(%patient.gender='female','F'))"
          }
        }
      ],
      "linkId": "sex",
      "text": "What is this person's gender?",
      "type": "choice",
      "answerValueSet": "http://hl7.org/fhir/ValueSet/administrative-gender"
    },
    {
      "linkId": "address",
      "text": "What is this person's current mailing address?",
      "type": "group",
      "item": [
        {
          "linkId": "street",
          "text": "Street address",
          "type": "string"
        },
        {
          "linkId": "city",
          "text": "City/Town",
          "type": "string"
        },
        {
          "linkId": "state",
          "text": "State",
          "type": "open-choice",
          "answerValueSet": "http://hl7.org/fhir/uv/sdc/ValueSet/sdc-question-library-states"
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/entryFormat",
              "valueString": "9999"
            },
            {
              "extension": [
                {
                  "url": "key",
                  "valueId": "sdc-ex-pcode"
                },
                {
                  "url": "human",
                  "valueString": "Postal code must be 4 digits"
                },
                {
                  "url": "severity",
                  "valueCode": "error"
                },
                {
                  "url": "expression",
                  "valueExpression": {
                    "language": "text/fhirpath",
                    "expression": "value.matches('^[0-9]{4}[%content%]#x27;)"
                  }
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/targetConstraint"
            }
          ],
          "linkId": "postalCode",
          "text": "Postal Code",
          "type": "string"
        }
      ]
    },
    {
      "linkId": "name",
      "text": "What is the person's official name?",
      "type": "group",
      "item": [
        {
          "linkId": "prefix",
          "text": "Prefix",
          "type": "string"
        },
        {
          "linkId": "first",
          "text": "First",
          "type": "string",
          "maxLength": 100
        },
        {
          "linkId": "last",
          "text": "Last",
          "type": "string",
          "maxLength": 100
        }
      ]
    }
  ]
}