DIPS Core Implementation Guide
0.1.0 - ci-build Norway

DIPS Core Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: DIPS Condition Subject Reference

Official URL: http://dips.no/fhir/R4/StructureDefinition/DIPSConditionSubjectReference Version: 0.1.0
Draft as of 2026-11-10 Computable Name: DIPSConditionSubjectReference

The patient a DIPS Condition is about, constraining the identifiers the subject reference may carry.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Patient 0..* Patient Information about an individual or animal receiving health care services
Patient.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Patient.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Patient.Slices for identifier This element is included in summaries. 1..* Identifier An identifier for this patient
Slice: Unordered, Open by value:system
Patient.Slices for identifier.identifier:FNR This element is included in summaries. 0..1 Identifier Identification of the Norwegian FNR
Patient.Slices for identifier.identifier:FNR.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.1 (no extensions allowed)
Patient.Slices for identifier.identifier:FNR.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Patient.Slices for identifier.identifier:DNR This element is included in summaries. 0..1 Identifier An identifier for this patient
Patient.Slices for identifier.identifier:DNR.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.2 (no extensions allowed)
Patient.Slices for identifier.identifier:DNR.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Patient.Slices for identifier.identifier:DIPS_NPR_ID This element is included in summaries. 0..1 Identifier An identifier for this patient
Patient.Slices for identifier.identifier:DIPS_NPR_ID.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-nprid (no extensions allowed)
Patient.Slices for identifier.identifier:DIPS_NPR_ID.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Patient.Slices for identifier.identifier:FHN This element is included in summaries. 0..1 Identifier An identifier for this patient
Patient.Slices for identifier.identifier:FHN.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.3 (no extensions allowed)
Patient.Slices for identifier.identifier:FHN.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Patient.Slices for identifier.identifier:DIPS_patientId This element is included in summaries. 0..1 Identifier An identifier for this patient
Patient.Slices for identifier.identifier:DIPS_patientId.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-patientid (no extensions allowed)
Patient.Slices for identifier.identifier:DIPS_patientId.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Patient.active This element is a modifier element. This element is included in summaries. 0..1 boolean Whether this patient's record is in active use
Patient.deceased[x] This element is a modifier element. This element is included in summaries. 0..1 Indicates if the individual is deceased or not
Patient.deceased[x].deceasedBoolean boolean
Patient.deceased[x].deceasedDateTime dateTime
Patient.link This element is a modifier element. This element is included in summaries. 0..* BackboneElement Link to another patient resource that concerns the same actual person
Patient.link.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Patient.link.other This element is included in summaries. 1..1 Reference(Patient | RelatedPerson) The other patient or related person resource that the link refers to
Patient.link.type This element is included in summaries. 1..1 code replaced-by | replaces | refer | seealso
Binding: LinkType (required): The type of link between this patient resource and another patient resource.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Patient.link.type Base required LinkType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Patient If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Patient If 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-4 error Patient If 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-5 error Patient If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Patient A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from Patient

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Patient 0..* Patient Information about an individual or animal receiving health care services
Patient.Slices for identifier 1..* Identifier An identifier for this patient
Slice: Unordered, Open by value:system
Patient.Slices for identifier.identifier:FNR 0..1 Identifier Identification of the Norwegian FNR
Patient.Slices for identifier.identifier:FNR.use 0..0 usual | official | temp | secondary | old (If known)
Patient.Slices for identifier.identifier:FNR.type 0..0 Description of identifier
Patient.Slices for identifier.identifier:FNR.system 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.1 (no extensions allowed)
Patient.Slices for identifier.identifier:FNR.value 1..1 string The value that is unique
Patient.Slices for identifier.identifier:FNR.period 0..0 Time period when id is/was valid for use
Patient.Slices for identifier.identifier:FNR.assigner 0..0 Organization that issued id (may be just text)
Patient.Slices for identifier.identifier:DNR 0..1 Identifier An identifier for this patient
Patient.Slices for identifier.identifier:DNR.use 0..0 usual | official | temp | secondary | old (If known)
Patient.Slices for identifier.identifier:DNR.type 0..0 Description of identifier
Patient.Slices for identifier.identifier:DNR.system 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.2 (no extensions allowed)
Patient.Slices for identifier.identifier:DNR.value 1..1 string The value that is unique
Patient.Slices for identifier.identifier:DNR.period 0..0 Time period when id is/was valid for use
Patient.Slices for identifier.identifier:DNR.assigner 0..0 Organization that issued id (may be just text)
Patient.Slices for identifier.identifier:DIPS_NPR_ID 0..1 Identifier An identifier for this patient
Patient.Slices for identifier.identifier:DIPS_NPR_ID.use 0..0 usual | official | temp | secondary | old (If known)
Patient.Slices for identifier.identifier:DIPS_NPR_ID.type 0..0 Description of identifier
Patient.Slices for identifier.identifier:DIPS_NPR_ID.system 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-nprid (no extensions allowed)
Patient.Slices for identifier.identifier:DIPS_NPR_ID.value 1..1 string The value that is unique
Patient.Slices for identifier.identifier:DIPS_NPR_ID.period 0..0 Time period when id is/was valid for use
Patient.Slices for identifier.identifier:DIPS_NPR_ID.assigner 0..0 Organization that issued id (may be just text)
Patient.Slices for identifier.identifier:FHN 0..1 Identifier An identifier for this patient
Patient.Slices for identifier.identifier:FHN.use 0..0 usual | official | temp | secondary | old (If known)
Patient.Slices for identifier.identifier:FHN.type 0..0 Description of identifier
Patient.Slices for identifier.identifier:FHN.system 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.3 (no extensions allowed)
Patient.Slices for identifier.identifier:FHN.value 1..1 string The value that is unique
Patient.Slices for identifier.identifier:FHN.period 0..0 Time period when id is/was valid for use
Patient.Slices for identifier.identifier:FHN.assigner 0..0 Organization that issued id (may be just text)
Patient.Slices for identifier.identifier:DIPS_patientId 0..1 Identifier An identifier for this patient
Patient.Slices for identifier.identifier:DIPS_patientId.use 0..0 usual | official | temp | secondary | old (If known)
Patient.Slices for identifier.identifier:DIPS_patientId.type 0..0 Description of identifier
Patient.Slices for identifier.identifier:DIPS_patientId.system 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-patientid (no extensions allowed)
Patient.Slices for identifier.identifier:DIPS_patientId.value 1..1 string The value that is unique
Patient.Slices for identifier.identifier:DIPS_patientId.period 0..0 Time period when id is/was valid for use
Patient.Slices for identifier.identifier:DIPS_patientId.assigner 0..0 Organization that issued id (may be just text)

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Patient 0..* Patient Information about an individual or animal receiving health care services
Patient.id This element is included in summaries. 0..1 id Logical id of this artifact
Patient.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Patient.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Patient.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Patient.text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
Patient.contained 0..* Resource Contained, inline Resources
Patient.extension 0..* Extension Additional content defined by implementations
Patient.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Patient.Slices for identifier This element is included in summaries. 1..* Identifier An identifier for this patient
Slice: Unordered, Open by value:system
Patient.Slices for identifier.identifier:FNR This element is included in summaries. 0..1 Identifier Identification of the Norwegian FNR
Patient.Slices for identifier.identifier:FNR.id 0..1 string Unique id for inter-element referencing
Patient.Slices for identifier.identifier:FNR.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for identifier.identifier:FNR.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.1 (no extensions allowed)
Patient.Slices for identifier.identifier:FNR.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Patient.Slices for identifier.identifier:DNR This element is included in summaries. 0..1 Identifier An identifier for this patient
Patient.Slices for identifier.identifier:DNR.id 0..1 string Unique id for inter-element referencing
Patient.Slices for identifier.identifier:DNR.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for identifier.identifier:DNR.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.2 (no extensions allowed)
Patient.Slices for identifier.identifier:DNR.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Patient.Slices for identifier.identifier:DIPS_NPR_ID This element is included in summaries. 0..1 Identifier An identifier for this patient
Patient.Slices for identifier.identifier:DIPS_NPR_ID.id 0..1 string Unique id for inter-element referencing
Patient.Slices for identifier.identifier:DIPS_NPR_ID.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for identifier.identifier:DIPS_NPR_ID.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-nprid (no extensions allowed)
Patient.Slices for identifier.identifier:DIPS_NPR_ID.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Patient.Slices for identifier.identifier:FHN This element is included in summaries. 0..1 Identifier An identifier for this patient
Patient.Slices for identifier.identifier:FHN.id 0..1 string Unique id for inter-element referencing
Patient.Slices for identifier.identifier:FHN.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for identifier.identifier:FHN.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.3 (no extensions allowed)
Patient.Slices for identifier.identifier:FHN.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Patient.Slices for identifier.identifier:DIPS_patientId This element is included in summaries. 0..1 Identifier An identifier for this patient
Patient.Slices for identifier.identifier:DIPS_patientId.id 0..1 string Unique id for inter-element referencing
Patient.Slices for identifier.identifier:DIPS_patientId.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for identifier.identifier:DIPS_patientId.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-patientid (no extensions allowed)
Patient.Slices for identifier.identifier:DIPS_patientId.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Patient.active This element is a modifier element. This element is included in summaries. 0..1 boolean Whether this patient's record is in active use
Patient.name This element is included in summaries. 0..* HumanName A name associated with the patient
Patient.telecom This element is included in summaries. 0..* ContactPoint A contact detail for the individual
Patient.gender This element is included in summaries. 0..1 code male | female | other | unknown
Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.
Patient.birthDate This element is included in summaries. 0..1 date The date of birth for the individual
Patient.deceased[x] This element is a modifier element. This element is included in summaries. 0..1 Indicates if the individual is deceased or not
Patient.deceased[x].deceasedBoolean boolean
Patient.deceased[x].deceasedDateTime dateTime
Patient.address This element is included in summaries. 0..* Address An address for the individual
Patient.maritalStatus 0..1 CodeableConcept Marital (civil) status of a patient
Binding: Marital Status Codes (extensible): The domestic partnership status of a person.
Patient.multipleBirth[x] 0..1 Whether patient is part of a multiple birth
Patient.multipleBirth[x].multipleBirthBoolean boolean
Patient.multipleBirth[x].multipleBirthInteger integer
Patient.photo 0..* Attachment Image of the patient
Patient.contact C 0..* BackboneElement A contact party (e.g. guardian, partner, friend) for the patient
Constraints: pat-1
Patient.contact.id 0..1 string Unique id for inter-element referencing
Patient.contact.extension 0..* Extension Additional content defined by implementations
Patient.contact.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Patient.contact.relationship 0..* CodeableConcept The kind of relationship
Binding: PatientContactRelationship (extensible): The nature of the relationship between a patient and a contact person for that patient.
Patient.contact.name 0..1 HumanName A name associated with the contact person
Patient.contact.telecom 0..* ContactPoint A contact detail for the person
Patient.contact.address 0..1 Address Address for the contact person
Patient.contact.gender 0..1 code male | female | other | unknown
Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.
Patient.contact.organization C 0..1 Reference(Organization) Organization that is associated with the contact
Patient.contact.period 0..1 Period The period during which this contact person or organization is valid to be contacted relating to this patient
Patient.communication 0..* BackboneElement A language which may be used to communicate with the patient about his or her health
Patient.communication.id 0..1 string Unique id for inter-element referencing
Patient.communication.extension 0..* Extension Additional content defined by implementations
Patient.communication.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Patient.communication.language 1..1 CodeableConcept The language which can be used to communicate with the patient about his or her health
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Patient.communication.preferred 0..1 boolean Language preference indicator
Patient.generalPractitioner 0..* Reference(Organization | Practitioner | PractitionerRole) Patient's nominated primary care provider
Patient.managingOrganization This element is included in summaries. 0..1 Reference(Organization) Organization that is the custodian of the patient record
Patient.link This element is a modifier element. This element is included in summaries. 0..* BackboneElement Link to another patient resource that concerns the same actual person
Patient.link.id 0..1 string Unique id for inter-element referencing
Patient.link.extension 0..* Extension Additional content defined by implementations
Patient.link.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Patient.link.other This element is included in summaries. 1..1 Reference(Patient | RelatedPerson) The other patient or related person resource that the link refers to
Patient.link.type This element is included in summaries. 1..1 code replaced-by | replaces | refer | seealso
Binding: LinkType (required): The type of link between this patient resource and another patient resource.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Patient.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Patient.gender Base required AdministrativeGender 📍4.0.1 FHIR Std.
Patient.maritalStatus Base extensible MaritalStatus 📍4.0.1 FHIR Std.
Patient.contact.relationship Base extensible Patient Contact Relationship 📍4.0.1 FHIR Std.
Patient.contact.gender Base required AdministrativeGender 📍4.0.1 FHIR Std.
Patient.communication.​language Base preferred Common Languages 📍4.0.1 FHIR Std.
Patient.link.type Base required LinkType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Patient If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Patient If 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-4 error Patient If 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-5 error Patient If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Patient A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
pat-1 error Patient.contact SHALL at least contain a contact's details or a reference to an organization name.exists() or telecom.exists() or address.exists() or organization.exists()

