{
  "resourceType": "StructureDefinition",
  "url": "https://npcr.se/fhir/StructureDefinition/npcr-patient",
  "name": "NPCR_Patient",
  "status": "draft",
  "description": "Profile for prostate cancer patients in the Swedish National Prostate Cancer Register (NPCR).\r\nPatient identification uses Swedish personnummer (OID 1.2.752.129.2.1.3.1, registered by Skatteverket) according to SKV 704:8 format (YYYYMMDDXXXX), with samordningsnummer (SKV 704:2) as alternative for individuals without personnummer.\r\nPatient demographic information (PERSNR, FODELSEDATUM, KON_VALUE) is automatically retrieved by INCA from the Skatteverket Navet service, which provides electronic access to the Swedish population registry. NPCR registrars do not manually enter these basic patient attributes.\r\nBased on NPCR informationsspecifikation v1.6 Section 7.1.3 (Patient class) and Section 10 (OID definitions), and the NPCR Systemvariabler table.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier.system",
        "path": "Patient.identifier.system",
        "min": 1,
        "fixedUri": "urn:oid:1.2.752.129.2.1.3.1"
      },
      {
        "id": "Patient.identifier.value",
        "path": "Patient.identifier.value",
        "min": 1
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "mustSupport": true
      },
      {
        "id": "Patient.name.family",
        "path": "Patient.name.family",
        "mustSupport": true
      },
      {
        "id": "Patient.name.given",
        "path": "Patient.name.given",
        "mustSupport": true
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.birthDate",
        "path": "Patient.birthDate",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.deceased[x]",
        "path": "Patient.deceased[x]",
        "mustSupport": true
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "mustSupport": true
      },
      {
        "id": "Patient.address.line",
        "path": "Patient.address.line",
        "mustSupport": true
      },
      {
        "id": "Patient.address.city",
        "path": "Patient.address.city",
        "mustSupport": true
      },
      {
        "id": "Patient.address.district",
        "path": "Patient.address.district",
        "mustSupport": true
      },
      {
        "id": "Patient.address.state",
        "path": "Patient.address.state",
        "mustSupport": true
      },
      {
        "id": "Patient.address.postalCode",
        "path": "Patient.address.postalCode",
        "mustSupport": true
      },
      {
        "id": "Patient.address.country",
        "path": "Patient.address.country",
        "mustSupport": true
      },
      {
        "id": "Patient.link",
        "path": "Patient.link",
        "mustSupport": true
      }
    ]
  }
}