{
  "resourceType": "StructureDefinition",
  "id": "ca-qc-akinox-profile-Patient",
  "url": "http://fhir.akinox.com/r4b/StructureDefinition/Patient",
  "version": "1.0.0",
  "name": "QuebecPatient",
  "title": "Patient",
  "status": "draft",
  "description": "The Patient resources contain demographics and other administrative information about the individual.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.meta",
        "path": "Patient.meta",
        "min": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.meta.profile",
        "path": "Patient.meta.profile",
        "min": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "comment": "Patient Quebec Health Insurance Card number. https://www.ramq.gouv.qc.ca/en/citizens/health-insurance",
        "min": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier.value",
        "path": "Patient.identifier.value",
        "min": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier.type.coding.code",
        "path": "Patient.identifier.type.coding.code",
        "min": "1",
        "fixedCode": "JHN",
        "mustSupport": true
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "comment": "name.family and name.given will only be used. \nMiddle name is supported by using subsequent given names.",
        "min": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.name.family",
        "path": "Patient.name.family",
        "min": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.name.given",
        "path": "Patient.name.given",
        "min": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.telecom",
        "path": "Patient.telecom",
        "min": "1",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "description": "Telecommunications form for contact point.",
          "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-system"
        },
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "path": "Patient.telecom",
        "sliceName": "phone",
        "min": "1",
        "max": "1"
      },
      {
        "path": "Patient.telecom.system",
        "min": "1",
        "fixedCode": "phone"
      },
      {
        "path": "Patient.telecom.value",
        "min": "1"
      },
      {
        "path": "Patient.telecom",
        "sliceName": "email",
        "min": "0",
        "max": "1"
      },
      {
        "path": "Patient.telecom.system",
        "min": "0",
        "fixedCode": "email"
      },
      {
        "path": "Patient.telecom.value",
        "min": "0"
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "min": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.birthDate",
        "path": "Patient.birthDate",
        "min": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "min": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.address.line",
        "path": "Patient.address.line",
        "min": "1",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.address.city",
        "path": "Patient.address.city",
        "min": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.address.state",
        "path": "Patient.address.state",
        "min": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.address.postalCode",
        "path": "Patient.address.postalCode",
        "min": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.address.country",
        "path": "Patient.address.country",
        "min": "1",
        "mustSupport": true
      }
    ]
  }
}