Common FHIR profile vendor collaboration

1.0.0 - release Sweden flag

This page is part of the Common FHIR profile vendor collaboration (v1.0.0: Release) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

Resource Profile: PatientIdentifierPatternConformanceSE

Official URL: https://commonprofiles.care/fhir/StructureDefinition/PatientIdentifierPatternConformanceSE Version: 1.0.0
Active as of 2023-03-17 Computable Name: PatientIdentifierPatternConformanceSE

This profile enables format limitations to be put on the identifier in order to comply with Swedish legislation.

Usage:

  • This Resource Profile is not used by any profiles in this Implementation Guide

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from PatientSEVendorLite

NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient 0..*PatientSEVendorLiteInformation about an individual or animal receiving health care services
... identifier:personnummer 0..1IdentifierAn identifier for this patient
.... value C1..1stringThe value that is unique
personnummer-invariant: All identifiers that identifies as personnummer SHALL comply with the specified regex: ^(18|19|[2-9]\d)\d{2}(0[1-9]|1[012])([0-2]\d|3[0-1])\d{4}
Example General: 191212121212
... identifier:samordningsnummer 0..1IdentifierAn identifier for this patient
.... value C1..1stringThe value that is unique
samordningsnummer-invariant: All identifiers that identifies as samordningsnummer SHALL comply with the specified regex: ^(18|19|[2-9]\d)\d{2}(0[1-9]|1[012])([0-8]\d|9[0-1])\d{4}
Example General: 197010632391

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
personnummer-invarianterrorPatient.identifier:personnummer.valueAll identifiers that identifies as personnummer SHALL comply with the specified regex: ^(18|19|[2-9]\d)\d{2}(0[1-9]|1[012])([0-2]\d|3[0-1])\d{4}
: $this.toString().matches('^(18|19|[2-9]\\d)\\d{2}(0[1-9]|1[012])([0-2]\\d|3[0-1])\\d{4}')
samordningsnummer-invarianterrorPatient.identifier:samordningsnummer.valueAll identifiers that identifies as samordningsnummer SHALL comply with the specified regex: ^(18|19|[2-9]\d)\d{2}(0[1-9]|1[012])([0-8]\d|9[0-1])\d{4}
: $this.toString().matches('^(18|19|[2-9]\\d)\\d{2}(0[1-9]|1[012])([0-8]\\d|9[0-1])\\d{4}')
NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient 0..*PatientSEVendorLiteInformation about an individual or animal receiving health care services
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... Slices for identifier SΣ1..*IdentifierAn identifier for this patient
Slice: Unordered, Open by value:system
.... identifier:personnummer SΣ0..1IdentifierAn identifier for this patient
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://electronichealth.se/identifier/personnummer
..... value ΣC1..1stringThe value that is unique
personnummer-invariant: All identifiers that identifies as personnummer SHALL comply with the specified regex: ^(18|19|[2-9]\d)\d{2}(0[1-9]|1[012])([0-2]\d|3[0-1])\d{4}
Example General: 123456
Example General: 191212121212
.... identifier:samordningsnummer SΣ0..1IdentifierAn identifier for this patient
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://electronichealth.se/identifier/samordningsnummer
..... value ΣC1..1stringThe value that is unique
samordningsnummer-invariant: All identifiers that identifies as samordningsnummer SHALL comply with the specified regex: ^(18|19|[2-9]\d)\d{2}(0[1-9]|1[012])([0-8]\d|9[0-1])\d{4}
Example General: 123456
Example General: 197010632391
.... identifier:nationelltReservnummer SΣ0..1IdentifierAn identifier for this patient
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://electronichealth.se/identifier/nationelltReservnumer
..... value Σ1..1stringThe value that is unique
Example General: 123456
.... middleName 0..1stringSE extension för mellannamn
URL: http://hl7.se/fhir/ig/base/StructureDefinition/SEBaseMiddleNameExtension
.... ownFamily 0..1stringSE extension för explicit efternamn
URL: http://hl7.se/fhir/ig/base/StructureDefinition/SEBaseOwnFamilyExtension
... telecom Σ0..*ContactPointA contact detail for the individual
.... system SΣC1..1codephone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.

