PackagesCanonicalsLogsProblems
    Packages
    csiro.stars@0.5.1
    https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/csiro-stars-specimen
description: A specimen / sample
package_name: csiro.stars
derivation: constraint
name: CsiroStarsSpecimenProfile
type: Specimen
elements:
  request:
    type: Reference
    refers: ['https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/csiro-stars-servicerequest']
    index: 6
  receivedTime: {index: 4}
  processing: {mustSupport: true, index: 15}
  parent:
    type: Reference
    refers: ['https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/csiro-stars-specimen']
    index: 5
  type:
    binding: {strength: required, valueSet: 'https://starsapi.csiro.au/fhir-ig/stars/ValueSet/specimen-type-value-set'}
    mustSupport: true
    index: 2
  note: {mustSupport: true, index: 17}
  condition: {mustSupport: true, index: 16}
  identifier:
    mustSupport: true
    index: 0
    elements:
      type:
        binding: {strength: required, valueSet: 'https://starsapi.csiro.au/fhir-ig/stars/ValueSet/stars-identifiertype-value-set'}
        index: 1
  collection:
    extensions:
      location: {url: 'https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/specimen-collection-location', min: 0, max: 1, type: Extension, mustSupport: true, index: 8}
    elements:
      extension:
        index: 7
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            location:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/specimen-collection-location', index: 8}
              min: 0
              max: 1
      collector:
        type: Reference
        refers: ['https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/csiro-stars-practitioner']
        index: 9
      collected:
        choices: []
        index: 11
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            collectedDateTime:
              match: {}
              schema:
                mustSupport: true
                choices: [collectedDateTime]
                index: 13
              min: 0
              max: 1
      collectedDateTime:
        type: dateTime
        mustSupport: true
        choiceOf: collected
        index: 14
        slicing:
          slices:
            collectedDateTime:
              match: {}
              schema: {type: dateTime, mustSupport: true, choiceOf: collected, index: 14}
              min: 0
              max: 1
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Location', 'https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/csiro-stars-patient']
    index: 3
package_version: 0.5.1
class: profile
kind: resource
url: https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/csiro-stars-specimen
base: http://hl7.org/fhir/StructureDefinition/Specimen
version: 0.5.1