PackagesCanonicalsLogsProblems
    Packages
    ca.ab.fhir.psab@0.3.0-pre2
    https://www.alberta.ca/fhir/psab/StructureDefinition/PatientPSAB
{
  "description": "This profile defines a set of constraints to the FHIR Patient resource for use in Alberta Patient Summaries (PS-AB). It re-profiles the PS-CA Patient profile and refines constraints applied to the Patient resource by the PS-CA project to represent the minimum expectations for the Patient resource when used in the PS-AB Composition profile or in one of the referred resources.",
  "_filename": "StructureDefinition-PatientPSAB.json",
  "package_name": "ca.ab.fhir.psab",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "PatientPSAB",
  "abstract": false,
  "type": "Patient",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Patient (PS-AB)",
  "package_version": "0.3.0-pre2",
  "status": "draft",
  "id": "57474f3c-8d71-48c5-8ea4-321ad1c31001",
  "kind": "resource",
  "url": "https://www.alberta.ca/fhir/psab/StructureDefinition/PatientPSAB",
  "version": null,
  "differential": {
    "element": [ {
      "id": "Patient",
      "path": "Patient",
      "comment": "Patient resources included in Alberta Patient Summary Document Bundles SHALL NOT contain any of the following Patient details: text, active, name.period, address.text, maritalStatus, multipleBirth, photo, contact.address, contact.gender, contact.organization, contact.period, communication, generalPractitioner, managingOrganization. These rules are mechanically enforced through invariants at the PS-AB Bundle level."
    }, {
      "id": "Patient.extension",
      "min": 1,
      "path": "Patient.extension"
    }, {
      "id": "Patient.extension:individual-recordedSexOrGender",
      "min": 1,
      "path": "Patient.extension",
      "sliceName": "individual-recordedSexOrGender",
      "mustSupport": true
    }, {
      "id": "Patient.extension:individual-recordedSexOrGender.extension:value",
      "path": "Patient.extension.extension",
      "sliceName": "value"
    }, {
      "id": "Patient.extension:individual-recordedSexOrGender.extension:value.value[x]",
      "path": "Patient.extension.extension.value[x]",
      "binding": {
        "strength": "required",
        "valueSet": "https://www.alberta.ca/fhir/ValueSet/administrative-gender-ab"
      }
    }, {
      "id": "Patient.extension:individual-recordedSexOrGender.extension:type",
      "path": "Patient.extension.extension",
      "sliceName": "type"
    }, {
      "id": "Patient.extension:individual-recordedSexOrGender.extension:type.value[x]",
      "path": "Patient.extension.extension.value[x]",
      "binding": {
        "strength": "required",
        "valueSet": "https://www.alberta.ca/fhir/ValueSet/recorded-sex-or-gender-type-AB"
      }
    }, {
      "id": "Patient.identifier",
      "min": 1,
      "path": "Patient.identifier"
    }, {
      "id": "Patient.identifier:JHN",
      "min": 1,
      "path": "Patient.identifier",
      "comment": "Patients must have at least an AB ULI identifier or another provincial JHN identifier. Implementers supplying ULIs shall use identifier.system of https://fhir.infoway-inforoute.ca/NamingSystem/ca-ab-patient-healthcare-id",
      "sliceName": "JHN",
      "mustSupport": true,
      "sliceIsConstraining": true
    }, {
      "id": "Patient.name.text",
      "min": 1,
      "path": "Patient.name.text",
      "comment": "Mandatory String: Max Character length: 200"
    }, {
      "id": "Patient.name.family",
      "min": 1,
      "path": "Patient.name.family"
    }, {
      "id": "Patient.telecom",
      "min": 1,
      "path": "Patient.telecom",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "system",
          "type": "pattern"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "Patient.telecom:Phone",
      "max": "*",
      "min": 1,
      "path": "Patient.telecom",
      "sliceName": "Phone",
      "mustSupport": true
    }, {
      "id": "Patient.telecom:Phone.system",
      "min": 1,
      "path": "Patient.telecom.system",
      "fixedCode": "phone",
      "mustSupport": true
    }, {
      "id": "Patient.gender.extension",
      "min": 1,
      "path": "Patient.gender.extension",
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "path": "Patient.gender.extension",
      "min": 1,
      "definition": "Provides a reason why the element is missing.",
      "short": "element absence reason",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/data-absent-reason" ]
      } ],
      "mustSupport": true,
      "sliceName": "data-absent-reason",
      "max": "1",
      "id": "Patient.gender.extension:data-absent-reason",
      "comment": "Alberta Patient Summaries are not permitted to have a value outside of data absent reason for the gender element, given that recorded gender is to be conveyed in the individual-recordedSexOrGender extension to account for additional values in use in Alberta. Implementers are expected to demonstrate they can supply a 'not-permitted' value for this context"
    }, {
      "id": "Patient.address",
      "path": "Patient.address",
      "mustSupport": true
    }, {
      "id": "Patient.address.use",
      "path": "Patient.address.use",
      "comment": "Assumed to be current home address if Address is present but no Use value is provided"
    }, {
      "id": "Patient.address.type",
      "path": "Patient.address.type",
      "comment": "Valid values: postal / physical / both. Assumed to be 'both' if no value is provided"
    }, {
      "id": "Patient.address.line",
      "min": 1,
      "path": "Patient.address.line"
    }, {
      "id": "Patient.address.city",
      "min": 1,
      "path": "Patient.address.city"
    }, {
      "id": "Patient.address.state",
      "min": 1,
      "path": "Patient.address.state"
    }, {
      "id": "Patient.address.postalCode",
      "min": 1,
      "path": "Patient.address.postalCode"
    }, {
      "id": "Patient.contact.name",
      "min": 1,
      "path": "Patient.contact.name"
    } ]
  },
  "baseDefinition": "http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/patient-ca-ps"
}