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

FHIR IG analytics

Packagefhir.surveillanceIG
Resource TypeQuestionnaire
IdQuestionnaire-MeaslesLabResults.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/IntelliSOFT-Consulting/Surveillance-FHIR-IG/Questionnaire-MeaslesLabResults.html
URLhttp://example.org/Questionnaire/MeaslesLabResults
Version0.1.0
Statusactive
Date2026-05-04T06:19:40+00:00
TitleLab Information
Realmus
Authorityhl7
DescriptionLab information questionnaire for Measles surveillance

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 MeaslesLabResults

Profile: http://hl7.org/fhir/4.0/StructureDefinition/Questionnaire

Structure
LinkIDTextCardinalityTypeFlagsDescription & Constraintsdoco
.. Lab information questionnaire for Measles surveillanceQuestionnairehttp://example.org/Questionnaire/MeaslesLabResults#0.1.0
... 8732404074721Lab ID No1..1string
... 718251724172Date specimen sent to lab0..1dateiconiconiconicon
... date-specimen-receivedDate specimen received in lab0..1date
... specimen-conditionSpecimen Condition0..1choiceiconiconOptions: 2 options
... 469240673826Lab Results0..1display
... measles-igmMeasles IgM results0..1choiceOptions: 6 options
... rubella-igmRubella IgM results0..1choiceEnable When: measles-igm != Positive (Positive)
Options: 6 options
... date-lab-sent-resultsDate lab sent out results to EPI/Surv Unit1..1date
... 139172422437Was specimen sent to regional lab?1..1choiceiconiconOptions: 2 options
... 655865451155Date Serum specimen was sent to regional lab for IgM confirmation1..1dateEnable When: 139172422437 = Yes (yes)
... final-classificationFinal Classification. Case classification after investigation (e.g., confirmed, compatible, discarded)0..1choiceiconiconEnable When: measles-igm != Positive (Positive)
Initial Value: Coding = [not stated]#lab-results-pending "Lab results pending"

doco Documentation for this format

Options Sets

Answer options for specimen-condition

  • null#Adequate ("Adequate")
  • null#Inadequate ("Inadequate")

Answer options for measles-igm

  • null#Positive ("Positive")
  • null#Negative ("Negative")
  • null#Indeterminate ("Indeterminate")
  • null#Not Done ("Not Done")
  • null#Pending ("Pending")
  • null#Unknown ("Unknown")

Answer options for rubella-igm

  • null#Positive ("Positive")
  • null#Negative ("Negative")
  • null#Indeterminate ("Indeterminate")
  • null#Not Done ("Not Done")
  • null#Pending ("Pending")
  • null#Unknown ("Unknown")

Answer options for 139172422437

  • null#yes ("Yes")
  • null#no ("No")

Source1

