{
  "resourceType": "StructureDefinition",
  "id": "d5621749-c461-4465-a7e6-b1ed310f24be",
  "meta": {
    "lastUpdated": "2019-03-16T22:57:01.320813+00:00"
  },
  "url": "http://ehealthbc.ca/API/FHIR/StructureDefinition/Patient",
  "name": "ca-bc-CD-profile-Patient",
  "status": "draft",
  "date": "2019-03-16T22:57:00.1435126+00:00",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient",
        "path": "Patient",
        "short": "Information about an individual or animal receiving health care services."
      },
      {
        "id": "Patient.id",
        "path": "Patient.id",
        "example": [
          {
            "label": "Patient ID",
            "valueId": "PATIENT1"
          }
        ]
      },
      {
        "id": "Patient.meta",
        "path": "Patient.meta",
        "max": "0"
      },
      {
        "id": "Patient.implicitRules",
        "path": "Patient.implicitRules",
        "max": "0"
      },
      {
        "id": "Patient.language",
        "path": "Patient.language",
        "max": "0"
      },
      {
        "id": "Patient.text",
        "path": "Patient.text",
        "max": "0"
      },
      {
        "id": "Patient.contained",
        "path": "Patient.contained",
        "max": "0"
      },
      {
        "id": "Patient.extension",
        "path": "Patient.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.extension:aboriginal",
        "path": "Patient.extension",
        "sliceName": "aboriginal",
        "type": [
          {
            "code": "Extension",
            "profile": "http://infoway-inforoute.ca/StructureDefinition/ca-bc-Aboriginal"
          }
        ]
      },
      {
        "id": "Patient.extension:aboriginal.extension:isAboriginal",
        "path": "Patient.extension.extension",
        "sliceName": "isAboriginal"
      },
      {
        "id": "Patient.extension:aboriginal.extension:isAboriginal.valueCodeableConcept:valueCodeableConcept.coding.code",
        "path": "Patient.extension.extension.valueCodeableConcept.coding.code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n57"
      },
      {
        "id": "Patient.extension:aboriginal.extension:aboriginalOrganization",
        "path": "Patient.extension.extension",
        "sliceName": "aboriginalOrganization"
      },
      {
        "id": "Patient.extension:aboriginal.extension:aboriginalOrganization.valueCodeableConcept:valueCodeableConcept.coding.code",
        "path": "Patient.extension.extension.valueCodeableConcept.coding.code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n57.1"
      },
      {
        "id": "Patient.extension:aboriginal.extension:aboriginalIdentity",
        "path": "Patient.extension.extension",
        "sliceName": "aboriginalIdentity"
      },
      {
        "id": "Patient.extension:aboriginal.extension:aboriginalIdentity.valueCodeableConcept:valueCodeableConcept.coding.code",
        "path": "Patient.extension.extension.valueCodeableConcept.coding.code",
        "requirements": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n58"
      },
      {
        "id": "Patient.extension:aboriginal.extension:firstNationsStatus",
        "path": "Patient.extension.extension",
        "sliceName": "firstNationsStatus"
      },
      {
        "id": "Patient.extension:aboriginal.extension:firstNationsStatus.valueCodeableConcept:valueCodeableConcept.coding.code",
        "path": "Patient.extension.extension.valueCodeableConcept.coding.code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n59"
      },
      {
        "id": "Patient.extension:ethnicity",
        "path": "Patient.extension",
        "sliceName": "ethnicity",
        "type": [
          {
            "code": "Extension",
            "profile": "http://infoway-inforoute.ca/StructureDefinition/ca-bc-ethnicity"
          }
        ]
      },
      {
        "id": "Patient.extension:ethnicity.extension:reportedBy",
        "path": "Patient.extension.extension",
        "sliceName": "reportedBy"
      },
      {
        "id": "Patient.extension:ethnicity.extension:reportedBy.valueCodeableConcept:valueCodeableConcept.coding.code",
        "path": "Patient.extension.extension.valueCodeableConcept.coding.code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n292"
      },
      {
        "id": "Patient.extension:ethnicity.extension:ethnicityCode",
        "path": "Patient.extension.extension",
        "sliceName": "ethnicityCode"
      },
      {
        "id": "Patient.extension:ethnicity.extension:ethnicityCode.valueCodeableConcept:valueCodeableConcept.coding.code",
        "path": "Patient.extension.extension.valueCodeableConcept.coding.code",
        "requirements": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n292.1"
      },
      {
        "id": "Patient.extension:clientHealthRegion",
        "path": "Patient.extension",
        "sliceName": "clientHealthRegion",
        "type": [
          {
            "code": "Extension",
            "profile": "http://infoway-inforoute.ca/StructureDefinition/ca-bc-client-health-region"
          }
        ]
      },
      {
        "id": "Patient.extension:clientHealthRegion.extension:clientHealthRegion",
        "path": "Patient.extension.extension",
        "sliceName": "clientHealthRegion",
        "short": "Client Health Region"
      },
      {
        "id": "Patient.extension:clientHealthRegion.extension:clientHealthRegion.valueCodeableConcept:valueCodeableConcept.coding.code",
        "path": "Patient.extension.extension.valueCodeableConcept.coding.code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n85.1"
      },
      {
        "id": "Patient.extension:clientHealthRegion.extension:CHReffectiveFromDate",
        "path": "Patient.extension.extension",
        "sliceName": "CHReffectiveFromDate"
      },
      {
        "id": "Patient.extension:clientHealthRegion.extension:CHReffectiveFromDate.valueDate:valueDate",
        "path": "Patient.extension.extension.valueDate",
        "sliceName": "valueDate",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n85.2"
      },
      {
        "id": "Patient.extension:clientHealthRegion.extension:CHReffectiveToDate",
        "path": "Patient.extension.extension",
        "sliceName": "CHReffectiveToDate"
      },
      {
        "id": "Patient.extension:clientHealthRegion.extension:CHReffectiveToDate.valueDate:valueDate",
        "path": "Patient.extension.extension.valueDate",
        "sliceName": "valueDate",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n85.3"
      },
      {
        "id": "Patient.extension:indetermineClient",
        "path": "Patient.extension",
        "sliceName": "indetermineClient",
        "short": "Indeterminate Client Indicator",
        "definition": "Indeterminate Client Indicator\r\nDefaults to 'N' unless value is provided.  \r\nIf 'Y', relaxes mandatory requirements - only First Name and Last Name is mandatory to create client.",
        "comment": "none",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://infoway-inforoute.ca/StructureDefinition/ca-bc-indetermineClient"
          }
        ]
      },
      {
        "id": "Patient.extension:indetermineClient.id",
        "path": "Patient.extension.id",
        "max": "0"
      },
      {
        "id": "Patient.extension:indetermineClient.value[x]:valueBoolean",
        "path": "Patient.extension.valueBoolean",
        "sliceName": "valueBoolean",
        "short": "Indetermine Client Flag",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n79.4",
        "min": 1,
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "Patient.extension:inactiveClient",
        "path": "Patient.extension",
        "sliceName": "inactiveClient",
        "short": "Inactive Client Reason",
        "definition": "CM: Mandatory if client isinactive (79.6)",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n79.7",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://infoway-inforoute.ca/StructureDefinition/inactiveClient"
          }
        ]
      },
      {
        "id": "Patient.extension:inactiveClient.id",
        "path": "Patient.extension.id",
        "max": "0"
      },
      {
        "id": "Patient.extension:inactiveClient.value[x]:valueCodeableConcept",
        "path": "Patient.extension.valueCodeableConcept",
        "sliceName": "valueCodeableConcept",
        "min": 1,
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "Patient.extension:inactiveClient.value[x]:valueCodeableConcept.coding.id",
        "path": "Patient.extension.valueCodeableConcept.coding.id",
        "max": "0"
      },
      {
        "id": "Patient.extension:inactiveClient.value[x]:valueCodeableConcept.coding.system",
        "path": "Patient.extension.valueCodeableConcept.coding.system",
        "short": "Inactive Client Reason",
        "fixedUri": "http://ehealthbc.ca/NamingSystem/ca-bc-inactive-client-reason"
      },
      {
        "id": "Patient.extension:inactiveClient.value[x]:valueCodeableConcept.coding.version",
        "path": "Patient.extension.valueCodeableConcept.coding.version",
        "max": "0"
      },
      {
        "id": "Patient.extension:inactiveClient.value[x]:valueCodeableConcept.coding.code",
        "path": "Patient.extension.valueCodeableConcept.coding.code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n79.7"
      },
      {
        "id": "Patient.extension:inactiveClient.value[x]:valueCodeableConcept.coding.userSelected",
        "path": "Patient.extension.valueCodeableConcept.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Patient.extension:inactiveClient.value[x]:valueCodeableConcept.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Patient.extension.valueCodeableConcept.text",
        "max": "0"
      },
      {
        "id": "Patient.extension:recordType",
        "path": "Patient.extension",
        "sliceName": "recordType",
        "short": "Record Type",
        "definition": "A|R|W",
        "comment": "none",
        "min": 1,
        "type": [
          {
            "code": "Extension",
            "profile": "http://infoway-inforoute.ca/StructureDefinition/recordType"
          }
        ]
      },
      {
        "id": "Patient.extension:recordType.id",
        "path": "Patient.extension.id",
        "max": "0"
      },
      {
        "id": "Patient.extension:recordType.valueCode:valueCode",
        "path": "Patient.extension.valueCode",
        "sliceName": "valueCode",
        "short": "Record Type - A|R|W",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n79.5",
        "min": 1,
        "fixedCode": "A|R|W"
      },
      {
        "id": "Patient.extension:recordType.valueCode:valueCode.id",
        "path": "Patient.extension.valueCode.id",
        "max": "0"
      },
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "definition": "BC PHN\r\nAdditional ID",
        "min": 1
      },
      {
        "id": "Patient.identifier.id",
        "path": "Patient.identifier.id",
        "max": "0"
      },
      {
        "id": "Patient.identifier.use",
        "path": "Patient.identifier.use",
        "max": "0"
      },
      {
        "id": "Patient.identifier.type",
        "path": "Patient.identifier.type",
        "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.\r\nSee TAB <Value Codes> on CD_Mandate_Dataset_Specifications",
        "comment": "none"
      },
      {
        "id": "Patient.identifier.type.id",
        "path": "Patient.identifier.type.id",
        "max": "0"
      },
      {
        "id": "Patient.identifier.type.coding",
        "path": "Patient.identifier.type.coding",
        "max": "0"
      },
      {
        "id": "Patient.identifier.type.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Patient.identifier.type.text",
        "short": "Patient Identifier Type",
        "definition": "Patient Identifier Type",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n80.1: CM if BC PHN (80) provided, indicates Health Card Type \r\n290 : CM if Additional ID (290.1) provided",
        "min": 1,
        "example": [
          {
            "label": "BC PHN",
            "valueString": "BC"
          },
          {
            "label": "Alberta PHN",
            "valueString": "2.16.840.1.113883.4.20"
          }
        ]
      },
      {
        "id": "Patient.identifier.system",
        "path": "Patient.identifier.system",
        "short": "The namespace for the patient identifier value",
        "definition": "BC PHN: https://fhir.infoway-inforoute.ca/registry/NamingSystem/bc-patient-healthcare-identifier\r\nAB PHN: https://fhir.infoway-inforoute.ca/registry/NamingSystem/ab-patient-lifetime-identifier\r\nMB: https://fhir.infoway-inforoute.ca/registry/NamingSystem/ab-patient-lifetime-identifier\r\nNB: https://fhir.infoway-inforoute.ca/registry/NamingSystem/nb-patient-health-number\r\nNL: https://fhir.infoway-inforoute.ca/registry/NamingSystem/nl-patient-medical-care-plan-number\r\nNS: https://fhir.infoway-inforoute.ca/registry/NamingSystem/ns-patient-health-number\r\nNT: https://fhir.infoway-inforoute.ca/registry/NamingSystem/nt-patient-health-number\r\nNU PHN: https://fhir.infoway-inforoute.ca/registry/NamingSystem/nu-patient-health-number\r\nON PHN: https://ehealthontario.ca/API/FHIR/NamingSystem/ca-on-patient-hcn\r\nPE PHN: https://fhir.infoway-inforoute.ca/registry/NamingSystem/pe-patient-health-number\r\nQC PHN: https://fhir.infoway-inforoute.ca/registry/NamingSystem/qc-patient-health-number\r\nSK PHN: https://fhir.infoway-inforoute.ca/registry/NamingSystem/sk-patient-health-number\r\nYT PHN: https://fhir.infoway-inforoute.ca/registry/NamingSystem/yt-patient-health-number\r\n\r\nNHA ALT ID: https://fhir.infoway-inforoute.ca/NamingSystem/ca-bc-nha-patient-identifier\r\nFHA ALT ID: https://ehealthbc.ca/API/FHIR/NamingSystem/ca-bc-fha-patient-identifier\r\nVCH-EMR GetCheckedOnline ID: [id-system-local-base]/ca-bc-emr-vcha-GCO-id\r\nVCH-EMR Profile ID: [id-system-local-base]/ca-bc-emr-vcha-profile-id",
        "comment": "See <Value URIs> listed in Definition",
        "example": [
          {
            "label": "BC PHN",
            "valueUri": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-bc-patient-healthcare-id"
          },
          {
            "label": "Alberta PHN",
            "valueUri": "https://fhir.infoway-inforoute.ca/registry/NamingSystem/ab-patient-lifetime-identifier"
          }
        ]
      },
      {
        "id": "Patient.identifier.value",
        "path": "Patient.identifier.value",
        "short": "Patient Identifier",
        "definition": "Patient Identifier",
        "comment": "CD_Mandate_Dataset_Specs Data Element ID: \r\n80, \r\n290.1",
        "min": 1,
        "example": [
          {
            "label": "BC PHN",
            "valueString": "9698001001"
          }
        ]
      },
      {
        "id": "Patient.identifier.period",
        "path": "Patient.identifier.period",
        "definition": "Time period during which identifier is/was valid for use.\r\nFormat: yyyy-mm-dd"
      },
      {
        "id": "Patient.identifier.period.id",
        "path": "Patient.identifier.period.id",
        "max": "0"
      },
      {
        "id": "Patient.identifier.assigner",
        "path": "Patient.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Patient.active",
        "path": "Patient.active",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n79.6",
        "min": 1
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "definition": "A name associated with the individual.\r\nA patient may have multiple names with different uses or applicable periods. \r\n<client name info>: First Name, Last Name, Middle Name, Alternate Names",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n92",
        "min": 1
      },
      {
        "id": "Patient.name.id",
        "path": "Patient.name.id",
        "max": "0"
      },
      {
        "id": "Patient.name.use",
        "path": "Patient.name.use",
        "definition": "\"Official\" = Legal Name\n\r\nAlternate Name:\r\n\"Usual\" = Preferred Name\n\"Nickname\" = Informal, not usual name",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n92.1"
      },
      {
        "id": "Patient.name.text",
        "path": "Patient.name.text",
        "max": "0"
      },
      {
        "id": "Patient.name.family",
        "path": "Patient.name.family",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n79.2",
        "min": 1,
        "example": [
          {
            "label": "Family Name",
            "valueString": "Potter"
          }
        ]
      },
      {
        "id": "Patient.name.given",
        "path": "Patient.name.given",
        "definition": "Given name: First Name (Mandatory), Middle Name (Optional)",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n79.1-First Name\r\n79.3-Middle Name",
        "min": 1,
        "example": [
          {
            "label": "First Name",
            "valueString": "Harry"
          },
          {
            "label": "Middle Name",
            "valueString": "Hedwig"
          }
        ]
      },
      {
        "id": "Patient.name.prefix",
        "path": "Patient.name.prefix",
        "max": "0"
      },
      {
        "id": "Patient.name.suffix",
        "path": "Patient.name.suffix",
        "max": "0"
      },
      {
        "id": "Patient.name.period",
        "path": "Patient.name.period",
        "definition": "Indicates the period of time when this name was valid for the named person.\r\nFormat: yyyy-mm-dd",
        "max": "0"
      },
      {
        "id": "Patient.telecom.id",
        "path": "Patient.telecom.id",
        "max": "0"
      },
      {
        "id": "Patient.telecom.system",
        "path": "Patient.telecom.system",
        "comment": "none"
      },
      {
        "id": "Patient.telecom.value",
        "path": "Patient.telecom.value",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n87 - Phone no.\r\n88 - Email",
        "example": [
          {
            "label": "Phone no.",
            "valueString": "(604)123-4567"
          },
          {
            "label": "Email",
            "valueString": "hpotter@work.com"
          }
        ]
      },
      {
        "id": "Patient.telecom.use",
        "path": "Patient.telecom.use",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n87.1 - Phone Type if system=phone (87)\r\n88.1 - Email Type if system=email (88)"
      },
      {
        "id": "Patient.telecom.rank",
        "path": "Patient.telecom.rank",
        "max": "0"
      },
      {
        "id": "Patient.telecom.period",
        "path": "Patient.telecom.period",
        "definition": "Time period when the contact point was/is in use.\r\nFormat: yyyy-mm-dd"
      },
      {
        "id": "Patient.telecom.period.id",
        "path": "Patient.telecom.period.id",
        "max": "0"
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n82",
        "min": 1
      },
      {
        "id": "Patient.gender.id",
        "path": "Patient.gender.id",
        "max": "0"
      },
      {
        "id": "Patient.gender.extension",
        "path": "Patient.gender.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.gender.extension:_gender",
        "path": "Patient.gender.extension",
        "sliceName": "_gender",
        "short": "Gender Identity",
        "definition": "Patient's gender identity",
        "comment": "none",
        "type": [
          {
            "code": "Extension",
            "profile": "http://fhir.infoway-inforoute/StructureDefinition/patient-genderIdentity"
          }
        ]
      },
      {
        "id": "Patient.gender.extension:_gender.valueCodeableConcept:valueCodeableConcept",
        "path": "Patient.gender.extension.valueCodeableConcept",
        "sliceName": "valueCodeableConcept",
        "min": 1
      },
      {
        "id": "Patient.gender.extension:_gender.valueCodeableConcept:valueCodeableConcept.id",
        "path": "Patient.gender.extension.valueCodeableConcept.id",
        "max": "0"
      },
      {
        "id": "Patient.gender.extension:_gender.valueCodeableConcept:valueCodeableConcept.coding.id",
        "path": "Patient.gender.extension.valueCodeableConcept.coding.id",
        "max": "0"
      },
      {
        "id": "Patient.gender.extension:_gender.valueCodeableConcept:valueCodeableConcept.coding.system",
        "path": "Patient.gender.extension.valueCodeableConcept.coding.system",
        "definition": "http://ehealthbc.ca/API/FHIR/NamingSystem/patient-genderIdentity",
        "comment": "none"
      },
      {
        "id": "Patient.gender.extension:_gender.valueCodeableConcept:valueCodeableConcept.coding.version",
        "path": "Patient.gender.extension.valueCodeableConcept.coding.version",
        "max": "0"
      },
      {
        "id": "Patient.gender.extension:_gender.valueCodeableConcept:valueCodeableConcept.coding.code",
        "path": "Patient.gender.extension.valueCodeableConcept.coding.code",
        "short": "Patient's gender identity",
        "definition": "Patient's gender identity",
        "example": [
          {
            "label": "Transgender Male to Female",
            "valueCode": "TRN_M_F"
          }
        ]
      },
      {
        "id": "Patient.gender.extension:_gender.valueCodeableConcept:valueCodeableConcept.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Patient.gender.extension.valueCodeableConcept.coding.display",
        "short": "Patient's gender identity",
        "definition": "Patient's gender identity",
        "comment": "none",
        "example": [
          {
            "label": "Transgender Male to Female",
            "valueString": "Transgender Male to Female"
          }
        ]
      },
      {
        "id": "Patient.gender.extension:_gender.valueCodeableConcept:valueCodeableConcept.coding.userSelected",
        "path": "Patient.gender.extension.valueCodeableConcept.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Patient.gender.extension:_gender.valueCodeableConcept:valueCodeableConcept.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Patient.gender.extension.valueCodeableConcept.text",
        "max": "0"
      },
      {
        "id": "Patient.birthDate",
        "path": "Patient.birthDate",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n81",
        "min": 1
      },
      {
        "id": "Patient.deceased[x]:deceasedDateTime",
        "path": "Patient.deceasedDateTime",
        "sliceName": "deceasedDateTime",
        "short": "Patien'ts date of death",
        "definition": "Patien'ts date of death",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n79.8",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Patient.deceased[x]:deceasedDateTime.id",
        "path": "Patient.deceasedDateTime.id",
        "max": "0"
      },
      {
        "id": "Patient.address.extension",
        "path": "Patient.address.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.address.extension:firstNationsBand",
        "path": "Patient.address.extension",
        "sliceName": "firstNationsBand",
        "type": [
          {
            "code": "Extension",
            "profile": "http://ehealthbc.ca/API/FHIR/StructureDefinition/ca-bc-extension-address-firstnations-band"
          }
        ]
      },
      {
        "id": "Patient.address.extension:firstNationsBand.valueCodeableConcept:valueCodeableConcept",
        "path": "Patient.address.extension.valueCodeableConcept",
        "sliceName": "valueCodeableConcept",
        "min": 1
      },
      {
        "id": "Patient.address.extension:firstNationsBand.valueCodeableConcept:valueCodeableConcept.coding.system",
        "path": "Patient.address.extension.valueCodeableConcept.coding.system",
        "comment": "none"
      },
      {
        "id": "Patient.address.extension:firstNationsBand.valueCodeableConcept:valueCodeableConcept.coding.code",
        "path": "Patient.address.extension.valueCodeableConcept.coding.code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n266 \r\nAML/API to derive 93=Y if 266 provided"
      },
      {
        "id": "Patient.address.extension:firstNationsBand.valueCodeableConcept:valueCodeableConcept.coding.userSelected",
        "path": "Patient.address.extension.valueCodeableConcept.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Patient.address.use",
        "path": "Patient.address.use",
        "definition": "The purpose of this address.\r\nCM: If any other address fields populated",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n83.5"
      },
      {
        "id": "Patient.address.type",
        "path": "Patient.address.type",
        "max": "0"
      },
      {
        "id": "Patient.address.text",
        "path": "Patient.address.text",
        "short": "Client Home Address at Time of Initial Investigation",
        "definition": "Hardcode as \"client address at time of reporting\" ONLY IF address is Client Home Address at Time of Initial Investigation; else do not send this data element (298).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n298",
        "fixedString": "client address at time of reporting"
      },
      {
        "id": "Patient.address.line",
        "path": "Patient.address.line",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n83",
        "max": "2"
      },
      {
        "id": "Patient.address.line.extension",
        "path": "Patient.address.line.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.address.line.extension:_line",
        "path": "Patient.address.line.extension",
        "sliceName": "_line",
        "comment": "none",
        "type": [
          {
            "code": "Extension",
            "profile": "http://ehealthbc.ca/fhir/StructureDefinition/_line"
          }
        ]
      },
      {
        "id": "Patient.address.line.extension:_line.extension:StreetNo",
        "path": "Patient.address.line.extension.extension",
        "sliceName": "StreetNo",
        "comment": "none"
      },
      {
        "id": "Patient.address.line.extension:_line.extension:StreetNo.valueString:valueString",
        "path": "Patient.address.line.extension.extension.valueString",
        "sliceName": "valueString",
        "comment": "A stream of bytes, base64 encoded\r\nCD_Mandate_Dataset_Specifications Data Element ID: \r\n83.2",
        "min": 1
      },
      {
        "id": "Patient.address.line.extension:_line.extension:StreetName",
        "path": "Patient.address.line.extension.extension",
        "sliceName": "StreetName",
        "comment": "none"
      },
      {
        "id": "Patient.address.line.extension:_line.extension:StreetName.valueString:valueString",
        "path": "Patient.address.line.extension.extension.valueString",
        "sliceName": "valueString",
        "comment": "A stream of bytes, base64 encoded\r\nCD_Mandate_Dataset_Specifications Data Element ID: \r\n83.3",
        "min": 1
      },
      {
        "id": "Patient.address.line.extension:_line.extension:StreetType",
        "path": "Patient.address.line.extension.extension",
        "sliceName": "StreetType",
        "short": "Street Type",
        "definition": "Address Street Type",
        "comment": "none"
      },
      {
        "id": "Patient.address.line.extension:_line.extension:StreetType.valueString:valueString",
        "path": "Patient.address.line.extension.extension.valueString",
        "sliceName": "valueString",
        "comment": "A stream of bytes, base64 encoded\r\nCD_Mandate_Dataset_Specifications Data Element ID: \r\n83.4",
        "min": 1
      },
      {
        "id": "Patient.address.line.extension:_line.extension:StreetDirection",
        "path": "Patient.address.line.extension.extension",
        "sliceName": "StreetDirection",
        "short": "Street Direction",
        "definition": "Address Street Direction",
        "comment": "none"
      },
      {
        "id": "Patient.address.line.extension:_line.extension:StreetDirection.valueString:valueString",
        "path": "Patient.address.line.extension.extension.valueString",
        "sliceName": "valueString",
        "comment": "A stream of bytes, base64 encoded\r\nCD_Mandate_Dataset_Specifications Data Element ID: \r\n83.6"
      },
      {
        "id": "Patient.address.line.extension:_line.extension:UnitNo",
        "path": "Patient.address.line.extension.extension",
        "sliceName": "UnitNo",
        "comment": "none"
      },
      {
        "id": "Patient.address.line.extension:_line.extension:UnitNo.valueString:valueString",
        "path": "Patient.address.line.extension.extension.valueString",
        "sliceName": "valueString",
        "comment": "A stream of bytes, base64 encoded\r\nCD_Mandate_Dataset_Specifications Data Element ID: \r\n83.1",
        "min": 1
      },
      {
        "id": "Patient.address.line.extension:_line.extension:postBox",
        "path": "Patient.address.line.extension.extension",
        "sliceName": "postBox",
        "max": "1"
      },
      {
        "id": "Patient.address.line.extension:_line.extension:postBox.valueString:valueString",
        "path": "Patient.address.line.extension.extension.valueString",
        "sliceName": "valueString",
        "definition": "none"
      },
      {
        "id": "Patient.address.line.extension:_line.extension:RuralRoute",
        "path": "Patient.address.line.extension.extension",
        "sliceName": "RuralRoute",
        "comment": "none",
        "max": "1"
      },
      {
        "id": "Patient.address.line.extension:_line.extension:Station",
        "path": "Patient.address.line.extension.extension",
        "sliceName": "Station",
        "comment": "none"
      },
      {
        "id": "Patient.address.line.extension:_line.extension:RetailPostalOutlet",
        "path": "Patient.address.line.extension.extension",
        "sliceName": "RetailPostalOutlet",
        "comment": "none"
      },
      {
        "id": "Patient.address.city",
        "path": "Patient.address.city",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n84"
      },
      {
        "id": "Patient.address.district",
        "path": "Patient.address.district",
        "max": "0"
      },
      {
        "id": "Patient.address.state",
        "path": "Patient.address.state",
        "short": "State/Province",
        "definition": "State/Province",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n86"
      },
      {
        "id": "Patient.address.postalCode",
        "path": "Patient.address.postalCode",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n85"
      },
      {
        "id": "Patient.address.country",
        "path": "Patient.address.country",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n245"
      },
      {
        "id": "Patient.address.period.start",
        "path": "Patient.address.period.start",
        "definition": "The start of the period. The boundary is inclusive.\r\nFormat: yyyy-mm-dd"
      },
      {
        "id": "Patient.maritalStatus",
        "path": "Patient.maritalStatus",
        "max": "0"
      },
      {
        "id": "Patient.multipleBirth[x]",
        "path": "Patient.multipleBirth[x]",
        "max": "0"
      },
      {
        "id": "Patient.photo",
        "path": "Patient.photo",
        "max": "0"
      },
      {
        "id": "Patient.contact",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "Contact"
          }
        ],
        "path": "Patient.contact",
        "max": "0"
      },
      {
        "id": "Patient.animal",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "Animal"
          }
        ],
        "path": "Patient.animal",
        "max": "0"
      },
      {
        "id": "Patient.communication",
        "path": "Patient.communication",
        "max": "0"
      },
      {
        "id": "Patient.generalPractitioner",
        "path": "Patient.generalPractitioner",
        "max": "0"
      },
      {
        "id": "Patient.managingOrganization",
        "path": "Patient.managingOrganization",
        "max": "0"
      },
      {
        "id": "Patient.link",
        "path": "Patient.link",
        "max": "0"
      }
    ]
  }
}