.... value SΣ1..1stringThe actual contact point details
.... use ?!Σ0..1codehome | work | temp | old | mobile - purpose of this contact point
Binding: ContactPointUse (required): Use of contact point.

... Slices for deceased[x] ?!Σ0..1booleanIndicates if the individual is deceased or not
Slice: Unordered, Closed by type:$this
.... deceased[x]:deceasedBoolean ?!SΣ0..1booleanIndicates if the individual is deceased or not

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Patient.identifier:personnummer.userequiredIdentifierUse
Patient.identifier:samordningsnummer.userequiredIdentifierUse
Patient.identifier:nationelltReservnummer.userequiredIdentifierUse
Patient.telecom.systemrequiredContactPointSystem
Patient.telecom.userequiredContactPointUse
Patient.address.userequiredAddressUse
Patient.communication.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
Patient.link.typerequiredLinkType

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorPatientIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorPatientIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorPatientIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorPatientIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practicePatientA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
personnummer-invarianterrorPatient.identifier:personnummer.valueAll identifiers that identifies as personnummer SHALL comply with the specified regex: ^(18|19|[2-9]\d)\d{2}(0[1-9]|1[012])([0-2]\d|3[0-1])\d{4}
: $this.toString().matches('^(18|19|[2-9]\\d)\\d{2}(0[1-9]|1[012])([0-2]\\d|3[0-1])\\d{4}')
samordningsnummer-invarianterrorPatient.identifier:samordningsnummer.valueAll identifiers that identifies as samordningsnummer SHALL comply with the specified regex: ^(18|19|[2-9]\d)\d{2}(0[1-9]|1[012])([0-8]\d|9[0-1])\d{4}
: $this.toString().matches('^(18|19|[2-9]\\d)\\d{2}(0[1-9]|1[012])([0-8]\\d|9[0-1])\\d{4}')
NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient 0..*PatientSEVendorLiteInformation about an individual or animal receiving health care services
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ0..1idVersion specific identifier
.... lastUpdated Σ0..1instantWhen the resource version last changed
.... source Σ0..1uriIdentifies where the resource comes from
.... profile Σ0..*canonical(StructureDefinition)Profiles this resource claims to conform to
.... security Σ0..*CodingSecurity Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ0..1uriIdentity of the terminology system
..... version Σ0..1stringVersion of the system - if relevant
..... code Σ0..1codeSymbol in syntax defined by the system
Binding: SE ValueSet security labels (extensible)
..... display Σ0..1stringRepresentation defined by the system
..... userSelected Σ0..1booleanIf this coding was chosen directly by the user
.... tag Σ0..*CodingTags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".


... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... Slices for identifier SΣ1..*IdentifierAn identifier for this patient
Slice: Unordered, Open by value:system
.... identifier:personnummer SΣ0..1IdentifierAn identifier for this patient
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://electronichealth.se/identifier/personnummer
..... value ΣC1..1stringThe value that is unique
personnummer-invariant: All identifiers that identifies as personnummer SHALL comply with the specified regex: ^(18|19|[2-9]\d)\d{2}(0[1-9]|1[012])([0-2]\d|3[0-1])\d{4}
Example General: 123456
Example General: 191212121212
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:samordningsnummer SΣ0..1IdentifierAn identifier for this patient
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://electronichealth.se/identifier/samordningsnummer
..... value ΣC1..1stringThe value that is unique
samordningsnummer-invariant: All identifiers that identifies as samordningsnummer SHALL comply with the specified regex: ^(18|19|[2-9]\d)\d{2}(0[1-9]|1[012])([0-8]\d|9[0-1])\d{4}
Example General: 123456
Example General: 197010632391
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:nationelltReservnummer SΣ0..1IdentifierAn identifier for this patient
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://electronichealth.se/identifier/nationelltReservnumer
..... value Σ1..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... name S0..1SEBaseHumanNameName of a human - parts and usage
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... middleName 0..1stringSE extension för mellannamn
URL: http://hl7.se/fhir/ig/base/StructureDefinition/SEBaseMiddleNameExtension
.... ownFamily 0..1stringSE extension för explicit efternamn
URL: http://hl7.se/fhir/ig/base/StructureDefinition/SEBaseOwnFamilyExtension
.... text Σ0..1stringText representation of the full name
.... family Σ0..1stringFamily name (often called 'Surname')
.... given Σ0..*stringGiven names (not always 'first'). Includes middle names
This repeating element order: Given Names appear in the correct order for presenting the name
..... id 0..1stringxml:id (or equivalent in JSON)
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... nameQualifier 0..1codeLS | AC | NB | PR | HON | BR | AD | SP | MID | CL | IN | VV
URL: http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier
Binding: EntityNamePartQualifier (required): A set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type.


