PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.icsr-ae-reporting@1.0.1
    http://hl7.org/fhir/us/icsr-ae-reporting/StructureDefinition/icsr-messageorganization
description: The fields needed to specify the sender or receiver of an ICSR Report.
package_name: hl7.fhir.us.icsr-ae-reporting
derivation: constraint
name: MessageOrganization
type: Organization
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        departmentName:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/us/icsr-ae-reporting/StructureDefinition/icsr-ext-departmentname', index: 1}
          min: 0
          max: 1
  type: {mustSupport: true, index: 2}
  telecom:
    index: 3
    elements:
      system: {index: 4}
      value: {index: 5}
    required: [value, system]
    slicing:
      rules: open
      description: Slice based on the different telecom types (systems)
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        Phone:
          match: {system: phone}
          schema:
            index: 6
            elements:
              system:
                pattern: {type: Code, value: phone}
                index: 7
        Fax:
          match: {system: fax}
          schema:
            index: 8
            elements:
              system:
                pattern: {type: Code, value: fax}
                index: 9
        Email:
          match: {system: email}
          schema:
            index: 10
            elements:
              system:
                pattern: {type: Code, value: email}
                index: 11
  address:
    elements:
      line: {index: 12}
      city: {index: 13}
      state: {index: 14}
      postalCode: {index: 15}
      country: {index: 16}
    required: [country, city, postalCode, line, state]
  contact:
    mustSupport: true
    index: 17
    elements:
      name: {mustSupport: true, index: 18}
    required: [name]
package_version: 1.0.1
extensions:
  departmentName: {url: 'http://hl7.org/fhir/us/icsr-ae-reporting/StructureDefinition/icsr-ext-departmentname', min: 0, max: 1, type: Extension, index: 1}
class: profile
kind: resource
url: http://hl7.org/fhir/us/icsr-ae-reporting/StructureDefinition/icsr-messageorganization
base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization
version: 1.0.1