PackagesCanonicalsLogsProblems
    Packages
    synapxe.hsar@1.0.0
    http://ihis.sg/StructureDefinition/Contact-Consent-pophealth
{
  "description": null,
  "_filename": "profile-Consent-put-contact-consent.json",
  "package_name": "synapxe.hsar",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.3.0",
  "name": "profile-Consent-put-contact-consent",
  "abstract": false,
  "type": "Consent",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "1.0.0",
  "status": "active",
  "id": "be9ae5aa-892a-458c-9b3b-7336ec88bb33",
  "kind": "resource",
  "url": "http://ihis.sg/StructureDefinition/Contact-Consent-pophealth",
  "version": null,
  "differential": {
    "element": [ {
      "id": "Consent.identifier",
      "max": "0",
      "path": "Consent.identifier"
    }, {
      "id": "Consent.status",
      "path": "Consent.status",
      "short": "fixed value 'active'",
      "fixedCode": "active"
    }, {
      "id": "Consent.scope",
      "path": "Consent.scope",
      "binding": {
        "strength": "required",
        "valueSet": "http://ihis.sg/ValueSet/hsg-consent-scope"
      }
    }, {
      "id": "Consent.scope.coding",
      "max": "1",
      "min": 1,
      "code": [ {
        "code": "healthier-sg-contact",
        "system": "http://ihis.sg/ValueSet/hsg-consent-scope",
        "display": "Healthier SG Contact"
      } ],
      "path": "Consent.scope.coding"
    }, {
      "id": "Consent.scope.coding.system",
      "min": 1,
      "path": "Consent.scope.coding.system",
      "comment": "N/A"
    }, {
      "id": "Consent.scope.coding.version",
      "max": "0",
      "path": "Consent.scope.coding.version"
    }, {
      "id": "Consent.scope.coding.code",
      "min": 1,
      "path": "Consent.scope.coding.code"
    }, {
      "id": "Consent.scope.coding.display",
      "min": 1,
      "path": "Consent.scope.coding.display"
    }, {
      "id": "Consent.scope.coding.userSelected",
      "max": "0",
      "path": "Consent.scope.coding.userSelected"
    }, {
      "id": "Consent.scope.text",
      "max": "0",
      "path": "Consent.scope.text"
    }, {
      "id": "Consent.category",
      "max": "1",
      "path": "Consent.category",
      "binding": {
        "strength": "required",
        "valueSet": "http://ihis.sg/ValueSet/hsg-consent-category"
      }
    }, {
      "id": "Consent.category.coding.system",
      "min": 1,
      "code": [ {
        "code": "contact-channel-consent",
        "system": "http://ihis.sg/ValueSet/hsg-consent-category",
        "display": "Contact Channel Consent"
      } ],
      "path": "Consent.category.coding.system"
    }, {
      "id": "Consent.category.coding.version",
      "max": "0",
      "path": "Consent.category.coding.version"
    }, {
      "id": "Consent.category.coding.code",
      "min": 1,
      "path": "Consent.category.coding.code"
    }, {
      "id": "Consent.category.coding.display",
      "min": 1,
      "path": "Consent.category.coding.display"
    }, {
      "id": "Consent.category.coding.userSelected",
      "max": "0",
      "path": "Consent.category.coding.userSelected"
    }, {
      "id": "Consent.category.text",
      "max": "0",
      "path": "Consent.category.text"
    }, {
      "id": "Consent.patient",
      "min": 1,
      "path": "Consent.patient"
    }, {
      "id": "Consent.patient.reference",
      "max": "0",
      "path": "Consent.patient.reference",
      "definition": "only appl"
    }, {
      "id": "Consent.patient.type",
      "min": 1,
      "path": "Consent.patient.type",
      "fixedUri": "Patient"
    }, {
      "id": "Consent.patient.identifier",
      "min": 1,
      "path": "Consent.patient.identifier"
    }, {
      "id": "Consent.patient.identifier.use",
      "max": "0",
      "path": "Consent.patient.identifier.use"
    }, {
      "id": "Consent.patient.identifier.type",
      "max": "0",
      "path": "Consent.patient.identifier.type"
    }, {
      "id": "Consent.patient.identifier.system",
      "min": 1,
      "path": "Consent.patient.identifier.system",
      "fixedUri": "http://ihis.sg/identifier/nric"
    }, {
      "id": "Consent.patient.identifier.value",
      "min": 1,
      "path": "Consent.patient.identifier.value"
    }, {
      "id": "Consent.patient.identifier.period",
      "max": "0",
      "path": "Consent.patient.identifier.period"
    }, {
      "id": "Consent.patient.identifier.assigner",
      "max": "0",
      "path": "Consent.patient.identifier.assigner"
    }, {
      "id": "Consent.patient.display",
      "max": "0",
      "path": "Consent.patient.display"
    }, {
      "id": "Consent.dateTime",
      "min": 1,
      "path": "Consent.dateTime",
      "short": "Sample Value: \"2022-09-09T09:44:32+08:00\""
    }, {
      "id": "Consent.performer",
      "max": "0",
      "path": "Consent.performer"
    }, {
      "id": "Consent.organization",
      "max": "1",
      "min": 1,
      "path": "Consent.organization"
    }, {
      "id": "Consent.organization.reference",
      "max": "0",
      "path": "Consent.organization.reference"
    }, {
      "id": "Consent.organization.type",
      "min": 1,
      "path": "Consent.organization.type",
      "fixedUri": "Organization"
    }, {
      "id": "Consent.organization.identifier",
      "min": 1,
      "path": "Consent.organization.identifier"
    }, {
      "id": "Consent.organization.identifier.use",
      "max": "0",
      "path": "Consent.organization.identifier.use"
    }, {
      "id": "Consent.organization.identifier.type",
      "max": "0",
      "path": "Consent.organization.identifier.type"
    }, {
      "id": "Consent.organization.identifier.system",
      "min": 1,
      "path": "Consent.organization.identifier.system",
      "fixedUri": "http://ihis.sg/identifier/hci-code"
    }, {
      "id": "Consent.organization.identifier.value",
      "min": 1,
      "path": "Consent.organization.identifier.value",
      "constraint": [ {
        "key": "organization-name-constraint",
        "human": "Organization value must be 'NHG','NUHS' or 'SHS'",
        "severity": "error",
        "expression": "$this.toString().matches('(?i)^(shs|nhg|nuhs)$')"
      } ]
    }, {
      "id": "Consent.organization.identifier.period",
      "max": "0",
      "path": "Consent.organization.identifier.period"
    }, {
      "id": "Consent.organization.identifier.assigner",
      "max": "0",
      "path": "Consent.organization.identifier.assigner"
    }, {
      "id": "Consent.organization.display",
      "max": "0",
      "path": "Consent.organization.display"
    }, {
      "id": "Consent.source[x]",
      "max": "0",
      "path": "Consent.source[x]"
    }, {
      "id": "Consent.policy",
      "max": "1",
      "min": 1,
      "path": "Consent.policy"
    }, {
      "id": "Consent.policy.authority",
      "max": "0",
      "path": "Consent.policy.authority"
    }, {
      "id": "Consent.policy.uri",
      "min": 1,
      "path": "Consent.policy.uri",
      "fixedUri": "http://ihis.sg/PlanDefinition/healthier-sg/healthier-sg-contact"
    }, {
      "id": "Consent.policyRule",
      "max": "0",
      "path": "Consent.policyRule"
    }, {
      "id": "Consent.verification",
      "max": "0",
      "path": "Consent.verification"
    }, {
      "id": "Consent.provision",
      "max": "0",
      "path": "Consent.provision"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Consent"
}