...... id 0..1stringUnique id for inter-element referencing
...... extension 0..0
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"
...... Slices for value[x] 1..1codeValue of extension
Slice: Unordered, Closed by type:$this
Binding: EntityNamePartQualifier (required): A set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type.

....... value[x]:valueCode 1..1codeValue of extension
Binding: SE ValueSet for preferred name (required)
..... value 0..1stringPrimitive value for string
Max Length: 1048576
.... prefix Σ0..*stringParts that come before the name
This repeating element order: Prefixes appear in the correct order for presenting the name
.... suffix Σ0..*stringParts that come after the name
This repeating element order: Suffixes appear in the correct order for presenting the name
... telecom Σ0..*ContactPointA contact detail for the individual
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... system SΣC1..1codephone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.

.... value SΣ1..1stringThe actual contact point details
.... use ?!Σ0..1codehome | work | temp | old | mobile - purpose of this contact point
Binding: ContactPointUse (required): Use of contact point.

.... rank Σ0..1positiveIntSpecify preferred order of use (1 = highest)
... gender Σ0..1codemale | female | other | unknown
Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.

... birthDate Σ0..1dateThe date of birth for the individual
... Slices for deceased[x] ?!Σ0..1booleanIndicates if the individual is deceased or not
Slice: Unordered, Closed by type:$this
.... deceased[x]:deceasedBoolean ?!SΣ0..1booleanIndicates if the individual is deceased or not

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Patient.meta.securityextensibleAll Security Labels
Patient.meta.security.codeextensibleSecurityLabelVS
Patient.meta.tagexampleCommonTags
Patient.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
Patient.identifier:personnummer.userequiredIdentifierUse
Patient.identifier:personnummer.typeextensibleIdentifier Type Codes
Patient.identifier:samordningsnummer.userequiredIdentifierUse
Patient.identifier:samordningsnummer.typeextensibleIdentifier Type Codes
Patient.identifier:nationelltReservnummer.userequiredIdentifierUse
Patient.identifier:nationelltReservnummer.typeextensibleIdentifier Type Codes
Patient.name.given.extension:nameQualifier.value[x]requiredEntityNamePartQualifier
Patient.name.given.extension:nameQualifier.value[x]:valueCoderequiredSEBaseNamePartQualifierVS
Patient.telecom.systemrequiredContactPointSystem
Patient.telecom.userequiredContactPointUse
Patient.genderrequiredAdministrativeGender
Patient.address.userequiredAddressUse
Patient.address.typerequiredAddressType
Patient.contact.relationshipextensiblePatientContactRelationship
Patient.contact.genderrequiredAdministrativeGender
Patient.communication.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
Patient.link.typerequiredLinkType

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
personnummer-invarianterrorPatient.identifier:personnummer.valueAll identifiers that identifies as personnummer SHALL comply with the specified regex: ^(18|19|[2-9]\d)\d{2}(0[1-9]|1[012])([0-2]\d|3[0-1])\d{4}
: $this.toString().matches('^(18|19|[2-9]\\d)\\d{2}(0[1-9]|1[012])([0-2]\\d|3[0-1])\\d{4}')
samordningsnummer-invarianterrorPatient.identifier:samordningsnummer.valueAll identifiers that identifies as samordningsnummer SHALL comply with the specified regex: ^(18|19|[2-9]\d)\d{2}(0[1-9]|1[012])([0-8]\d|9[0-1])\d{4}
: $this.toString().matches('^(18|19|[2-9]\\d)\\d{2}(0[1-9]|1[012])([0-8]\\d|9[0-1])\\d{4}')

