Partage de Documents de Santé en mobilité (PDSm)
3.1.0 - trial-use

This page is part of the Partage de Documents de Santé en mobilité (PDSm) (v3.1.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Resource Profile: PDSm Folder Comprehensive

Official URL: https://interop.esante.gouv.fr/ig/fhir/pdsm/StructureDefinition/pdsm-folder-comprehensive Version: 3.1.0
Active as of 2024-05-29 Computable Name: PDSm_FolderComprehensive

Profil spécifique dérivé du profil IHE MHD « Comprehensive Folder » créé pour le volet ANS “Partage de documents de santé en mobilité” ; ce profil concerne le classeur.

Usage:

Formal Views of Profile Content

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

This structure is derived from FolderComprehensive

NameFlagsCard.TypeDescription & Constraintsdoco
.. List 0..* FolderComprehensive A list is a curated collection of resources
... Slices for extension Content/Rules for all slices
.... extension:designationType 1..1 DesignationType Représente les codes spécifiant le type d’activité de l’événement clinique ayant abouti au regroupement de la fiche d’un document dans ce classeur. Le jeu de valeurs est à définir par le système cible.
... Slices for identifier Content/Rules for all slices
.... identifier:uniqueId S 0..1 UniqueIdIdentifier Identifiant unique du classeur attribué par le système initiateur.
.... identifier:entryUUID S 0..* EntryUUIDIdentifier Identifiant attribué par le système cible.
... status S 1..1 code Représente la pertinence de la version d’un classeur.
... title 1..1 string Représente le titre du classeur.
... code 1..1 CodeableConcept Désigne le cas d’utilisation de la ressource List. Il s’agit ici du classeur.
... subject 1..1 Reference(FR Core Patient Profile) If all resources have the same subject
... date S 1..1 dateTime Représente la date de création du classeur. Cet élément est aussi mis en correspondance avec la date de mise à jour du classeur dans MHD.
... note 0..1 Annotation Représente les commentaires d’un classeur.
... entry 1..* BackboneElement Liste des fiches composant le classeur.
.... item 1..1 Reference(PDSm Comprehensive DocumentReference) Représente la référence à la fiche d'un document faisant partie du classeur.

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. List C 0..* FolderComprehensive A list is a curated collection of resources
lst-1: A list can only have an emptyReason if it is empty
lst-2: The deleted flag can only be used if the mode of the list is "changes"
lst-3: An entry date can only be used if the mode of the list is "working"
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... designationType S 1..1 CodeableConcept Représente les codes spécifiant le type d’activité de l’événement clinique ayant abouti au regroupement de la fiche d’un document dans ce classeur. Le jeu de valeurs est à définir par le système cible.
URL: https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-designationType
... Slices for identifier 0..* Identifier Business identifier
Slice: Unordered, Open by value:use
.... identifier:uniqueId S 0..1 UniqueIdIdentifier Identifiant unique du classeur attribué par le système initiateur.
.... identifier:entryUUID S 0..* EntryUUIDIdentifier Identifiant attribué par le système cible.
... mode ?!Σ 1..1 code Mode de traitement qui s’applique au classeur.
Binding: ListMode (required): The processing mode that applies to this list.


Required Pattern: working
... title Σ 1..1 string Représente le titre du classeur.
Example General: Dr. Jane's Patients
... code Σ 1..1 CodeableConcept Désigne le cas d’utilisation de la ressource List. Il s’agit ici du classeur.
Binding: MHD List Types ValueSet (required)
Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: https://profiles.ihe.net/ITI/MHD/CodeSystem/MHDlistTypes
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: folder
... subject SΣ 1..1 Reference(FR Core Patient Profile) If all resources have the same subject
... date SΣ 1..1 dateTime Représente la date de création du classeur. Cet élément est aussi mis en correspondance avec la date de mise à jour du classeur dans MHD.
... note 0..1 Annotation Représente les commentaires d’un classeur.
... entry C 1..* BackboneElement Liste des fiches composant le classeur.
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... item 1..1 Reference(PDSm Comprehensive DocumentReference) Représente la référence à la fiche d'un document faisant partie du classeur.

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
List.statusrequiredListStatus
http://hl7.org/fhir/ValueSet/list-status|4.0.1
from the FHIR Standard
List.moderequiredPattern: working
http://hl7.org/fhir/ValueSet/list-mode|4.0.1
from the FHIR Standard
List.coderequiredPattern: folder
https://profiles.ihe.net/ITI/MHD/ValueSet/MHDlistTypesVS

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorListIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorListIf 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-4errorListIf 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-5errorListIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceListA 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()
lst-1errorListA list can only have an emptyReason if it is empty
: emptyReason.empty() or entry.empty()
lst-2errorListThe deleted flag can only be used if the mode of the list is "changes"
: mode = 'changes' or entry.deleted.empty()
lst-3errorListAn entry date can only be used if the mode of the list is "working"
: mode = 'working' or entry.date.empty()
NameFlagsCard.TypeDescription & Constraintsdoco
.. List C 0..* FolderComprehensive A list is a curated collection of resources
lst-1: A list can only have an emptyReason if it is empty
lst-2: The deleted flag can only be used if the mode of the list is "changes"
lst-3: An entry date can only be used if the mode of the list is "working"
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


.... tag Σ 0..* Coding Tags 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..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... designationType S 1..1 CodeableConcept Représente les codes spécifiant le type d’activité de l’événement clinique ayant abouti au regroupement de la fiche d’un document dans ce classeur. Le jeu de valeurs est à définir par le système cible.
URL: https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-designationType
... Slices for identifier 0..* Identifier Business identifier
Slice: Unordered, Open by value:use
.... identifier:uniqueId S 0..1 UniqueIdIdentifier Identifiant unique du classeur attribué par le système initiateur.
.... identifier:entryUUID S 0..* EntryUUIDIdentifier Identifiant attribué par le système cible.
... status ?!SΣ 1..1 code Représente la pertinence de la version d’un classeur.
Binding: ListStatus (required): The current state of the list.

... mode ?!Σ 1..1 code Mode de traitement qui s’applique au classeur.
Binding: ListMode (required): The processing mode that applies to this list.


Required Pattern: working
... title Σ 1..1 string Représente le titre du classeur.
Example General: Dr. Jane's Patients
... code Σ 1..1 CodeableConcept Désigne le cas d’utilisation de la ressource List. Il s’agit ici du classeur.
Binding: MHD List Types ValueSet (required)
Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: https://profiles.ihe.net/ITI/MHD/CodeSystem/MHDlistTypes
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: folder
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... subject SΣ 1..1 Reference(FR Core Patient Profile) If all resources have the same subject
... date SΣ 1..1 dateTime Représente la date de création du classeur. Cet élément est aussi mis en correspondance avec la date de mise à jour du classeur dans MHD.
... note 0..1 Annotation Représente les commentaires d’un classeur.
... entry C 1..* BackboneElement Liste des fiches composant le classeur.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... item 1..1 Reference(PDSm Comprehensive DocumentReference) Représente la référence à la fiche d'un document faisant partie du classeur.

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
List.meta.securityextensibleAll Security Labels
http://hl7.org/fhir/ValueSet/security-labels
from the FHIR Standard
List.meta.tagexampleCommonTags
http://hl7.org/fhir/ValueSet/common-tags
from the FHIR Standard
List.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
List.statusrequiredListStatus
http://hl7.org/fhir/ValueSet/list-status|4.0.1
from the FHIR Standard
List.moderequiredPattern: working
http://hl7.org/fhir/ValueSet/list-mode|4.0.1
from the FHIR Standard
List.coderequiredPattern: folder
https://profiles.ihe.net/ITI/MHD/ValueSet/MHDlistTypesVS

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorListIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorListIf 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-4errorListIf 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-5errorListIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceListA 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()
lst-1errorListA list can only have an emptyReason if it is empty
: emptyReason.empty() or entry.empty()
lst-2errorListThe deleted flag can only be used if the mode of the list is "changes"
: mode = 'changes' or entry.deleted.empty()
lst-3errorListAn entry date can only be used if the mode of the list is "working"
: mode = 'working' or entry.date.empty()

This structure is derived from FolderComprehensive

Cannot invoke "Object.hashCode()" because "key" is null

Differential View

This structure is derived from FolderComprehensive

NameFlagsCard.TypeDescription & Constraintsdoco
.. List 0..* FolderComprehensive A list is a curated collection of resources
... Slices for extension Content/Rules for all slices
.... extension:designationType 1..1 DesignationType Représente les codes spécifiant le type d’activité de l’événement clinique ayant abouti au regroupement de la fiche d’un document dans ce classeur. Le jeu de valeurs est à définir par le système cible.
... Slices for identifier Content/Rules for all slices
.... identifier:uniqueId S 0..1 UniqueIdIdentifier Identifiant unique du classeur attribué par le système initiateur.
.... identifier:entryUUID S 0..* EntryUUIDIdentifier Identifiant attribué par le système cible.
... status S 1..1 code Représente la pertinence de la version d’un classeur.
... title 1..1 string Représente le titre du classeur.
... code 1..1 CodeableConcept Désigne le cas d’utilisation de la ressource List. Il s’agit ici du classeur.
... subject 1..1 Reference(FR Core Patient Profile) If all resources have the same subject
... date S 1..1 dateTime Représente la date de création du classeur. Cet élément est aussi mis en correspondance avec la date de mise à jour du classeur dans MHD.
... note 0..1 Annotation Représente les commentaires d’un classeur.
... entry 1..* BackboneElement Liste des fiches composant le classeur.
.... item 1..1 Reference(PDSm Comprehensive DocumentReference) Représente la référence à la fiche d'un document faisant partie du classeur.

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. List C 0..* FolderComprehensive A list is a curated collection of resources
lst-1: A list can only have an emptyReason if it is empty
lst-2: The deleted flag can only be used if the mode of the list is "changes"
lst-3: An entry date can only be used if the mode of the list is "working"
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... designationType S 1..1 CodeableConcept Représente les codes spécifiant le type d’activité de l’événement clinique ayant abouti au regroupement de la fiche d’un document dans ce classeur. Le jeu de valeurs est à définir par le système cible.
URL: https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-designationType
... Slices for identifier 0..* Identifier Business identifier
Slice: Unordered, Open by value:use
.... identifier:uniqueId S 0..1 UniqueIdIdentifier Identifiant unique du classeur attribué par le système initiateur.
.... identifier:entryUUID S 0..* EntryUUIDIdentifier Identifiant attribué par le système cible.
... mode ?!Σ 1..1 code Mode de traitement qui s’applique au classeur.
Binding: ListMode (required): The processing mode that applies to this list.


Required Pattern: working
... title Σ 1..1 string Représente le titre du classeur.
Example General: Dr. Jane's Patients
... code Σ 1..1 CodeableConcept Désigne le cas d’utilisation de la ressource List. Il s’agit ici du classeur.
Binding: MHD List Types ValueSet (required)
Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: https://profiles.ihe.net/ITI/MHD/CodeSystem/MHDlistTypes
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: folder
... subject SΣ 1..1 Reference(FR Core Patient Profile) If all resources have the same subject
... date SΣ 1..1 dateTime Représente la date de création du classeur. Cet élément est aussi mis en correspondance avec la date de mise à jour du classeur dans MHD.
... note 0..1 Annotation Représente les commentaires d’un classeur.
... entry C 1..* BackboneElement Liste des fiches composant le classeur.
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... item 1..1 Reference(PDSm Comprehensive DocumentReference) Représente la référence à la fiche d'un document faisant partie du classeur.

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
List.statusrequiredListStatus
http://hl7.org/fhir/ValueSet/list-status|4.0.1
from the FHIR Standard
List.moderequiredPattern: working
http://hl7.org/fhir/ValueSet/list-mode|4.0.1
from the FHIR Standard
List.coderequiredPattern: folder
https://profiles.ihe.net/ITI/MHD/ValueSet/MHDlistTypesVS

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorListIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorListIf 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-4errorListIf 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-5errorListIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceListA 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()
lst-1errorListA list can only have an emptyReason if it is empty
: emptyReason.empty() or entry.empty()
lst-2errorListThe deleted flag can only be used if the mode of the list is "changes"
: mode = 'changes' or entry.deleted.empty()
lst-3errorListAn entry date can only be used if the mode of the list is "working"
: mode = 'working' or entry.date.empty()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. List C 0..* FolderComprehensive A list is a curated collection of resources
lst-1: A list can only have an emptyReason if it is empty
lst-2: The deleted flag can only be used if the mode of the list is "changes"
lst-3: An entry date can only be used if the mode of the list is "working"
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


.... tag Σ 0..* Coding Tags 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..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... designationType S 1..1 CodeableConcept Représente les codes spécifiant le type d’activité de l’événement clinique ayant abouti au regroupement de la fiche d’un document dans ce classeur. Le jeu de valeurs est à définir par le système cible.
URL: https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-designationType
... Slices for identifier 0..* Identifier Business identifier
Slice: Unordered, Open by value:use
.... identifier:uniqueId S 0..1 UniqueIdIdentifier Identifiant unique du classeur attribué par le système initiateur.
.... identifier:entryUUID S 0..* EntryUUIDIdentifier Identifiant attribué par le système cible.
... status ?!SΣ 1..1 code Représente la pertinence de la version d’un classeur.
Binding: ListStatus (required): The current state of the list.

... mode ?!Σ 1..1 code Mode de traitement qui s’applique au classeur.
Binding: ListMode (required): The processing mode that applies to this list.


Required Pattern: working
... title Σ 1..1 string Représente le titre du classeur.
Example General: Dr. Jane's Patients
... code Σ 1..1 CodeableConcept Désigne le cas d’utilisation de la ressource List. Il s’agit ici du classeur.
Binding: MHD List Types ValueSet (required)
Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: https://profiles.ihe.net/ITI/MHD/CodeSystem/MHDlistTypes
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: folder
..... display 0..1 string Representation defined by the system
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... subject SΣ 1..1 Reference(FR Core Patient Profile) If all resources have the same subject
... date SΣ 1..1 dateTime Représente la date de création du classeur. Cet élément est aussi mis en correspondance avec la date de mise à jour du classeur dans MHD.
... note 0..1 Annotation Représente les commentaires d’un classeur.
... entry C 1..* BackboneElement Liste des fiches composant le classeur.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... item 1..1 Reference(PDSm Comprehensive DocumentReference) Représente la référence à la fiche d'un document faisant partie du classeur.

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
List.meta.securityextensibleAll Security Labels
http://hl7.org/fhir/ValueSet/security-labels
from the FHIR Standard
List.meta.tagexampleCommonTags
http://hl7.org/fhir/ValueSet/common-tags
from the FHIR Standard
List.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
List.statusrequiredListStatus
http://hl7.org/fhir/ValueSet/list-status|4.0.1
from the FHIR Standard
List.moderequiredPattern: working
http://hl7.org/fhir/ValueSet/list-mode|4.0.1
from the FHIR Standard
List.coderequiredPattern: folder
https://profiles.ihe.net/ITI/MHD/ValueSet/MHDlistTypesVS

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorListIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorListIf 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-4errorListIf 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-5errorListIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceListA 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()
lst-1errorListA list can only have an emptyReason if it is empty
: emptyReason.empty() or entry.empty()
lst-2errorListThe deleted flag can only be used if the mode of the list is "changes"
: mode = 'changes' or entry.deleted.empty()
lst-3errorListAn entry date can only be used if the mode of the list is "working"
: mode = 'working' or entry.date.empty()

This structure is derived from FolderComprehensive

Cannot invoke "Object.hashCode()" because "key" is null

 

Other representations of profile: CSV, Excel, Schematron