FHIR IG analytics| Package | synapxe.hsar.hsg |
| Resource Type | StructureDefinition |
| Id | profile-Questionnaire-get-questionnaire-response.json |
| FHIR Version | R4B |
No resources found
No resources found
No narrative content found in resource
{
"resourceType": "StructureDefinition",
"url": "http://ihis.sg/StructureDefinition/GetQuestionnaireResponseOutputProfile-response",
"version": "4.3.0-v3",
"name": "profile-Questionnaire-get-questionnaire-response",
"status": "active",
"fhirVersion": "4.3.0",
"kind": "resource",
"abstract": false,
"type": "QuestionnaireResponse",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "QuestionnaireResponse.id",
"path": "QuestionnaireResponse.id",
"max": "0"
},
{
"id": "QuestionnaireResponse.meta",
"path": "QuestionnaireResponse.meta",
"max": "0"
},
{
"id": "QuestionnaireResponse.implicitRules",
"path": "QuestionnaireResponse.implicitRules",
"max": "0"
},
{
"id": "QuestionnaireResponse.language",
"path": "QuestionnaireResponse.language",
"max": "0"
},
{
"id": "QuestionnaireResponse.text",
"path": "QuestionnaireResponse.text",
"max": "0"
},
{
"id": "QuestionnaireResponse.contained",
"path": "QuestionnaireResponse.contained",
"max": "0"
},
{
"id": "QuestionnaireResponse.extension",
"path": "QuestionnaireResponse.extension",
"short": "n/a",
"definition": "Additional data element required by Healthier SG",
"comment": "The extension is in the format of key/value pair, where the key is specified in 'url' attribute, and the value is specified in the 'value[Type]' attribute, the type can be Coding, String, Date or others depending on the definition specified in Data Type column W\n\nAll the extension url is be prefixed with \"http://ihis.sg/extension\" and followed by friendly short name",
"min": 1
},
{
"id": "QuestionnaireResponse.extension:provided-by",
"path": "QuestionnaireResponse.extension",
"sliceName": "provided-by",
"short": "n/a",
"definition": "n/a",
"comment": "n/a",
"min": 1,
"type": [
{
"code": "Extension",
"profile": [
"http://ihis.sg/extension/provided-by"
]
}
]
},
{
"id": "QuestionnaireResponse.extension:provided-by.value[x]",
"path": "QuestionnaireResponse.extension.value[x]",
"short": "n/a",
"definition": "n/a",
"min": 1
},
{
"id": "QuestionnaireResponse.extension:provided-by.value[x]:valueCodeableConcept",
"path": "QuestionnaireResponse.extension.value[x]",
"sliceName": "valueCodeableConcept",
"short": "n/a",
"definition": "Grouping of codeable concept",
"min": 1
},
{
"id": "QuestionnaireResponse.extension:provided-by.value[x]:valueCodeableConcept.id",
"path": "QuestionnaireResponse.extension.value[x].id",
"max": "0"
},
{
"id": "QuestionnaireResponse.extension:provided-by.value[x]:valueCodeableConcept.extension",
"path": "QuestionnaireResponse.extension.value[x].extension",
"max": "0"
},
{
"id": "QuestionnaireResponse.extension:provided-by.value[x]:valueCodeableConcept.coding",
"path": "QuestionnaireResponse.extension.value[x].coding",
"short": "n/a",
"definition": "Grouping of coding",
"comment": "n/a",
"requirements": "n/a",
"min": 1,
"max": "1"
},
{
"id": "QuestionnaireResponse.extension:provided-by.value[x]:valueCodeableConcept.coding.id",
"path": "QuestionnaireResponse.extension.value[x].coding.id",
"max": "0"
},
{
"id": "QuestionnaireResponse.extension:provided-by.value[x]:valueCodeableConcept.coding.extension",
"path": "QuestionnaireResponse.extension.value[x].coding.extension",
"max": "0"
},
{
"id": "QuestionnaireResponse.extension:provided-by.value[x]:valueCodeableConcept.coding.system",
"path": "QuestionnaireResponse.extension.value[x].coding.system",
"short": "n/a",
"definition": "The terminology system of the coding.",
"comment": "Fixed Value : \"http://ihis.sg/ValueSet/hsg-provided-by\"",
"requirements": "n/a"
},
{
"id": "QuestionnaireResponse.extension:provided-by.value[x]:valueCodeableConcept.coding.version",
"path": "QuestionnaireResponse.extension.value[x].coding.version",
"max": "0"
},
{
"id": "QuestionnaireResponse.extension:provided-by.value[x]:valueCodeableConcept.coding.code",
"path": "QuestionnaireResponse.extension.value[x].coding.code",
"short": "n/a",
"definition": "The code of the coding. It shall be one of the code defined in value set. \n\"http://ihis.sg/ValueSet/hsg-provided-by\"",
"comment": "Sample Value : \"Patient\"",
"requirements": "n/a",
"min": 1
},
{
"id": "QuestionnaireResponse.extension:provided-by.value[x]:valueCodeableConcept.coding.display",
"path": "QuestionnaireResponse.extension.value[x].coding.display",
"short": "n/a",
"definition": "Display value of the coding.",
"comment": "Sample Value : \"Patient\"",
"requirements": "n/a"
},
{
"id": "QuestionnaireResponse.extension:provided-by.value[x]:valueCodeableConcept.coding.userSelected",
"path": "QuestionnaireResponse.extension.value[x].coding.userSelected",
"max": "0"
},
{
"id": "QuestionnaireResponse.extension:provided-by.value[x]:valueCodeableConcept.text",
"path": "QuestionnaireResponse.extension.value[x].text",
"max": "0"
},
{
"id": "QuestionnaireResponse.modifierExtension",
"path": "QuestionnaireResponse.modifierExtension",
"max": "0"
},
{
"id": "QuestionnaireResponse.identifier",
"path": "QuestionnaireResponse.identifier",
"max": "0"
},
{
"id": "QuestionnaireResponse.basedOn",
"path": "QuestionnaireResponse.basedOn",
"max": "0"
},
{
"id": "QuestionnaireResponse.partOf",
"path": "QuestionnaireResponse.partOf",
"max": "0"
},
{
"id": "QuestionnaireResponse.questionnaire",
"path": "QuestionnaireResponse.questionnaire",
"short": "n/a",
"definition": "Reference to the questionnaire resource",
"comment": "Sample Value:\n\"/Questionnaire/hsg-oq-001|1.0\"\n\"/Questionnaire/hsg-hq-001|1.0\"",
"requirements": "n/a",
"min": 1
},
{
"id": "QuestionnaireResponse.status",
"path": "QuestionnaireResponse.status",
"short": "n/a",
"definition": "Questionnaire response status - fixed value as\"completed\"",
"comment": "Fixed value: \"completed\"",
"requirements": "n/a",
"isModifierReason": "n/a"
},
{
"id": "QuestionnaireResponse.subject",
"path": "QuestionnaireResponse.subject",
"short": "n/a",
"requirements": "n/a",
"min": 1
},
{
"id": "QuestionnaireResponse.subject.id",
"path": "QuestionnaireResponse.subject.id",
"max": "0"
},
{
"id": "QuestionnaireResponse.subject.extension",
"path": "QuestionnaireResponse.subject.extension",
"max": "0"
},
{
"id": "QuestionnaireResponse.subject.reference",
"path": "QuestionnaireResponse.subject.reference",
"short": "n/a",
"definition": "Resource logical ID ",
"comment": "Sample Value:\n\"/Patient/f873f0480edf4e7da98c01be4c05ad91\"",
"min": 1
},
{
"id": "QuestionnaireResponse.subject.type",
"path": "QuestionnaireResponse.subject.type",
"short": "n/a",
"definition": "Indicate that the the identifier below is for Patient",
"comment": "Fixed value: \"Patient\"",
"min": 1
},
{
"id": "QuestionnaireResponse.subject.identifier",
"path": "QuestionnaireResponse.subject.identifier",
"short": "n/a",
"definition": "n/a",
"comment": "n/a",
"min": 1
},
{
"id": "QuestionnaireResponse.subject.identifier.id",
"path": "QuestionnaireResponse.subject.identifier.id",
"max": "0"
},
{
"id": "QuestionnaireResponse.subject.identifier.extension",
"path": "QuestionnaireResponse.subject.identifier.extension",
"max": "0"
},
{
"id": "QuestionnaireResponse.subject.identifier.use",
"path": "QuestionnaireResponse.subject.identifier.use",
"max": "0"
},
{
"id": "QuestionnaireResponse.subject.identifier.type",
"path": "QuestionnaireResponse.subject.identifier.type",
"max": "0"
},
{
"id": "QuestionnaireResponse.subject.identifier.system",
"path": "QuestionnaireResponse.subject.identifier.system",
"short": "n/a",
"definition": "The namespace for the identifier value, NRIC",
"comment": "Fixed Value : \"http://ihis.sg/identifier/nric\"",
"requirements": "n/a",
"min": 1,
"fixedUri": "http://ihis.sg/identifier/nric"
},
{
"id": "QuestionnaireResponse.subject.identifier.value",
"path": "QuestionnaireResponse.subject.identifier.value",
"short": "n/a",
"definition": "patient NRIC",
"comment": "Sample Value : \"{NRIC}\"",
"min": 1
},
{
"id": "QuestionnaireResponse.subject.identifier.period",
"path": "QuestionnaireResponse.subject.identifier.period",
"max": "0"
},
{
"id": "QuestionnaireResponse.subject.identifier.assigner",
"path": "QuestionnaireResponse.subject.identifier.assigner",
"max": "0"
},
{
"id": "QuestionnaireResponse.subject.display",
"path": "QuestionnaireResponse.subject.display",
"max": "0"
},
{
"id": "QuestionnaireResponse.encounter",
"path": "QuestionnaireResponse.encounter",
"max": "0"
},
{
"id": "QuestionnaireResponse.authored",
"path": "QuestionnaireResponse.authored",
"short": "n/a",
"definition": "Date the QuestionnaireResponse submission",
"comment": "Validation: The expected format is \"yyyy-MM-ddThh:mm:ss+timezone\".\nSample Value : \"2021-10-21T10:30:32+08:00\"",
"requirements": "n/a",
"min": 1
},
{
"id": "QuestionnaireResponse.author",
"path": "QuestionnaireResponse.author",
"max": "0"
},
{
"id": "QuestionnaireResponse.source",
"path": "QuestionnaireResponse.source",
"max": "0"
},
{
"id": "QuestionnaireResponse.item",
"path": "QuestionnaireResponse.item",
"short": "n/a",
"definition": "Groups and questions",
"comment": "n/a"
},
{
"id": "QuestionnaireResponse.item.id",
"path": "QuestionnaireResponse.item.id",
"max": "0"
},
{
"id": "QuestionnaireResponse.item.extension",
"path": "QuestionnaireResponse.item.extension",
"max": "0"
},
{
"id": "QuestionnaireResponse.item.modifierExtension",
"path": "QuestionnaireResponse.item.modifierExtension",
"max": "0"
},
{
"id": "QuestionnaireResponse.item.linkId",
"path": "QuestionnaireResponse.item.linkId",
"short": "n/a",
"definition": "Pointer to specific item from Questionnaire",
"comment": "Sample Value : \"bmi\", \"bmi.1\", \"bmi.1.1\"",
"requirements": "n/a"
},
{
"id": "QuestionnaireResponse.item.definition",
"path": "QuestionnaireResponse.item.definition",
"max": "0"
},
{
"id": "QuestionnaireResponse.item.text",
"path": "QuestionnaireResponse.item.text",
"max": "0"
},
{
"id": "QuestionnaireResponse.item.answer.id",
"path": "QuestionnaireResponse.item.answer.id",
"max": "0"
},
{
"id": "QuestionnaireResponse.item.answer.extension",
"path": "QuestionnaireResponse.item.answer.extension",
"max": "0"
},
{
"id": "QuestionnaireResponse.item.answer.modifierExtension",
"path": "QuestionnaireResponse.item.answer.modifierExtension",
"max": "0"
},
{
"id": "QuestionnaireResponse.item.answer.value[x]",
"path": "QuestionnaireResponse.item.answer.value[x]",
"slicing": {
"discriminator": [
{
"type": "type",
"path": "$this"
}
],
"ordered": false,
"rules": "open"
},
"type": [
{
"code": "boolean"
},
{
"code": "integer"
},
{
"code": "date"
},
{
"code": "dateTime"
},
{
"code": "string"
},
{
"code": "Coding"
},
{
"code": "Quantity"
}
]
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueCoding",
"path": "QuestionnaireResponse.item.answer.value[x]",
"sliceName": "valueCoding",
"short": "n/a",
"definition": "The answer to the questionnaire in Coding format",
"comment": "n/a",
"requirements": "n/a",
"type": [
{
"code": "Coding"
}
]
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueCoding.id",
"path": "QuestionnaireResponse.item.answer.value[x].id",
"max": "0"
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueCoding.extension",
"path": "QuestionnaireResponse.item.answer.value[x].extension",
"max": "0"
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueCoding.system",
"path": "QuestionnaireResponse.item.answer.value[x].system",
"short": "n/a",
"definition": "The terminology system of the coding",
"comment": "Sample Value : \"http://ihis.sg/ValueSet/hsg-oq-smoking-history\"",
"requirements": "n/a",
"min": 1
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueCoding.version",
"path": "QuestionnaireResponse.item.answer.value[x].version",
"max": "0"
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueCoding.code",
"path": "QuestionnaireResponse.item.answer.value[x].code",
"short": "n/a",
"definition": "The code of the coding",
"comment": "Sample Value : \"sh003\"",
"requirements": "n/a",
"min": 1
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueCoding.display",
"path": "QuestionnaireResponse.item.answer.value[x].display",
"short": "n/a",
"definition": "Display value of the coding",
"comment": "Sample Value : \"Yes, current smoker\"",
"requirements": "n/a"
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueCoding.userSelected",
"path": "QuestionnaireResponse.item.answer.value[x].userSelected",
"max": "0"
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueString",
"path": "QuestionnaireResponse.item.answer.value[x]",
"sliceName": "valueString",
"short": "n/a",
"definition": "The answer to the questionnaire in string format",
"comment": "Sample Value : \"Green Zone\"",
"requirements": "n/a",
"type": [
{
"code": "string"
}
],
"constraint": [
{
"key": "ValueStringLength",
"severity": "error",
"human": "string length not greater than 2000",
"expression": "$this.length<20001"
}
]
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueString.extension",
"path": "QuestionnaireResponse.item.answer.value[x].extension",
"max": "0"
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueBoolean",
"path": "QuestionnaireResponse.item.answer.value[x]",
"sliceName": "valueBoolean",
"short": "n/a",
"definition": "The answer to the questionnaire in boolean format",
"comment": "Sample Value : true",
"requirements": "n/a",
"type": [
{
"code": "boolean"
}
]
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueBoolean.extension",
"path": "QuestionnaireResponse.item.answer.value[x].extension",
"max": "0"
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueInteger",
"path": "QuestionnaireResponse.item.answer.value[x]",
"sliceName": "valueInteger",
"short": "n/a",
"definition": "The answer to the questionnaire in integer format",
"comment": "Sample Value : 123",
"requirements": "n/a",
"type": [
{
"code": "integer"
}
]
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueInteger.extension",
"path": "QuestionnaireResponse.item.answer.value[x].extension",
"max": "0"
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueDate",
"path": "QuestionnaireResponse.item.answer.value[x]",
"sliceName": "valueDate",
"short": "n/a",
"definition": "The answer to the questionnaire in Date format",
"comment": "Sample Value : \"2021-10-22\"",
"requirements": "n/a",
"type": [
{
"code": "date"
}
]
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueDate.extension",
"path": "QuestionnaireResponse.item.answer.value[x].extension",
"max": "0"
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueDateTime",
"path": "QuestionnaireResponse.item.answer.value[x]",
"sliceName": "valueDateTime",
"short": "n/a",
"definition": "The answer to the questionnaire in Date format",
"comment": "Sample Value : \"2021-10-22\"",
"requirements": "n/a",
"type": [
{
"code": "dateTime"
}
]
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueDateTime.extension",
"path": "QuestionnaireResponse.item.answer.value[x].extension",
"max": "0"
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueQuantity",
"path": "QuestionnaireResponse.item.answer.value[x]",
"sliceName": "valueQuantity",
"short": "n/a",
"definition": "The answer to the questionnaire in Quantity format",
"comment": "n/a",
"requirements": "n/a",
"type": [
{
"code": "Quantity"
}
]
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueQuantity.id",
"path": "QuestionnaireResponse.item.answer.value[x].id",
"max": "0"
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueQuantity.extension",
"path": "QuestionnaireResponse.item.answer.value[x].extension",
"max": "0"
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueQuantity.value",
"path": "QuestionnaireResponse.item.answer.value[x].value",
"short": "n/a",
"definition": "Numerical value (with implicit precision)",
"comment": "Sample Value : 100",
"requirements": "n/a"
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueQuantity.comparator",
"path": "QuestionnaireResponse.item.answer.value[x].comparator",
"short": "n/a",
"definition": "< | <= | >= | > - how to understand the value",
"comment": "Sample Value : \">\"",
"constraint": [
{
"key": "ComparatorStringLength",
"severity": "error",
"human": "string length not greater than 255",
"expression": "$this.length<256"
}
],
"isModifierReason": "n/a"
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueQuantity.unit",
"path": "QuestionnaireResponse.item.answer.value[x].unit",
"short": "n/a",
"definition": "Unit representation",
"comment": "Sample Value : \"mmHg\"",
"requirements": "n/a",
"constraint": [
{
"key": "UnitStringLength",
"severity": "error",
"human": "string length not greater than 255",
"expression": "$this.length<256"
}
]
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueQuantity.system",
"path": "QuestionnaireResponse.item.answer.value[x].system",
"short": "n/a",
"definition": "System that defines coded unit form",
"comment": "Sample Value : \"http://example.org/blood-pressure\"",
"requirements": "n/a"
},
{
"id": "QuestionnaireResponse.item.answer.value[x]:valueQuantity.code",
"path": "QuestionnaireResponse.item.answer.value[x].code",
"short": "n/a",
"definition": "Coded form of the unit",
"comment": "Sample Value : \"BP\"",
"requirements": "n/a"
},
{
"id": "QuestionnaireResponse.item.answer.item",
"path": "QuestionnaireResponse.item.answer.item",
"max": "0"
},
{
"id": "QuestionnaireResponse.item.item",
"path": "QuestionnaireResponse.item.item",
"max": "0"
}
]
}
}