PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.ps@0.1.0-preview
    http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-condition
description: This profile sets minimum expectations for a Condition resource in the context of a patient summary in an Australian context. It is based on the [AU Base Condition](http://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-condition.html) profile, and applies the constraints of [AU Core Condition](http://hl7.org.au/fhir/core/StructureDefinition/au-core-condition) and [Condition (IPS)](http://hl7.org/fhir/uv/ips/StructureDefinition/Condition-uv-ips).
package_name: hl7.fhir.au.ps
derivation: constraint
name: AUPSCondition
type: Condition
elements:
  onset:
    mustSupport: true
    choices: [onsetDateTime, onsetAge, onsetPeriod, onsetRange]
    index: 9
  category: {type: CodeableConcept, mustSupport: true, index: 2}
  clinicalStatus: {type: CodeableConcept, mustSupport: true, index: 0}
  abatementAge: {type: Age, mustSupport: true, choiceOf: abatement, index: 17}
  onsetRange: {type: Range, mustSupport: true, choiceOf: onset, index: 13}
  onsetAge: {type: Age, mustSupport: true, choiceOf: onset, index: 11}
  onsetPeriod: {type: Period, mustSupport: true, choiceOf: onset, index: 12}
  abatement:
    mustSupport: true
    choices: [abatementDateTime, abatementAge, abatementPeriod, abatementRange]
    index: 15
  abatementPeriod: {type: Period, mustSupport: true, choiceOf: abatement, index: 18}
  note: {mustSupport: true, index: 20}
  abatementRange: {type: Range, mustSupport: true, choiceOf: abatement, index: 19}
  severity:
    type: CodeableConcept
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/condition-severity'}
    mustSupport: true
    index: 3
  code:
    type: CodeableConcept
    binding: {strength: extensible, valueSet: 'https://healthterminologies.gov.au/fhir/ValueSet/clinical-condition-1'}
    mustSupport: true
    index: 4
  onsetDateTime: {type: dateTime, mustSupport: true, choiceOf: onset, index: 10}
  bodySite:
    type: CodeableConcept
    binding: {strength: extensible, valueSet: 'https://healthterminologies.gov.au/fhir/ValueSet/body-site-1'}
    constraint:
      au-core-cond-01: {human: 'If a coded body site is provided, at least one coding shall be from SNOMED CT', severity: error, expression: 'coding.exists() implies coding.where(system=''http://snomed.info/sct'').exists()'}
    index: 5
  abatementDateTime: {type: dateTime, mustSupport: true, choiceOf: abatement, index: 16}
  verificationStatus: {type: CodeableConcept, mustSupport: true, index: 1}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-patient']
    index: 6
    elements:
      reference: {mustSupport: true, index: 7}
    required: [reference]
package_version: 0.1.0-preview
class: profile
kind: resource
url: http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-condition
base: http://hl7.org.au/fhir/StructureDefinition/au-condition
version: 0.1.0-preview
required: [category, code]