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

FHIR IG analytics

Packagesynapxe.hsar
Resource TypeStructureDefinition
Idprofile-Questionnaire-put-questionnaire-response.json
FHIR VersionR4B
Sourcehttps://simplifier.net/resolve?scope=synapxe.hsar@1.0.0&canonical=http://ihis.sg/StructureDefinition/QuestionnaireResponse-pophealth
URLhttp://ihis.sg/StructureDefinition/QuestionnaireResponse-pophealth
Version0.1.0
Statusactive
Date2019-11-01T09:29:23+11:00
Nameprofile-Questionnaire-put-questionnaire-response
TypeQuestionnaireResponse
Kindresource

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
provided-byentension-Enrollment-providedBy

Narrative

No narrative content found in resource


Source1

{
  "resourceType": "StructureDefinition",
  "id": "profile-Questionnaire-put-questionnaire-response",
  "url": "http://ihis.sg/StructureDefinition/QuestionnaireResponse-pophealth",
  "version": "0.1.0",
  "name": "profile-Questionnaire-put-questionnaire-response",
  "status": "active",
  "date": "2019-11-01T09:29:23+11:00",
  "publisher": "IHIS",
  "fhirVersion": "4.3.0",
  "kind": "resource",
  "abstract": false,
  "type": "QuestionnaireResponse",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "QuestionnaireResponse.extension",
        "path": "QuestionnaireResponse.extension",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.extension:provided-by",
        "path": "QuestionnaireResponse.extension",
        "sliceName": "provided-by",
        "min": 1,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ihis.sg/extension/provided-by"
            ]
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.questionnaire",
        "path": "QuestionnaireResponse.questionnaire",
        "short": "Sample Value : \"/Questionnaire/hsg-oq-001|1.0\", \"/Questionnaire/hsg-hq-001|1.0\"",
        "min": 1,
        "condition": [
          "questionnaire-url-format-validation"
        ],
        "constraint": [
          {
            "key": "questionnaire-url-format-validation",
            "severity": "error",
            "human": "follow the format url|version",
            "expression": "matches('.\\\\|.')"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.status",
        "path": "QuestionnaireResponse.status",
        "short": "Fixed value: \"completed\"",
        "fixedCode": "completed"
      },
      {
        "id": "QuestionnaireResponse.subject",
        "path": "QuestionnaireResponse.subject",
        "min": 1
      },
      {
        "id": "QuestionnaireResponse.subject.type",
        "path": "QuestionnaireResponse.subject.type",
        "short": "Fixed value: \"Patient\"",
        "min": 1,
        "fixedUri": "Patient"
      },
      {
        "id": "QuestionnaireResponse.subject.identifier",
        "path": "QuestionnaireResponse.subject.identifier",
        "min": 1
      },
      {
        "id": "QuestionnaireResponse.subject.identifier.system",
        "path": "QuestionnaireResponse.subject.identifier.system",
        "short": "Fixed Value : \"http://ihis.sg/identifier/nric\"",
        "min": 1,
        "fixedUri": "http://ihis.sg/identifier/nric"
      },
      {
        "id": "QuestionnaireResponse.subject.identifier.value",
        "path": "QuestionnaireResponse.subject.identifier.value",
        "short": "Sample Value : \"S1234567D\"",
        "min": 1,
        "condition": [
          "empty-value-validation"
        ],
        "constraint": [
          {
            "key": "empty-value-validation",
            "severity": "error",
            "human": "Patient identifier value should not be empty",
            "expression": "$this.length() > 0"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.authored",
        "path": "QuestionnaireResponse.authored",
        "short": "Sample Value : \"2021-10-21T10:30:32+08:00\"",
        "min": 1,
        "condition": [
          "authored-date-validation"
        ],
        "constraint": [
          {
            "key": "authored-date-validation",
            "severity": "error",
            "human": "The submission date of questionnaire response should not be later than the current date",
            "expression": "$this.convertsToDate() = false or $this.toDate() <= today()"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item.linkId",
        "path": "QuestionnaireResponse.item.linkId",
        "short": "Sample Value : \"bmi\", \"bmi.1\", \"bmi.1.1\""
      },
      {
        "id": "QuestionnaireResponse.item.answer.value[x]",
        "path": "QuestionnaireResponse.item.answer.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item.answer.value[x]:valueCoding",
        "path": "QuestionnaireResponse.item.answer.value[x]",
        "sliceName": "valueCoding",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item.answer.value[x]:valueCoding.system",
        "path": "QuestionnaireResponse.item.answer.value[x].system",
        "short": "Sample Value : \"http://ihis.sg/ValueSet/hsg-oq-smoking-history\"",
        "min": 1
      },
      {
        "id": "QuestionnaireResponse.item.answer.value[x]:valueCoding.code",
        "path": "QuestionnaireResponse.item.answer.value[x].code",
        "short": "Sample Value : \"sh003\""
      },
      {
        "id": "QuestionnaireResponse.item.item.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item.item.answer.value[x]:valueCoding",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "sliceName": "valueCoding",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item.item.answer.value[x]:valueCoding.system",
        "path": "QuestionnaireResponse.item.item.answer.value[x].system",
        "min": 1
      }
    ]
  }
}