PackagesCanonicalsLogsProblems
    Packages
    se.electronichealth.fhir.nppr.r5@0.1.0-alpha
    http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRPerson
{
  "description": "Profile for representing basic data about an individual, comparable to data in the population registry (folkbokföring).",
  "_filename": "StructureDefinition-NPPRPerson.json",
  "package_name": "se.electronichealth.fhir.nppr.r5",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "5.0.0",
  "name": "NPPRPerson",
  "mapping": [ {
    "uri": "NPPRPersonLogical",
    "identity": "NPPRPersonToNPPRPersonLogical"
  } ],
  "abstract": false,
  "type": "Person",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "0.1.0-alpha",
  "status": "active",
  "id": "4aa71f8e-0740-4662-941c-93e5b8055029",
  "kind": "resource",
  "url": "http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRPerson",
  "version": "0.1",
  "differential": {
    "element": [ {
      "id": "Person.meta",
      "path": "Person.meta",
      "mustSupport": true
    }, {
      "id": "Person.meta.security",
      "path": "Person.meta.security",
      "mapping": [ {
        "map": "sekretessmarkering",
        "identity": "NPPRPersonToNPPRPersonLogical"
      }, {
        "map": "skyddadFolkbokforing",
        "identity": "NPPRPersonToNPPRPersonLogical"
      } ],
      "mustSupport": true
    }, {
      "id": "Person.meta.security.code",
      "path": "Person.meta.security.code",
      "mustSupport": true
    }, {
      "id": "Person.identifier",
      "max": "1",
      "min": 1,
      "path": "Person.identifier",
      "mapping": [ {
        "map": "person-id",
        "identity": "NPPRPersonToNPPRPersonLogical"
      } ],
      "slicing": {
        "rules": "open",
        "ordered": false,
        "description": "Slice on Identifier based on the system value",
        "discriminator": [ {
          "path": "system",
          "type": "value"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "Person.identifier.system",
      "min": 1,
      "path": "Person.identifier.system",
      "mustSupport": true
    }, {
      "id": "Person.identifier.value",
      "min": 1,
      "path": "Person.identifier.value",
      "mustSupport": true
    }, {
      "id": "Person.identifier:coordinationNumber",
      "max": "1",
      "min": 0,
      "path": "Person.identifier",
      "sliceName": "coordinationNumber",
      "mustSupport": true
    }, {
      "id": "Person.identifier:coordinationNumber.system",
      "path": "Person.identifier.system",
      "patternUri": "http://electronichealth.se/identifier/samordningsnummer"
    }, {
      "id": "Person.identifier:coordinationNumber.value",
      "min": 1,
      "path": "Person.identifier.value",
      "mustSupport": true
    }, {
      "id": "Person.identifier:personalIdentityNumber",
      "max": "1",
      "min": 0,
      "path": "Person.identifier",
      "sliceName": "personalIdentityNumber",
      "mustSupport": true
    }, {
      "id": "Person.identifier:personalIdentityNumber.system",
      "path": "Person.identifier.system",
      "patternUri": "http://electronichealth.se/identifier/personnummer"
    }, {
      "id": "Person.identifier:personalIdentityNumber.value",
      "min": 1,
      "path": "Person.identifier.value",
      "mustSupport": true
    }, {
      "id": "Person.name",
      "max": "1",
      "min": 1,
      "path": "Person.name",
      "type": [ {
        "code": "HumanName",
        "profile": [ "http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRHumanName" ]
      } ],
      "mustSupport": true
    }, {
      "id": "Person.name.family",
      "min": 1,
      "path": "Person.name.family",
      "mapping": [ {
        "map": "efternamn",
        "identity": "NPPRPersonToNPPRPersonLogical"
      } ]
    }, {
      "id": "Person.name.given",
      "min": 1,
      "path": "Person.name.given",
      "mapping": [ {
        "map": "fornamn",
        "identity": "NPPRPersonToNPPRPersonLogical"
      } ]
    }, {
      "id": "Person.name.given.extension:nameQualifier",
      "path": "Person.name.given.extension",
      "mapping": [ {
        "map": "mellannamn",
        "identity": "NPPRPersonToNPPRPersonLogical"
      }, {
        "map": "tilltalsnamnsmarkering",
        "identity": "NPPRPersonToNPPRPersonLogical"
      } ],
      "sliceName": "nameQualifier"
    }, {
      "id": "Person.telecom",
      "path": "Person.telecom",
      "type": [ {
        "code": "ContactPoint",
        "profile": [ "http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRContactPoint" ]
      } ],
      "constraint": [ {
        "key": "nppr-telecom-phone-1",
        "human": "If telecom.system = #phone, value should follow format +46123456789",
        "source": "http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRPerson",
        "severity": "warning",
        "expression": "value.matches('^\\\\+[1-9][0-9]+$') or system != 'phone'"
      }, {
        "key": "nppr-telecom-url-1",
        "human": "If telecom.system = #url, value should follow valid format. Example: https://example.com",
        "source": "http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRPerson",
        "severity": "warning",
        "expression": "value.matches('(https?|ftp)://(-\\\\.)?([^\\\\s/?\\\\.#-]+\\\\.?)+(/[^\\\\s]*)?$') or system != 'url'"
      }, {
        "key": "nppr-telecom-email-1",
        "human": "If telecom.system = #email, value should follow valid format Example: test@test.com",
        "source": "http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRPerson",
        "severity": "warning",
        "expression": "value.matches('^[\\\\w.-]{1,64}@(?!.{254})[\\\\w.-]+\\\\.[A-Za-z]{2,4}$') or system != 'email'"
      } ],
      "mustSupport": true
    }, {
      "id": "Person.gender",
      "min": 1,
      "path": "Person.gender",
      "binding": {
        "strength": "required",
        "valueSet": "http://electronichealth.se/fhir/NPPR/ValueSet/nppr-administrative-gender"
      },
      "mapping": [ {
        "map": "kon",
        "identity": "NPPRPersonToNPPRPersonLogical"
      } ],
      "mustSupport": true
    }, {
      "id": "Person.birthDate",
      "min": 1,
      "path": "Person.birthDate",
      "mapping": [ {
        "map": "fodelsedatum",
        "identity": "NPPRPersonToNPPRPersonLogical"
      } ],
      "mustSupport": true
    }, {
      "id": "Person.address",
      "path": "Person.address",
      "type": [ {
        "code": "Address",
        "profile": [ "http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRAddress" ]
      } ],
      "mapping": [ {
        "map": "harAdressIFormAv(KontaktuppgiftLogical)",
        "identity": "NPPRPersonToNPPRPersonLogical"
      } ],
      "mustSupport": true
    }, {
      "id": "Person.address.extension",
      "min": 1,
      "path": "Person.address.extension"
    }, {
      "id": "Person.address.extension:officialAddressType",
      "min": 1,
      "path": "Person.address.extension",
      "sliceName": "officialAddressType"
    }, {
      "id": "Person.maritalStatus",
      "min": 1,
      "path": "Person.maritalStatus",
      "binding": {
        "strength": "required",
        "valueSet": "http://electronichealth.se/fhir/NPPR/ValueSet/nppr-marital-status"
      },
      "mapping": [ {
        "map": "civilstand",
        "identity": "NPPRPersonToNPPRPersonLogical"
      } ],
      "mustSupport": true
    }, {
      "id": "Person.maritalStatus.coding",
      "max": "1",
      "min": 1,
      "path": "Person.maritalStatus.coding",
      "mustSupport": true
    }, {
      "id": "Person.maritalStatus.coding.system",
      "min": 1,
      "path": "Person.maritalStatus.coding.system",
      "mustSupport": true
    }, {
      "id": "Person.maritalStatus.coding.code",
      "min": 1,
      "path": "Person.maritalStatus.coding.code",
      "mustSupport": true
    }, {
      "id": "Person.link",
      "path": "Person.link",
      "mustSupport": true
    }, {
      "id": "Person.link.target",
      "path": "Person.link.target",
      "type": [ {
        "code": "Reference",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy",
          "valueBoolean": false
        } ],
        "targetProfile": [ "http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRPatient", "http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRPractitioner", "http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRRelatedPerson" ]
      } ],
      "mapping": [ {
        "map": "harDetaljeradeUppgifterI(VardOchOmsorgstagareLogical)",
        "identity": "NPPRPersonToNPPRPersonLogical"
      } ],
      "mustSupport": true
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Person"
}