PackagesCanonicalsLogsProblems
    Packages
    ca.ab.fhir.psab@0.3.0-pre1
    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.",
  "_filename": "StructureDefinition-ConditionPSAB.json",
  "package_name": "ca.ab.fhir.psab",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "ConditionPSAB",
  "abstract": false,
  "type": "Condition",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Condition (PS-AB)",
  "package_version": "0.3.0-pre1",
  "status": "draft",
  "id": "1e5809f7-d99d-4b9e-ac6b-5ba00d838793",
  "kind": "resource",
  "url": "https://www.alberta.ca/fhir/psab/StructureDefinition/ConditionPSAB",
  "version": null,
  "differential": {
    "element": [ {
      "id": "Condition",
      "path": "Condition",
      "comment": "Condition resources included in Alberta Patient Summary Document Bundles SHALL NOT contain any of the following Condition details: verificationStatus, severity, encounter, abatement, recorder, asserter, stage, evidence. These rules are mechanically enforced through invariants at the PS-AB Bundle level."
    }, {
      "id": "Condition.clinicalStatus",
      "path": "Condition.clinicalStatus",
      "comment": "This element is optional. Only include clinicalStatus codes if they are captured in the clinical workflow and map to one of the required codes in the FHIR valueSet. If no codes in the required valueSet match the status captured clinically - then this element SHALL NOT be be populated"
    }, {
      "id": "Condition.category",
      "path": "Condition.category",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "Coding.code",
          "type": "value"
        } ]
      }
    }, {
      "id": "Condition.category:problemListItem",
      "max": "1",
      "min": 0,
      "path": "Condition.category",
      "comment": "Codeable concept: 'Problem-list-item' allowed in PS-AB",
      "sliceName": "problemListItem",
      "mustSupport": true
    }, {
      "id": "Condition.category:problemListItem.coding.system",
      "path": "Condition.category.coding.system",
      "patternUri": "http://terminology.hl7.org/CodeSystem/condition-category"
    }, {
      "id": "Condition.category:problemListItem.coding.code",
      "path": "Condition.category.coding.code",
      "patternCode": "problem-list-item"
    }, {
      "id": "Condition.code",
      "path": "Condition.code",
      "constraint": [ {
        "key": "psab-con-1",
        "human": "If Condition.code.coding exists, then at least one coding shall be from the ICD9CM ValueSet",
        "source": "https://www.alberta.ca/fhir/psab/StructureDefinition/ConditionPSAB",
        "severity": "error",
        "expression": "coding.exists() implies $this.memberOf('http://fhir.infoway-inforoute.ca/io/psca/ValueSet/ICD9CM')"
      } ]
    }, {
      "id": "Condition.code.coding",
      "path": "Condition.code.coding",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "system",
          "type": "pattern"
        } ]
      }
    }, {
      "id": "Condition.code.coding:ICD9",
      "max": "*",
      "min": 0,
      "path": "Condition.code.coding",
      "comment": "Coding is optional, if coding is sent there shall at least be one coding from the ICD-9-CM code system",
      "sliceName": "ICD9",
      "mustSupport": true
    }, {
      "id": "Condition.code.coding:ICD9.system",
      "min": 1,
      "path": "Condition.code.coding.system",
      "fixedUri": "http://terminology.hl7.org/CodeSystem/icd9cm"
    }, {
      "id": "Condition.code.text",
      "min": 1,
      "path": "Condition.code.text",
      "comment": "Required for each submitted problem or condition String: Max Character length (100)"
    }, {
      "id": "Condition.subject",
      "path": "Condition.subject",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://www.alberta.ca/fhir/psab/StructureDefinition/PatientPSAB" ]
      } ]
    }, {
      "id": "Condition.onset[x]:onsetDateTime",
      "path": "Condition.onset[x]",
      "type": [ {
        "code": "dateTime"
      } ],
      "comment": "YYYY-MM-DD format. Partial dates (YYYY only or YYYY-MM only) are accepted.",
      "sliceName": "onsetDateTime"
    }, {
      "id": "Condition.note",
      "path": "Condition.note",
      "comment": "Optional String: Max Character length (2000)"
    } ]
  },
  "baseDefinition": "http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/condition-ca-ps"
}