{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2018-05-17T08:21:07.496+00:00"
  },
  "url": "httpCologneDemoPatient://example.org/fhir/StructureDefinition/",
  "name": "CologneDemoPatient",
  "status": "draft",
  "experimental": true,
  "date": "2018-05-17T08:21:08.019+00:00",
  "publisher": "Michel Rutten",
  "description": "Demo patient profile for HL7 WGM Cologne",
  "copyright": "Copyleft",
  "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",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.extension:location",
        "path": "Patient.extension",
        "sliceName": "location",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://example.org/fhir/StructureDefinition/CologneLocationExtension"
          }
        ]
      },
      {
        "id": "Patient.identifier.system",
        "path": "Patient.identifier.system",
        "fixedUri": "http://example.org/fhir/NamingSystem/GermanSSN"
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.deceased[x]:deceasedDateTime",
        "path": "Patient.deceasedDateTime",
        "sliceName": "deceasedDateTime",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Patient.deceased[x]:deceasedDateTime.extension",
        "path": "Patient.deceasedDateTime.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.deceased[x]:deceasedDateTime.extension:placeOfDeath",
        "path": "Patient.deceasedDateTime.extension",
        "sliceName": "placeOfDeath",
        "type": [
          {
            "code": "Extension",
            "profile": "http://example.org/fhir/StructureDefinition/CologneLocationExtension"
          }
        ]
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "type": [
          {
            "code": "Address",
            "profile": "http://example.org/fhir/StructureDefinition/CologneAddress"
          }
        ]
      },
      {
        "id": "Patient.animal",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "Animal"
          }
        ],
        "path": "Patient.animal",
        "max": "0"
      }
    ]
  }
}