{
  "resourceType": "StructureDefinition",
  "id": "MyInsurancePlan",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
      "valueString": "Financial.General"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
      "valueCode": "business"
    }
  ],
  "url": "http://example.org/StructureDefinition/MyInsurancePlan",
  "name": "MyInsurancePlan",
  "status": "active",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "InsurancePlan",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/InsurancePlan",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "InsurancePlan.identifier",
        "path": "InsurancePlan.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open",
          "description": "Slice"
        },
        "min": 1
      },
      {
        "id": "InsurancePlan.identifier:NIIP",
        "path": "InsurancePlan.identifier",
        "sliceName": "NIIP",
        "min": 1,
        "max": "1"
      },
      {
        "id": "InsurancePlan.identifier:NIIP.type.coding.code",
        "path": "InsurancePlan.identifier.type.coding.code",
        "patternCode": "NIIP"
      },
      {
        "id": "InsurancePlan.identifier:NIIP.type.coding.display",
        "path": "InsurancePlan.identifier.type.coding.display",
        "patternString": "National Insurance Payor Identifier"
      },
      {
        "id": "InsurancePlan.identifier:NIIP.system",
        "path": "InsurancePlan.identifier.system",
        "min": 1,
        "patternUri": "http://example.org/StructureDefinition/MyPatient"
      },
      {
        "id": "InsurancePlan.identifier:NIIP.value",
        "path": "InsurancePlan.identifier.value",
        "min": 1
      },
      {
        "id": "InsurancePlan.ownedBy",
        "path": "InsurancePlan.ownedBy",
        "min": 1
      }
    ]
  }
}