PackagesCanonicalsLogsProblems
    Packages
    synapxe.hsar@1.0.0
    http://ihis.sg/StructureDefinition/Consent-pophealth-output
{
  "description": null,
  "_filename": "profile-Consent-get-consent.json",
  "package_name": "synapxe.hsar",
  "date": "2019-11-01T09:29:23+11:00",
  "derivation": "constraint",
  "publisher": "IHIS",
  "fhirVersion": "4.3.0",
  "name": "profile-Consent-get-consent",
  "abstract": false,
  "type": "Consent",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "1.0.0",
  "status": "active",
  "id": "cddeb80c-7c78-43f6-92ac-140dc49c3c91",
  "kind": "resource",
  "url": "http://ihis.sg/StructureDefinition/Consent-pophealth-output",
  "version": "0.1.0",
  "differential": {
    "element": [ {
      "id": "Consent.extension",
      "max": "2",
      "min": 2,
      "path": "Consent.extension",
      "short": "n/a",
      "comment": "The extension is in the format of key/value pair, where the key is specified in 'url' attribute, and the values 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\nAll the extension url is be prefixed with \"http://ihis.sg/extension\" and followed by friendly short name",
      "definition": "Additional data elements required by Healthier SG",
      "requirements": "n/a"
    }, {
      "id": "Consent.extension:provided-by",
      "path": "Consent.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://ihis.sg/extension/consent-provided-by" ]
      } ],
      "short": "n/a",
      "comment": "n/a",
      "sliceName": "provided-by",
      "definition": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.extension:consent-authentication-mode",
      "path": "Consent.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://ihis.sg/extension/consent-authentication-mode" ]
      } ],
      "short": "n/a",
      "comment": "n/a",
      "sliceName": "consent-authentication-mode",
      "definition": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.identifier",
      "max": "0",
      "path": "Consent.identifier",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.status",
      "path": "Consent.status",
      "short": "n/a",
      "comment": "Fixed Value: \"active\"",
      "fixedCode": "active",
      "definition": "Consent status",
      "requirements": "n/a"
    }, {
      "id": "Consent.scope",
      "path": "Consent.scope",
      "short": "n/a",
      "definition": "Scope of the consent, fixed to \"Onboard Healthier SG\"",
      "requirements": "n/a"
    }, {
      "id": "Consent.scope.coding",
      "min": 1,
      "path": "Consent.scope.coding",
      "short": "n/a",
      "binding": {
        "strength": "required",
        "valueSet": "http://ihis.sg/ValueSet/hsg-consent-scope"
      },
      "comment": "n/a",
      "definition": "Grouping of coding",
      "requirements": "n/a"
    }, {
      "constraint": [ {
        "key": "string-max-length",
        "human": "Value is too long (maximum length is 255)",
        "severity": "error",
        "expression": "$this.length() <= 255"
      } ],
      "path": "Consent.scope.coding.system",
      "requirements": "n/a",
      "min": 1,
      "definition": "Identity of the terminology system",
      "short": "n/a",
      "fixedUri": "http://ihis.sg/ValueSet/hsg-consent-scope",
      "id": "Consent.scope.coding.system",
      "comment": "Fixed Value : \"http://ihis.sg/ValueSet/hsg-consent-scope\""
    }, {
      "id": "Consent.scope.coding.version",
      "max": "0",
      "path": "Consent.scope.coding.version",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.scope.coding.code",
      "min": 1,
      "path": "Consent.scope.coding.code",
      "short": "n/a",
      "comment": "Sample Value : \"onboard-healthier-sg\"",
      "constraint": [ {
        "key": "string-max-length",
        "human": "Value is too long (maximum length is 255)",
        "severity": "error",
        "expression": "$this.length() <= 255"
      } ],
      "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",
      "path": "Consent.scope.coding.display",
      "short": "n/a",
      "comment": "Sample Value : \"Onboard Healthier SG\"",
      "constraint": [ {
        "key": "string-max-length",
        "human": "Value is too long (maximum length is 255)",
        "severity": "error",
        "expression": "$this.length() <= 255"
      } ],
      "definition": "Representation defined by the system",
      "requirements": "n/a"
    }, {
      "id": "Consent.scope.coding.userSelected",
      "max": "0",
      "path": "Consent.scope.coding.userSelected",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.scope.text",
      "max": "0",
      "path": "Consent.scope.text",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.category",
      "path": "Consent.category",
      "short": "n/a",
      "definition": "Extension value set \"http://ihis.sg/ValueSet/hsg-consent-category\"",
      "requirements": "n/a"
    }, {
      "id": "Consent.category.coding",
      "min": 1,
      "path": "Consent.category.coding",
      "short": "n/a",
      "binding": {
        "strength": "required",
        "valueSet": "http://ihis.sg/ValueSet/hsg-consent-category"
      },
      "comment": "n/a",
      "definition": "Grouping of coding",
      "requirements": "n/a"
    }, {
      "constraint": [ {
        "key": "string-max-length",
        "human": "Value is too long (maximum length is 255)",
        "severity": "error",
        "expression": "$this.length() <= 255"
      } ],
      "path": "Consent.category.coding.system",
      "requirements": "n/a",
      "min": 1,
      "definition": "Identity of the terminology system",
      "short": "n/a",
      "fixedUri": "http://ihis.sg/ValueSet/hsg-consent-category",
      "id": "Consent.category.coding.system",
      "comment": "Fixed Value : \"http://ihis.sg/ValueSet/hsg-consent-category\""
    }, {
      "id": "Consent.category.coding.version",
      "max": "0",
      "path": "Consent.category.coding.version",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.category.coding.code",
      "min": 1,
      "path": "Consent.category.coding.code",
      "short": "n/a",
      "comment": "Sample Value : \"healthiersg-consent\"",
      "constraint": [ {
        "key": "string-max-length",
        "human": "Value is too long (maximum length is 255)",
        "severity": "error",
        "expression": "$this.length() <= 255"
      } ],
      "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",
      "path": "Consent.category.coding.display",
      "short": "n/a",
      "comment": "Sample Value : \"HealthierSG-Consent\"",
      "constraint": [ {
        "key": "string-max-length",
        "human": "Value is too long (maximum length is 255)",
        "severity": "error",
        "expression": "$this.length() <= 255"
      } ],
      "definition": "Representation defined by the system",
      "requirements": "n/a"
    }, {
      "id": "Consent.category.coding.userSelected",
      "max": "0",
      "path": "Consent.category.coding.userSelected",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.category.text",
      "max": "0",
      "path": "Consent.category.text",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.patient",
      "min": 1,
      "path": "Consent.patient",
      "short": "n/a",
      "definition": "Reference to patient resource who give consent",
      "requirements": "n/a"
    }, {
      "id": "Consent.patient.reference",
      "min": 1,
      "path": "Consent.patient.reference",
      "short": "n/a",
      "comment": "Sample Value: \"https://pophealth.healthdxp.com/Patient/7D4C65801ADE4F64BEB3781139671584\"",
      "constraint": [ {
        "key": "string-max-length",
        "human": "Value is too long (maximum length is 255)",
        "severity": "error",
        "expression": "$this.length() <= 255"
      } ],
      "definition": "The resource reference",
      "requirements": "n/a"
    }, {
      "id": "Consent.patient.type",
      "max": "0",
      "path": "Consent.patient.type",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.patient.identifier",
      "max": "1",
      "min": 1,
      "path": "Consent.patient.identifier",
      "short": "n/a",
      "comment": "n/a",
      "definition": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.patient.identifier.use",
      "max": "0",
      "path": "Consent.patient.identifier.use",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.patient.identifier.type",
      "max": "0",
      "path": "Consent.patient.identifier.type",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "constraint": [ {
        "key": "string-max-length",
        "human": "Value is too long (maximum length is 255)",
        "severity": "error",
        "expression": "$this.length() <= 255"
      } ],
      "path": "Consent.patient.identifier.system",
      "requirements": "n/a",
      "min": 1,
      "definition": "Description of identifier",
      "short": "n/a",
      "fixedUri": "http://ihis.sg/identifier/nric",
      "id": "Consent.patient.identifier.system",
      "comment": "Fixed Value: \"http://ihis.sg/identifier/nric\""
    }, {
      "id": "Consent.patient.identifier.value",
      "min": 1,
      "path": "Consent.patient.identifier.value",
      "short": "n/a",
      "comment": "Sample Value: \"S1234567D\"",
      "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",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.patient.identifier.assigner",
      "max": "0",
      "path": "Consent.patient.identifier.assigner",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.patient.display",
      "max": "0",
      "path": "Consent.patient.display",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "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\"",
      "constraint": [ {
        "key": "consent-dateTime",
        "human": "Consent datetime cannot be future datetime",
        "severity": "error",
        "expression": "$this.convertsToDateTime() = false or $this.hasValue().not() or  (now() + 5 seconds) > $this"
      } ],
      "definition": "When this Consent was created or indexed",
      "requirements": "n/a"
    }, {
      "id": "Consent.performer",
      "max": "0",
      "path": "Consent.performer",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.organization",
      "max": "0",
      "path": "Consent.organization",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.source[x]",
      "max": "0",
      "path": "Consent.source[x]",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "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.authority",
      "max": "0",
      "path": "Consent.policy.authority",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "constraint": [ {
        "key": "string-max-length",
        "human": "Value is too long (maximum length is 255)",
        "severity": "error",
        "expression": "$this.length() <= 255"
      } ],
      "path": "Consent.policy.uri",
      "requirements": "n/a",
      "min": 1,
      "definition": "Reference plan definition resource",
      "short": "n/a",
      "fixedUri": "http://ihis.sg/PlanDefinition/healthier-sg/healthier-sg-programme",
      "id": "Consent.policy.uri",
      "comment": "Sample Value: \"http://ihis.sg/PlanDefinition/healthier-sg/healthier-sg-programme\""
    }, {
      "id": "Consent.policyRule",
      "max": "0",
      "path": "Consent.policyRule",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.verification",
      "max": "0",
      "path": "Consent.verification",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.provision",
      "max": "0",
      "path": "Consent.provision",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.provision.type",
      "max": "0",
      "path": "Consent.provision.type",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.provision.period",
      "min": 1,
      "path": "Consent.provision.period",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.provision.period.start",
      "min": 1,
      "path": "Consent.provision.period.start",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.provision.actor",
      "max": "0",
      "path": "Consent.provision.actor",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.provision.action",
      "max": "0",
      "path": "Consent.provision.action",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.provision.securityLabel",
      "max": "0",
      "path": "Consent.provision.securityLabel",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.provision.purpose",
      "max": "0",
      "path": "Consent.provision.purpose",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.provision.class",
      "max": "0",
      "path": "Consent.provision.class",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.provision.code",
      "max": "0",
      "path": "Consent.provision.code",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.provision.dataPeriod",
      "max": "0",
      "path": "Consent.provision.dataPeriod",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.provision.data",
      "max": "0",
      "path": "Consent.provision.data",
      "short": "n/a",
      "requirements": "n/a"
    }, {
      "id": "Consent.provision.provision",
      "max": "0",
      "path": "Consent.provision.provision",
      "short": "n/a",
      "requirements": "n/a"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Consent"
}