PackagesCanonicalsLogsProblems
    Packages
    hl7.cda.us.ccda@4.0.0
    http://hl7.org/cda/us/ccda/StructureDefinition/SpecimenCollectionProcedure
description: 'This template represents clinical information about the specimen including when it was collected, the type and source of specimen, as well as related observations regarding the specimen.\n\n#### Templates Used\nAlthough open templates may contain any valid CDA content, the following templates are specifically called out by this template:\n\n**Optional EntryRelationships**: [SpecimenConditionObservation](StructureDefinition-SpecimenConditionObservation.html)'
package_name: hl7.cda.us.ccda
derivation: constraint
name: SpecimenCollectionProcedure
type: http://hl7.org/cda/stds/core/StructureDefinition/Procedure
elements:
  templateId:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: root, type: value}
      - {path: extension, type: value}
      min: 1
      slices:
        specimen-collection-proc:
          match: {root: 2.16.840.1.113883.10.20.22.4.415, extension: '2018-09-01'}
          schema:
            _required: true
            index: 1
            elements:
              root:
                pattern: {type: String, value: 2.16.840.1.113883.10.20.22.4.415}
                index: 2
              extension:
                pattern: {type: String, value: '2018-09-01'}
                index: 3
            required: [root, extension]
            extensions: {}
  moodCode:
    pattern: {type: Code, value: EVN}
    index: 4
  code:
    short: Specimen collection (procedure)
    index: 5
    elements:
      code:
        pattern: {type: Code, value: '17636008'}
        index: 6
      codeSystem:
        short: SNOMED CT
        pattern: {type: String, value: 2.16.840.1.113883.6.96}
        index: 7
    required: [codeSystem, code]
  text:
    short: SHOULD reference the portion of section narrative text corresponding to this entry
    index: 8
    elements:
      reference:
        constraint:
          value-starts-octothorpe: {human: 'If reference/@value is present, it SHALL begin with a ''#'' and SHALL point to its corresponding narrative', source: 'http://hl7.org/cda/us/ccda/StructureDefinition/SpecimenCollectionProcedure', severity: error, expression: value.exists() implies value.startsWith('#')}
        index: 9
  effectiveTime: {short: SHOULD have effectiveTime, index: 10}
  targetSiteCode:
    short: '𝗨𝗦𝗖𝗗𝗜: Specimen Source Site'
    binding: {strength: required, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.9'}
    index: 11
  specimen:
    index: 12
    elements:
      specimenRole:
        elements:
          id: {short: This id is used to match the specimen listed in the containing Results Organizer., index: 13}
        required: [id]
  entryRelationship:
    index: 14
    slicing:
      rules: open
      discriminator:
      - {path: observation, type: profile}
      min: null
      slices:
        condition:
          match: {}
          schema:
            array: true
            index: 15
            elements:
              typeCode:
                pattern: {type: Code, value: COMP}
                index: 16
              observation: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Observation', short: '𝗨𝗦𝗖𝗗𝗜: Specimen Condition Acceptability', index: 17}
package_version: 4.0.0
class: logical
kind: logical
url: http://hl7.org/cda/us/ccda/StructureDefinition/SpecimenCollectionProcedure
base: http://hl7.org/cda/stds/core/StructureDefinition/Procedure
version: 4.0.0
required: [specimen, templateId, code]