{
  "resourceType": "StructureDefinition",
  "id": "example-patient-profile-ca-core",
  "url": "http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/example-patient-profile-ca-core",
  "name": "ExamplePatientProfile",
  "title": "Example Patient Profile on Patient (CA-Core)",
  "status": "draft",
  "experimental": true,
  "publisher": "Example",
  "contact": [
    {
      "name": "Example",
      "telecom": [
        {
          "system": "url",
          "value": "http://example.ca"
        },
        {
          "system": "email",
          "value": "example@example.ca"
        }
      ]
    }
  ],
  "description": "This is an example of how a jurisdiction or any IG author wishing to derive from CA Core+ may add additional constraints.",
  "jurisdiction": [
    {
      "coding": [
        {
          "code": "CA",
          "system": "urn:iso:std:iso:3166"
        }
      ]
    }
  ],
  "purpose": "This profile is an example of how a jurisdiction or any IG author wishing to derive from CA Core+ may add additional constraints.",
  "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.extension:PatientCitizenship",
        "path": "Patient.extension",
        "sliceName": "PatientCitizenship",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/patient-citizenship"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:PassportNumber",
        "path": "Patient.identifier",
        "sliceName": "PassportNumber",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Patient.identifier:PassportNumber.type",
        "path": "Patient.identifier.type",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:PassportNumber.type.coding",
        "path": "Patient.identifier.type.coding",
        "patternCoding": {
          "code": "PPN",
          "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
        }
      },
      {
        "id": "Patient.identifier:PassportNumber.system",
        "path": "Patient.identifier.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:PassportNumber.value",
        "path": "Patient.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "min": 1,
        "max": "4",
        "mustSupport": false
      },
      {
        "id": "Patient.telecom",
        "path": "Patient.telecom",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "min": 1
      },
      {
        "id": "Patient.birthDate",
        "path": "Patient.birthDate",
        "min": 1
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.contact",
        "path": "Patient.contact",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.managingOrganization",
        "path": "Patient.managingOrganization",
        "min": 1
      }
    ]
  }
}