{
  "resourceType": "StructureDefinition",
  "id": "605a6454-b159-4684-af4c-d8b0f24151d5",
  "meta": {
    "lastUpdated": "2019-01-17T11:40:35.691+00:00"
  },
  "url": "http://medico-emr.net/stu3/sd/Patient-Patient-1",
  "name": "Patient-Patient-1",
  "status": "active",
  "date": "2019-01-17T11:40:35.5677831+00:00",
  "description": "Standard profile for a medico patient.\r\nTable: x1000per",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient",
        "path": "Patient",
        "definition": "Standard profile for a medico patient.\r\nTable: x1000per"
      },
      {
        "id": "Patient.id",
        "path": "Patient.id",
        "definition": "Patient-#####\r\nwhere #### is x1000per.per",
        "min": 1
      },
      {
        "id": "Patient.meta",
        "path": "Patient.meta",
        "min": 1,
        "type": [
          {
            "code": "Meta",
            "profile": "http://medico-emr.net/stu3/sd/Meta-ProfileOnly-1"
          }
        ]
      },
      {
        "id": "Patient.meta.profile",
        "path": "Patient.meta.profile",
        "fixedUri": "http://medico-emr.net/stu3/sd/Patient-Patient-1"
      },
      {
        "id": "Patient.implicitRules",
        "path": "Patient.implicitRules",
        "max": "0"
      },
      {
        "id": "Patient.language",
        "path": "Patient.language",
        "max": "0"
      },
      {
        "id": "Patient.text",
        "path": "Patient.text",
        "max": "0"
      },
      {
        "id": "Patient.contained",
        "path": "Patient.contained",
        "max": "0"
      },
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "type.coding.code"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.identifier:medicoResourceId",
        "path": "Patient.identifier",
        "sliceName": "medicoResourceId",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier",
            "profile": "http://medico-emr.net/stu3/sd/Identifier-medicoResourceId-1"
          }
        ]
      },
      {
        "id": "Patient.identifier:medicoResourceId.system",
        "path": "Patient.identifier.system",
        "definition": "Must be a constant underneath http://medico-emr.net/%KUNDE%/sid1/Patient",
        "comment": "see http://en.wikipedia.org/wiki/Uniform_resource_identifier\r\nDynamically resolved for validation\r\n--FixedValue=http://medico-emr.net/%KUNDE%/sid1/Patient"
      },
      {
        "id": "Patient.active",
        "path": "Patient.active",
        "max": "0"
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "max": "1"
      },
      {
        "id": "Patient.name.id",
        "path": "Patient.name.id",
        "max": "0"
      },
      {
        "id": "Patient.name.use",
        "path": "Patient.name.use",
        "fixedCode": "official"
      },
      {
        "id": "Patient.name.text",
        "path": "Patient.name.text",
        "max": "0"
      },
      {
        "id": "Patient.name.given",
        "path": "Patient.name.given",
        "definition": "All names not part of the family name",
        "max": "1"
      },
      {
        "id": "Patient.name.prefix",
        "path": "Patient.name.prefix",
        "definition": "Academic degrees, e.g. Prof.",
        "max": "1"
      },
      {
        "id": "Patient.name.period",
        "path": "Patient.name.period",
        "max": "0"
      },
      {
        "id": "Patient.telecom.id",
        "path": "Patient.telecom.id",
        "max": "0"
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "definition": "Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.\r\nmedico: maps x8901sex.mafe\r\n1 = male\r\n2 = female\r\n3 = other\r\n4 = unknown"
      },
      {
        "id": "Patient.deceased[x]:deceasedDateTime",
        "path": "Patient.deceasedDateTime",
        "sliceName": "deceasedDateTime",
        "max": "0",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Patient.address.district",
        "path": "Patient.address.district",
        "max": "0"
      },
      {
        "id": "Patient.address.state",
        "path": "Patient.address.state",
        "max": "0"
      },
      {
        "id": "Patient.multipleBirth[x]",
        "path": "Patient.multipleBirth[x]",
        "max": "0"
      },
      {
        "id": "Patient.photo",
        "path": "Patient.photo",
        "max": "0"
      },
      {
        "id": "Patient.contact.id",
        "path": "Patient.contact.id",
        "max": "0"
      },
      {
        "id": "Patient.animal",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "Animal"
          }
        ],
        "path": "Patient.animal",
        "max": "0"
      },
      {
        "id": "Patient.communication",
        "path": "Patient.communication",
        "max": "0"
      },
      {
        "id": "Patient.generalPractitioner.id",
        "path": "Patient.generalPractitioner.id",
        "max": "0"
      },
      {
        "id": "Patient.generalPractitioner.identifier",
        "path": "Patient.generalPractitioner.identifier",
        "max": "0"
      },
      {
        "id": "Patient.generalPractitioner.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Patient.generalPractitioner.display",
        "max": "0"
      },
      {
        "id": "Patient.managingOrganization",
        "path": "Patient.managingOrganization",
        "max": "0"
      },
      {
        "id": "Patient.link",
        "path": "Patient.link",
        "max": "0"
      }
    ]
  }
}