PackagesCanonicalsLogsProblems
    Packages
    se.electronichealth.fhir.nll.r4@1.0.1-alpha
    http://electronichealth.se/fhir/StructureDefinition/NLLRelatedPerson
{
  "description": "Information about a person that is related to a patient. Used in NLL primarily to represent the guardian of a child.",
  "_filename": "NLLRelatedPerson.StructureDefinition.json",
  "package_name": "se.electronichealth.fhir.nll.r4",
  "date": "2022-02-02",
  "derivation": "constraint",
  "publisher": "Swedish eHealth Agency",
  "fhirVersion": "4.0.1",
  "name": "NLLRelatedPerson",
  "mapping": [ {
    "name": "E-hälsomyndigheten concept",
    "identity": "EHM"
  } ],
  "abstract": false,
  "type": "RelatedPerson",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "1.0.1-alpha",
  "status": "active",
  "id": "f7ff0f2c-0204-4102-bf25-254ccbc62033",
  "kind": "resource",
  "url": "http://electronichealth.se/fhir/StructureDefinition/NLLRelatedPerson",
  "version": "1.0.0",
  "differential": {
    "element": [ {
      "id": "RelatedPerson",
      "path": "RelatedPerson",
      "short": "A person that is related to a patient in the form of guardian (sv: vårdnadshavare)",
      "mapping": [ {
        "map": "Vårdnadshavare",
        "identity": "EHM"
      } ],
      "definition": "Represents the relation between a person acting as a guardian (sv: vårdnadshavare) and a patient (child). Only represents a one to one mapping - meaning one care taker and one child."
    }, {
      "id": "RelatedPerson.id",
      "path": "RelatedPerson.id",
      "mapping": [ {
        "map": "Vårdnadshavarrelations-id",
        "identity": "EHM"
      } ],
      "mustSupport": true
    }, {
      "id": "RelatedPerson.identifier",
      "path": "RelatedPerson.identifier",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "system",
          "type": "value"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "RelatedPerson.identifier:pnr",
      "path": "RelatedPerson.identifier",
      "short": "Identifier of related person",
      "mapping": [ {
        "map": "Personnummer",
        "identity": "EHM"
      } ],
      "sliceName": "pnr",
      "definition": "Identifies the related person of the patient, e.g. the guardian.",
      "mustSupport": true
    }, {
      "id": "RelatedPerson.identifier:pnr.system",
      "min": 1,
      "path": "RelatedPerson.identifier.system",
      "fixedUri": "http://electronichealth.se/identifier/personnummer",
      "mustSupport": true
    }, {
      "id": "RelatedPerson.identifier:pnr.value",
      "min": 1,
      "path": "RelatedPerson.identifier.value",
      "short": "The value, swedish national identification number",
      "constraint": [ {
        "key": "swe-id-rule",
        "human": "Personal id must have 12 digits",
        "source": "RelatedPerson",
        "severity": "error",
        "expression": "$this.matches('^\\\\d{12}$')"
      } ],
      "definition": "Value of the identifier, a swedish national identification number which must be a 12 digit numeric value.",
      "mustSupport": true
    }, {
      "id": "RelatedPerson.patient",
      "path": "RelatedPerson.patient",
      "type": [ {
        "code": "Reference",
        "aggregation": [ "referenced" ],
        "targetProfile": [ "http://electronichealth.se/fhir/StructureDefinition/NLLPatient" ]
      } ],
      "mapping": [ {
        "map": "Patientreferens",
        "identity": "EHM"
      } ],
      "definition": "The patient (a child) this person (the guardian) is related to.",
      "mustSupport": true
    }, {
      "id": "RelatedPerson.relationship",
      "max": "1",
      "min": 1,
      "path": "RelatedPerson.relationship",
      "binding": {
        "strength": "required",
        "valueSet": "http://electronichealth.se/fhir/ValueSet/relationship-types"
      },
      "definition": "The nature of the relationship, fixed to GUARD (guardian) sv: vårdnadshavare since NLL currently only supports related person of this type.",
      "mustSupport": true,
      "fixedCodeableConcept": {
        "coding": [ {
          "code": "GUARD",
          "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
        } ]
      }
    }, {
      "id": "RelatedPerson.relationship.coding",
      "max": "1",
      "min": 1,
      "path": "RelatedPerson.relationship.coding",
      "mustSupport": true
    }, {
      "id": "RelatedPerson.relationship.coding.system",
      "min": 1,
      "path": "RelatedPerson.relationship.coding.system",
      "mustSupport": true
    }, {
      "id": "RelatedPerson.relationship.coding.code",
      "min": 1,
      "path": "RelatedPerson.relationship.coding.code",
      "mapping": [ {
        "map": "Relation",
        "identity": "EHM"
      } ],
      "mustSupport": true
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
}