This structure is derived from Patient

Summary

Mandatory: 1 element(10 nested mandatory elements)
Fixed: 5 elements
Prohibited: 20 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Patient.identifier

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Patient 0..* Patient Information about an individual or animal receiving health care services
Patient.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Patient.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Patient.Slices for identifier This element is included in summaries. 1..* Identifier An identifier for this patient
Slice: Unordered, Open by value:system
Patient.Slices for identifier.identifier:FNR This element is included in summaries. 0..1 Identifier Identification of the Norwegian FNR
Patient.Slices for identifier.identifier:FNR.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.1 (no extensions allowed)
Patient.Slices for identifier.identifier:FNR.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Patient.Slices for identifier.identifier:DNR This element is included in summaries. 0..1 Identifier An identifier for this patient
Patient.Slices for identifier.identifier:DNR.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.2 (no extensions allowed)
Patient.Slices for identifier.identifier:DNR.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Patient.Slices for identifier.identifier:DIPS_NPR_ID This element is included in summaries. 0..1 Identifier An identifier for this patient
Patient.Slices for identifier.identifier:DIPS_NPR_ID.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-nprid (no extensions allowed)
Patient.Slices for identifier.identifier:DIPS_NPR_ID.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Patient.Slices for identifier.identifier:FHN This element is included in summaries. 0..1 Identifier An identifier for this patient
Patient.Slices for identifier.identifier:FHN.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.3 (no extensions allowed)
Patient.Slices for identifier.identifier:FHN.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Patient.Slices for identifier.identifier:DIPS_patientId This element is included in summaries. 0..1 Identifier An identifier for this patient
Patient.Slices for identifier.identifier:DIPS_patientId.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-patientid (no extensions allowed)
Patient.Slices for identifier.identifier:DIPS_patientId.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Patient.active This element is a modifier element. This element is included in summaries. 0..1 boolean Whether this patient's record is in active use
Patient.deceased[x] This element is a modifier element. This element is included in summaries. 0..1 Indicates if the individual is deceased or not
Patient.deceased[x].deceasedBoolean boolean
Patient.deceased[x].deceasedDateTime dateTime
Patient.link This element is a modifier element. This element is included in summaries. 0..* BackboneElement Link to another patient resource that concerns the same actual person
Patient.link.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Patient.link.other This element is included in summaries. 1..1 Reference(Patient | RelatedPerson) The other patient or related person resource that the link refers to
Patient.link.type This element is included in summaries. 1..1 code replaced-by | replaces | refer | seealso
Binding: LinkType (required): The type of link between this patient resource and another patient resource.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Patient.link.type Base required LinkType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Patient If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Patient If 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-4 error Patient If 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-5 error Patient If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Patient A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from Patient

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Patient 0..* Patient Information about an individual or animal receiving health care services
Patient.Slices for identifier 1..* Identifier An identifier for this patient
Slice: Unordered, Open by value:system
Patient.Slices for identifier.identifier:FNR 0..1 Identifier Identification of the Norwegian FNR
Patient.Slices for identifier.identifier:FNR.use 0..0 usual | official | temp | secondary | old (If known)
Patient.Slices for identifier.identifier:FNR.type 0..0 Description of identifier
Patient.Slices for identifier.identifier:FNR.system 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.1 (no extensions allowed)
Patient.Slices for identifier.identifier:FNR.value 1..1 string The value that is unique
Patient.Slices for identifier.identifier:FNR.period 0..0 Time period when id is/was valid for use
Patient.Slices for identifier.identifier:FNR.assigner 0..0 Organization that issued id (may be just text)
Patient.Slices for identifier.identifier:DNR 0..1 Identifier An identifier for this patient
Patient.Slices for identifier.identifier:DNR.use 0..0 usual | official | temp | secondary | old (If known)
Patient.Slices for identifier.identifier:DNR.type 0..0 Description of identifier
Patient.Slices for identifier.identifier:DNR.system 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.2 (no extensions allowed)
Patient.Slices for identifier.identifier:DNR.value 1..1 string The value that is unique
Patient.Slices for identifier.identifier:DNR.period 0..0 Time period when id is/was valid for use
Patient.Slices for identifier.identifier:DNR.assigner 0..0 Organization that issued id (may be just text)
Patient.Slices for identifier.identifier:DIPS_NPR_ID 0..1 Identifier An identifier for this patient
Patient.Slices for identifier.identifier:DIPS_NPR_ID.use 0..0 usual | official | temp | secondary | old (If known)
Patient.Slices for identifier.identifier:DIPS_NPR_ID.type 0..0 Description of identifier
Patient.Slices for identifier.identifier:DIPS_NPR_ID.system 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-nprid (no extensions allowed)
Patient.Slices for identifier.identifier:DIPS_NPR_ID.value 1..1 string The value that is unique
Patient.Slices for identifier.identifier:DIPS_NPR_ID.period 0..0 Time period when id is/was valid for use
Patient.Slices for identifier.identifier:DIPS_NPR_ID.assigner 0..0 Organization that issued id (may be just text)
Patient.Slices for identifier.identifier:FHN 0..1 Identifier An identifier for this patient
Patient.Slices for identifier.identifier:FHN.use 0..0 usual | official | temp | secondary | old (If known)
Patient.Slices for identifier.identifier:FHN.type 0..0 Description of identifier
Patient.Slices for identifier.identifier:FHN.system 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.3 (no extensions allowed)
Patient.Slices for identifier.identifier:FHN.value 1..1 string The value that is unique
Patient.Slices for identifier.identifier:FHN.period 0..0 Time period when id is/was valid for use
Patient.Slices for identifier.identifier:FHN.assigner 0..0 Organization that issued id (may be just text)
Patient.Slices for identifier.identifier:DIPS_patientId 0..1 Identifier An identifier for this patient
Patient.Slices for identifier.identifier:DIPS_patientId.use 0..0 usual | official | temp | secondary | old (If known)
Patient.Slices for identifier.identifier:DIPS_patientId.type 0..0 Description of identifier
Patient.Slices for identifier.identifier:DIPS_patientId.system 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-patientid (no extensions allowed)
Patient.Slices for identifier.identifier:DIPS_patientId.value 1..1 string The value that is unique
Patient.Slices for identifier.identifier:DIPS_patientId.period 0..0 Time period when id is/was valid for use
Patient.Slices for identifier.identifier:DIPS_patientId.assigner 0..0 Organization that issued id (may be just text)

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Patient 0..* Patient Information about an individual or animal receiving health care services
Patient.id This element is included in summaries. 0..1 id Logical id of this artifact
Patient.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Patient.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Patient.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Patient.text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
Patient.contained 0..* Resource Contained, inline Resources
Patient.extension 0..* Extension Additional content defined by implementations
Patient.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Patient.Slices for identifier This element is included in summaries. 1..* Identifier An identifier for this patient
Slice: Unordered, Open by value:system
Patient.Slices for identifier.identifier:FNR This element is included in summaries. 0..1 Identifier Identification of the Norwegian FNR
Patient.Slices for identifier.identifier:FNR.id 0..1 string Unique id for inter-element referencing
Patient.Slices for identifier.identifier:FNR.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for identifier.identifier:FNR.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.1 (no extensions allowed)
Patient.Slices for identifier.identifier:FNR.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Patient.Slices for identifier.identifier:DNR This element is included in summaries. 0..1 Identifier An identifier for this patient
Patient.Slices for identifier.identifier:DNR.id 0..1 string Unique id for inter-element referencing
Patient.Slices for identifier.identifier:DNR.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for identifier.identifier:DNR.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.2 (no extensions allowed)
Patient.Slices for identifier.identifier:DNR.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Patient.Slices for identifier.identifier:DIPS_NPR_ID This element is included in summaries. 0..1 Identifier An identifier for this patient
Patient.Slices for identifier.identifier:DIPS_NPR_ID.id 0..1 string Unique id for inter-element referencing
Patient.Slices for identifier.identifier:DIPS_NPR_ID.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for identifier.identifier:DIPS_NPR_ID.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-nprid (no extensions allowed)
Patient.Slices for identifier.identifier:DIPS_NPR_ID.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Patient.Slices for identifier.identifier:FHN This element is included in summaries. 0..1 Identifier An identifier for this patient
Patient.Slices for identifier.identifier:FHN.id 0..1 string Unique id for inter-element referencing
Patient.Slices for identifier.identifier:FHN.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for identifier.identifier:FHN.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.3 (no extensions allowed)
Patient.Slices for identifier.identifier:FHN.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Patient.Slices for identifier.identifier:DIPS_patientId This element is included in summaries. 0..1 Identifier An identifier for this patient
Patient.Slices for identifier.identifier:DIPS_patientId.id 0..1 string Unique id for inter-element referencing
Patient.Slices for identifier.identifier:DIPS_patientId.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for identifier.identifier:DIPS_patientId.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: http://dips.no/fhir/namingsystem/dips-patientid (no extensions allowed)
Patient.Slices for identifier.identifier:DIPS_patientId.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Patient.active This element is a modifier element. This element is included in summaries. 0..1 boolean Whether this patient's record is in active use
Patient.name This element is included in summaries. 0..* HumanName A name associated with the patient
Patient.telecom This element is included in summaries. 0..* ContactPoint A contact detail for the individual
Patient.gender This element is included in summaries. 0..1 code male | female | other | unknown
Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.
Patient.birthDate This element is included in summaries. 0..1 date The date of birth for the individual
Patient.deceased[x] This element is a modifier element. This element is included in summaries. 0..1 Indicates if the individual is deceased or not
Patient.deceased[x].deceasedBoolean boolean
Patient.deceased[x].deceasedDateTime dateTime
Patient.address This element is included in summaries. 0..* Address An address for the individual
Patient.maritalStatus 0..1 CodeableConcept Marital (civil) status of a patient
Binding: Marital Status Codes (extensible): The domestic partnership status of a person.
Patient.multipleBirth[x] 0..1 Whether patient is part of a multiple birth
Patient.multipleBirth[x].multipleBirthBoolean boolean
Patient.multipleBirth[x].multipleBirthInteger integer
Patient.photo 0..* Attachment Image of the patient
Patient.contact C 0..* BackboneElement A contact party (e.g. guardian, partner, friend) for the patient
Constraints: pat-1
Patient.contact.id 0..1 string Unique id for inter-element referencing
Patient.contact.extension 0..* Extension Additional content defined by implementations
Patient.contact.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Patient.contact.relationship 0..* CodeableConcept The kind of relationship
Binding: PatientContactRelationship (extensible): The nature of the relationship between a patient and a contact person for that patient.
Patient.contact.name 0..1 HumanName A name associated with the contact person
Patient.contact.telecom 0..* ContactPoint A contact detail for the person
Patient.contact.address 0..1 Address Address for the contact person
Patient.contact.gender 0..1 code male | female | other | unknown
Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.
Patient.contact.organization C 0..1 Reference(Organization) Organization that is associated with the contact
Patient.contact.period 0..1 Period The period during which this contact person or organization is valid to be contacted relating to this patient
Patient.communication 0..* BackboneElement A language which may be used to communicate with the patient about his or her health
Patient.communication.id 0..1 string Unique id for inter-element referencing
Patient.communication.extension 0..* Extension Additional content defined by implementations
Patient.communication.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Patient.communication.language 1..1 CodeableConcept The language which can be used to communicate with the patient about his or her health
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Patient.communication.preferred 0..1 boolean Language preference indicator
Patient.generalPractitioner 0..* Reference(Organization | Practitioner | PractitionerRole) Patient's nominated primary care provider
Patient.managingOrganization This element is included in summaries. 0..1 Reference(Organization) Organization that is the custodian of the patient record
Patient.link This element is a modifier element. This element is included in summaries. 0..* BackboneElement Link to another patient resource that concerns the same actual person
Patient.link.id 0..1 string Unique id for inter-element referencing
Patient.link.extension 0..* Extension Additional content defined by implementations
Patient.link.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Patient.link.other This element is included in summaries. 1..1 Reference(Patient | RelatedPerson) The other patient or related person resource that the link refers to
Patient.link.type This element is included in summaries. 1..1 code replaced-by | replaces | refer | seealso
Binding: LinkType (required): The type of link between this patient resource and another patient resource.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Patient.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Patient.gender Base required AdministrativeGender 📍4.0.1 FHIR Std.
Patient.maritalStatus Base extensible MaritalStatus 📍4.0.1 FHIR Std.
Patient.contact.relationship Base extensible Patient Contact Relationship 📍4.0.1 FHIR Std.
Patient.contact.gender Base required AdministrativeGender 📍4.0.1 FHIR Std.
Patient.communication.​language Base preferred Common Languages 📍4.0.1 FHIR Std.
Patient.link.type Base required LinkType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Patient If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Patient If 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-4 error Patient If 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-5 error Patient If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Patient A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
pat-1 error Patient.contact SHALL at least contain a contact's details or a reference to an organization name.exists() or telecom.exists() or address.exists() or organization.exists()

This structure is derived from Patient

Summary

Mandatory: 1 element(10 nested mandatory elements)
Fixed: 5 elements
Prohibited: 20 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Patient.identifier

 

Other representations of profile: CSV, Excel, Schematron