PackagesCanonicalsLogsProblems
    Packages
    BC@BCY_IDS.01-1.0.0
    http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/consent-type-form-doses-comments
description: null
package_name: BC
derivation: constraint
name: ConsentExtension
type: Extension
elements:
  extension:
    array: true
    min: 3
    index: 0
    slicing:
      slices:
        PIRconsentDirectiveCategory:
          match: {}
          schema:
            short: PIR Consent Directive Cateogry
            _required: true
            index: 1
            elements:
              id: {index: 2}
              url:
                pattern: {type: Uri, value: PIRconsentDirectiveCategory}
                index: 3
              value:
                choices: [valueString]
                index: 5
              valueString: {type: string, choiceOf: value, index: 6}
        PIRconsentDirectiveSubCategory:
          match: {}
          schema:
            short: PIR Consent Directive Sub-Category
            _required: true
            index: 7
            elements:
              id: {index: 8}
              url:
                pattern: {type: Uri, value: PIRconsentDirectiveSubCategory}
                index: 9
              value:
                choices: [valueString]
                index: 11
              valueString: {type: string, choiceOf: value, index: 12}
        PIRconsentDirectiveType:
          match: {}
          schema:
            short: PIR Consent Directive Type
            _required: true
            index: 13
            elements:
              id: {index: 14}
              url:
                pattern: {type: Uri, value: PIRconsentDirectiveType}
                index: 15
              value:
                choices: [valueString]
                index: 17
              valueString: {type: string, choiceOf: value, index: 18}
        consentDirectiveDoses:
          match: {}
          schema:
            short: Consent for No. of Doses
            index: 19
            elements:
              id: {index: 20}
              url:
                pattern: {type: Uri, value: consentDirectiveDoses}
                index: 21
              value:
                choices: [valueString]
                index: 23
              valueString: {type: string, choiceOf: value, index: 24}
        consentDirectiveForm:
          match: {}
          schema:
            short: PIR Directive Form of Consent
            index: 25
            elements:
              id: {index: 26}
              url:
                pattern: {type: Uri, value: consentDirectiveForm}
                index: 27
              value:
                choices: [valueString]
                index: 29
              valueString: {type: string, choiceOf: value, index: 30}
        consentDirectiveComments:
          match: {}
          schema:
            short: Consent Directive Comments
            index: 31
            elements:
              id: {index: 32}
              url:
                pattern: {type: Uri, value: consentDirectiveComments}
                index: 33
              value:
                elements:
                  author:
                    choices: []
                    index: 39
              valueAnnotation: {type: Annotation, choiceOf: value, index: 36}
              value[x]:
                elements:
                  time: {index: 40}
                  text: {index: 41}
  url:
    pattern: {type: Uri, value: 'http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/consent-type-form-doses-comments'}
    index: 42
  value:
    choices: []
    index: 44
package_version: BCY_IDS.01-1.0.0
extensions:
  PIRconsentDirectiveCategory:
    url: null
    short: PIR Consent Directive Cateogry
    _required: true
    index: 1
    elements:
      id: {index: 2}
      url:
        pattern: {type: Uri, value: PIRconsentDirectiveCategory}
        index: 3
      value:
        choices: [valueString]
        index: 5
      valueString: {type: string, choiceOf: value, index: 6}
  PIRconsentDirectiveSubCategory:
    url: null
    short: PIR Consent Directive Sub-Category
    _required: true
    index: 7
    elements:
      id: {index: 8}
      url:
        pattern: {type: Uri, value: PIRconsentDirectiveSubCategory}
        index: 9
      value:
        choices: [valueString]
        index: 11
      valueString: {type: string, choiceOf: value, index: 12}
  PIRconsentDirectiveType:
    url: null
    short: PIR Consent Directive Type
    _required: true
    index: 13
    elements:
      id: {index: 14}
      url:
        pattern: {type: Uri, value: PIRconsentDirectiveType}
        index: 15
      value:
        choices: [valueString]
        index: 17
      valueString: {type: string, choiceOf: value, index: 18}
  consentDirectiveDoses:
    url: null
    short: Consent for No. of Doses
    index: 19
    elements:
      id: {index: 20}
      url:
        pattern: {type: Uri, value: consentDirectiveDoses}
        index: 21
      value:
        choices: [valueString]
        index: 23
      valueString: {type: string, choiceOf: value, index: 24}
  consentDirectiveForm:
    url: null
    short: PIR Directive Form of Consent
    index: 25
    elements:
      id: {index: 26}
      url:
        pattern: {type: Uri, value: consentDirectiveForm}
        index: 27
      value:
        choices: [valueString]
        index: 29
      valueString: {type: string, choiceOf: value, index: 30}
  consentDirectiveComments:
    url: null
    short: Consent Directive Comments
    index: 31
    elements:
      id: {index: 32}
      url:
        pattern: {type: Uri, value: consentDirectiveComments}
        index: 33
      value:
        elements:
          author:
            choices: []
            index: 39
      valueAnnotation: {type: Annotation, choiceOf: value, index: 36}
      value[x]:
        elements:
          time: {index: 40}
          text: {index: 41}
class: extension
kind: complex-type
url: http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/consent-type-form-doses-comments
base: http://hl7.org/fhir/StructureDefinition/Extension
version: null