{
  "resourceType": "StructureDefinition",
  "id": "no-vft-Patient",
  "url": "http://hl7.no/fhir/StructureDefinition/no-vft-Patient",
  "version": "0.0.1",
  "name": "VftPatient",
  "title": "VftPatient",
  "status": "draft",
  "description": "Derived from no basis Patient. This profile defines the minimum patient requirements for the Norwegian \"Welfare technology\" initiative.",
  "fhirVersion": "4.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.no/fhir/StructureDefinition/no-basis-Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.extension:household",
        "path": "Patient.extension",
        "sliceName": "household",
        "short": "Information about the household",
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.no/fhir/StructureDefinition/no-vft-household"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:citizenship",
        "path": "Patient.extension",
        "sliceName": "citizenship"
      },
      {
        "id": "Patient.extension:citizenship.extension:code",
        "path": "Patient.extension.extension",
        "sliceName": "code"
      },
      {
        "id": "Patient.extension:citizenship.extension:code.value[x]",
        "path": "Patient.extension.extension.value[x]",
        "slicing": {
          "rules": "open"
        }
      },
      {
        "id": "Patient.extension:citizenship.extension:period",
        "path": "Patient.extension.extension",
        "sliceName": "period"
      },
      {
        "id": "Patient.extension:citizenship.extension:period.value[x]",
        "path": "Patient.extension.extension.value[x]",
        "slicing": {
          "rules": "open"
        }
      },
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "definition": "An identifier for this patient. Should be a Fødselsnummer, Felles hjelpenummer, D-nummer or locally assigned H-nummer",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:FNR",
        "path": "Patient.identifier",
        "sliceName": "FNR",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:FNR.system",
        "path": "Patient.identifier.system",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:FNR.value",
        "path": "Patient.identifier.value",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:FHN",
        "path": "Patient.identifier",
        "sliceName": "FHN",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:FHN.system",
        "path": "Patient.identifier.system",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:FHN.value",
        "path": "Patient.identifier.value",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:DNR",
        "path": "Patient.identifier",
        "sliceName": "DNR",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:DNR.system",
        "path": "Patient.identifier.system",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:DNR.value",
        "path": "Patient.identifier.value",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:HNR",
        "path": "Patient.identifier",
        "sliceName": "HNR",
        "mustSupport": false
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "min": 1,
        "type": [
          {
            "code": "HumanName",
            "profile": [
              "http://hl7.no/fhir/StructureDefinition/no-vft-HumanName"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.telecom",
        "path": "Patient.telecom",
        "type": [
          {
            "code": "ContactPoint",
            "profile": [
              "http://hl7.no/fhir/StructureDefinition/no-vft-ContactPoint"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.birthDate",
        "path": "Patient.birthDate",
        "mustSupport": true
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "type": [
          {
            "code": "Address",
            "profile": [
              "http://hl7.no/fhir/StructureDefinition/no-vft-Address"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.contact",
        "path": "Patient.contact",
        "mustSupport": true
      },
      {
        "id": "Patient.contact.relationship",
        "path": "Patient.contact.relationship",
        "mustSupport": true
      },
      {
        "id": "Patient.contact.relationship.coding",
        "path": "Patient.contact.relationship.coding",
        "mustSupport": true
      },
      {
        "id": "Patient.contact.relationship.coding.system",
        "path": "Patient.contact.relationship.coding.system",
        "mustSupport": true
      },
      {
        "id": "Patient.contact.relationship.coding.code",
        "path": "Patient.contact.relationship.coding.code",
        "mustSupport": true
      },
      {
        "id": "Patient.contact.telecom",
        "path": "Patient.contact.telecom",
        "type": [
          {
            "code": "ContactPoint",
            "profile": [
              "http://hl7.no/fhir/StructureDefinition/no-vft-ContactPoint"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.generalPractitioner",
        "path": "Patient.generalPractitioner",
        "definition": "The general practitioner of the patient (fastlege)",
        "mustSupport": true
      },
      {
        "id": "Patient.generalPractitioner.reference",
        "path": "Patient.generalPractitioner.reference",
        "min": 1,
        "mustSupport": true
      }
    ]
  }
}