Extensions for Using Data Elements from FHIR STU3 in FHIR R4 - Downloaded Version null See the Directory of published versions
| Official URL: http://hl7.org/fhir/3.0/StructureDefinition/profile-NamingSystem | Version: 0.1.0 | |||
| Standards status: Trial-use | Maturity Level: 0 | Computable Name: Profile_R3_NamingSystem_R4 | ||
This cross-version profile allows STU3 NamingSystem content to be represented via FHIR R4 NamingSystem resources.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | NamingSystem(4.0.1) | System of unique identification Constraints: nsd-0, nsd-1, nsd-2 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for STU3.NamingSystem for use in FHIR R4(0.1.0) | NamingSystem) | STU3: Use this instead (new) URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-NamingSystem.replacedBy Constraints: ext-1 | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
ΣC | 1..1 | string | Name for this naming system (computer friendly) |
![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. |
![]() ![]() |
Σ | 1..1 | code | codesystem | identifier | root Binding: NamingSystemType (required): Identifies the purpose of the naming system. |
![]() ![]() |
Σ | 1..1 | dateTime | Date last changed |
![]() ![]() |
Σ | 1..* | BackboneElement | Unique identifiers used for system |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() |
Σ | 1..1 | code | oid | uuid | uri | other Binding: NamingSystemIdentifierType (required): Identifies the style of unique identifier used to identify a namespace. |
![]() ![]() ![]() |
Σ | 1..1 | string | The unique identifier |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| NamingSystem.status | Base | required | PublicationStatus | 📍4.0.1 | FHIR Std. |
| NamingSystem.kind | Base | required | NamingSystemType | 📍4.0.1 | FHIR Std. |
| NamingSystem.uniqueId.type | Base | required | NamingSystemIdentifierType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | NamingSystem | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | NamingSystem | 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 | NamingSystem | 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 | NamingSystem | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | NamingSystem | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | NamingSystem.implicitRules, NamingSystem.extension, NamingSystem.extension:replacedBy, NamingSystem.modifierExtension, NamingSystem.name, NamingSystem.status, NamingSystem.kind, NamingSystem.date, NamingSystem.uniqueId, NamingSystem.uniqueId.modifierExtension, NamingSystem.uniqueId.type, NamingSystem.uniqueId.value | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | NamingSystem.extension, NamingSystem.extension:replacedBy, NamingSystem.modifierExtension, NamingSystem.uniqueId.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| nsd-0 | warning | NamingSystem | Name should be usable as an identifier for the module by machine processing applications such as code generation |
name.matches('[A-Z]([A-Za-z0-9_]){0,254}')
|
| nsd-1 | error | NamingSystem | Root systems cannot have uuid identifiers |
kind != 'root' or uniqueId.all(type != 'uuid')
|
| nsd-2 | error | NamingSystem | Can't have more than one preferred identifier for a type |
uniqueId.where(preferred = true).select(type).isDistinct()
|
This structure is derived from NamingSystem
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | NamingSystem(4.0.1) | System of unique identification | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for STU3.NamingSystem for use in FHIR R4(0.1.0) | NamingSystem) | STU3: Use this instead (new) URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-NamingSystem.replacedBy | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | NamingSystem(4.0.1) | System of unique identification Constraints: nsd-0, nsd-1, nsd-2 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for STU3.NamingSystem for use in FHIR R4(0.1.0) | NamingSystem) | STU3: Use this instead (new) URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-NamingSystem.replacedBy Constraints: ext-1 | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
ΣC | 1..1 | string | Name for this naming system (computer friendly) | ||||
![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. | ||||
![]() ![]() |
Σ | 1..1 | code | codesystem | identifier | root Binding: NamingSystemType (required): Identifies the purpose of the naming system. | ||||
![]() ![]() |
Σ | 1..1 | dateTime | Date last changed | ||||
![]() ![]() |
Σ | 0..1 | string | Name of the publisher (organization or individual) | ||||
![]() ![]() |
Σ | 0..* | ContactDetail | Contact details for the publisher | ||||
![]() ![]() |
0..1 | string | Who maintains system namespace? | |||||
![]() ![]() |
0..1 | CodeableConcept | e.g. driver, provider, patient, bank etc. 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. | |||||
![]() ![]() |
0..1 | markdown | Natural language description of the naming system | |||||
![]() ![]() |
Σ | 0..* | UsageContext | The context that the content is intended to support | ||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Intended jurisdiction for naming system (if applicable) Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use. | ||||
![]() ![]() |
0..1 | string | How/where is it used | |||||
![]() ![]() |
Σ | 1..* | BackboneElement | Unique identifiers used for system | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 1..1 | code | oid | uuid | uri | other Binding: NamingSystemIdentifierType (required): Identifies the style of unique identifier used to identify a namespace. | ||||
![]() ![]() ![]() |
Σ | 1..1 | string | The unique identifier | ||||
![]() ![]() ![]() |
0..1 | boolean | Is this the id that should be used for this type | |||||
![]() ![]() ![]() |
0..1 | string | Notes about identifier usage | |||||
![]() ![]() ![]() |
0..1 | Period | When is identifier valid? | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| NamingSystem.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| NamingSystem.status | Base | required | PublicationStatus | 📍4.0.1 | FHIR Std. |
| NamingSystem.kind | Base | required | NamingSystemType | 📍4.0.1 | FHIR Std. |
| NamingSystem.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| NamingSystem.jurisdiction | Base | extensible | Jurisdiction | 📍4.0.1 | FHIR Std. |
| NamingSystem.uniqueId.type | Base | required | NamingSystemIdentifierType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | NamingSystem | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | NamingSystem | 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 | NamingSystem | 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 | NamingSystem | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | NamingSystem | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | NamingSystem.meta, NamingSystem.implicitRules, NamingSystem.language, NamingSystem.text, NamingSystem.extension, NamingSystem.extension:replacedBy, NamingSystem.modifierExtension, NamingSystem.name, NamingSystem.status, NamingSystem.kind, NamingSystem.date, NamingSystem.publisher, NamingSystem.contact, NamingSystem.responsible, NamingSystem.type, NamingSystem.description, NamingSystem.useContext, NamingSystem.jurisdiction, NamingSystem.usage, NamingSystem.uniqueId, NamingSystem.uniqueId.extension, NamingSystem.uniqueId.modifierExtension, NamingSystem.uniqueId.type, NamingSystem.uniqueId.value, NamingSystem.uniqueId.preferred, NamingSystem.uniqueId.comment, NamingSystem.uniqueId.period | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | NamingSystem.extension, NamingSystem.extension:replacedBy, NamingSystem.modifierExtension, NamingSystem.uniqueId.extension, NamingSystem.uniqueId.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| nsd-0 | warning | NamingSystem | Name should be usable as an identifier for the module by machine processing applications such as code generation |
name.matches('[A-Z]([A-Za-z0-9_]){0,254}')
|
| nsd-1 | error | NamingSystem | Root systems cannot have uuid identifiers |
kind != 'root' or uniqueId.all(type != 'uuid')
|
| nsd-2 | error | NamingSystem | Can't have more than one preferred identifier for a type |
uniqueId.where(preferred = true).select(type).isDistinct()
|
This structure is derived from NamingSystem
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | NamingSystem(4.0.1) | System of unique identification Constraints: nsd-0, nsd-1, nsd-2 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for STU3.NamingSystem for use in FHIR R4(0.1.0) | NamingSystem) | STU3: Use this instead (new) URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-NamingSystem.replacedBy Constraints: ext-1 | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
ΣC | 1..1 | string | Name for this naming system (computer friendly) |
![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. |
![]() ![]() |
Σ | 1..1 | code | codesystem | identifier | root Binding: NamingSystemType (required): Identifies the purpose of the naming system. |
![]() ![]() |
Σ | 1..1 | dateTime | Date last changed |
![]() ![]() |
Σ | 1..* | BackboneElement | Unique identifiers used for system |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() |
Σ | 1..1 | code | oid | uuid | uri | other Binding: NamingSystemIdentifierType (required): Identifies the style of unique identifier used to identify a namespace. |
![]() ![]() ![]() |
Σ | 1..1 | string | The unique identifier |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| NamingSystem.status | Base | required | PublicationStatus | 📍4.0.1 | FHIR Std. |
| NamingSystem.kind | Base | required | NamingSystemType | 📍4.0.1 | FHIR Std. |
| NamingSystem.uniqueId.type | Base | required | NamingSystemIdentifierType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | NamingSystem | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | NamingSystem | 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 | NamingSystem | 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 | NamingSystem | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | NamingSystem | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | NamingSystem.implicitRules, NamingSystem.extension, NamingSystem.extension:replacedBy, NamingSystem.modifierExtension, NamingSystem.name, NamingSystem.status, NamingSystem.kind, NamingSystem.date, NamingSystem.uniqueId, NamingSystem.uniqueId.modifierExtension, NamingSystem.uniqueId.type, NamingSystem.uniqueId.value | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | NamingSystem.extension, NamingSystem.extension:replacedBy, NamingSystem.modifierExtension, NamingSystem.uniqueId.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| nsd-0 | warning | NamingSystem | Name should be usable as an identifier for the module by machine processing applications such as code generation |
name.matches('[A-Z]([A-Za-z0-9_]){0,254}')
|
| nsd-1 | error | NamingSystem | Root systems cannot have uuid identifiers |
kind != 'root' or uniqueId.all(type != 'uuid')
|
| nsd-2 | error | NamingSystem | Can't have more than one preferred identifier for a type |
uniqueId.where(preferred = true).select(type).isDistinct()
|
Differential View
This structure is derived from NamingSystem
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | NamingSystem(4.0.1) | System of unique identification | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for STU3.NamingSystem for use in FHIR R4(0.1.0) | NamingSystem) | STU3: Use this instead (new) URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-NamingSystem.replacedBy | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | NamingSystem(4.0.1) | System of unique identification Constraints: nsd-0, nsd-1, nsd-2 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for STU3.NamingSystem for use in FHIR R4(0.1.0) | NamingSystem) | STU3: Use this instead (new) URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-NamingSystem.replacedBy Constraints: ext-1 | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
ΣC | 1..1 | string | Name for this naming system (computer friendly) | ||||
![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. | ||||
![]() ![]() |
Σ | 1..1 | code | codesystem | identifier | root Binding: NamingSystemType (required): Identifies the purpose of the naming system. | ||||
![]() ![]() |
Σ | 1..1 | dateTime | Date last changed | ||||
![]() ![]() |
Σ | 0..1 | string | Name of the publisher (organization or individual) | ||||
![]() ![]() |
Σ | 0..* | ContactDetail | Contact details for the publisher | ||||
![]() ![]() |
0..1 | string | Who maintains system namespace? | |||||
![]() ![]() |
0..1 | CodeableConcept | e.g. driver, provider, patient, bank etc. 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. | |||||
![]() ![]() |
0..1 | markdown | Natural language description of the naming system | |||||
![]() ![]() |
Σ | 0..* | UsageContext | The context that the content is intended to support | ||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Intended jurisdiction for naming system (if applicable) Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use. | ||||
![]() ![]() |
0..1 | string | How/where is it used | |||||
![]() ![]() |
Σ | 1..* | BackboneElement | Unique identifiers used for system | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 1..1 | code | oid | uuid | uri | other Binding: NamingSystemIdentifierType (required): Identifies the style of unique identifier used to identify a namespace. | ||||
![]() ![]() ![]() |
Σ | 1..1 | string | The unique identifier | ||||
![]() ![]() ![]() |
0..1 | boolean | Is this the id that should be used for this type | |||||
![]() ![]() ![]() |
0..1 | string | Notes about identifier usage | |||||
![]() ![]() ![]() |
0..1 | Period | When is identifier valid? | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| NamingSystem.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| NamingSystem.status | Base | required | PublicationStatus | 📍4.0.1 | FHIR Std. |
| NamingSystem.kind | Base | required | NamingSystemType | 📍4.0.1 | FHIR Std. |
| NamingSystem.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| NamingSystem.jurisdiction | Base | extensible | Jurisdiction | 📍4.0.1 | FHIR Std. |
| NamingSystem.uniqueId.type | Base | required | NamingSystemIdentifierType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | NamingSystem | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | NamingSystem | 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 | NamingSystem | 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 | NamingSystem | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | NamingSystem | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | NamingSystem.meta, NamingSystem.implicitRules, NamingSystem.language, NamingSystem.text, NamingSystem.extension, NamingSystem.extension:replacedBy, NamingSystem.modifierExtension, NamingSystem.name, NamingSystem.status, NamingSystem.kind, NamingSystem.date, NamingSystem.publisher, NamingSystem.contact, NamingSystem.responsible, NamingSystem.type, NamingSystem.description, NamingSystem.useContext, NamingSystem.jurisdiction, NamingSystem.usage, NamingSystem.uniqueId, NamingSystem.uniqueId.extension, NamingSystem.uniqueId.modifierExtension, NamingSystem.uniqueId.type, NamingSystem.uniqueId.value, NamingSystem.uniqueId.preferred, NamingSystem.uniqueId.comment, NamingSystem.uniqueId.period | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | NamingSystem.extension, NamingSystem.extension:replacedBy, NamingSystem.modifierExtension, NamingSystem.uniqueId.extension, NamingSystem.uniqueId.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| nsd-0 | warning | NamingSystem | Name should be usable as an identifier for the module by machine processing applications such as code generation |
name.matches('[A-Z]([A-Za-z0-9_]){0,254}')
|
| nsd-1 | error | NamingSystem | Root systems cannot have uuid identifiers |
kind != 'root' or uniqueId.all(type != 'uuid')
|
| nsd-2 | error | NamingSystem | Can't have more than one preferred identifier for a type |
uniqueId.where(preferred = true).select(type).isDistinct()
|
This structure is derived from NamingSystem
Other representations of profile: CSV, Excel, Schematron