{
  "resourceType": "StructureDefinition",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "pa"
    }
  ],
  "url": "https://purl.org/elab/fhir/test/StructureDefinition/1/CustomPatient",
  "version": "1",
  "name": "CustomPatient",
  "status": "active",
  "date": "2017-09-19T09:26:00.1674592Z",
  "description": "Example of a custom profile extending a structure definition other than Basic.",
  "fhirVersion": "3.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"
      },
      {
        "id": "Patient.extension:extensionWithManyTypes",
        "path": "Patient.extension",
        "sliceName": "extensionWithManyTypes",
        "short": "extensionWithManyTypes",
        "definition": "Extension with many types.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": "https://purl.org/elab/fhir/test/StructureDefinition/1/extensionWithManyTypes"
          }
        ]
      },
      {
        "id": "Patient.extension:stringExtension",
        "path": "Patient.extension",
        "sliceName": "stringExtension",
        "short": "stringExtension",
        "definition": "String extension",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": "https://purl.org/elab/fhir/test/StructureDefinition/1/stringExtension"
          }
        ]
      },
      {
        "id": "Patient.extension:codeExtension",
        "path": "Patient.extension",
        "sliceName": "codeExtension",
        "short": "codeExtension",
        "definition": "Code extension",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": "https://purl.org/elab/fhir/test/StructureDefinition/1/codeExtension"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "https://purl.org/elab/fhir/ValueSet/TestValueSet"
          }
        }
      },
      {
        "id": "Patient.extension:codeExtension2",
        "path": "Patient.extension",
        "sliceName": "codeExtension2",
        "short": "codeExtension2",
        "definition": "2nd code extension",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": "https://purl.org/elab/fhir/test/StructureDefinition/1/codeExtension"
          }
        ],
        "binding": {
          "strength": "preferred",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/account-type"
          }
        }
      }
    ]
  }
}