{
  "resourceType": "StructureDefinition",
  "id": "BCCorePatient",
  "url": "http://hlth.gov.bc.ca/fhir/bccore/StructureDefinition/BCCorePatient",
  "name": "BCCorePatient",
  "status": "draft",
  "description": "An example profile of the Patient resource.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "comment": "PHN must be supported as the identifier system, other identifiers can be supplied but only BC PHN for the patient is used",
        "min": 1
      },
      {
        "id": "Patient.identifier:PHN",
        "path": "Patient.identifier",
        "sliceName": "PHN",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:PHN.type",
        "path": "Patient.identifier.type",
        "patternCodeableConcept": {
          "coding": [
            {
              "code": "JHN"
            }
          ]
        }
      },
      {
        "id": "Patient.identifier:PHN.system",
        "path": "Patient.identifier.system",
        "patternUri": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-bc-patient-healthcare-id"
      },
      {
        "id": "Patient.name.period",
        "path": "Patient.name.period",
        "mustSupport": true
      },
      {
        "id": "Patient.generalPractitioner.extension:MRP",
        "path": "Patient.generalPractitioner.extension",
        "sliceName": "MRP",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hlth.gov.bc.ca/fhir/bccore/StructureDefinition/MRP"
            ]
          }
        ],
        "mustSupport": true
      }
    ]
  }
}