PackagesCanonicalsLogsProblems
    Packages
    il.pcmdemo.fhir.r4@0.1.1
    http://pcmdemo.health.org.il/StructureDefinition/pcm-demo-consent-response
description: null
package_name: il.pcmdemo.fhir.r4
derivation: constraint
name: PcmDemoConsentResponse
type: Consent
elements:
  status:
    pattern: {type: Code, value: active}
    index: 0
  scope:
    elements:
      coding:
        pattern:
          type: Coding
          value: {code: patient-privacy, system: 'http://terminology.hl7.org/CodeSystem/consentscope', display: Privacy Consent}
        index: 1
  category:
    elements:
      coding:
        pattern:
          type: Coding
          value: {code: 59284-0, system: 'http://loinc.org', display: Patient Consent}
        index: 2
  patient:
    index: 3
    elements:
      identifier:
        index: 4
        elements:
          system:
            pattern: {type: Uri, value: 'http://fhir.health.gov.il/identifier/il-national-id'}
            index: 5
          value: {index: 6}
        required: [value, system]
    required: [identifier]
  dateTime: {index: 7}
  organization:
    index: 8
    elements:
      identifier:
        index: 9
        elements:
          system:
            pattern: {type: Uri, value: 'http://institutions.health.gov.il/Institutions'}
            index: 10
          value: {index: 11}
        required: [value, system]
    required: [identifier]
  verification:
    index: 12
    elements:
      verified:
        pattern: {type: Boolean, value: true}
        index: 13
      verifiedWith:
        index: 14
        elements:
          identifier:
            index: 15
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.health.gov.il/identifier/il-national-id'}
                index: 16
              value: {index: 17}
            required: [value, system]
        required: [identifier]
      verificationDate: {index: 18}
    required: [verifiedWith, verificationDate]
package_version: 0.1.1
class: profile
kind: resource
url: http://pcmdemo.health.org.il/StructureDefinition/pcm-demo-consent-response
base: http://hl7.org/fhir/StructureDefinition/Consent
version: 0.1.0
required: [verification, dateTime, patient, organization]