FHIR IG analytics| Package | synapxe.hsar.hsg |
| Resource Type | StructureDefinition |
| Id | profile-Consent-put-contact-consent.json |
| FHIR Version | R4B |
No resources found
No resources found
No narrative content found in resource
{
"resourceType": "StructureDefinition",
"id": "profile-Consent-put-contact-consent",
"url": "http://ihis.sg/StructureDefinition/Contact-Consent-pophealth",
"version": "0.1.0",
"name": "profile-Consent-put-contact-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.meta",
"path": "Consent.meta",
"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",
"max": "0"
},
{
"id": "Consent.modifierExtension",
"path": "Consent.modifierExtension",
"max": "0"
},
{
"id": "Consent.identifier",
"path": "Consent.identifier",
"max": "0"
},
{
"id": "Consent.status",
"path": "Consent.status",
"short": "n/a",
"definition": "Consent status of contact",
"comment": "Fixed Value: \"active\"",
"requirements": "n/a",
"fixedCode": "active"
},
{
"id": "Consent.scope",
"path": "Consent.scope",
"short": "n/a",
"definition": "Scope of the consent",
"comment": "n/a",
"requirements": "n/a",
"binding": {
"strength": "required",
"valueSet": "http://ihis.sg/ValueSet/hsg-consent-scope"
}
},
{
"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",
"code": [
{
"system": "http://ihis.sg/ValueSet/hsg-consent-scope",
"code": "healthier-sg-contact",
"display": "Healthier SG Contact"
}
],
"short": "n/a",
"definition": "Grouping of Coding",
"comment": "n/a",
"requirements": "n/a",
"min": 1,
"max": "1"
},
{
"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": "Fix Value : \"http://ihis.sg/ValueSet/hsg-consent-scope\"",
"requirements": "n/a",
"min": 1
},
{
"id": "Consent.scope.coding.version",
"path": "Consent.scope.coding.version",
"max": "0"
},
{
"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 : \"healthier-sg-contact\"",
"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 : \"Healthier SG Contact\"",
"requirements": "n/a",
"min": 1
},
{
"id": "Consent.scope.coding.userSelected",
"path": "Consent.scope.coding.userSelected",
"max": "0"
},
{
"id": "Consent.scope.text",
"path": "Consent.scope.text",
"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",
"binding": {
"strength": "required",
"valueSet": "http://ihis.sg/ValueSet/hsg-consent-category"
}
},
{
"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,
"max": "1"
},
{
"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",
"code": [
{
"system": "http://ihis.sg/ValueSet/hsg-consent-category",
"code": "contact-channel-consent",
"display": "Contact Channel Consent"
}
],
"short": "n/a",
"definition": "Identity of the terminology system",
"comment": "Fix Value : \"http://ihis.sg/ValueSet/hsg-consent-category\"",
"requirements": "n/a",
"min": 1
},
{
"id": "Consent.category.coding.version",
"path": "Consent.category.coding.version",
"max": "0"
},
{
"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 : \"contact-channel-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 : \"Contact Channel Consent\"",
"requirements": "n/a",
"min": 1
},
{
"id": "Consent.category.coding.userSelected",
"path": "Consent.category.coding.userSelected",
"max": "0"
},
{
"id": "Consent.category.text",
"path": "Consent.category.text",
"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",
"definition": "only appl",
"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,
"fixedUri": "Patient"
},
{
"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",
"max": "0"
},
{
"id": "Consent.patient.identifier.type",
"path": "Consent.patient.identifier.type",
"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,
"constraint": [
{
"key": "string-max-length",
"severity": "error",
"human": "Value is too long (maximum length is 255)",
"expression": "$this.length() <= 255"
}
]
},
{
"id": "Consent.patient.identifier.period",
"path": "Consent.patient.identifier.period",
"max": "0"
},
{
"id": "Consent.patient.identifier.assigner",
"path": "Consent.patient.identifier.assigner",
"max": "0"
},
{
"id": "Consent.patient.display",
"path": "Consent.patient.display",
"max": "0"
},
{
"id": "Consent.dateTime",
"path": "Consent.dateTime",
"short": "n/a",
"definition": "When this consent was created",
"comment": "Sample Value: \"2022-09-09T09:44:32+08:00\", \"2023-05-03T18:18:38.358+08:00\"",
"requirements": "n/a",
"min": 1
},
{
"id": "Consent.performer",
"path": "Consent.performer",
"max": "0"
},
{
"id": "Consent.organization",
"path": "Consent.organization",
"short": "n/a",
"definition": "Reference to cluster (Organization resource) where this consent is captured",
"comment": "n/a",
"requirements": "n/a",
"min": 1,
"max": "1"
},
{
"id": "Consent.organization.id",
"path": "Consent.organization.id",
"max": "0"
},
{
"id": "Consent.organization.extension",
"path": "Consent.organization.extension",
"max": "0"
},
{
"id": "Consent.organization.reference",
"path": "Consent.organization.reference",
"max": "0"
},
{
"id": "Consent.organization.type",
"path": "Consent.organization.type",
"short": "n/a",
"definition": "The resource reference type",
"comment": "Fixed Value: \"Organization\"",
"requirements": "n/a",
"min": 1,
"fixedUri": "Organization"
},
{
"id": "Consent.organization.identifier",
"path": "Consent.organization.identifier",
"short": "n/a",
"definition": "n/a",
"comment": "n/a",
"requirements": "n/a",
"min": 1
},
{
"id": "Consent.organization.identifier.id",
"path": "Consent.organization.identifier.id",
"max": "0"
},
{
"id": "Consent.organization.identifier.extension",
"path": "Consent.organization.identifier.extension",
"max": "0"
},
{
"id": "Consent.organization.identifier.use",
"path": "Consent.organization.identifier.use",
"max": "0"
},
{
"id": "Consent.organization.identifier.type",
"path": "Consent.organization.identifier.type",
"max": "0"
},
{
"id": "Consent.organization.identifier.system",
"path": "Consent.organization.identifier.system",
"short": "n/a",
"definition": "Description of identifier",
"comment": "Fixed Value: \"http://ihis.sg/identifier/hci-code\"",
"requirements": "n/a",
"min": 1,
"fixedUri": "http://ihis.sg/identifier/hci-code"
},
{
"id": "Consent.organization.identifier.value",
"path": "Consent.organization.identifier.value",
"short": "n/a",
"definition": "It is the cluster code",
"comment": "Sample Value: \"NHG\"",
"requirements": "n/a",
"min": 1,
"constraint": [
{
"key": "organization-name-constraint",
"severity": "error",
"human": "Organization value must be 'NHG','NUHS' or 'SHS'",
"expression": "$this.toString().matches('(?i)^(shs|nhg|nuhs)$')"
}
]
},
{
"id": "Consent.organization.identifier.period",
"path": "Consent.organization.identifier.period",
"max": "0"
},
{
"id": "Consent.organization.identifier.assigner",
"path": "Consent.organization.identifier.assigner",
"max": "0"
},
{
"id": "Consent.organization.display",
"path": "Consent.organization.display",
"max": "0"
},
{
"id": "Consent.source[x]",
"path": "Consent.source[x]",
"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",
"max": "0"
},
{
"id": "Consent.policy.uri",
"path": "Consent.policy.uri",
"short": "n/a",
"definition": "n/a",
"comment": "Sample Value: \"http://ihis.sg/healthier-sg/healthier-sg-contact\"",
"requirements": "n/a",
"min": 1,
"fixedUri": "http://ihis.sg/PlanDefinition/healthier-sg/healthier-sg-contact"
},
{
"id": "Consent.policyRule",
"path": "Consent.policyRule",
"max": "0"
},
{
"id": "Consent.verification",
"path": "Consent.verification",
"max": "0"
},
{
"id": "Consent.provision",
"path": "Consent.provision",
"max": "0"
}
]
}
}