{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2017-11-03T10:54:39.356+00:00"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "pa"
    }
  ],
  "url": "http://helse-nord.no/fhir/StructureDefinition/Clinical.Patient/Patient_HN",
  "version": "1.0",
  "name": "Patient Helse Nord",
  "title": "Patient Helse Nord",
  "status": "draft",
  "date": "2017-10-29",
  "publisher": "Helse Nord IKT",
  "description": "Helse Nord IKT structuredefinition for Patient.",
  "purpose": "Helse Nord profile for Patient.",
  "fhirVersion": "3.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "Patient.identifier.type",
        "path": "Patient.identifier.type",
        "max": "0"
      },
      {
        "id": "Patient.identifier.value",
        "path": "Patient.identifier.value",
        "meaningWhenMissing": "Empty identifier information from the EPJ system."
      },
      {
        "id": "Patient.identifier.period",
        "path": "Patient.identifier.period",
        "max": "0"
      },
      {
        "id": "Patient.identifier.assigner",
        "path": "Patient.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Patient.name.prefix",
        "path": "Patient.name.prefix",
        "max": "0"
      },
      {
        "id": "Patient.name.suffix",
        "path": "Patient.name.suffix",
        "max": "0"
      },
      {
        "id": "Patient.name.period",
        "path": "Patient.name.period",
        "max": "0"
      },
      {
        "id": "Patient.telecom",
        "path": "Patient.telecom",
        "max": "0"
      },
      {
        "id": "Patient.address.type",
        "path": "Patient.address.type",
        "max": "0"
      },
      {
        "id": "Patient.address.text",
        "path": "Patient.address.text",
        "max": "0"
      },
      {
        "id": "Patient.address.district",
        "path": "Patient.address.district",
        "max": "0"
      },
      {
        "id": "Patient.address.period",
        "path": "Patient.address.period",
        "max": "0"
      },
      {
        "id": "Patient.maritalStatus",
        "path": "Patient.maritalStatus",
        "max": "0"
      },
      {
        "id": "Patient.multipleBirth[x]",
        "path": "Patient.multipleBirth[x]",
        "max": "0"
      },
      {
        "id": "Patient.photo",
        "path": "Patient.photo",
        "max": "0"
      },
      {
        "id": "Patient.contact.extension",
        "path": "Patient.contact.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.contact.extension:ContactExtension",
        "path": "Patient.contact.extension",
        "sliceName": "ContactExtension",
        "type": [
          {
            "code": "Extension",
            "profile": "http://helse-nord.no/fhir/StructureDefinition/Clinical.Patient/ContactIdentifier"
          }
        ]
      },
      {
        "id": "Patient.contact.extension:ContactPractitionerRoleName",
        "path": "Patient.contact.extension",
        "sliceName": "ContactPractitionerRoleName",
        "comment": "Contains the role of the patient's contact person (practitioner).",
        "type": [
          {
            "code": "Extension",
            "profile": "http://helse-nord.no/fhir/StructureDefinition/Clinical.Patient/ContactPractitionerRoleName"
          }
        ]
      },
      {
        "id": "Patient.contact.relationship.coding.version",
        "path": "Patient.contact.relationship.coding.version",
        "max": "0"
      },
      {
        "id": "Patient.contact.relationship.coding.userSelected",
        "path": "Patient.contact.relationship.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Patient.contact.relationship.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Patient.contact.relationship.text",
        "max": "0"
      },
      {
        "id": "Patient.contact.name.prefix",
        "path": "Patient.contact.name.prefix",
        "max": "0"
      },
      {
        "id": "Patient.contact.name.suffix",
        "path": "Patient.contact.name.suffix",
        "max": "0"
      },
      {
        "id": "Patient.contact.name.period",
        "path": "Patient.contact.name.period",
        "max": "0"
      },
      {
        "id": "Patient.contact.telecom.use",
        "path": "Patient.contact.telecom.use",
        "max": "0"
      },
      {
        "id": "Patient.contact.telecom.rank",
        "path": "Patient.contact.telecom.rank",
        "max": "0"
      },
      {
        "id": "Patient.contact.telecom.period",
        "path": "Patient.contact.telecom.period",
        "max": "0"
      },
      {
        "id": "Patient.contact.address",
        "path": "Patient.contact.address",
        "max": "0"
      },
      {
        "id": "Patient.contact.gender",
        "path": "Patient.contact.gender",
        "max": "0"
      },
      {
        "id": "Patient.contact.organization",
        "path": "Patient.contact.organization",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://helse-nord.no/fhir/StructureDefinition/Clinical.Organization/Organization_HN",
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "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",
        "path": "Patient.generalPractitioner",
        "max": "0"
      },
      {
        "id": "Patient.managingOrganization",
        "path": "Patient.managingOrganization",
        "max": "0"
      },
      {
        "id": "Patient.link",
        "path": "Patient.link",
        "max": "0"
      }
    ]
  }
}