This structure is derived from PatientSEVendorLite

Summary

Differential View

This structure is derived from PatientSEVendorLite

NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient 0..*PatientSEVendorLiteInformation about an individual or animal receiving health care services
... identifier:personnummer 0..1IdentifierAn identifier for this patient
.... value C1..1stringThe value that is unique
personnummer-invariant: All identifiers that identifies as personnummer SHALL comply with the specified regex: ^(18|19|[2-9]\d)\d{2}(0[1-9]|1[012])([0-2]\d|3[0-1])\d{4}
Example General: 191212121212
... identifier:samordningsnummer 0..1IdentifierAn identifier for this patient
.... value C1..1stringThe value that is unique
samordningsnummer-invariant: All identifiers that identifies as samordningsnummer SHALL comply with the specified regex: ^(18|19|[2-9]\d)\d{2}(0[1-9]|1[012])([0-8]\d|9[0-1])\d{4}
Example General: 197010632391

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
personnummer-invarianterrorPatient.identifier:personnummer.valueAll identifiers that identifies as personnummer SHALL comply with the specified regex: ^(18|19|[2-9]\d)\d{2}(0[1-9]|1[012])([0-2]\d|3[0-1])\d{4}
: $this.toString().matches('^(18|19|[2-9]\\d)\\d{2}(0[1-9]|1[012])([0-2]\\d|3[0-1])\\d{4}')
samordningsnummer-invarianterrorPatient.identifier:samordningsnummer.valueAll identifiers that identifies as samordningsnummer SHALL comply with the specified regex: ^(18|19|[2-9]\d)\d{2}(0[1-9]|1[012])([0-8]\d|9[0-1])\d{4}
: $this.toString().matches('^(18|19|[2-9]\\d)\\d{2}(0[1-9]|1[012])([0-8]\\d|9[0-1])\\d{4}')

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient 0..*PatientSEVendorLiteInformation about an individual or animal receiving health care services
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... Slices for identifier SΣ1..*IdentifierAn identifier for this patient
Slice: Unordered, Open by value:system
.... identifier:personnummer SΣ0..1IdentifierAn identifier for this patient
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://electronichealth.se/identifier/personnummer
..... value ΣC1..1stringThe value that is unique
personnummer-invariant: All identifiers that identifies as personnummer SHALL comply with the specified regex: ^(18|19|[2-9]\d)\d{2}(0[1-9]|1[012])([0-2]\d|3[0-1])\d{4}
Example General: 123456
Example General: 191212121212
.... identifier:samordningsnummer SΣ0..1IdentifierAn identifier for this patient
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://electronichealth.se/identifier/samordningsnummer
..... value ΣC1..1stringThe value that is unique
samordningsnummer-invariant: All identifiers that identifies as samordningsnummer SHALL comply with the specified regex: ^(18|19|[2-9]\d)\d{2}(0[1-9]|1[012])([0-8]\d|9[0-1])\d{4}
Example General: 123456
Example General: 197010632391
.... identifier:nationelltReservnummer SΣ0..1IdentifierAn identifier for this patient
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://electronichealth.se/identifier/nationelltReservnumer
..... value Σ1..1stringThe value that is unique
Example General: 123456
.... middleName 0..1stringSE extension för mellannamn
URL: http://hl7.se/fhir/ig/base/StructureDefinition/SEBaseMiddleNameExtension
.... ownFamily 0..1stringSE extension för explicit efternamn
URL: http://hl7.se/fhir/ig/base/StructureDefinition/SEBaseOwnFamilyExtension
... telecom Σ0..*ContactPointA contact detail for the individual
.... system SΣC1..1codephone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.

.... value SΣ1..1stringThe actual contact point details
.... use ?!Σ0..1codehome | work | temp | old | mobile - purpose of this contact point
Binding: ContactPointUse (required): Use of contact point.

