PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.pq-cmc-fda@2.0.0-ballot
    http://hl7.org/fhir/us/pq-cmc-fda/StructureDefinition/cmc-organization
description: A profile for the data elements required to identify the sponsor of the drug products or substances, Suppliers.
package_name: hl7.fhir.us.pq-cmc-fda
derivation: constraint
name: CodedOrganization
type: Organization
elements:
  identifier:
    mustSupport: true
    index: 0
    elements:
      type: {mustSupport: true, index: 1}
      system: {mustSupport: true, index: 2}
      value: {mustSupport: true, index: 3}
    required: [value, system]
    slicing:
      rules: open
      description: Require specific types of identifiers.
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        DUNSNumber:
          match: {system: 'urn:oid:1.3.6.1.4.1.519.1'}
          schema:
            constraint:
              org-length9: {human: Identifier number is 9 digits, source: 'http://hl7.org/fhir/us/pq-cmc-fda/StructureDefinition/cmc-organization', severity: error, expression: 'system = ''urn:oid:1.3.6.1.4.1.519.1''  implies value.length() = 9'}
            mustSupport: true
            index: 4
            elements:
              system:
                pattern: {type: Uri, value: 'urn:oid:1.3.6.1.4.1.519.1'}
                index: 5
        FEINumber:
          match: {system: 'urn:oid:2.16.840.1.113883.4.82'}
          schema:
            constraint:
              org-length7: {human: Identifier number is 7 or 10 digits, source: 'http://hl7.org/fhir/us/pq-cmc-fda/StructureDefinition/cmc-organization', severity: error, expression: 'system = ''urn:oid:2.16.840.1.113883.4.82'' implies value.length() = 7 or value.length() = 10'}
            mustSupport: true
            index: 6
            elements:
              system:
                pattern: {type: Uri, value: 'urn:oid:2.16.840.1.113883.4.82'}
                index: 7
  name: {mustSupport: true, index: 8}
  contact:
    mustSupport: true
    index: 9
    elements:
      address: {type: Address, mustSupport: true, index: 10}
    required: [address]
package_version: 2.0.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/us/pq-cmc-fda/StructureDefinition/cmc-organization
base: http://hl7.org/fhir/StructureDefinition/Organization
version: 2.0.0-ballot
required: [name, identifier, contact]