{
  "resourceType": "Questionnaire",
  "id": "MeaslesLabResults",
  "meta": {
    "profile": [
      "http://hl7.org/fhir/4.0/StructureDefinition/Questionnaire"
    ]
  },
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "extension": [
        {
          "url": "name",
          "valueCoding": {
            "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext",
            "code": "client",
            "display": "Client as a Patient"
          }
        },
        {
          "url": "type",
          "valueCode": "Patient"
        }
      ],
      "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext"
    }
  ],
  "url": "http://example.org/Questionnaire/MeaslesLabResults",
  "version": "0.1.0",
  "title": "Lab Information",
  "status": "active",
  "date": "2026-05-04T06:19:40+00:00",
  "publisher": "Kenya National Public Health Institute",
  "contact": [
    {
      "name": "Kenya National Public Health Institute",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.nphi.go.ke/"
        }
      ]
    },
    {
      "name": "Kenya National Public Health Institute",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.nphi.go.ke/",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Lab information questionnaire for Measles surveillance",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "KE",
          "display": "Kenya"
        }
      ]
    }
  ],
  "item": [
    {
      "linkId": "8732404074721",
      "text": "Lab ID No",
      "type": "string",
      "required": true
    },
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden",
          "valueBoolean": true
        }
      ],
      "linkId": "718251724172",
      "text": "Date specimen sent to lab",
      "type": "date",
      "readOnly": true
    },
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/entryFormat",
          "valueString": "d/M/y"
        },
        {
          "url": "http://ehelse.no/fhir/StructureDefinition/validationtext",
          "valueString": "Cannot be a date in the future"
        },
        {
          "url": "http://hl7.org/fhir/StructureDefinition/maxValue",
          "_valueDate": {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue",
                "valueExpression": {
                  "language": "text/fhirpath",
                  "expression": "today()"
                }
              }
            ]
          }
        },
        {
          "extension": [
            {
              "url": "key",
              "valueId": "constraint-1"
            },
            {
              "url": "requirements",
              "valueString": "The date should be after the date the specimen was sent to the lab"
            },
            {
              "url": "severity",
              "valueCode": "error"
            },
            {
              "url": "expression",
              "valueString": "%context.answer.value >= %resource.descendants().where(linkId='718251724172').answer.value"
            },
            {
              "url": "human",
              "valueString": "The date should be after the date the specimen was sent to the lab"
            },
            {
              "url": "location",
              "valueString": "718251724172"
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint"
        }
      ],
      "linkId": "date-specimen-received",
      "text": "Date specimen received in lab",
      "type": "date"
    },
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
          "valueCodeableConcept": {
            "coding": [
              {
                "system": "http://hl7.org/fhir/questionnaire-item-control",
                "code": "radio-button",
                "display": "Radio Button"
              }
            ]
          }
        },
        {
          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
          "valueCode": "horizontal"
        }
      ],
      "linkId": "specimen-condition",
      "text": "Specimen Condition",
      "type": "choice",
      "answerOption": [
        {
          "valueCoding": {
            "code": "Adequate",
            "display": "Adequate"
          }
        },
        {
          "valueCoding": {
            "code": "Inadequate",
            "display": "Inadequate"
          }
        }
      ]
    },
    {
      "linkId": "469240673826",
      "text": "Lab Results",
      "type": "display"
    },
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
          "valueCodeableConcept": {
            "coding": [
              {
                "system": "http://hl7.org/fhir/questionnaire-item-control",
                "code": "drop-down",
                "display": "Drop down"
              }
            ]
          }
        }
      ],
      "linkId": "measles-igm",
      "text": "Measles IgM results",
      "type": "choice",
      "answerOption": [
        {
          "valueCoding": {
            "code": "Positive",
            "display": "Positive"
          }
        },
        {
          "valueCoding": {
            "code": "Negative",
            "display": "Negative"
          }
        },
        {
          "valueCoding": {
            "code": "Indeterminate",
            "display": "Indeterminate"
          }
        },
        {
          "valueCoding": {
            "code": "Not Done",
            "display": "Not Done"
          }
        },
        {
          "valueCoding": {
            "code": "Pending",
            "display": "Pending"
          }
        },
        {
          "valueCoding": {
            "code": "Unknown",
            "display": "Unknown"
          }
        }
      ]
    },
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
          "valueCodeableConcept": {
            "coding": [
              {
                "system": "http://hl7.org/fhir/questionnaire-item-control",
                "code": "drop-down",
                "display": "Drop down"
              }
            ]
          }
        }
      ],
      "linkId": "rubella-igm",
      "text": "Rubella IgM results",
      "type": "choice",
      "enableWhen": [
        {
          "question": "measles-igm",
          "operator": "!=",
          "answerCoding": {
            "code": "Positive",
            "display": "Positive"
          }
        }
      ],
      "answerOption": [
        {
          "valueCoding": {
            "code": "Positive",
            "display": "Positive"
          }
        },
        {
          "valueCoding": {
            "code": "Negative",
            "display": "Negative"
          }
        },
        {
          "valueCoding": {
            "code": "Indeterminate",
            "display": "Indeterminate"
          }
        },
        {
          "valueCoding": {
            "code": "Not Done",
            "display": "Not Done"
          }
        },
        {
          "valueCoding": {
            "code": "Pending",
            "display": "Pending"
          }
        },
        {
          "valueCoding": {
            "code": "Unknown",
            "display": "Unknown"
          }
        }
      ]
    },
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/entryFormat",
          "valueString": "d/M/y"
        },
        {
          "url": "http://ehelse.no/fhir/StructureDefinition/validationtext",
          "valueString": "Cannot be a date in the future"
        },
        {
          "url": "http://hl7.org/fhir/StructureDefinition/maxValue",
          "_valueDate": {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue",
                "valueExpression": {
                  "language": "text/fhirpath",
                  "expression": "today()"
                }
              }
            ]
          }
        },
        {
          "extension": [
            {
              "url": "key",
              "valueId": "constraint-1"
            },
            {
              "url": "requirements",
              "valueString": "The date should be after the date the specimen was received at the lab"
            },
            {
              "url": "severity",
              "valueCode": "error"
            },
            {
              "url": "expression",
              "valueString": "%context.answer.value >= %resource.descendants().where(linkId='date-specimen-received').answer.value"
            },
            {
              "url": "human",
              "valueString": "The date should be after the date the specimen was received at the lab"
            },
            {
              "url": "location",
              "valueString": "date-specimen-received"
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint"
        }
      ],
      "linkId": "date-lab-sent-results",
      "text": "Date lab sent out results to EPI/Surv Unit",
      "type": "date",
      "required": true
    },
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
          "valueCodeableConcept": {
            "coding": [
              {
                "system": "http://hl7.org/fhir/questionnaire-item-control",
                "code": "radio-button",
                "display": "Radio Button"
              }
            ]
          }
        },
        {
          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
          "valueCode": "horizontal"
        }
      ],
      "linkId": "139172422437",
      "text": "Was specimen sent to regional lab?",
      "type": "choice",
      "required": true,
      "answerOption": [
        {
          "valueCoding": {
            "code": "yes",
            "display": "Yes"
          }
        },
        {
          "valueCoding": {
            "code": "no",
            "display": "No"
          }
        }
      ]
    },
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/entryFormat",
          "valueString": "d/M/y"
        },
        {
          "url": "http://ehelse.no/fhir/StructureDefinition/validationtext",
          "valueString": "Cannot be a date in the future"
        },
        {
          "url": "http://hl7.org/fhir/StructureDefinition/maxValue",
          "_valueDate": {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue",
                "valueExpression": {
                  "language": "text/fhirpath",
                  "expression": "today()"
                }
              }
            ]
          }
        },
        {
          "extension": [
            {
              "url": "key",
              "valueId": "constraint-1"
            },
            {
              "url": "requirements",
              "valueString": "The date should be after the date the specimen was received at the lab"
            },
            {
              "url": "severity",
              "valueCode": "error"
            },
            {
              "url": "expression",
              "valueString": "%context.answer.value >= %resource.descendants().where(linkId='date-specimen-received').answer.value"
            },
            {
              "url": "human",
              "valueString": "The date should be after the date the specimen was received at the lab"
            },
            {
              "url": "location",
              "valueString": "date-specimen-received"
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint"
        }
      ],
      "linkId": "655865451155",
      "text": "Date Serum specimen was sent to regional lab for IgM confirmation",
      "type": "date",
      "enableWhen": [
        {
          "question": "139172422437",
          "operator": "=",
          "answerCoding": {
            "code": "yes",
            "display": "Yes"
          }
        }
      ],
      "required": true
    },
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
          "valueCodeableConcept": {
            "coding": [
              {
                "system": "http://hl7.org/fhir/questionnaire-item-control",
                "code": "drop-down",
                "display": "Drop down"
              }
            ]
          }
        },
        {
          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden",
          "valueBoolean": true
        }
      ],
      "linkId": "final-classification",
      "text": "Final Classification. Case classification after investigation (e.g., confirmed, compatible, discarded)",
      "type": "choice",
      "enableWhen": [
        {
          "question": "measles-igm",
          "operator": "!=",
          "answerCoding": {
            "code": "Positive",
            "display": "Positive"
          }
        }
      ],
      "initial": [
        {
          "valueCoding": {
            "code": "lab-results-pending",
            "display": "Lab results pending"
          }
        }
      ]
    }
  ]
}