PackagesCanonicalsLogsProblems
    Packages
    synapxe.hsar.hsg@4.3.0-v3
    http://ihis.sg/StructureDefinition/Contact-Consent-pophealth
{
  "description": null,
  "_filename": "profile-Consent-put-contact-consent.json",
  "package_name": "synapxe.hsar.hsg",
  "date": "2019-11-01T09:29:23+11:00",
  "derivation": "constraint",
  "publisher": "IHIS",
  "fhirVersion": "4.3.0",
  "name": "profile-Consent-put-contact-consent",
  "abstract": false,
  "type": "Consent",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "4.3.0-v3",
  "status": "active",
  "id": "8d42d9f6-7165-475c-8f58-8af42241334c",
  "kind": "resource",
  "url": "http://ihis.sg/StructureDefinition/Contact-Consent-pophealth",
  "version": "0.1.0",
  "differential": {
    "element": [ {
      "id": "Consent.id",
      "max": "0",
      "path": "Consent.id"
    }, {
      "id": "Consent.meta",
      "max": "0",
      "path": "Consent.meta"
    }, {
      "id": "Consent.implicitRules",
      "max": "0",
      "path": "Consent.implicitRules"
    }, {
      "id": "Consent.language",
      "max": "0",
      "path": "Consent.language"
    }, {
      "id": "Consent.text",
      "max": "0",
      "path": "Consent.text"
    }, {
      "id": "Consent.contained",
      "max": "0",
      "path": "Consent.contained"
    }, {
      "id": "Consent.extension",
      "max": "0",
      "path": "Consent.extension"
    }, {
      "id": "Consent.modifierExtension",
      "max": "0",
      "path": "Consent.modifierExtension"
    }, {
      "id": "Consent.identifier",
      "max": "0",
      "path": "Consent.identifier"
    }, {
      "id": "Consent.status",
      "path": "Consent.status",
      "short": "n/a",
      "comment": "Fixed Value: \"active\"",
      "fixedCode": "active",
      "definition": "Consent status of contact",
      "requirements": "n/a"
    }, {
      "id": "Consent.scope",
      "path": "Consent.scope",
      "short": "n/a",
      "binding": {
        "strength": "required",
        "valueSet": "http://ihis.sg/ValueSet/hsg-consent-scope"
      },
      "comment": "n/a",
      "definition": "Scope of the consent",
      "requirements": "n/a"
    }, {
      "id": "Consent.scope.id",
      "max": "0",
      "path": "Consent.scope.id"
    }, {
      "id": "Consent.scope.extension",
      "max": "0",
      "path": "Consent.scope.extension"
    }, {
      "path": "Consent.scope.coding",
      "requirements": "n/a",
      "min": 1,
      "definition": "Grouping of Coding",
      "short": "n/a",
      "max": "1",
      "id": "Consent.scope.coding",
      "comment": "n/a",
      "code": [ {
        "code": "healthier-sg-contact",
        "system": "http://ihis.sg/ValueSet/hsg-consent-scope",
        "display": "Healthier SG Contact"
      } ]
    }, {
      "id": "Consent.scope.coding.id",
      "max": "0",
      "path": "Consent.scope.coding.id"
    }, {
      "id": "Consent.scope.coding.extension",
      "max": "0",
      "path": "Consent.scope.coding.extension"
    }, {
      "id": "Consent.scope.coding.system",
      "min": 1,
      "path": "Consent.scope.coding.system",
      "short": "n/a",
      "comment": "Fix Value : \"http://ihis.sg/ValueSet/hsg-consent-scope\"",
      "definition": "Identity of the terminology system",
      "requirements": "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",
      "short": "n/a",
      "comment": "Sample Value : \"healthier-sg-contact\"",
      "definition": "The code of the coding The code of the coding. It shall be one of the code defined in valueset \"http://ihis.sg/ValueSet/hsg-consent-scope\"",
      "requirements": "n/a"
    }, {
      "id": "Consent.scope.coding.display",
      "min": 1,
      "path": "Consent.scope.coding.display",
      "short": "n/a",
      "comment": "Sample Value : \"Healthier SG Contact\"",
      "definition": "Representation defined by the system",
      "requirements": "n/a"
    }, {
      "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",
      "short": "n/a",
      "binding": {
        "strength": "required",
        "valueSet": "http://ihis.sg/ValueSet/hsg-consent-category"
      },
      "comment": "n/a",
      "definition": "Extension value set \"http://ihis.sg/ValueSet/hsg-consent-category\"",
      "requirements": "n/a"
    }, {
      "id": "Consent.category.id",
      "max": "0",
      "path": "Consent.category.id"
    }, {
      "id": "Consent.category.extension",
      "max": "0",
      "path": "Consent.category.extension"
    }, {
      "id": "Consent.category.coding",
      "max": "1",
      "min": 1,
      "path": "Consent.category.coding",
      "short": "n/a",
      "comment": "n/a",
      "definition": "Grouping of Coding",
      "requirements": "n/a"
    }, {
      "id": "Consent.category.coding.id",
      "max": "0",
      "path": "Consent.category.coding.id"
    }, {
      "id": "Consent.category.coding.extension",
      "max": "0",
      "path": "Consent.category.coding.extension"
    }, {
      "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",
      "short": "n/a",
      "comment": "Fix Value : \"http://ihis.sg/ValueSet/hsg-consent-category\"",
      "definition": "Identity of the terminology system",
      "requirements": "n/a"
    }, {
      "id": "Consent.category.coding.version",
      "max": "0",
      "path": "Consent.category.coding.version"
    }, {
      "id": "Consent.category.coding.code",
      "min": 1,
      "path": "Consent.category.coding.code",
      "short": "n/a",
      "comment": "Sample Value : \"contact-channel-consent\"",
      "definition": "The code of the coding The code of the coding. It shall be one of the code defined in valueset \"http://ihis.sg/ValueSet/hsg-consent-category\"",
      "requirements": "n/a"
    }, {
      "id": "Consent.category.coding.display",
      "min": 1,
      "path": "Consent.category.coding.display",
      "short": "n/a",
      "comment": "Sample Value : \"Contact Channel Consent\"",
      "definition": "Representation defined by the system",
      "requirements": "n/a"
    }, {
      "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",
      "short": "n/a",
      "comment": "n/a",
      "definition": "Reference to patient resource who give consent",
      "requirements": "n/a"
    }, {
      "id": "Consent.patient.id",
      "max": "0",
      "path": "Consent.patient.id"
    }, {
      "id": "Consent.patient.extension",
      "max": "0",
      "path": "Consent.patient.extension"
    }, {
      "id": "Consent.patient.reference",
      "max": "0",
      "path": "Consent.patient.reference",
      "definition": "only appl"
    }, {
      "id": "Consent.patient.type",
      "min": 1,
      "path": "Consent.patient.type",
      "short": "n/a",
      "comment": "Fixed Value: \"Patient\"",
      "fixedUri": "Patient",
      "definition": "The resource reference type",
      "requirements": "n/a"
    }, {
      "id": "Consent.patient.identifier",
      "min": 1,
      "path": "Consent.patient.identifier",
      "short": "n/a",
      "comment": "n/a",
      "definition": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.patient.identifier.id",
      "max": "0",
      "path": "Consent.patient.identifier.id"
    }, {
      "id": "Consent.patient.identifier.extension",
      "max": "0",
      "path": "Consent.patient.identifier.extension"
    }, {
      "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",
      "short": "n/a",
      "comment": "Fixed Value: \"http://ihis.sg/identifier/nric\"",
      "fixedUri": "http://ihis.sg/identifier/nric",
      "definition": "Description of identifier",
      "requirements": "n/a"
    }, {
      "id": "Consent.patient.identifier.value",
      "min": 1,
      "path": "Consent.patient.identifier.value",
      "short": "n/a",
      "comment": "n/a",
      "constraint": [ {
        "key": "string-max-length",
        "human": "Value is too long (maximum length is 255)",
        "severity": "error",
        "expression": "$this.length() <= 255"
      } ],
      "definition": "The namespace for the identifier value",
      "requirements": "n/a"
    }, {
      "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": "n/a",
      "comment": "Sample Value: \"2022-09-09T09:44:32+08:00\", \"2023-05-03T18:18:38.358+08:00\"",
      "definition": "When this consent was created",
      "requirements": "n/a"
    }, {
      "id": "Consent.performer",
      "max": "0",
      "path": "Consent.performer"
    }, {
      "id": "Consent.organization",
      "max": "1",
      "min": 1,
      "path": "Consent.organization",
      "short": "n/a",
      "comment": "n/a",
      "definition": "Reference to cluster (Organization resource) where this consent is captured",
      "requirements": "n/a"
    }, {
      "id": "Consent.organization.id",
      "max": "0",
      "path": "Consent.organization.id"
    }, {
      "id": "Consent.organization.extension",
      "max": "0",
      "path": "Consent.organization.extension"
    }, {
      "id": "Consent.organization.reference",
      "max": "0",
      "path": "Consent.organization.reference"
    }, {
      "id": "Consent.organization.type",
      "min": 1,
      "path": "Consent.organization.type",
      "short": "n/a",
      "comment": "Fixed Value: \"Organization\"",
      "fixedUri": "Organization",
      "definition": "The resource reference type",
      "requirements": "n/a"
    }, {
      "id": "Consent.organization.identifier",
      "min": 1,
      "path": "Consent.organization.identifier",
      "short": "n/a",
      "comment": "n/a",
      "definition": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.organization.identifier.id",
      "max": "0",
      "path": "Consent.organization.identifier.id"
    }, {
      "id": "Consent.organization.identifier.extension",
      "max": "0",
      "path": "Consent.organization.identifier.extension"
    }, {
      "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",
      "short": "n/a",
      "comment": "Fixed Value: \"http://ihis.sg/identifier/hci-code\"",
      "fixedUri": "http://ihis.sg/identifier/hci-code",
      "definition": "Description of identifier",
      "requirements": "n/a"
    }, {
      "id": "Consent.organization.identifier.value",
      "min": 1,
      "path": "Consent.organization.identifier.value",
      "short": "n/a",
      "comment": "Sample Value: \"NHG\"",
      "constraint": [ {
        "key": "organization-name-constraint",
        "human": "Organization value must be 'NHG','NUHS' or 'SHS'",
        "severity": "error",
        "expression": "$this.toString().matches('(?i)^(shs|nhg|nuhs)$')"
      } ],
      "definition": "It is the cluster code",
      "requirements": "n/a"
    }, {
      "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",
      "short": "n/a",
      "comment": "n/a",
      "definition": "Policy that covered by this consent",
      "requirements": "n/a"
    }, {
      "id": "Consent.policy.id",
      "max": "0",
      "path": "Consent.policy.id"
    }, {
      "id": "Consent.policy.extension",
      "max": "0",
      "path": "Consent.policy.extension"
    }, {
      "id": "Consent.policy.modifierExtension",
      "max": "0",
      "path": "Consent.policy.modifierExtension"
    }, {
      "id": "Consent.policy.authority",
      "max": "0",
      "path": "Consent.policy.authority"
    }, {
      "id": "Consent.policy.uri",
      "min": 1,
      "path": "Consent.policy.uri",
      "short": "n/a",
      "comment": "Sample Value: \"http://ihis.sg/healthier-sg/healthier-sg-contact\"",
      "fixedUri": "http://ihis.sg/PlanDefinition/healthier-sg/healthier-sg-contact",
      "definition": "n/a",
      "requirements": "n/a"
    }, {
      "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"
}