PackagesCanonicalsLogsProblems
    Packages
    ca.ab.fhir.psab@0.3.0-pre11
    https://www.alberta.ca/fhir/psab/StructureDefinition/ConditionPSAB
description: This profile defines a set of constraints to the FHIR Condition resource for use in Alberta Patient Summaries (PS-AB). It re-profiles the PS-CA Condition profile and refines constraints applied to the Condition resource by the PS-CA project to represent the minimum expectations for the Condition resource when used in the PS-AB Composition profile.
package_name: ca.ab.fhir.psab
derivation: constraint
name: ConditionPSAB
type: Condition
elements:
  clinicalStatus: {index: 0}
  category:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: Coding.code, type: value}
      min: null
      slices:
        problemListItem:
          match:
            Coding: {code: null}
          schema:
            mustSupport: true
            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
  code:
    elements:
      coding: {index: 5}
      text: {index: 6}
    required: [text]
  subject:
    type: Reference
    refers: ['https://www.alberta.ca/fhir/psab/StructureDefinition/PatientPSAB']
    index: 7
  onset:
    choices: []
    index: 9
    slicing:
      slices:
        onsetDateTime:
          match: {}
          schema:
            choices: [onsetDateTime]
            index: 11
  onsetDateTime:
    type: dateTime
    choiceOf: onset
    index: 12
    slicing:
      slices:
        onsetDateTime:
          match: {}
          schema: {type: dateTime, choiceOf: onset, index: 12}
  note: {index: 13}
package_version: 0.3.0-pre11
class: profile
kind: resource
url: https://www.alberta.ca/fhir/psab/StructureDefinition/ConditionPSAB
base: http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/condition-ca-ps
version: null
required: [onset]