HL7 PT FHIR Implementation Guide: Example IG Release 1 | STU1
0.0.1 - STU1 International flag

HL7 PT FHIR Implementation Guide: Example IG Release 1 | STU1, published by HL7 Portugal. This guide is not an authorized publication; it is the continuous build for version 0.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-pt/core/ and changes regularly. See the Directory of published versions

Extension: Nationality

Official URL: http://hl7.pt/fhir/core/StructureDefinition/a4126b30-e00e-451a-830c-4db050c60cdf Version: 0.0.1
Active as of 2024-03-08 Computable Name: Nationality

Extension for nationality in Portugal

Context of Use

This extension may be used on the following element(s):

  • Element ID Patient
  • Element ID Practitioner

Usage info

Usage:

Formal Views of Extension Content

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

This structure is derived from Extension

Summary

Complex Extension: Extension for nationality in Portugal

  • code: CodeableConcept: An Extension
  • period: Period: An Extension

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionExtension
... extension:code 0..1ExtensionExtension
.... extension 0..0
.... url 1..1uri"code"
.... value[x] 0..1CodeableConceptValue of extension
Binding: Iso3166-1-2 (extensible): This value set defines the ISO 3166 Part 1 2-letter codes

..... coding 0..*CodingCode defined by a terminology system
Binding: Iso3166-1-2 (extensible): This value set defines the ISO 3166 Part 1 2-letter codes

...... system 0..1uriIdentity of the terminology system
...... code 0..1codeSymbol in syntax defined by the system
...... display 0..1stringRepresentation defined by the system
... extension:period 0..1ExtensionExtension
.... extension 0..0
.... url 1..1uri"period"
.... value[x] 0..1PeriodValue of extension
... url 1..1uri"http://hl7.pt/fhir/core/StructureDefinition/a4126b30-e00e-451a-830c-4db050c60cdf"

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionExtension
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... extension:code 0..1ExtensionExtension
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"code"
.... value[x] 0..1CodeableConceptValue of extension
Binding: Iso3166-1-2 (extensible): This value set defines the ISO 3166 Part 1 2-letter codes

..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ0..*CodingCode defined by a terminology system
Binding: Iso3166-1-2 (extensible): This value set defines the ISO 3166 Part 1 2-letter codes


...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ0..1uriIdentity of the terminology system
...... version Σ0..1stringVersion of the system - if relevant
...... code Σ0..1codeSymbol in syntax defined by the system
...... display Σ0..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... text Σ0..1stringPlain text representation of the concept
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"period"
.... value[x] 0..1PeriodValue of extension
... url 1..1uri"http://hl7.pt/fhir/core/StructureDefinition/a4126b30-e00e-451a-830c-4db050c60cdf"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Extension for nationality in Portugal

  • code: CodeableConcept: An Extension
  • period: Period: An Extension

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionExtension
... extension:code 0..1ExtensionExtension
.... extension 0..0
.... url 1..1uri"code"
.... value[x] 0..1CodeableConceptValue of extension
Binding: Iso3166-1-2 (extensible): This value set defines the ISO 3166 Part 1 2-letter codes

..... coding 0..*CodingCode defined by a terminology system
Binding: Iso3166-1-2 (extensible): This value set defines the ISO 3166 Part 1 2-letter codes

...... system 0..1uriIdentity of the terminology system
...... code 0..1codeSymbol in syntax defined by the system
...... display 0..1stringRepresentation defined by the system
... extension:period 0..1ExtensionExtension
.... extension 0..0
.... url 1..1uri"period"
.... value[x] 0..1PeriodValue of extension
... url 1..1uri"http://hl7.pt/fhir/core/StructureDefinition/a4126b30-e00e-451a-830c-4db050c60cdf"

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionExtension
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... extension:code 0..1ExtensionExtension
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"code"
.... value[x] 0..1CodeableConceptValue of extension
Binding: Iso3166-1-2 (extensible): This value set defines the ISO 3166 Part 1 2-letter codes

..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ0..*CodingCode defined by a terminology system
Binding: Iso3166-1-2 (extensible): This value set defines the ISO 3166 Part 1 2-letter codes


...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ0..1uriIdentity of the terminology system
...... version Σ0..1stringVersion of the system - if relevant
...... code Σ0..1codeSymbol in syntax defined by the system
...... display Σ0..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... text Σ0..1stringPlain text representation of the concept
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"period"
.... value[x] 0..1PeriodValue of extension
... url 1..1uri"http://hl7.pt/fhir/core/StructureDefinition/a4126b30-e00e-451a-830c-4db050c60cdf"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSetURI
Extension.extension:code.value[x]extensibleIso3166-1-2
http://hl7.org/fhir/ValueSet/iso3166-1-2
from the FHIR Standard
Extension.extension:code.value[x].codingextensibleIso3166-1-2
http://hl7.org/fhir/ValueSet/iso3166-1-2
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()