FHIR IG analytics| Package | synapxe.hsar.hsg |
| Resource Type | StructureDefinition |
| Id | profile-Consent-put-consent.json |
| FHIR Version | R4B |
No resources found
No resources found
No narrative content found in resource
{
"resourceType": "StructureDefinition",
"id": "profile-Consent-put-consent",
"url": "http://ihis.sg/StructureDefinition/Consent-pophealth",
"version": "0.1.0",
"name": "profile-Consent-put-consent",
"status": "active",
"date": "2019-11-01T09:29:23+11:00",
"publisher": "IHIS",
"fhirVersion": "4.3.0",
"kind": "resource",
"abstract": false,
"type": "Consent",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Consent",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "Consent.id",
"path": "Consent.id",
"max": "0"
},
{
"id": "Consent.implicitRules",
"path": "Consent.implicitRules",
"max": "0"
},
{
"id": "Consent.language",
"path": "Consent.language",
"max": "0"
},
{
"id": "Consent.text",
"path": "Consent.text",
"max": "0"
},
{
"id": "Consent.contained",
"path": "Consent.contained",
"max": "0"
},
{
"id": "Consent.extension",
"path": "Consent.extension",
"short": "n/a",
"definition": "Additional data elements required by Healthier SG",
"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",
"requirements": "n/a",
"min": 2,
"max": "2"
},
{
"id": "Consent.extension:provided-by",
"path": "Consent.extension",
"sliceName": "provided-by",
"requirements": "n/a",
"type": [
{
"code": "Extension",
"profile": [
"http://ihis.sg/extension/consent-provided-by"
]
}
]
},
{
"id": "Consent.extension:provided-by.id",
"path": "Consent.extension.id",
"short": "n/a"
},
{
"id": "Consent.extension:consent-authentication-mode",
"path": "Consent.extension",
"sliceName": "consent-authentication-mode",
"short": "n/a",
"requirements": "n/a",
"type": [
{
"code": "Extension",
"profile": [
"http://ihis.sg/extension/consent-authentication-mode"
]
}
]
},
{
"id": "Consent.extension:consent-authentication-mode.id",
"path": "Consent.extension.id",
"short": "n/a"
},
{
"id": "Consent.identifier",
"path": "Consent.identifier",
"short": "n/a",
"definition": "n/a",
"comment": "n/a",
"requirements": "n/a",
"max": "0"
},
{
"id": "Consent.status",
"path": "Consent.status",
"short": "n/a",
"definition": "Consent status",
"comment": "Fixed Value: \"active\"",
"requirements": "n/a",
"fixedCode": "active"
},
{
"id": "Consent.scope",
"path": "Consent.scope",
"short": "n/a",
"definition": "Scope of the consent, fixed to \"Onboard Healthier SG\"",
"comment": "n/a",
"requirements": "n/a"
},
{
"id": "Consent.scope.id",
"path": "Consent.scope.id",
"max": "0"
},
{
"id": "Consent.scope.extension",
"path": "Consent.scope.extension",
"max": "0"
},
{
"id": "Consent.scope.coding",
"path": "Consent.scope.coding",
"short": "n/a",
"definition": "Grouping of coding",
"comment": "n/a",
"requirements": "n/a",
"min": 1,
"binding": {
"strength": "required",
"valueSet": "http://ihis.sg/ValueSet/hsg-consent-scope"
}
},
{
"id": "Consent.scope.coding.id",
"path": "Consent.scope.coding.id",
"max": "0"
},
{
"id": "Consent.scope.coding.extension",
"path": "Consent.scope.coding.extension",
"max": "0"
},
{
"id": "Consent.scope.coding.system",
"path": "Consent.scope.coding.system",
"short": "n/a",
"definition": "Identity of the terminology system",
"comment": "Fixed Value : \"http://ihis.sg/ValueSet/hsg-consent-scope\"",
"requirements": "n/a",
"min": 1,
"fixedUri": "http://ihis.sg/ValueSet/hsg-consent-scope"
},
{
"id": "Consent.scope.coding.version",
"path": "Consent.scope.coding.version",
"short": "n/a",
"definition": "n/a",
"comment": "n/a",
"requirements": "n/a"
},
{
"id": "Consent.scope.coding.code",
"path": "Consent.scope.coding.code",
"short": "n/a",
"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\"",
"comment": "Sample Value : \"onboard-healthier-sg\"",
"requirements": "n/a",
"min": 1
},
{
"id": "Consent.scope.coding.display",
"path": "Consent.scope.coding.display",
"short": "n/a",
"definition": "Representation defined by the system",
"comment": "Sample Value : \"Onboard Healthier SG\"",
"requirements": "n/a"
},
{
"id": "Consent.scope.coding.userSelected",
"path": "Consent.scope.coding.userSelected",
"short": "n/a",
"definition": "n/a",
"comment": "n/a",
"requirements": "n/a",
"max": "0"
},
{
"id": "Consent.scope.text",
"path": "Consent.scope.text",
"short": "n/a",
"definition": "n/a",
"comment": "n/a",
"requirements": "n/a",
"max": "0"
},
{
"id": "Consent.category",
"path": "Consent.category",
"short": "n/a",
"definition": "Extension value set \"http://ihis.sg/ValueSet/hsg-consent-category\"",
"comment": "n/a",
"requirements": "n/a",
"max": "1"
},
{
"id": "Consent.category.id",
"path": "Consent.category.id",
"max": "0"
},
{
"id": "Consent.category.extension",
"path": "Consent.category.extension",
"max": "0"
},
{
"id": "Consent.category.coding",
"path": "Consent.category.coding",
"short": "n/a",
"definition": "Grouping of coding",
"comment": "n/a",
"requirements": "n/a",
"min": 1,
"binding": {
"strength": "required",
"valueSet": "http://ihis.sg/ValueSet/hsg-consent-category"
}
},
{
"id": "Consent.category.coding.id",
"path": "Consent.category.coding.id",
"max": "0"
},
{
"id": "Consent.category.coding.extension",
"path": "Consent.category.coding.extension",
"max": "0"
},
{
"id": "Consent.category.coding.system",
"path": "Consent.category.coding.system",
"short": "n/a",
"definition": "Identity of the terminology system",
"comment": "Fixed Value : \"http://ihis.sg/ValueSet/hsg-consent-category\"",
"requirements": "n/a",
"min": 1,
"fixedUri": "http://ihis.sg/ValueSet/hsg-consent-category"
},
{
"id": "Consent.category.coding.version",
"path": "Consent.category.coding.version",
"short": "n/a",
"definition": "n/a",
"comment": "n/a",
"requirements": "n/a"
},
{
"id": "Consent.category.coding.code",
"path": "Consent.category.coding.code",
"short": "n/a",
"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\"",
"comment": "Sample Value : \"healthiersg-consent\"",
"requirements": "n/a",
"min": 1
},
{
"id": "Consent.category.coding.display",
"path": "Consent.category.coding.display",
"short": "n/a",
"definition": "Representation defined by the system",
"comment": "Sample Value : \"HealthierSG-Consent\"",
"requirements": "n/a"
},
{
"id": "Consent.category.coding.userSelected",
"path": "Consent.category.coding.userSelected",
"short": "n/a",
"definition": "n/a",
"comment": "n/a",
"requirements": "n/a",
"max": "0"
},
{
"id": "Consent.category.text",
"path": "Consent.category.text",
"short": "n/a",
"definition": "n/a",
"comment": "n/a",
"requirements": "n/a",
"max": "0"
},
{
"id": "Consent.patient",
"path": "Consent.patient",
"short": "n/a",
"definition": "Reference to patient resource who give consent",
"comment": "n/a",
"requirements": "n/a",
"min": 1
},
{
"id": "Consent.patient.id",
"path": "Consent.patient.id",
"max": "0"
},
{
"id": "Consent.patient.extension",
"path": "Consent.patient.extension",
"max": "0"
},
{
"id": "Consent.patient.reference",
"path": "Consent.patient.reference",
"short": "n/a",
"definition": "n/a",
"comment": "n/a",
"requirements": "n/a",
"max": "0"
},
{
"id": "Consent.patient.type",
"path": "Consent.patient.type",
"short": "n/a",
"definition": "The resource reference type",
"comment": "Fixed Value: \"Patient\"",
"requirements": "n/a",
"min": 1
},
{
"id": "Consent.patient.identifier",
"path": "Consent.patient.identifier",
"short": "n/a",
"definition": "n/a",
"comment": "n/a",
"requirements": "n/a",
"min": 1
},
{
"id": "Consent.patient.identifier.id",
"path": "Consent.patient.identifier.id",
"max": "0"
},
{
"id": "Consent.patient.identifier.extension",
"path": "Consent.patient.identifier.extension",
"max": "0"
},
{
"id": "Consent.patient.identifier.use",
"path": "Consent.patient.identifier.use",
"short": "n/a",
"definition": "n/a",
"comment": "n/a",
"requirements": "n/a",
"max": "0"
},
{
"id": "Consent.patient.identifier.type",
"path": "Consent.patient.identifier.type",
"short": "n/a",
"definition": "n/a",
"comment": "n/a",
"requirements": "n/a",
"max": "0"
},
{
"id": "Consent.patient.identifier.system",
"path": "Consent.patient.identifier.system",
"short": "n/a",
"definition": "Description of identifier",
"comment": "Fixed Value: \"http://ihis.sg/identifier/nric\"",
"requirements": "n/a",
"min": 1,
"fixedUri": "http://ihis.sg/identifier/nric"
},
{
"id": "Consent.patient.identifier.value",
"path": "Consent.patient.identifier.value",
"short": "n/a",
"definition": "The namespace for the identifier value",
"comment": "n/a",
"requirements": "n/a",
"min": 1
},
{
"id": "Consent.patient.identifier.period",
"path": "Consent.patient.identifier.period",
"short": "n/a",
"definition": "n/a",
"comment": "n/a",
"requirements": "n/a",
"max": "0"
},
{
"id": "Consent.patient.identifier.assigner",
"path": "Consent.patient.identifier.assigner",
"short": "n/a",
"definition": "n/a",
"comment": "n/a",
"requirements": "n/a",
"max": "0"
},
{
"id": "Consent.patient.display",
"path": "Consent.patient.display",
"short": "n/a",
"definition": "n/a",
"comment": "n/a",
"requirements": "n/a",
"max": "0"
},
{
"id": "Consent.dateTime",
"path": "Consent.dateTime",
"short": "n/a",
"definition": "When this Consent was created or indexed",
"comment": "Sample Value: \"2022-09-09T09:44:32+08:00\" , \"2023-05-03T18:18:38.358+08:00\"",
"requirements": "n/a",
"min": 1,
"constraint": [
{
"key": "consent-dateTime",
"severity": "error",
"human": "Consent datetime cannot be past/future datetime",
"expression": "$this.convertsToDateTime() = false or $this.hasValue().not() or (now() < $this + 300 seconds and (now() + 300 seconds) > $this)"
}
]
},
{
"id": "Consent.performer",
"path": "Consent.performer",
"short": "n/a",
"definition": "n/a",
"comment": "n/a",
"requirements": "n/a",
"max": "0"
},
{
"id": "Consent.organization",
"path": "Consent.organization",
"short": "n/a",
"definition": "n/a",
"comment": "n/a",
"requirements": "n/a",
"max": "0"
},
{
"id": "Consent.source[x]",
"path": "Consent.source[x]",
"short": "n/a",
"definition": "n/a",
"comment": "n/a",
"requirements": "n/a",
"max": "0"
},
{
"id": "Consent.policy",
"path": "Consent.policy",
"short": "n/a",
"definition": "Policy that covered by this consent",
"comment": "n/a",
"requirements": "n/a",
"min": 1,
"max": "1"
},
{
"id": "Consent.policy.id",
"path": "Consent.policy.id",
"max": "0"
},
{
"id": "Consent.policy.extension",
"path": "Consent.policy.extension",
"max": "0"
},
{
"id": "Consent.policy.modifierExtension",
"path": "Consent.policy.modifierExtension",
"max": "0"
},
{
"id": "Consent.policy.authority",
"path": "Consent.policy.authority",
"short": "n/a",
"definition": "n/a",
"comment": "n/a",
"requirements": "n/a",
"max": "0"
},
{
"id": "Consent.policy.uri",
"path": "Consent.policy.uri",
"short": "n/a",
"definition": "Reference plan definition resource",
"comment": "Sample Value: \"http://ihis.sg/PlanDefinition/healthier-sg/healthier-sg-programme\"",
"requirements": "n/a",
"min": 1,
"fixedUri": "http://ihis.sg/PlanDefinition/healthier-sg/healthier-sg-programme"
},
{
"id": "Consent.policyRule",
"path": "Consent.policyRule",
"short": "n/a",
"definition": "n/a",
"comment": "n/a",
"requirements": "n/a",
"max": "0"
},
{
"id": "Consent.verification",
"path": "Consent.verification",
"short": "n/a",
"definition": "n/a",
"comment": "n/a",
"requirements": "n/a",
"max": "0"
},
{
"id": "Consent.provision",
"path": "Consent.provision",
"short": "n/a",
"definition": "n/a",
"comment": "n/a",
"requirements": "n/a",
"max": "0"
}
]
}
}