{
"description": null,
"_filename": "profile-Consent-put-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-consent",
"abstract": false,
"type": "Consent",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "4.3.0-v3",
"status": "active",
"id": "885a0bb7-1e52-4db2-b7b8-40811c05ada3",
"kind": "resource",
"url": "http://ihis.sg/StructureDefinition/Consent-pophealth",
"version": "0.1.0",
"differential": {
"element": [ {
"id": "Consent.id",
"max": "0",
"path": "Consent.id"
}, {
"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": "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" ]
} ],
"sliceName": "provided-by",
"requirements": "n/a"
}, {
"id": "Consent.extension:provided-by.id",
"path": "Consent.extension.id",
"short": "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",
"sliceName": "consent-authentication-mode",
"requirements": "n/a"
}, {
"id": "Consent.extension:consent-authentication-mode.id",
"path": "Consent.extension.id",
"short": "n/a"
}, {
"id": "Consent.identifier",
"max": "0",
"path": "Consent.identifier",
"short": "n/a",
"comment": "n/a",
"definition": "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",
"comment": "n/a",
"definition": "Scope of the consent, fixed to \"Onboard Healthier SG\"",
"requirements": "n/a"
}, {
"id": "Consent.scope.id",
"max": "0",
"path": "Consent.scope.id"
}, {
"id": "Consent.scope.extension",
"max": "0",
"path": "Consent.scope.extension"
}, {
"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"
}, {
"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": "Fixed Value : \"http://ihis.sg/ValueSet/hsg-consent-scope\"",
"fixedUri": "http://ihis.sg/ValueSet/hsg-consent-scope",
"definition": "Identity of the terminology system",
"requirements": "n/a"
}, {
"id": "Consent.scope.coding.version",
"path": "Consent.scope.coding.version",
"short": "n/a",
"comment": "n/a",
"definition": "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\"",
"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\"",
"definition": "Representation defined by the system",
"requirements": "n/a"
}, {
"id": "Consent.scope.coding.userSelected",
"max": "0",
"path": "Consent.scope.coding.userSelected",
"short": "n/a",
"comment": "n/a",
"definition": "n/a",
"requirements": "n/a"
}, {
"id": "Consent.scope.text",
"max": "0",
"path": "Consent.scope.text",
"short": "n/a",
"comment": "n/a",
"definition": "n/a",
"requirements": "n/a"
}, {
"id": "Consent.category",
"max": "1",
"path": "Consent.category",
"short": "n/a",
"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",
"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"
}, {
"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,
"path": "Consent.category.coding.system",
"short": "n/a",
"comment": "Fixed Value : \"http://ihis.sg/ValueSet/hsg-consent-category\"",
"fixedUri": "http://ihis.sg/ValueSet/hsg-consent-category",
"definition": "Identity of the terminology system",
"requirements": "n/a"
}, {
"id": "Consent.category.coding.version",
"path": "Consent.category.coding.version",
"short": "n/a",
"comment": "n/a",
"definition": "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\"",
"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\"",
"definition": "Representation defined by the system",
"requirements": "n/a"
}, {
"id": "Consent.category.coding.userSelected",
"max": "0",
"path": "Consent.category.coding.userSelected",
"short": "n/a",
"comment": "n/a",
"definition": "n/a",
"requirements": "n/a"
}, {
"id": "Consent.category.text",
"max": "0",
"path": "Consent.category.text",
"short": "n/a",
"comment": "n/a",
"definition": "n/a",
"requirements": "n/a"
}, {
"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",
"short": "n/a",
"comment": "n/a",
"definition": "n/a",
"requirements": "n/a"
}, {
"id": "Consent.patient.type",
"min": 1,
"path": "Consent.patient.type",
"short": "n/a",
"comment": "Fixed Value: \"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",
"short": "n/a",
"comment": "n/a",
"definition": "n/a",
"requirements": "n/a"
}, {
"id": "Consent.patient.identifier.type",
"max": "0",
"path": "Consent.patient.identifier.type",
"short": "n/a",
"comment": "n/a",
"definition": "n/a",
"requirements": "n/a"
}, {
"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",
"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",
"comment": "n/a",
"definition": "n/a",
"requirements": "n/a"
}, {
"id": "Consent.patient.identifier.assigner",
"max": "0",
"path": "Consent.patient.identifier.assigner",
"short": "n/a",
"comment": "n/a",
"definition": "n/a",
"requirements": "n/a"
}, {
"id": "Consent.patient.display",
"max": "0",
"path": "Consent.patient.display",
"short": "n/a",
"comment": "n/a",
"definition": "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 past/future datetime",
"severity": "error",
"expression": "$this.convertsToDateTime() = false or $this.hasValue().not() or (now() < $this + 300 seconds and (now() + 300 seconds) > $this)"
} ],
"definition": "When this Consent was created or indexed",
"requirements": "n/a"
}, {
"id": "Consent.performer",
"max": "0",
"path": "Consent.performer",
"short": "n/a",
"comment": "n/a",
"definition": "n/a",
"requirements": "n/a"
}, {
"id": "Consent.organization",
"max": "0",
"path": "Consent.organization",
"short": "n/a",
"comment": "n/a",
"definition": "n/a",
"requirements": "n/a"
}, {
"id": "Consent.source[x]",
"max": "0",
"path": "Consent.source[x]",
"short": "n/a",
"comment": "n/a",
"definition": "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.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",
"short": "n/a",
"comment": "n/a",
"definition": "n/a",
"requirements": "n/a"
}, {
"id": "Consent.policy.uri",
"min": 1,
"path": "Consent.policy.uri",
"short": "n/a",
"comment": "Sample Value: \"http://ihis.sg/PlanDefinition/healthier-sg/healthier-sg-programme\"",
"fixedUri": "http://ihis.sg/PlanDefinition/healthier-sg/healthier-sg-programme",
"definition": "Reference plan definition resource",
"requirements": "n/a"
}, {
"id": "Consent.policyRule",
"max": "0",
"path": "Consent.policyRule",
"short": "n/a",
"comment": "n/a",
"definition": "n/a",
"requirements": "n/a"
}, {
"id": "Consent.verification",
"max": "0",
"path": "Consent.verification",
"short": "n/a",
"comment": "n/a",
"definition": "n/a",
"requirements": "n/a"
}, {
"id": "Consent.provision",
"max": "0",
"path": "Consent.provision",
"short": "n/a",
"comment": "n/a",
"definition": "n/a",
"requirements": "n/a"
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Consent"
}