PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.psca@2.1.1-DFT
    http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/observation-results-radiology-ca-ps
description: This profile represents the constraints applied to the Observation resource by the pan-Canadian Patient Summary project, which specifies a radiology observation for a patient summary based on the FHIR standard R4.\n\nThis observation may represent the conclusions of a diagnostic procedure such a Chest X-ray (XR), or it may group the set of results produced by that single or multi-modality procedure.\n\nIn the latter case, the main observation (this one) carries the overall conclusion of the study and/or a global interpretation by the observer of the study as value of this observation; and may references the atomic results of the study as \"child observations\".\n\nIt also allows providing details about the related study using the partOf element referring to an ImagingStudy resource.
package_name: ca.infoway.io.psca
derivation: constraint
name: ObservationResultsRadiologyPSCA
type: Observation
elements:
  category:
    type: CodeableConcept
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: 1
      slices:
        radiology:
          match:
            coding:
            - {code: imaging, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
          schema:
            mustSupport: true
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: imaging, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
            _required: true
            index: 3
          min: 1
          max: 1
  hasMember:
    type: Reference
    refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/observation-results-radiology-ca-ps']
    index: 19
  value:
    choices: []
    index: 13
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        valueString:
          match: {}
          schema:
            label: Overall Conclusion
            mustSupport: true
            choices: [valueString]
            index: 15
          min: 0
          max: 1
  valueString:
    type: string
    mustSupport: true
    label: Overall Conclusion
    choiceOf: value
    index: 16
    slicing:
      slices:
        valueString:
          match: {}
          schema: {type: string, mustSupport: true, label: Overall Conclusion, choiceOf: value, index: 16}
          min: 0
          max: 1
  component:
    mustSupport: true
    index: 20
    slicing:
      rules: closed
      description: Slicing based on value[x] type.
      discriminator:
      - {path: value, type: type}
      min: null
      slices:
        observationText:
          match: {}
          schema:
            short: Observation Text
            array: true
            index: 21
            elements:
              code:
                type: CodeableConcept
                binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/results-radiology-txtobs-uv-ips'}
                index: 22
              value:
                choices: [valueString]
                index: 24
              valueString: {type: string, choiceOf: value, index: 25}
            required: [valueString, value]
        observationCode:
          match: {}
          schema:
            short: Observation Code
            array: true
            index: 26
            elements:
              code:
                type: CodeableConcept
                binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/results-radiology-observations-uv-ips'}
                index: 27
              value:
                choices: [valueCodeableConcept]
                index: 29
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 30}
            required: [value, valueCodeableConcept]
        numericQuantityMeasurement:
          match: {}
          schema:
            short: Observation Measurement, including linear, area and volume quantity measurements
            array: true
            index: 31
            elements:
              code:
                type: CodeableConcept
                binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/results-radiology-numobs-uv-ips'}
                index: 32
              value:
                choices: [valueQuantity]
                index: 34
              valueQuantity: {type: Quantity, choiceOf: value, index: 35}
            required: [value, valueQuantity]
        numericRangeMeasurement:
          match: {}
          schema:
            short: Observation Measurement, including linear, area and volume range measurements
            array: true
            index: 36
            elements:
              code:
                type: CodeableConcept
                binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/results-radiology-numobs-uv-ips'}
                index: 37
              value:
                choices: [valueRange]
                index: 39
              valueRange: {type: Range, choiceOf: value, index: 40}
            required: [valueRange, value]
        numericRatioMeasurement:
          match: {}
          schema:
            short: Observation Measurement, including linear, area and volume ratio measurements
            array: true
            index: 41
            elements:
              code:
                type: CodeableConcept
                binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/results-radiology-numobs-uv-ips'}
                index: 42
              value:
                choices: [valueRatio]
                index: 44
              valueRatio: {type: Ratio, choiceOf: value, index: 45}
            required: [valueRatio, value]
        numericSampledDataMeasurement:
          match: {}
          schema:
            short: Observation Measurement, including linear, area and volume sampled data measurements
            array: true
            index: 46
            elements:
              code:
                type: CodeableConcept
                binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/results-radiology-numobs-uv-ips'}
                index: 47
              value:
                choices: [valueSampledData]
                index: 49
              valueSampledData: {type: SampledData, choiceOf: value, index: 50}
            required: [valueSampledData, value]
  effectiveDateTime:
    type: dateTime
    constraint:
      psca-rad-2: {human: Datetime must be at least to day, severity: error, expression: $this.ofType(dateTime).empty() or ($this as dateTime).toString().length() >= 8}
    mustSupport: true
    choiceOf: effective
    index: 9
  status:
    label: Observation 'complete' status codes
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/results-status-uv-ips'}
    index: 1
  effective:
    constraint:
      psca-rad-2: {human: Datetime must be at least to day, severity: error, expression: $this.ofType(dateTime).empty() or ($this as dateTime).toString().length() >= 8}
    mustSupport: true
    choices: [effectiveDateTime, effectivePeriod]
    index: 8
  code:
    label: Diagnostic Procedure Code
    binding: {strength: example, valueSet: 'http://fhir.infoway-inforoute.ca/io/psca/ValueSet/pCLOCD'}
    mustSupport: true
    index: 4
  bodySite: {type: CodeableConcept, label: body site, index: 17}
  device:
    type: Reference
    refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Device-observer-uv-ips']
    index: 18
  partOf:
    type: Reference
    refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/imagingstudy-ca-ps']
    index: 0
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/patient-ca-ps']
    index: 5
    elements:
      reference: {mustSupport: true, index: 6}
    required: [reference]
  performer:
    type: Reference
    mustSupport: true
    refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/organization-lab-ca-ps', 'http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/patient-ca-ps', 'http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/practitioner-lab-ca-ps', 'http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/practitionerrole-lab-ca-ps', 'http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    index: 11
  effectivePeriod:
    type: Period
    constraint:
      psca-rad-2: {human: Datetime must be at least to day, severity: error, expression: $this.ofType(dateTime).empty() or ($this as dateTime).toString().length() >= 8}
    mustSupport: true
    choiceOf: effective
    index: 10
package_version: 2.1.1-DFT
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/observation-results-radiology-ca-ps
base: http://hl7.org/fhir/StructureDefinition/Observation
version: null
required: [effectiveDateTime, effectivePeriod, category, effective, performer]