PackagesCanonicalsLogsProblems
    Packages
    synapxe.hsar.hsg@4.3.0-v3
    http://ihis.sg/StructureDefinition/Contact-Consent-pophealth
description: null
package_name: synapxe.hsar.hsg
derivation: constraint
name: profile-Consent-put-contact-consent
type: Consent
elements:
  patient:
    short: n/a
    index: 34
    elements:
      id: {index: 35}
      extension: {index: 36}
      reference: {index: 37}
      type:
        short: n/a
        pattern: {type: Uri, value: Patient}
        index: 38
      identifier:
        short: n/a
        index: 39
        elements:
          id: {index: 40}
          extension: {index: 41}
          use: {index: 42}
          type: {index: 43}
          system:
            short: n/a
            pattern: {type: Uri, value: 'http://ihis.sg/identifier/nric'}
            index: 44
          value:
            short: n/a
            constraint:
              string-max-length: {human: Value is too long (maximum length is 255), severity: error, expression: $this.length() <= 255}
            index: 45
          period: {index: 46}
          assigner: {index: 47}
        extensions: {}
        required: [value, system]
      display: {index: 48}
    extensions: {}
    required: [identifier, type]
  category:
    short: n/a
    binding: {strength: required, valueSet: 'http://ihis.sg/ValueSet/hsg-consent-category'}
    index: 22
    elements:
      id: {index: 23}
      extension: {index: 24}
      coding:
        short: n/a
        index: 25
        elements:
          id: {index: 26}
          extension: {index: 27}
          system:
            code:
            - {code: contact-channel-consent, system: 'http://ihis.sg/ValueSet/hsg-consent-category', display: Contact Channel Consent}
            short: n/a
            index: 28
          version: {index: 29}
          code: {short: n/a, index: 30}
          display: {short: n/a, index: 31}
          userSelected: {index: 32}
        extensions: {}
        required: [display, system, code]
      text: {index: 33}
    extensions: {}
    required: [coding]
  provision: {index: 76}
  meta: {index: 1}
  implicitRules: {index: 2}
  organization:
    short: n/a
    index: 51
    elements:
      id: {index: 52}
      extension: {index: 53}
      reference: {index: 54}
      type:
        short: n/a
        pattern: {type: Uri, value: Organization}
        index: 55
      identifier:
        short: n/a
        index: 56
        elements:
          id: {index: 57}
          extension: {index: 58}
          use: {index: 59}
          type: {index: 60}
          system:
            short: n/a
            pattern: {type: Uri, value: 'http://ihis.sg/identifier/hci-code'}
            index: 61
          value:
            short: n/a
            constraint:
              organization-name-constraint: {human: 'Organization value must be ''NHG'',''NUHS'' or ''SHS''', severity: error, expression: '$this.toString().matches(''(?i)^(shs|nhg|nuhs)$'')'}
            index: 62
          period: {index: 63}
          assigner: {index: 64}
        extensions: {}
        required: [value, system]
      display: {index: 65}
    extensions: {}
    required: [identifier, type]
  verification: {index: 75}
  source:
    choices: []
    index: 67
  scope:
    short: n/a
    binding: {strength: required, valueSet: 'http://ihis.sg/ValueSet/hsg-consent-scope'}
    index: 10
    elements:
      id: {index: 11}
      extension: {index: 12}
      coding:
        short: n/a
        code:
        - {code: healthier-sg-contact, system: 'http://ihis.sg/ValueSet/hsg-consent-scope', display: Healthier SG Contact}
        index: 13
        elements:
          id: {index: 14}
          extension: {index: 15}
          system: {short: n/a, index: 16}
          version: {index: 17}
          code: {short: n/a, index: 18}
          display: {short: n/a, index: 19}
          userSelected: {index: 20}
        extensions: {}
        required: [display, system, code]
      text: {index: 21}
    extensions: {}
    required: [coding]
  policy:
    short: n/a
    index: 68
    elements:
      id: {index: 69}
      extension: {index: 70}
      modifierExtension: {index: 71}
      authority: {index: 72}
      uri:
        short: n/a
        pattern: {type: Uri, value: 'http://ihis.sg/PlanDefinition/healthier-sg/healthier-sg-contact'}
        index: 73
    extensions: {}
    required: [uri]
  dateTime: {short: n/a, index: 49}
  extension: {index: 6}
  contained: {index: 5}
  status:
    short: n/a
    pattern: {type: Code, value: active}
    index: 9
  language: {index: 3}
  id: {index: 0}
  policyRule: {index: 74}
  identifier: {index: 8}
  modifierExtension: {index: 7}
  performer: {index: 50}
  text: {index: 4}
package_version: 4.3.0-v3
extensions: {}
class: profile
kind: resource
url: http://ihis.sg/StructureDefinition/Contact-Consent-pophealth
base: http://hl7.org/fhir/StructureDefinition/Consent
version: 0.1.0
required: [dateTime, policy, patient, organization]