FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagese.electronichealth.fhir.nppr.r5
Resource TypeStructureDefinition
IdStructureDefinition-NPPRRelatedPerson.json
FHIR VersionR5
Sourcehttps://simplifier.net/resolve?scope=se.electronichealth.fhir.nppr.r5@0.1.0-alpha&canonical=http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRRelatedPerson
URLhttp://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRRelatedPerson
Version0.1
Statusactive
NameNPPRRelatedPerson
Realmse
DescriptionNPPRRelatedPerson profile for NPPR
TypeRelatedPerson
Kindresource

Resources that use this resource

StructureDefinition
se.electronichealth.fhir.nppr.r5#0.1.0-alphaNPPRPersonNPPRPerson

Resources that this resource uses

StructureDefinition
se.electronichealth.fhir.nppr.r5#0.1.0-alphaNPPRAddressNPPRAddress
se.electronichealth.fhir.nppr.r5#0.1.0-alphaNPPRContactPointNPPRContactPoint
se.electronichealth.fhir.nppr.r5#0.1.0-alphaNPPRHumanNameNPPRHumanName
se.electronichealth.fhir.nppr.r5#0.1.0-alphaNPPRPatientNPPRPatient
ValueSet
se.electronichealth.fhir.nppr.r5#0.1.0-alphanppr-related-person-roleRelation till person

Narrative

No narrative content found in resource


Source1

{
  "resourceType": "StructureDefinition",
  "id": "NPPRRelatedPerson",
  "url": "http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRRelatedPerson",
  "version": "0.1",
  "name": "NPPRRelatedPerson",
  "status": "active",
  "description": "NPPRRelatedPerson profile for NPPR",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "NPPRRelatedPersonToNPPRPersonMRelTillVardOchOmsorgstagareLogical",
      "uri": "NPPRPersonMedRelationTillVardOchOmsorgstagareLogical"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "RelatedPerson",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "RelatedPerson.meta",
        "path": "RelatedPerson.meta",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.meta.security",
        "path": "RelatedPerson.meta.security",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "NPPRRelatedPersonToNPPRPersonMRelTillVardOchOmsorgstagareLogical",
            "map": "sekretessmarkering"
          },
          {
            "identity": "NPPRRelatedPersonToNPPRPersonMRelTillVardOchOmsorgstagareLogical",
            "map": "skyddadFolkbokforing"
          }
        ]
      },
      {
        "id": "RelatedPerson.meta.security.code",
        "path": "RelatedPerson.meta.security.code",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier",
        "path": "RelatedPerson.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open",
          "ordered": false,
          "description": "Slice on Identifier based on the system value"
        },
        "max": "1",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "NPPRRelatedPersonToNPPRPersonMRelTillVardOchOmsorgstagareLogical",
            "map": "id"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier.system",
        "path": "RelatedPerson.identifier.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier.value",
        "path": "RelatedPerson.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:coordinationNumber",
        "path": "RelatedPerson.identifier",
        "sliceName": "coordinationNumber",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:coordinationNumber.system",
        "path": "RelatedPerson.identifier.system",
        "min": 1,
        "fixedUri": "http://electronichealth.se/identifier/samordningsnummer",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:coordinationNumber.value",
        "path": "RelatedPerson.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:personalIdentityNumber",
        "path": "RelatedPerson.identifier",
        "sliceName": "personalIdentityNumber",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier:personalIdentityNumber.system",
        "path": "RelatedPerson.identifier.system",
        "fixedUri": "http://electronichealth.se/identifier/personnummer"
      },
      {
        "id": "RelatedPerson.patient",
        "path": "RelatedPerson.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRPatient"
            ]
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "NPPRRelatedPersonToNPPRPersonMRelTillVardOchOmsorgstagareLogical",
            "map": "iForhallandeTill(VardOchOmsorgstagareLogical)"
          }
        ]
      },
      {
        "id": "RelatedPerson.relationship",
        "path": "RelatedPerson.relationship",
        "min": 1,
        "max": "1",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "http://electronichealth.se/fhir/NPPR/ValueSet/nppr-related-person-role"
        },
        "mapping": [
          {
            "identity": "NPPRRelatedPersonToNPPRPersonMRelTillVardOchOmsorgstagareLogical",
            "map": "roll"
          }
        ]
      },
      {
        "id": "RelatedPerson.relationship.coding",
        "path": "RelatedPerson.relationship.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.relationship.coding.system",
        "path": "RelatedPerson.relationship.coding.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.relationship.coding.code",
        "path": "RelatedPerson.relationship.coding.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.name",
        "path": "RelatedPerson.name",
        "max": "1",
        "type": [
          {
            "code": "HumanName",
            "profile": [
              "http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRHumanName"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.name.family",
        "path": "RelatedPerson.name.family",
        "mapping": [
          {
            "identity": "NPPRRelatedPersonToNPPRPersonMRelTillVardOchOmsorgstagareLogical",
            "map": "efternamn"
          }
        ]
      },
      {
        "id": "RelatedPerson.name.given",
        "path": "RelatedPerson.name.given",
        "mapping": [
          {
            "identity": "NPPRRelatedPersonToNPPRPersonMRelTillVardOchOmsorgstagareLogical",
            "map": "fornamn"
          }
        ]
      },
      {
        "id": "RelatedPerson.telecom",
        "path": "RelatedPerson.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/NPPRRelatedPerson",
            "severity": "warning",
            "expression": "value.matches('^\\\\+[1-9][0-9]+[%content%]#39;) 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/NPPRRelatedPerson",
            "severity": "warning",
            "expression": "value.matches('(https?|ftp)://(-\\\\.)?([^\\\\s/?\\\\.#-]+\\\\.?)+(/[^\\\\s]*)?[%content%]#39;) 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/NPPRRelatedPerson",
            "severity": "warning",
            "expression": "value.matches('^[\\\\w.-]{1,64}@(?!.{254})[\\\\w.-]+\\\\.[A-Za-z]{2,4}[%content%]#39;) or system != 'email'"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.address",
        "path": "RelatedPerson.address",
        "type": [
          {
            "code": "Address",
            "profile": [
              "http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRAddress"
            ]
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "NPPRRelatedPersonToNPPRPersonMRelTillVardOchOmsorgstagareLogical",
            "map": "har(KontaktuppgiftLogical)"
          }
        ]
      },
      {
        "id": "RelatedPerson.address.extension",
        "path": "RelatedPerson.address.extension",
        "min": 1
      },
      {
        "id": "RelatedPerson.address.extension:officialAddressType",
        "path": "RelatedPerson.address.extension",
        "sliceName": "officialAddressType",
        "min": 1
      }
    ]
  }
}