{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2017-05-18T13:18:34.07+00:00"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "pa"
    }
  ],
  "url": "http://example.com/StructureDefinition/SE_Patient",
  "version": "1",
  "name": "SE_Patient",
  "status": "draft",
  "date": "2017-05-18T07:58:24.7232788+00:00",
  "description": "Base StructureDefinition for Patient Resource extended to fit swedish demands",
  "fhirVersion": "3.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "path": "Patient.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "path": "Patient.extension",
        "sliceName": "BirthPlace",
        "short": "Place of Birth for patient",
        "definition": "The registered place of birth of the patient. A sytem may use the address.text if they        don't store the birthPlace address in discrete elements.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/birthPlace"
          }
        ]
      },
      {
        "path": "Patient.name",
        "min": 1
      },
      {
        "path": "Patient.name.family",
        "min": 1
      },
      {
        "path": "Patient.name.given",
        "min": 1
      },
      {
        "path": "Patient.telecom",
        "sliceName": "telecom",
        "label": "telecom",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            },
            {
              "type": "value",
              "path": "value"
            }
          ],
          "description": "jaja",
          "rules": "open"
        },
        "definition": "A contact detail for the individual",
        "min": 1
      },
      {
        "path": "Patient.telecom",
        "sliceName": "email",
        "min": 1,
        "max": "1"
      },
      {
        "path": "Patient.telecom.system",
        "min": 1,
        "fixedCode": "email"
      },
      {
        "path": "Patient.telecom.value",
        "min": 1
      },
      {
        "path": "Patient.telecom",
        "sliceName": "phone",
        "max": "1"
      },
      {
        "path": "Patient.telecom.system",
        "min": 1,
        "fixedCode": "phone"
      },
      {
        "path": "Patient.telecom.value",
        "min": 1
      },
      {
        "path": "Patient.gender",
        "min": 1
      },
      {
        "path": "Patient.birthDate",
        "min": 1
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "Animal"
          }
        ],
        "path": "Patient.animal",
        "max": "0"
      },
      {
        "path": "Patient.generalPractitioner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "StructureDefinition/SE_Practitioner"
          }
        ]
      }
    ]
  }
}