... Slices for deceased[x] ?!Σ0..1booleanIndicates if the individual is deceased or not
Slice: Unordered, Closed by type:$this
.... deceased[x]:deceasedBoolean ?!SΣ0..1booleanIndicates if the individual is deceased or not

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Patient.identifier:personnummer.userequiredIdentifierUse
Patient.identifier:samordningsnummer.userequiredIdentifierUse
Patient.identifier:nationelltReservnummer.userequiredIdentifierUse
Patient.telecom.systemrequiredContactPointSystem
Patient.telecom.userequiredContactPointUse
Patient.address.userequiredAddressUse
Patient.communication.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
Patient.link.typerequiredLinkType

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorPatientIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorPatientIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorPatientIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorPatientIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practicePatientA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
personnummer-invarianterrorPatient.identifier:personnummer.valueAll identifiers that identifies as personnummer SHALL comply with the specified regex: ^(18|19|[2-9]\d)\d{2}(0[1-9]|1[012])([0-2]\d|3[0-1])\d{4}
: $this.toString().matches('^(18|19|[2-9]\\d)\\d{2}(0[1-9]|1[012])([0-2]\\d|3[0-1])\\d{4}')
samordningsnummer-invarianterrorPatient.identifier:samordningsnummer.valueAll identifiers that identifies as samordningsnummer SHALL comply with the specified regex: ^(18|19|[2-9]\d)\d{2}(0[1-9]|1[012])([0-8]\d|9[0-1])\d{4}
: $this.toString().matches('^(18|19|[2-9]\\d)\\d{2}(0[1-9]|1[012])([0-8]\\d|9[0-1])\\d{4}')

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient 0..*PatientSEVendorLiteInformation about an individual or animal receiving health care services
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ0..1idVersion specific identifier
.... lastUpdated Σ0..1instantWhen the resource version last changed
.... source Σ0..1uriIdentifies where the resource comes from
.... profile Σ0..*canonical(StructureDefinition)Profiles this resource claims to conform to
.... security Σ0..*CodingSecurity Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ0..1uriIdentity of the terminology system
..... version Σ0..1stringVersion of the system - if relevant
..... code Σ0..1codeSymbol in syntax defined by the system
Binding: SE ValueSet security labels (extensible)
..... display Σ0..1stringRepresentation defined by the system
..... userSelected Σ0..1booleanIf this coding was chosen directly by the user
.... tag Σ0..*CodingTags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".


... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... Slices for identifier SΣ1..*IdentifierAn identifier for this patient
Slice: Unordered, Open by value:system
.... identifier:personnummer SΣ0..1IdentifierAn identifier for this patient
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://electronichealth.se/identifier/personnummer
..... value ΣC1..1stringThe value that is unique
personnummer-invariant: All identifiers that identifies as personnummer SHALL comply with the specified regex: ^(18|19|[2-9]\d)\d{2}(0[1-9]|1[012])([0-2]\d|3[0-1])\d{4}
Example General: 123456
Example General: 191212121212
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:samordningsnummer SΣ0..1IdentifierAn identifier for this patient
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://electronichealth.se/identifier/samordningsnummer
..... value ΣC1..1stringThe value that is unique
samordningsnummer-invariant: All identifiers that identifies as samordningsnummer SHALL comply with the specified regex: ^(18|19|[2-9]\d)\d{2}(0[1-9]|1[012])([0-8]\d|9[0-1])\d{4}
Example General: 123456
Example General: 197010632391
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:nationelltReservnummer SΣ0..1IdentifierAn identifier for this patient
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: http://electronichealth.se/identifier/nationelltReservnumer
..... value Σ1..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... name S0..1SEBaseHumanNameName of a human - parts and usage
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... middleName 0..1stringSE extension för mellannamn
URL: http://hl7.se/fhir/ig/base/StructureDefinition/SEBaseMiddleNameExtension
.... ownFamily 0..1stringSE extension för explicit efternamn
URL: http://hl7.se/fhir/ig/base/StructureDefinition/SEBaseOwnFamilyExtension
.... text Σ0..1stringText representation of the full name
.... family Σ0..1stringFamily name (often called 'Surname')
.... given Σ0..*stringGiven names (not always 'first'). Includes middle names
This repeating element order: Given Names appear in the correct order for presenting the name
..... id 0..1stringxml:id (or equivalent in JSON)
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... nameQualifier 0..1codeLS | AC | NB | PR | HON | BR | AD | SP | MID | CL | IN | VV
URL: http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier
Binding: EntityNamePartQualifier (required): A set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type.


