{
  "resourceType": "StructureDefinition",
  "id": "b5d85b2f-115f-409a-8ec4-bd931ce9c897",
  "meta": {
    "versionId": "3",
    "lastUpdated": "2016-12-16T12:57:07.094+00:00"
  },
  "url": "http://helse-nord.no/FHIR/profiles/Identification.Patient/Patient",
  "name": "Identification.Patient.Patient",
  "status": "draft",
  "description": "Structure definition for the Patient resource supported by the Identification.Patient service",
  "kind": "resource",
  "constrainedType": "Patient",
  "abstract": false,
  "base": "http://hl7.org/fhir/StructureDefinition/Patient",
  "differential": {
    "element": [
      {
        "path": "Patient",
        "type": [
          {
            "code": "Patient"
          }
        ]
      },
      {
        "path": "Patient.identifier.id",
        "max": "0"
      },
      {
        "path": "Patient.identifier.use",
        "min": 1
      },
      {
        "path": "Patient.identifier.type",
        "max": "0"
      },
      {
        "path": "Patient.identifier.period",
        "max": "0"
      },
      {
        "path": "Patient.identifier.assigner",
        "max": "0"
      },
      {
        "path": "Patient.active",
        "max": "0"
      },
      {
        "path": "Patient.name.id",
        "max": "0"
      },
      {
        "path": "Patient.name.use",
        "min": 1
      },
      {
        "path": "Patient.name.text",
        "max": "0"
      },
      {
        "path": "Patient.name.family",
        "max": "1"
      },
      {
        "path": "Patient.name.prefix",
        "max": "0"
      },
      {
        "path": "Patient.name.suffix",
        "max": "0"
      },
      {
        "path": "Patient.name.period",
        "max": "0"
      },
      {
        "path": "Patient.telecom",
        "max": "0"
      },
      {
        "path": "Patient.gender",
        "min": 1
      },
      {
        "path": "Patient.birthDate",
        "comments": "Should always be present, but we haven't received a guarantee that it exist in source data so the cardinality is defined as 0..1."
      },
      {
        "path": "Patient.deceased[x]",
        "max": "0"
      },
      {
        "path": "Patient.address.id",
        "max": "0"
      },
      {
        "path": "Patient.address.type",
        "max": "0"
      },
      {
        "path": "Patient.address.text",
        "max": "0"
      },
      {
        "path": "Patient.address.line",
        "max": "1"
      },
      {
        "path": "Patient.address.district",
        "max": "0"
      },
      {
        "path": "Patient.address.state",
        "max": "0"
      },
      {
        "path": "Patient.address.period",
        "max": "0"
      },
      {
        "path": "Patient.maritalStatus",
        "max": "0"
      },
      {
        "path": "Patient.multipleBirth[x]",
        "max": "0"
      },
      {
        "path": "Patient.photo",
        "max": "0"
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "Contact"
          }
        ],
        "path": "Patient.contact",
        "max": "0"
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "Animal"
          }
        ],
        "path": "Patient.animal",
        "max": "0"
      },
      {
        "path": "Patient.communication",
        "max": "0"
      },
      {
        "path": "Patient.careProvider",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://helse-nord.no/FHIR/profiles/Identification.PrimaryPhysician/Practitioner"
            ]
          }
        ]
      },
      {
        "path": "Patient.managingOrganization",
        "max": "0"
      },
      {
        "path": "Patient.link",
        "max": "0"
      }
    ]
  }
}