description: null package_name: synapxe.hsar derivation: constraint name: profile-Consent-get-consent type: Consent elements: patient: short: n/a index: 21 elements: reference: short: n/a constraint: string-max-length: {human: Value is too long (maximum length is 255), severity: error, expression: $this.length() <= 255} index: 22 type: {short: n/a, index: 23} identifier: short: n/a index: 24 elements: use: {short: n/a, index: 25} type: {short: n/a, index: 26} system: constraint: string-max-length: {human: Value is too long (maximum length is 255), severity: error, expression: $this.length() <= 255} short: n/a pattern: {type: Uri, value: 'http://ihis.sg/identifier/nric'} index: 27 value: short: n/a constraint: string-max-length: {human: Value is too long (maximum length is 255), severity: error, expression: $this.length() <= 255} index: 28 period: {short: n/a, index: 29} assigner: {short: n/a, index: 30} required: [value, system] display: {short: n/a, index: 31} required: [identifier, reference] category: short: n/a index: 13 elements: coding: short: n/a binding: {strength: required, valueSet: 'http://ihis.sg/ValueSet/hsg-consent-category'} index: 14 elements: system: constraint: string-max-length: {human: Value is too long (maximum length is 255), severity: error, expression: $this.length() <= 255} short: n/a pattern: {type: Uri, value: 'http://ihis.sg/ValueSet/hsg-consent-category'} index: 15 version: {short: n/a, index: 16} code: short: n/a constraint: string-max-length: {human: Value is too long (maximum length is 255), severity: error, expression: $this.length() <= 255} index: 17 display: short: n/a constraint: string-max-length: {human: Value is too long (maximum length is 255), severity: error, expression: $this.length() <= 255} index: 18 userSelected: {short: n/a, index: 19} required: [system, code] text: {short: n/a, index: 20} required: [coding] provision: short: n/a index: 42 elements: provision: {short: n/a, index: 54} purpose: {short: n/a, index: 49} dataPeriod: {short: n/a, index: 52} type: {short: n/a, index: 43} class: {short: n/a, index: 50} code: {short: n/a, index: 51} action: {short: n/a, index: 47} period: short: n/a index: 44 elements: start: {short: n/a, index: 45} required: [start] securityLabel: {short: n/a, index: 48} actor: {short: n/a, index: 46} data: {short: n/a, index: 53} required: [period] organization: {short: n/a, index: 34} verification: {short: n/a, index: 41} source: short: n/a choices: [] index: 36 scope: short: n/a index: 5 elements: coding: short: n/a binding: {strength: required, valueSet: 'http://ihis.sg/ValueSet/hsg-consent-scope'} index: 6 elements: system: constraint: string-max-length: {human: Value is too long (maximum length is 255), severity: error, expression: $this.length() <= 255} short: n/a pattern: {type: Uri, value: 'http://ihis.sg/ValueSet/hsg-consent-scope'} index: 7 version: {short: n/a, index: 8} code: short: n/a constraint: string-max-length: {human: Value is too long (maximum length is 255), severity: error, expression: $this.length() <= 255} index: 9 display: short: n/a constraint: string-max-length: {human: Value is too long (maximum length is 255), severity: error, expression: $this.length() <= 255} index: 10 userSelected: {short: n/a, index: 11} required: [system, code] text: {short: n/a, index: 12} required: [coding] policy: short: n/a index: 37 elements: authority: {short: n/a, index: 38} uri: constraint: string-max-length: {human: Value is too long (maximum length is 255), severity: error, expression: $this.length() <= 255} short: n/a pattern: {type: Uri, value: 'http://ihis.sg/PlanDefinition/healthier-sg/healthier-sg-programme'} index: 39 required: [uri] dateTime: short: n/a constraint: consent-dateTime: {human: Consent datetime cannot be future datetime, severity: error, expression: $this.convertsToDateTime() = false or $this.hasValue().not() or (now() + 5 seconds) > $this} index: 32 extension: short: n/a array: true min: 2 max: 2 index: 0 slicing: slices: provided-by: match: {} schema: {type: Extension, short: n/a, url: 'http://ihis.sg/extension/consent-provided-by', index: 1} consent-authentication-mode: match: {} schema: {type: Extension, short: n/a, url: 'http://ihis.sg/extension/consent-authentication-mode', index: 2} status: short: n/a pattern: {type: Code, value: active} index: 4 policyRule: {short: n/a, index: 40} identifier: {short: n/a, index: 3} performer: {short: n/a, index: 33} package_version: 1.0.0 extensions: provided-by: {url: 'http://ihis.sg/extension/consent-provided-by', type: Extension, short: n/a, index: 1} consent-authentication-mode: {url: 'http://ihis.sg/extension/consent-authentication-mode', type: Extension, short: n/a, index: 2} class: profile kind: resource url: http://ihis.sg/StructureDefinition/Consent-pophealth-output base: http://hl7.org/fhir/StructureDefinition/Consent version: 0.1.0 required: [dateTime, policy, patient]