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

FHIR IG analytics

Packagese.electronichealth.fhir.nppr.r5
Resource TypeStructureDefinition
IdStructureDefinition-NPPRPatient.json
FHIR VersionR5
Sourcehttps://simplifier.net/resolve?scope=se.electronichealth.fhir.nppr.r5@0.1.0-alpha&canonical=http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRPatient
URLhttp://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRPatient
Version0.1
Statusactive
NameNPPRPatient
Realmse
DescriptionProfile for representing basic data about a patient.
TypePatient
Kindresource

Resources that use this resource

CapabilityStatement
se.electronichealth.fhir.nppr.r5#0.1.0-alphaNPPRPatientRepositoryCapability
StructureDefinition
se.electronichealth.fhir.nppr.r5#0.1.0-alphaNPPRPatientNPPRPatient
se.electronichealth.fhir.nppr.r5#0.1.0-alphaNPPRPersonNPPRPerson
se.electronichealth.fhir.nppr.r5#0.1.0-alphaNPPRRelatedPersonNPPRRelatedPerson

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-marital-statusCivilstånd

Narrative

No narrative content found in resource


Source1

{
  "resourceType": "StructureDefinition",
  "id": "NPPRPatient",
  "url": "http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRPatient",
  "version": "0.1",
  "name": "NPPRPatient",
  "status": "active",
  "description": "Profile for representing basic data about a patient.",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "NPPRPatientToNPPRVardOchOmsorgstagareLogical",
      "uri": "NPPRVardOchOmsorgstagareLogical"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.meta",
        "path": "Patient.meta",
        "mustSupport": true
      },
      {
        "id": "Patient.meta.security",
        "path": "Patient.meta.security",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "NPPRPatientToNPPRVardOchOmsorgstagareLogical",
            "map": "skyddadFolkbokforing"
          },
          {
            "identity": "NPPRPatientToNPPRVardOchOmsorgstagareLogical",
            "map": "sekretessmarkering"
          }
        ]
      },
      {
        "id": "Patient.meta.security.code",
        "path": "Patient.meta.security.code",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open",
          "ordered": false,
          "description": "Slice identifier based on the system value"
        },
        "mustSupport": true,
        "mapping": [
          {
            "identity": "NPPRPatientToNPPRVardOchOmsorgstagareLogical",
            "map": "id"
          }
        ]
      },
      {
        "id": "Patient.identifier.system",
        "path": "Patient.identifier.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.identifier.value",
        "path": "Patient.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:personalIdentityNumber",
        "path": "Patient.identifier",
        "sliceName": "personalIdentityNumber",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:personalIdentityNumber.system",
        "path": "Patient.identifier.system",
        "min": 1,
        "patternUri": "http://electronichealth.se/identifier/personnummer",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:coordinationNumber",
        "path": "Patient.identifier",
        "sliceName": "coordinationNumber",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:coordinationNumber.system",
        "path": "Patient.identifier.system",
        "min": 1,
        "patternUri": "http://electronichealth.se/identifier/samordningsnummer",
        "mustSupport": true
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "max": "1",
        "type": [
          {
            "code": "HumanName",
            "profile": [
              "http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRHumanName"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.name.family",
        "path": "Patient.name.family",
        "mapping": [
          {
            "identity": "NPPRPatientToNPPRVardOchOmsorgstagareLogical",
            "map": "efternamn"
          }
        ]
      },
      {
        "id": "Patient.name.given",
        "path": "Patient.name.given",
        "mapping": [
          {
            "identity": "NPPRPatientToNPPRVardOchOmsorgstagareLogical",
            "map": "fornamn"
          }
        ]
      },
      {
        "id": "Patient.telecom",
        "path": "Patient.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/NPPRPatient",
            "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/NPPRPatient",
            "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/NPPRPatient",
            "severity": "warning",
            "expression": "value.matches('^[\\\\w.-]{1,64}@(?!.{254})[\\\\w.-]+\\\\.[A-Za-z]{2,4}[%content%]#39;) or system != 'email'"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "NPPRPatientToNPPRVardOchOmsorgstagareLogical",
            "map": "kon"
          }
        ]
      },
      {
        "id": "Patient.birthDate",
        "path": "Patient.birthDate",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "NPPRPatientToNPPRVardOchOmsorgstagareLogical",
            "map": "fodelsedatum"
          }
        ]
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "type": [
          {
            "code": "Address",
            "profile": [
              "http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRAddress"
            ]
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "NPPRPatientToNPPRVardOchOmsorgstagareLogical",
            "map": "har(KontaktuppgiftLogical)"
          }
        ]
      },
      {
        "id": "Patient.address.extension",
        "path": "Patient.address.extension",
        "min": 1
      },
      {
        "id": "Patient.address.extension:officialAddressType",
        "path": "Patient.address.extension",
        "sliceName": "officialAddressType",
        "min": 1
      },
      {
        "id": "Patient.maritalStatus",
        "path": "Patient.maritalStatus",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "http://electronichealth.se/fhir/NPPR/ValueSet/nppr-marital-status"
        },
        "mapping": [
          {
            "identity": "NPPRPatientToNPPRVardOchOmsorgstagareLogical",
            "map": "civilstand"
          }
        ]
      },
      {
        "id": "Patient.maritalStatus.coding",
        "path": "Patient.maritalStatus.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.maritalStatus.coding.system",
        "path": "Patient.maritalStatus.coding.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.maritalStatus.coding.code",
        "path": "Patient.maritalStatus.coding.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.managingOrganization",
        "path": "Patient.managingOrganization",
        "mustSupport": true
      },
      {
        "id": "Patient.link",
        "path": "Patient.link",
        "mustSupport": true
      },
      {
        "id": "Patient.link.other",
        "path": "Patient.link.other",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRPatient"
            ],
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy",
                "valueBoolean": false
              }
            ]
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "NPPRPatientToNPPRVardOchOmsorgstagareLogical",
            "map": "arSammaPersonSom(VardOchOmsorgstagareLogical)"
          }
        ]
      },
      {
        "id": "Patient.link.type",
        "path": "Patient.link.type",
        "fixedCode": "seealso",
        "mustSupport": true
      }
    ]
  }
}