...... id 0..1stringUnique id for inter-element referencing
...... extension 0..0
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"
...... Slices for value[x] 1..1codeValue of extension
Slice: Unordered, Closed by type:$this
Binding: EntityNamePartQualifier (required): A set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type.

....... value[x]:valueCode 1..1codeValue of extension
Binding: SE ValueSet for preferred name (required)
..... value 0..1stringPrimitive value for string
Max Length: 1048576
.... prefix Σ0..*stringParts that come before the name
This repeating element order: Prefixes appear in the correct order for presenting the name
.... suffix Σ0..*stringParts that come after the name
This repeating element order: Suffixes appear in the correct order for presenting the name
... telecom Σ0..*ContactPointA contact detail for the individual
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... system SΣC1..1codephone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.

.... value SΣ1..1stringThe actual contact point details
.... use ?!Σ0..1codehome | work | temp | old | mobile - purpose of this contact point
Binding: ContactPointUse (required): Use of contact point.

.... rank Σ0..1positiveIntSpecify preferred order of use (1 = highest)
... gender Σ0..1codemale | female | other | unknown
Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.

... birthDate Σ0..1dateThe date of birth for the individual
... Slices for deceased[x] ?!Σ0..1booleanIndicates if the individual is deceased or not
Slice: Unordered, Closed by type:$this
.... deceased[x]:deceasedBoolean ?!SΣ0..1booleanIndicates if the individual is deceased or not

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Patient.meta.securityextensibleAll Security Labels
Patient.meta.security.codeextensibleSecurityLabelVS
Patient.meta.tagexampleCommonTags
Patient.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
Patient.identifier:personnummer.userequiredIdentifierUse
Patient.identifier:personnummer.typeextensibleIdentifier Type Codes
Patient.identifier:samordningsnummer.userequiredIdentifierUse
Patient.identifier:samordningsnummer.typeextensibleIdentifier Type Codes
Patient.identifier:nationelltReservnummer.userequiredIdentifierUse
Patient.identifier:nationelltReservnummer.typeextensibleIdentifier Type Codes
Patient.name.given.extension:nameQualifier.value[x]requiredEntityNamePartQualifier
Patient.name.given.extension:nameQualifier.value[x]:valueCoderequiredSEBaseNamePartQualifierVS
Patient.telecom.systemrequiredContactPointSystem
Patient.telecom.userequiredContactPointUse
Patient.genderrequiredAdministrativeGender
Patient.address.userequiredAddressUse
Patient.address.typerequiredAddressType
Patient.contact.relationshipextensiblePatientContactRelationship
Patient.contact.genderrequiredAdministrativeGender
Patient.communication.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
Patient.link.typerequiredLinkType

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
personnummer-invarianterrorPatient.identifier:personnummer.valueAll identifiers that identifies as personnummer SHALL comply with the specified regex: ^(18|19|[2-9]\d)\d{2}(0[1-9]|1[012])([0-2]\d|3[0-1])\d{4}
: $this.toString().matches('^(18|19|[2-9]\\d)\\d{2}(0[1-9]|1[012])([0-2]\\d|3[0-1])\\d{4}')
samordningsnummer-invarianterrorPatient.identifier:samordningsnummer.valueAll identifiers that identifies as samordningsnummer SHALL comply with the specified regex: ^(18|19|[2-9]\d)\d{2}(0[1-9]|1[012])([0-8]\d|9[0-1])\d{4}
: $this.toString().matches('^(18|19|[2-9]\\d)\\d{2}(0[1-9]|1[012])([0-8]\\d|9[0-1])\\d{4}')

This structure is derived from PatientSEVendorLite

Summary

 

Other representations of profile: CSV, Excel, Schematron