PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.pq-cmc-fda@2.0.0-ballot
    http://hl7.org/fhir/us/pq-cmc-fda/StructureDefinition/pqcmc-drug-product-substance-impurity
description: Any component of the drug substance that is not the chemical entity for procduct composition.
package_name: hl7.fhir.us.pq-cmc-fda
derivation: constraint
name: ImpuritySubstance
type: SubstanceDefinition
elements:
  identifier: {short: optional user designated identifier, mustSupport: true, index: 0}
  classification:
    short: Impurity Classification
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/pq-cmc-fda/ValueSet/pqcmc-impurity-classification-terminology'}
    mustSupport: true
    index: 1
  characterization:
    mustSupport: true
    index: 2
    elements:
      technique: {type: CodeableConcept, short: Substance Characterisation Technique, mustSupport: true, index: 3}
      description: {short: Analysis Narrative Text and Table, mustSupport: true, index: 4}
      file:
        short: Impurity Analysis Graphic | Impurity Analytical Instrument Data File
        mustSupport: true
        index: 5
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: profile}
          min: null
          slices:
            AnalysisGraphic:
              match: {}
              schema: {type: Attachment, short: Analysis Graphic, array: true, index: 6}
              min: 0
            AnalyticalInstrumentData:
              match: {}
              schema: {type: Attachment, short: Analytical Instrument Data File, array: true, index: 7}
              min: 0
  structure:
    mustSupport: true
    index: 8
    elements:
      technique: {type: CodeableConcept, short: Impurity Substance Characterisation Technique, mustSupport: true, index: 9}
      representation:
        short: Impurity Structure Graphic | Impurity Structure Data File
        mustSupport: true
        index: 10
        elements:
          type:
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/pq-cmc-fda/ValueSet/pqcmc-representation-types'}
            mustSupport: true
            index: 11
        required: [type]
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: type, type: value}
          min: null
          slices:
            graphic:
              match:
                type:
                  coding:
                  - {code: C54273, system: 'http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl'}
              schema:
                short: A graphical, displayable depiction of the structure (e.g. an SVG, PNG)
                index: 12
                elements:
                  type:
                    short: Graphic
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: C54273, system: 'http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl'}
                    index: 13
                  document:
                    type: Reference
                    short: Impurity Structure Graphic
                    refers: ['http://hl7.org/fhir/us/pq-cmc-fda/StructureDefinition/pqcmc-graphic-reference']
                    index: 14
                required: [document]
            structureFile:
              match:
                type:
                  coding:
                  - {code: C103240, system: 'http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl'}
              schema:
                short: machine-readable representation -- attached file
                array: true
                index: 15
                elements:
                  type:
                    short: Structure File
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: C103240, system: 'http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl'}
                    index: 16
                  document:
                    type: Reference
                    short: Impurity Chemical Structure Data (files, e.g. .SDF, .CIF)
                    mustSupport: true
                    refers: ['http://hl7.org/fhir/us/pq-cmc-fda/StructureDefinition/pqcmc-structure-reference']
                    index: 17
                required: [document]
            structureString:
              match:
                type:
                  coding:
                  - {code: C45253, system: 'http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl'}
              schema:
                short: machine-readable representation -- plain text
                array: true
                index: 18
                elements:
                  type:
                    short: Structure Textual
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: C45253, system: 'http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl'}
                    index: 19
                  representation: {short: 'Impurity Chemical Structure Data (short, plain text representations, e.g. SMILES)', mustSupport: true, index: 20}
                  format:
                    short: Drug Substance Impurity Method Type
                    binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/pq-cmc-fda/ValueSet/pqcmc-chemical-structure-datafile-type-terminology'}
                    mustSupport: true
                    index: 21
                required: [representation, format]
  code:
    mustSupport: true
    index: 22
    slicing:
      rules: open
      discriminator:
      - {path: code.coding.system, type: value}
      min: null
      slices:
        unii:
          match:
            code:
              coding: {system: 'http://fdasis.nlm.nih.gov'}
          schema:
            short: UNII
            index: 23
            elements:
              code:
                mustSupport: true
                index: 24
                elements:
                  coding:
                    mustSupport: true
                    index: 25
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fdasis.nlm.nih.gov'}
                        mustSupport: true
                        index: 26
                    required: [system]
                required: [coding]
            required: [code]
        uniProt:
          match:
            code:
              coding: {system: 'https://www.uniprot.org'}
          schema:
            short: UniProt ID
            index: 27
            elements:
              code:
                mustSupport: true
                index: 28
                elements:
                  coding:
                    mustSupport: true
                    index: 29
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://www.uniprot.org'}
                        mustSupport: true
                        index: 30
                    required: [system]
                required: [coding]
            required: [code]
  name:
    short: Substance Name
    constraint:
      cmc-name-preferred: {human: 'Name.preferred: at most one = true', source: 'http://hl7.org/fhir/us/pq-cmc-fda/StructureDefinition/pqcmc-drug-product-substance-impurity', severity: error, expression: select(preferred = true).count() < 2}
    mustSupport: true
    index: 31
    elements:
      type:
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/pq-cmc-fda/ValueSet/pqcmc-substance-name-type'}
        index: 32
      preferred: {short: True when the name type is Substance Name, mustSupport: true, index: 33}
    slicing:
      rules: closed
      description: Slice based on value pattern
      discriminator:
      - {path: type, type: value}
      min: 1
      slices:
        sub:
          match:
            type:
              coding:
              - {code: C97054, system: 'http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl', display: Generic Name}
          schema:
            mustSupport: true
            index: 34
            elements:
              name: {short: Generic Name, mustSupport: true, index: 35}
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: C97054, system: 'http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl', display: Generic Name}
                index: 36
              preferred: {mustSupport: true, index: 37}
            required: [type]
        gsrs:
          match:
            type:
              coding:
              - {code: C203355, system: 'http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl', display: GSRS Preferred Term}
          schema:
            mustSupport: true
            index: 38
            elements:
              name: {short: GSRS Preferred Term, mustSupport: true, index: 39}
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: C203355, system: 'http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl', display: GSRS Preferred Term}
                index: 40
              preferred: {mustSupport: true, index: 41}
            required: [type]
        isbt:
          match:
            type:
              coding:
              - {code: C95517, system: 'http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl', display: ISBT-128 DIN}
          schema:
            mustSupport: true
            index: 42
            elements:
              name: {short: ISBT-128 DIN, mustSupport: true, index: 43}
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: C95517, system: 'http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl', display: ISBT-128 DIN}
                index: 44
              preferred: {mustSupport: true, index: 45}
            required: [type]
        comp:
          match:
            type:
              coding:
              - {code: C203354, system: 'http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl', display: Company ID/Code}
          schema:
            mustSupport: true
            index: 46
            elements:
              name: {short: Company ID/Code, mustSupport: true, index: 47}
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: C203354, system: 'http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl', display: Company ID/Code}
                index: 48
            required: [type]
package_version: 2.0.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/us/pq-cmc-fda/StructureDefinition/pqcmc-drug-product-substance-impurity
base: http://hl7.org/fhir/StructureDefinition/SubstanceDefinition
version: 2.0.0-ballot
required: [name, classification]