{
  "resourceType": "StructureDefinition",
  "id": "vkp-Patient-v090",
  "meta": {
    "versionId": "7",
    "lastUpdated": "2018-06-29T10:32:14.139+00:00"
  },
  "url": "http://ehelse.no/fhir/StructureDefinition/vkp-Patient-v090",
  "version": "0.9.0",
  "name": "VkpPatient",
  "status": "draft",
  "date": "2019-11-28",
  "description": "Profile of the no-basis-Patient profile resource. Used in the Norwegian Personal Connected Health project to document Patient information.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.no/fhir/StructureDefinition/no-basis-Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.extension",
        "path": "Patient.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.extension:nationality",
        "path": "Patient.extension",
        "sliceName": "nationality",
        "definition": "The nationality of the patient. should be a country code from ISO 3166-1 code system\r\n\r\nExample:\r\n~~~\r\n{\r\n   \"url\":\"http://hl7.org/fhir/StructureDefinition/patient-nationality\",\r\n   \"extension\": [\r\n   {\r\n      \"url\":\"code\",\r\n      \"valueCodeableConcept\":{\r\n         \"coding\": [\r\n         {\r\n            \"system\":\"urn:iso:std:iso:3166\",\r\n            \"code\":\"NO\"\r\n         }\r\n      ]\r\n      }\r\n      }\r\n   ]\r\n}\r\n~~~"
      },
      {
        "id": "Patient.extension:sone",
        "path": "Patient.extension",
        "sliceName": "sone",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ehelse.no/fhir/StructureDefinition/vkp-sone-v090"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:sone.value[x]",
        "path": "Patient.extension.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.extension:household",
        "path": "Patient.extension",
        "sliceName": "household",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ehelse.no/fhir/StructureDefinition/vkp-household-v090"
            ]
          }
        ]
      },
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "definition": "VKP expects a Norwegian \"fødselsnummer\" as the primary patient identification. \r\n\r\nAn identifier for this patient. Should be at Fødselsnummer, Felles hjelpenummer or D-nummer."
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "type": [
          {
            "code": "Address",
            "profile": [
              "http://ehelse.no/fhir/StructureDefinition/vkp-Address-v090"
            ]
          }
        ]
      },
      {
        "id": "Patient.contact.relationship",
        "path": "Patient.contact.relationship",
        "definition": "VKP can use both coded and text value for relationship. Coded values are given according to HL7 CodeSystem http://hl7.org/fhir/v2/0131/\r\nText values can be free text description of the relationship. Both a textdescription and a coded value can be present.\r\nThe main contact of the patient should be coded as \"C\" - \"Emergency Contact\"\r\n\r\nThe nature of the relationship between the patient and the contact person."
      },
      {
        "id": "Patient.contact.relationship.coding",
        "path": "Patient.contact.relationship.coding",
        "short": "Coded value for the relationship",
        "definition": "Coded value for the relationship"
      },
      {
        "id": "Patient.contact.relationship.text",
        "path": "Patient.contact.relationship.text",
        "short": "Plain text representation of the relationship",
        "definition": "Plain text representation of the relationship"
      },
      {
        "id": "Patient.generalPractitioner",
        "path": "Patient.generalPractitioner",
        "definition": "VKP expects the HER id of the \"tjeneste\" responsible for providing the patient with \"fastlege\" services.\r\n\r\nPatient's nominated care provider."
      }
    ]
  }
}