{
"description": null,
"_filename": "profile-Consent-put-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-put-consent",
"abstract": false,
"type": "Consent",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "1.0.0",
"status": "active",
"id": "769f3fc4-d3f8-423c-b917-10be2f0a397a",
"kind": "resource",
"url": "http://ihis.sg/StructureDefinition/Consent-pophealth",
"version": "0.1.0",
"differential": {
"element": [ {
"id": "Consent.extension",
"min": 2,
"path": "Consent.extension",
"short": "Additional data elements required by Healthier SG",
"comment": "N/A",
"definition": "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"
}, {
"id": "Consent.extension:provided-by",
"path": "Consent.extension",
"type": [ {
"code": "Extension",
"profile": [ "http://ihis.sg/extension/provided-by" ]
} ],
"comment": "N/A",
"sliceName": "provided-by"
}, {
"id": "Consent.extension:consent-authentication-mode",
"path": "Consent.extension",
"type": [ {
"code": "Extension",
"profile": [ "http://ihis.sg/extension/consent-authentication-mode" ]
} ],
"comment": "N/A",
"sliceName": "consent-authentication-mode"
}, {
"id": "Consent.identifier",
"max": "0",
"path": "Consent.identifier"
}, {
"id": "Consent.status",
"path": "Consent.status",
"short": "fixed value 'active'"
}, {
"id": "Consent.scope.coding",
"min": 1,
"path": "Consent.scope.coding",
"binding": {
"strength": "required",
"valueSet": "http://ihis.sg/ValueSet/hsg-consent-scope"
}
}, {
"id": "Consent.scope.coding.system",
"min": 1,
"path": "Consent.scope.coding.system",
"fixedUri": "http://ihis.sg/ValueSet/hsg-consent-scope"
}, {
"id": "Consent.scope.coding.version",
"max": "0",
"path": "Consent.scope.coding.version"
}, {
"id": "Consent.scope.coding.code",
"path": "Consent.scope.coding.code",
"short": "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\""
}, {
"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"
}, {
"id": "Consent.category.coding",
"min": 1,
"path": "Consent.category.coding",
"binding": {
"strength": "required",
"valueSet": "http://ihis.sg/ValueSet/hsg-consent-category"
}
}, {
"id": "Consent.category.coding.system",
"min": 1,
"path": "Consent.category.coding.system",
"fixedUri": "http://ihis.sg/ValueSet/hsg-consent-category"
}, {
"id": "Consent.category.coding.version",
"max": "0",
"path": "Consent.category.coding.version"
}, {
"id": "Consent.category.coding.code",
"path": "Consent.category.coding.code",
"short": "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\""
}, {
"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",
"comment": "Reference to patient resource who give consent"
}, {
"id": "Consent.patient.reference",
"max": "0",
"path": "Consent.patient.reference"
}, {
"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\"",
"comment": "When this Consent was created or indexed",
"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)"
} ]
}, {
"id": "Consent.performer",
"max": "0",
"path": "Consent.performer"
}, {
"id": "Consent.organization",
"max": "0",
"path": "Consent.organization"
}, {
"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-programme"
}, {
"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"
}