PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh.setp-development@1.1.0
    http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-radiology
description: The P-Care profile for an imaging observation result represented as coded, textual, or quantitative components.
package_name: ca.on.oh.setp-development
derivation: constraint
name: PCareObservationRadiology
type: Observation
elements:
  category:
    type: CodeableConcept
    index: 2
    slicing:
      slices:
        radiology:
          match: {}
          schema: {type: CodeableConcept, index: 3}
          max: 1
  hasMember:
    type: Reference
    refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-radiology']
    index: 19
  value:
    choices: []
    index: 13
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        valueString:
          match: {}
          schema:
            choices: [valueString]
            index: 15
          min: 0
          max: 1
  valueString:
    type: string
    choiceOf: value
    index: 16
    slicing:
      slices:
        valueString:
          match: {}
          schema: {type: string, choiceOf: value, index: 16}
          min: 0
          max: 1
  component:
    index: 20
    slicing:
      rules: closed
      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:
      pcare-rad-2: {human: 'When effective is a dateTime, it must be precise to at least a complete date for PS-CA compatibility.', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-radiology', severity: error, expression: $this.ofType(dateTime).empty() or ($this as dateTime).toString().length() >= 8}
    choiceOf: effective
    index: 9
  status:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/results-status-uv-ips'}
    index: 1
  effective:
    constraint:
      pcare-rad-2: {human: 'When effective is a dateTime, it must be precise to at least a complete date for PS-CA compatibility.', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-radiology', severity: error, expression: $this.ofType(dateTime).empty() or ($this as dateTime).toString().length() >= 8}
    choices: [effectiveDateTime, effectivePeriod]
    index: 8
  code:
    binding: {strength: example, valueSet: 'http://fhir.infoway-inforoute.ca/io/psca/ValueSet/pCLOCD'}
    index: 4
  bodySite: {type: CodeableConcept, 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/p-care/StructureDefinition/imaging-study']
    index: 0
  subject:
    type: Reference
    refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/patient']
    index: 5
    elements:
      reference: {index: 6}
    required: [reference]
  performer:
    type: Reference
    refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/organization', 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/patient', 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/practitioner', 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/practitioner-role', 'http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    index: 11
  effectivePeriod:
    type: Period
    constraint:
      pcare-rad-2: {human: 'When effective is a dateTime, it must be precise to at least a complete date for PS-CA compatibility.', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-radiology', severity: error, expression: $this.ofType(dateTime).empty() or ($this as dateTime).toString().length() >= 8}
    choiceOf: effective
    index: 10
package_version: 1.1.0
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-radiology
base: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/observation-resultsradiology-ca-core
version: 0.1.0
required: [effectiveDateTime, effectivePeriod, effective, performer]