PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.rwi-pharma@1.0.0-ballot
    http://hl7.org/fhir/uv/rwi-pharma/StructureDefinition/rwi-pharma-organization
description: Organization profile for RWI Pharma regulatory workflows, derived from and compatible with ePI requirements.
package_name: hl7.fhir.uv.rwi-pharma
derivation: constraint
name: RWIpharmaOrganization
type: Organization
elements:
  identifier:
    mustSupport: true
    index: 0
    elements:
      system: {index: 1}
      value: {index: 2}
    required: [value, system]
  type: {mustSupport: true, index: 3}
  name: {mustSupport: true, index: 4}
  alias: {mustSupport: true, index: 5}
  description: {mustSupport: true, index: 6}
  contact:
    mustSupport: true
    index: 7
    elements:
      telecom:
        index: 8
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            phone:
              match: {system: phone}
              schema:
                index: 9
                elements:
                  system:
                    pattern: {type: Code, value: phone}
                    index: 10
                  value: {index: 11}
                required: [value, system]
            email:
              match: {system: email}
              schema:
                _required: true
                index: 12
                elements:
                  system:
                    pattern: {type: Code, value: email}
                    index: 13
                  value: {index: 14}
                required: [value, system]
      address:
        mustSupport: true
        index: 15
        elements:
          text: {short: Full text representation of the address, mustSupport: true, index: 16}
          line: {mustSupport: true, index: 17}
          city: {mustSupport: true, index: 18}
          district: {mustSupport: true, index: 19}
          state: {short: 'Sub-unit of country (state, region, province)', mustSupport: true, index: 20}
          postalCode: {mustSupport: true, index: 21}
          country: {short: 'Country (e.g., can be ISO 3166 2 letter code)', mustSupport: true, index: 22}
    required: [telecom]
  endpoint: {mustSupport: true, index: 23}
package_version: 1.0.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/uv/rwi-pharma/StructureDefinition/rwi-pharma-organization
base: http://hl7.org/fhir/StructureDefinition/Organization
version: 1.0.0-ballot
required: [name, identifier, endpoint, contact]