{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2021-04-06T00:20:18.933+00:00"
  },
  "url": "http://example.org/fhir/StructureDefinition/IMAPatient",
  "name": "IMAPatient",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "cda",
      "uri": "http://hl7.org/v3/cda",
      "name": "CDA (R2)"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "loinc",
      "uri": "http://loinc.org",
      "name": "LOINC code for the element"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "id"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.identifier:burgerservicenummer",
        "path": "Patient.identifier",
        "sliceName": "burgerservicenummer",
        "short": "bsn identifier for this patient",
        "definition": "BSN is an identifier for this patient."
      },
      {
        "id": "Patient.contact.extension",
        "path": "Patient.contact.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.contact.extension:myExtension",
        "path": "Patient.contact.extension",
        "sliceName": "myExtension",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/patient-relatedPerson"
            ]
          }
        ]
      }
    ]
  }
}