description: Profile for representing basic data about a patient. package_name: se.electronichealth.fhir.nppr.r5 derivation: constraint name: NPPRPatient type: Patient elements: address: type: Address mustSupport: true index: 16 extensions: officialAddressType: {url: null, min: 1, _required: true, index: 18} elements: extension: index: 17 slicing: slices: officialAddressType: match: {} schema: {_required: true, index: 18} min: 1 required: [extension] meta: mustSupport: true index: 0 elements: security: mustSupport: true index: 1 elements: code: {mustSupport: true, index: 2} managingOrganization: {mustSupport: true, index: 23} name: type: HumanName mustSupport: true index: 10 elements: family: {index: 11} given: {index: 12} birthDate: {mustSupport: true, index: 15} link: mustSupport: true index: 24 elements: other: type: Reference mustSupport: true refers: ['http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRPatient'] index: 25 type: pattern: {type: Code, value: seealso} mustSupport: true index: 26 identifier: mustSupport: true index: 3 elements: system: {mustSupport: true, index: 4} value: {mustSupport: true, index: 5} required: [value, system] slicing: rules: open ordered: false description: Slice identifier based on the system value discriminator: - {path: system, type: value} min: null slices: personalIdentityNumber: match: {system: 'http://electronichealth.se/identifier/personnummer'} schema: mustSupport: true index: 6 elements: system: pattern: {type: Uri, value: 'http://electronichealth.se/identifier/personnummer'} mustSupport: true index: 7 required: [system] coordinationNumber: match: {system: 'http://electronichealth.se/identifier/samordningsnummer'} schema: mustSupport: true index: 8 elements: system: pattern: {type: Uri, value: 'http://electronichealth.se/identifier/samordningsnummer'} mustSupport: true index: 9 required: [system] telecom: type: ContactPoint constraint: 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]+$'') or system != ''phone'''} 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]*)?$'') or system != ''url'''} 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}$'') or system != ''email'''} mustSupport: true index: 13 gender: {mustSupport: true, index: 14} maritalStatus: binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/NPPR/ValueSet/nppr-marital-status'} mustSupport: true index: 19 elements: coding: mustSupport: true index: 20 elements: system: {mustSupport: true, index: 21} code: {mustSupport: true, index: 22} required: [system, code] required: [coding] package_version: 0.1.0-alpha class: profile kind: resource url: http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRPatient base: http://hl7.org/fhir/StructureDefinition/Patient version: '0.1'