| Package | hsg.asg-well |
| Resource Type | StructureDefinition |
| Id | outputProfile-QuestionnaireResponse-get-asg-phv.StructureDefinition |
| FHIR Version | R4B |
| Source | https://simplifier.net/resolve?scope=hsg.asg-well@1.0.11&canonical=http://ihis.sg/StructureDefinition/QuestionnaireResponse-get-asg-phv |
| URL | http://ihis.sg/StructureDefinition/QuestionnaireResponse-get-asg-phv |
| Status | active |
| Name | outputProfile-QuestionnaireResponse-get-asg-phv |
| Type | QuestionnaireResponse |
| Kind | resource |
No resources found
No resources found
No narrative content found in resource
{
"resourceType": "StructureDefinition",
"url": "http://ihis.sg/StructureDefinition/QuestionnaireResponse-get-asg-phv",
"name": "outputProfile-QuestionnaireResponse-get-asg-phv",
"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",
"short": "n/a",
"comment": "Sample Value: \"836E7E44EB2D4399BBC53496F7AB3699\"",
"min": 1
},
{
"id": "QuestionnaireResponse.meta",
"path": "QuestionnaireResponse.meta",
"short": "n/a",
"min": 1
},
{
"id": "QuestionnaireResponse.meta.id",
"path": "QuestionnaireResponse.meta.id",
"max": "0"
},
{
"id": "QuestionnaireResponse.meta.extension",
"path": "QuestionnaireResponse.meta.extension",
"max": "0"
},
{
"id": "QuestionnaireResponse.meta.versionId",
"path": "QuestionnaireResponse.meta.versionId",
"short": "n/a",
"comment": "Sample Value: \"1\"",
"min": 1
},
{
"id": "QuestionnaireResponse.meta.lastUpdated",
"path": "QuestionnaireResponse.meta.lastUpdated",
"short": "n/a",
"comment": "Sample Value: \"2025-01-25T10:36:12.171+08:00\"",
"min": 1
},
{
"id": "QuestionnaireResponse.meta.source",
"path": "QuestionnaireResponse.meta.source",
"max": "0"
},
{
"id": "QuestionnaireResponse.meta.profile",
"path": "QuestionnaireResponse.meta.profile",
"max": "0"
},
{
"id": "QuestionnaireResponse.meta.security",
"path": "QuestionnaireResponse.meta.security",
"max": "0"
},
{
"id": "QuestionnaireResponse.meta.tag",
"path": "QuestionnaireResponse.meta.tag",
"short": "n/a",
"comment": "n/a",
"min": 1,
"max": "1"
},
{
"id": "QuestionnaireResponse.meta.tag.id",
"path": "QuestionnaireResponse.meta.tag.id",
"max": "0"
},
{
"id": "QuestionnaireResponse.meta.tag.extension",
"path": "QuestionnaireResponse.meta.tag.extension",
"max": "0"
},
{
"id": "QuestionnaireResponse.meta.tag.system",
"path": "QuestionnaireResponse.meta.tag.system",
"short": "n/a",
"comment": "Fixed Value: \"http://ihis.sg/coding/correlationid\"",
"requirements": "n/a",
"min": 1,
"fixedUri": "http://ihis.sg/coding/correlationid"
},
{
"id": "QuestionnaireResponse.meta.tag.version",
"path": "QuestionnaireResponse.meta.tag.version",
"max": "0"
},
{
"id": "QuestionnaireResponse.meta.tag.code",
"path": "QuestionnaireResponse.meta.tag.code",
"short": "n/a",
"comment": "Sample Value: \"6349100fa3fa33f0f14e990f32fd6212\"",
"requirements": "n/a",
"min": 1
},
{
"id": "QuestionnaireResponse.meta.tag.display",
"path": "QuestionnaireResponse.meta.tag.display",
"max": "0"
},
{
"id": "QuestionnaireResponse.meta.tag.userSelected",
"path": "QuestionnaireResponse.meta.tag.userSelected",
"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",
"max": "0"
},
{
"id": "QuestionnaireResponse.modifierExtension",
"path": "QuestionnaireResponse.modifierExtension",
"max": "0"
},
{
"id": "QuestionnaireResponse.identifier",
"path": "QuestionnaireResponse.identifier",
"short": "n/a",
"requirements": "n/a",
"min": 1
},
{
"id": "QuestionnaireResponse.identifier.id",
"path": "QuestionnaireResponse.identifier.id",
"max": "0"
},
{
"id": "QuestionnaireResponse.identifier.extension",
"path": "QuestionnaireResponse.identifier.extension",
"max": "0"
},
{
"id": "QuestionnaireResponse.identifier.use",
"path": "QuestionnaireResponse.identifier.use",
"max": "0"
},
{
"id": "QuestionnaireResponse.identifier.type",
"path": "QuestionnaireResponse.identifier.type",
"max": "0"
},
{
"id": "QuestionnaireResponse.identifier.system",
"path": "QuestionnaireResponse.identifier.system",
"short": "n/a",
"comment": "Fixed Value: \"http://ihis.sg/identifier/phv-identifier-value\"",
"requirements": "n/a",
"min": 1,
"fixedUri": "http://ihis.sg/identifier/phv-identifier-value"
},
{
"id": "QuestionnaireResponse.identifier.value",
"path": "QuestionnaireResponse.identifier.value",
"short": "n/a",
"definition": "PHV identifier value",
"comment": "Sample Value: \"100005\"",
"min": 1
},
{
"id": "QuestionnaireResponse.identifier.period",
"path": "QuestionnaireResponse.identifier.period",
"max": "0"
},
{
"id": "QuestionnaireResponse.identifier.assigner",
"path": "QuestionnaireResponse.identifier.assigner",
"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",
"comment": "Sample Value: \"http://ihis.sg/Questionnaire/asg-phv-questionnaire|1.0\"",
"requirements": "n/a",
"min": 1
},
{
"id": "QuestionnaireResponse.status",
"path": "QuestionnaireResponse.status",
"short": "n/a",
"comment": "Fixed Value: \"completed\"",
"requirements": "n/a",
"fixedCode": "completed",
"isModifierReason": "n/a"
},
{
"id": "QuestionnaireResponse.subject",
"path": "QuestionnaireResponse.subject",
"short": "n/a",
"comment": "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": "The URI of the Patient Resource Id",
"comment": "Sample Value: \"https://pophealth.healthdxp.com/Patient/27995B73566145CEB9A83B226903C490\"",
"min": 1
},
{
"id": "QuestionnaireResponse.subject.type",
"path": "QuestionnaireResponse.subject.type",
"max": "0",
"fixedUri": "Patient"
},
{
"id": "QuestionnaireResponse.subject.identifier",
"path": "QuestionnaireResponse.subject.identifier",
"max": "0"
},
{
"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",
"min": 1,
"fixedUri": "http://ihis.sg/identifier/nric"
},
{
"id": "QuestionnaireResponse.subject.identifier.value",
"path": "QuestionnaireResponse.subject.identifier.value",
"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",
"comment": "Sample Value: \"2025-01-01T08:00:00+08:00\"",
"requirements": "n/a",
"min": 1,
"constraint": [
{
"key": "questionnaireresponse-authored-date-format",
"severity": "error",
"human": "authored date must be in format: yyyy-mm-ddThh:mm:ss+08:00.",
"expression": "$this.toString().matches('^([1-9][0-9][0-9][0-9])(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])))T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\\\+08:00)[%content%]#x27;)"
},
{
"key": "questionnaireresponse-authored-date-not-future",
"severity": "error",
"human": "authored date must not be greater than current date",
"expression": "$this <= (now() + 5 minutes).toString().substring(0,25).toDateTime()"
}
]
},
{
"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",
"comment": "List of PHV answers"
},
{
"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.definition",
"path": "QuestionnaireResponse.item.definition",
"max": "0"
},
{
"id": "QuestionnaireResponse.item.text",
"path": "QuestionnaireResponse.item.text",
"max": "0"
},
{
"id": "QuestionnaireResponse.item.answer",
"path": "QuestionnaireResponse.item.answer",
"short": "n/a",
"comment": "n/a",
"min": 1,
"max": "1"
},
{
"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]",
"short": "n/a",
"comment": "n/a",
"requirements": "n/a",
"min": 1,
"type": [
{
"code": "integer"
},
{
"code": "string"
}
]
},
{
"id": "QuestionnaireResponse.item.answer.item",
"path": "QuestionnaireResponse.item.answer.item",
"max": "0"
},
{
"id": "QuestionnaireResponse.item.item",
"path": "QuestionnaireResponse.item.item",
"max": "0"
}
]
}
}