{
  "resourceType": "StructureDefinition",
  "url": "https://example.org/fhir/StructureDefinition/NWPatient",
  "name": "NWPatient",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.extension",
        "path": "Patient.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "Patient.extension:SourcePatientDemographics",
        "path": "Patient.extension",
        "sliceName": "SourcePatientDemographics",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://example.org/fhir/StructureDefinition/SourcePatientDemographics"
            ]
          }
        ]
      },
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.identifier:mpiid",
        "path": "Patient.identifier",
        "sliceName": "mpiid",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:mpiid.system",
        "path": "Patient.identifier.system",
        "fixedUri": "https://northwell.fhir.org/patient/identifier/mpiid"
      },
      {
        "id": "Patient.identifier:epi",
        "path": "Patient.identifier",
        "sliceName": "epi"
      },
      {
        "id": "Patient.identifier:epi.system",
        "path": "Patient.identifier.system",
        "fixedUri": "https://northwell.fhir.org/patient/identifier/epi"
      },
      {
        "id": "Patient.identifier:spn",
        "path": "Patient.identifier",
        "sliceName": "spn"
      },
      {
        "id": "Patient.identifier:spn.system",
        "path": "Patient.identifier.system",
        "fixedUri": "https://northwell.fhir.org/patient/identifier/spn"
      },
      {
        "id": "Patient.identifier:verato",
        "path": "Patient.identifier",
        "sliceName": "verato",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:verato.system",
        "path": "Patient.identifier.system",
        "fixedUri": "https://northwell.fhir.org/patient/identifier/verato"
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "use"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.name:officialName",
        "path": "Patient.name",
        "sliceName": "officialName",
        "max": "1"
      },
      {
        "id": "Patient.name:officialName.use",
        "path": "Patient.name.use",
        "fixedCode": "official"
      },
      {
        "id": "Patient.name:usualName",
        "path": "Patient.name",
        "sliceName": "usualName",
        "max": "1"
      },
      {
        "id": "Patient.name:usualName.use",
        "path": "Patient.name.use",
        "fixedCode": "usual"
      },
      {
        "id": "Patient.name:maidenName",
        "path": "Patient.name",
        "sliceName": "maidenName",
        "max": "1"
      },
      {
        "id": "Patient.name:maidenName.use",
        "path": "Patient.name.use",
        "fixedCode": "maiden"
      },
      {
        "id": "Patient.contact.relationship",
        "path": "Patient.contact.relationship",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "id"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.contact.relationship:relationshipRole",
        "path": "Patient.contact.relationship",
        "sliceName": "relationshipRole",
        "max": "1"
      },
      {
        "id": "Patient.contact.relationship:relationshipType",
        "path": "Patient.contact.relationship",
        "sliceName": "relationshipType",
        "max": "1"
      }
    ]
  }
}