PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.pcare@0.1.0-dft-preballot
    http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/condition
description: A clinical condition, problem, diagnosis, or other event, situation, issue, or clinical concept that has risen to a level of concern.
package_name: ca.infoway.io.pcare
derivation: constraint
name: PCareCondition
type: Condition
elements:
  onset:
    choices: []
    index: 12
    slicing:
      slices:
        onsetDateTime:
          match: {}
          schema:
            choices: [onsetDateTime]
            index: 14
  category:
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/condition-category'}
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: coding.code, type: value}
      min: null
      slices:
        problemListItem:
          match:
            coding: {code: problem-list-item}
          schema:
            index: 2
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/condition-category'}
                    index: 3
                  code:
                    pattern: {type: Code, value: problem-list-item}
                    index: 4
                required: [code]
  clinicalStatus: {index: 0}
  stage: {index: 18}
  abatement:
    choices: []
    index: 17
  note:
    constraint:
      pcare-con-2: {human: Condition.note Annotation.text should not exceed 2000 characters for PS-AB compatibility., source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/condition', severity: warning, expression: text.length() <= 2000}
    index: 19
  severity: {index: 5}
  code:
    type: CodeableConcept
    index: 6
    elements:
      text:
        constraint:
          pcare-con-1: {human: Condition.code.text value should not exceed 100 characters for PS-AB compatibility., source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/condition', severity: warning, expression: length() <= 100}
        index: 7
  onsetDateTime:
    type: dateTime
    choiceOf: onset
    index: 15
    slicing:
      slices:
        onsetDateTime:
          match: {}
          schema: {type: dateTime, choiceOf: onset, index: 15}
  bodySite: {index: 8}
  subject:
    type: Reference
    refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/patient']
    index: 9
    elements:
      reference: {index: 10}
    required: [reference]
package_version: 0.1.0-dft-preballot
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/condition
base: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/condition-ca-core
version: 0.1.0
required: [code]