CanShare models
0.1.0 - ci-build

CanShare models, published by David hay. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/davidhay25/models/ and changes regularly. See the Directory of published versions

Logical Model: Dhtest1

Official URL: http://example.org/StructureDefinition/Dhtest1 Version: 0.1.0
Draft as of 2024-03-04 Computable Name: Dhtest1

Usage:

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

Formal Views of Profile Content

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

This structure is derived from Base

NameFlagsCard.TypeDescription & Constraintsdoco
.. Dhtest1 0..*BaseDhtest1
Instances of this logical model are not marked to be the target of a Reference
... Demographics 0..1BackboneElementDemographics
.... Nhi 1..1IdentifierA unique identifier assigned to a person by the NHI system.
.... NZName 0..1BackboneElementA person’s name details
..... Title 0..1CodeableConceptThe ‘Title (prefix)’ is an honorific form of address preceding a name, used when addressing a person
..... GivenName 0..1stringThe person’s forename or given name at birth
..... OtherGivenName 0..*stringThe person’s other given names or middle name and initials, but not the family name at birth
..... FamilyName 0..1stringThe family name (surname) of a person as distinct from their given, second and subsequent name(s)
..... NameProtectionFlag 0..1CodeableConceptThis indicator denotes that the person’s name information is to be held ‘in confidence’
.... BirthdatePlace 0..1BackboneElementA person’s birth details
..... DOB 0..1dateThe date on which the person was born
.... Age 0..1integerThe age of the patient at the time the data was recorded.
.... Gender 0..1CodeableConceptA classification of the person's gender as self-identified by the person
.... Sex 0..1CodeableConceptA classification of the person's sex characteristics such as chromosomes, hormones and reproductive organs (Stats NZ Statistical standard for gender, sex, and variations of sex characteristics).
.... Ethnicity 0..*CodeableConceptA classification of the ethnicity of an individual person as self-identified by the person
Binding: https://nzhts.digital.health.nz/fhir/ValueSet/ethnic-group-level-4-code (preferred)
.... Address 0..*BackboneElementThe person's current address or location details if known (in NZ CIQ address profile format.
..... Type 0..1CodeableConceptThe type of address, e.g. residential (physical), mailing (postal)
..... BuildingName 0..1stringThe name of the building or institution.
..... StreetAddress1 0..1stringThe floor, unit and/or street address details.
..... StreetAddress2 0..1stringOther geographic information related to the address
..... Suburb 0..1stringThe name of the suburb or district within a city/town.
..... City 0..1stringPatientSummary.Address.City
Binding: https://nzhts.digital.health.nz/fhir/ValueSet/Thenameofthecityoftown. (preferred)
..... Postcode 0..1stringThe numeric descriptor for a postal delivery area, aligned with the locality, suburb or place for this address.
..... CountryCode 0..1codeThe two character ISO code that forms part of the address.
..... AddressProtectedFlag 0..1CodeableConceptThis indicator denotes that the person’s address information is to be held ‘in confidence’

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Dhtest1.Demographics.Ethnicitypreferredhttps://nzhts.digital.health.nz/fhir/ValueSet/ethnic-group-level-4-code
https://nzhts.digital.health.nz/fhir/ValueSet/ethnic-group-level-4-code
Dhtest1.Demographics.Address.Citypreferredhttps://nzhts.digital.health.nz/fhir/ValueSet/Thenameofthecityoftown.
https://nzhts.digital.health.nz/fhir/ValueSet/Thenameofthecityoftown.
NameFlagsCard.TypeDescription & Constraintsdoco
.. Dhtest1 0..*BaseDhtest1
Instances of this logical model are not marked to be the target of a Reference
... Demographics 0..1BackboneElementDemographics
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... Nhi 1..1IdentifierA unique identifier assigned to a person by the NHI system.
.... NZName 0..1BackboneElementA person’s name details
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... Title 0..1CodeableConceptThe ‘Title (prefix)’ is an honorific form of address preceding a name, used when addressing a person
..... GivenName 0..1stringThe person’s forename or given name at birth
..... OtherGivenName 0..*stringThe person’s other given names or middle name and initials, but not the family name at birth
..... FamilyName 0..1stringThe family name (surname) of a person as distinct from their given, second and subsequent name(s)
..... NameProtectionFlag 0..1CodeableConceptThis indicator denotes that the person’s name information is to be held ‘in confidence’
.... BirthdatePlace 0..1BackboneElementA person’s birth details
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... DOB 0..1dateThe date on which the person was born
.... Age 0..1integerThe age of the patient at the time the data was recorded.
.... Gender 0..1CodeableConceptA classification of the person's gender as self-identified by the person
.... Sex 0..1CodeableConceptA classification of the person's sex characteristics such as chromosomes, hormones and reproductive organs (Stats NZ Statistical standard for gender, sex, and variations of sex characteristics).
.... Ethnicity 0..*CodeableConceptA classification of the ethnicity of an individual person as self-identified by the person
Binding: https://nzhts.digital.health.nz/fhir/ValueSet/ethnic-group-level-4-code (preferred)
.... Address 0..*BackboneElementThe person's current address or location details if known (in NZ CIQ address profile format.
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... Type 0..1CodeableConceptThe type of address, e.g. residential (physical), mailing (postal)
..... BuildingName 0..1stringThe name of the building or institution.
..... StreetAddress1 0..1stringThe floor, unit and/or street address details.
..... StreetAddress2 0..1stringOther geographic information related to the address
..... Suburb 0..1stringThe name of the suburb or district within a city/town.
..... City 0..1stringPatientSummary.Address.City
Binding: https://nzhts.digital.health.nz/fhir/ValueSet/Thenameofthecityoftown. (preferred)
..... Postcode 0..1stringThe numeric descriptor for a postal delivery area, aligned with the locality, suburb or place for this address.
..... CountryCode 0..1codeThe two character ISO code that forms part of the address.
..... AddressProtectedFlag 0..1CodeableConceptThis indicator denotes that the person’s address information is to be held ‘in confidence’

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Dhtest1.Demographics.Ethnicitypreferredhttps://nzhts.digital.health.nz/fhir/ValueSet/ethnic-group-level-4-code
https://nzhts.digital.health.nz/fhir/ValueSet/ethnic-group-level-4-code
Dhtest1.Demographics.Address.Citypreferredhttps://nzhts.digital.health.nz/fhir/ValueSet/Thenameofthecityoftown.
https://nzhts.digital.health.nz/fhir/ValueSet/Thenameofthecityoftown.

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()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Dhtest1 0..*BaseDhtest1
Instances of this logical model are not marked to be the target of a Reference
... Demographics 0..1BackboneElementDemographics
.... @id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... Nhi 1..1IdentifierA unique identifier assigned to a person by the NHI system.
.... NZName 0..1BackboneElementA person’s name details
..... @id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... Title 0..1CodeableConceptThe ‘Title (prefix)’ is an honorific form of address preceding a name, used when addressing a person
..... GivenName 0..1stringThe person’s forename or given name at birth
..... OtherGivenName 0..*stringThe person’s other given names or middle name and initials, but not the family name at birth
..... FamilyName 0..1stringThe family name (surname) of a person as distinct from their given, second and subsequent name(s)
..... NameProtectionFlag 0..1CodeableConceptThis indicator denotes that the person’s name information is to be held ‘in confidence’
.... BirthdatePlace 0..1BackboneElementA person’s birth details
..... @id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... DOB 0..1dateThe date on which the person was born
.... Age 0..1integerThe age of the patient at the time the data was recorded.
.... Gender 0..1CodeableConceptA classification of the person's gender as self-identified by the person
.... Sex 0..1CodeableConceptA classification of the person's sex characteristics such as chromosomes, hormones and reproductive organs (Stats NZ Statistical standard for gender, sex, and variations of sex characteristics).
.... Ethnicity 0..*CodeableConceptA classification of the ethnicity of an individual person as self-identified by the person
Binding: https://nzhts.digital.health.nz/fhir/ValueSet/ethnic-group-level-4-code (preferred)
.... Address 0..*BackboneElementThe person's current address or location details if known (in NZ CIQ address profile format.
..... @id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... Type 0..1CodeableConceptThe type of address, e.g. residential (physical), mailing (postal)
..... BuildingName 0..1stringThe name of the building or institution.
..... StreetAddress1 0..1stringThe floor, unit and/or street address details.
..... StreetAddress2 0..1stringOther geographic information related to the address
..... Suburb 0..1stringThe name of the suburb or district within a city/town.
..... City 0..1stringPatientSummary.Address.City
Binding: https://nzhts.digital.health.nz/fhir/ValueSet/Thenameofthecityoftown. (preferred)
..... Postcode 0..1stringThe numeric descriptor for a postal delivery area, aligned with the locality, suburb or place for this address.
..... CountryCode 0..1codeThe two character ISO code that forms part of the address.
..... AddressProtectedFlag 0..1CodeableConceptThis indicator denotes that the person’s address information is to be held ‘in confidence’

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Dhtest1.Demographics.Ethnicitypreferredhttps://nzhts.digital.health.nz/fhir/ValueSet/ethnic-group-level-4-code
https://nzhts.digital.health.nz/fhir/ValueSet/ethnic-group-level-4-code
Dhtest1.Demographics.Address.Citypreferredhttps://nzhts.digital.health.nz/fhir/ValueSet/Thenameofthecityoftown.
https://nzhts.digital.health.nz/fhir/ValueSet/Thenameofthecityoftown.

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()

This structure is derived from Base

Summary

Mandatory: 0 element (1 nested mandatory element)

Differential View

This structure is derived from Base

NameFlagsCard.TypeDescription & Constraintsdoco
.. Dhtest1 0..*BaseDhtest1
Instances of this logical model are not marked to be the target of a Reference
... Demographics 0..1BackboneElementDemographics
.... Nhi 1..1IdentifierA unique identifier assigned to a person by the NHI system.
.... NZName 0..1BackboneElementA person’s name details
..... Title 0..1CodeableConceptThe ‘Title (prefix)’ is an honorific form of address preceding a name, used when addressing a person
..... GivenName 0..1stringThe person’s forename or given name at birth
..... OtherGivenName 0..*stringThe person’s other given names or middle name and initials, but not the family name at birth
..... FamilyName 0..1stringThe family name (surname) of a person as distinct from their given, second and subsequent name(s)
..... NameProtectionFlag 0..1CodeableConceptThis indicator denotes that the person’s name information is to be held ‘in confidence’
.... BirthdatePlace 0..1BackboneElementA person’s birth details
..... DOB 0..1dateThe date on which the person was born
.... Age 0..1integerThe age of the patient at the time the data was recorded.
.... Gender 0..1CodeableConceptA classification of the person's gender as self-identified by the person
.... Sex 0..1CodeableConceptA classification of the person's sex characteristics such as chromosomes, hormones and reproductive organs (Stats NZ Statistical standard for gender, sex, and variations of sex characteristics).
.... Ethnicity 0..*CodeableConceptA classification of the ethnicity of an individual person as self-identified by the person
Binding: https://nzhts.digital.health.nz/fhir/ValueSet/ethnic-group-level-4-code (preferred)
.... Address 0..*BackboneElementThe person's current address or location details if known (in NZ CIQ address profile format.
..... Type 0..1CodeableConceptThe type of address, e.g. residential (physical), mailing (postal)
..... BuildingName 0..1stringThe name of the building or institution.
..... StreetAddress1 0..1stringThe floor, unit and/or street address details.
..... StreetAddress2 0..1stringOther geographic information related to the address
..... Suburb 0..1stringThe name of the suburb or district within a city/town.
..... City 0..1stringPatientSummary.Address.City
Binding: https://nzhts.digital.health.nz/fhir/ValueSet/Thenameofthecityoftown. (preferred)
..... Postcode 0..1stringThe numeric descriptor for a postal delivery area, aligned with the locality, suburb or place for this address.
..... CountryCode 0..1codeThe two character ISO code that forms part of the address.
..... AddressProtectedFlag 0..1CodeableConceptThis indicator denotes that the person’s address information is to be held ‘in confidence’

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Dhtest1.Demographics.Ethnicitypreferredhttps://nzhts.digital.health.nz/fhir/ValueSet/ethnic-group-level-4-code
https://nzhts.digital.health.nz/fhir/ValueSet/ethnic-group-level-4-code
Dhtest1.Demographics.Address.Citypreferredhttps://nzhts.digital.health.nz/fhir/ValueSet/Thenameofthecityoftown.
https://nzhts.digital.health.nz/fhir/ValueSet/Thenameofthecityoftown.

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Dhtest1 0..*BaseDhtest1
Instances of this logical model are not marked to be the target of a Reference
... Demographics 0..1BackboneElementDemographics
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... Nhi 1..1IdentifierA unique identifier assigned to a person by the NHI system.
.... NZName 0..1BackboneElementA person’s name details
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... Title 0..1CodeableConceptThe ‘Title (prefix)’ is an honorific form of address preceding a name, used when addressing a person
..... GivenName 0..1stringThe person’s forename or given name at birth
..... OtherGivenName 0..*stringThe person’s other given names or middle name and initials, but not the family name at birth
..... FamilyName 0..1stringThe family name (surname) of a person as distinct from their given, second and subsequent name(s)
..... NameProtectionFlag 0..1CodeableConceptThis indicator denotes that the person’s name information is to be held ‘in confidence’
.... BirthdatePlace 0..1BackboneElementA person’s birth details
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... DOB 0..1dateThe date on which the person was born
.... Age 0..1integerThe age of the patient at the time the data was recorded.
.... Gender 0..1CodeableConceptA classification of the person's gender as self-identified by the person
.... Sex 0..1CodeableConceptA classification of the person's sex characteristics such as chromosomes, hormones and reproductive organs (Stats NZ Statistical standard for gender, sex, and variations of sex characteristics).
.... Ethnicity 0..*CodeableConceptA classification of the ethnicity of an individual person as self-identified by the person
Binding: https://nzhts.digital.health.nz/fhir/ValueSet/ethnic-group-level-4-code (preferred)
.... Address 0..*BackboneElementThe person's current address or location details if known (in NZ CIQ address profile format.
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... Type 0..1CodeableConceptThe type of address, e.g. residential (physical), mailing (postal)
..... BuildingName 0..1stringThe name of the building or institution.
..... StreetAddress1 0..1stringThe floor, unit and/or street address details.
..... StreetAddress2 0..1stringOther geographic information related to the address
..... Suburb 0..1stringThe name of the suburb or district within a city/town.
..... City 0..1stringPatientSummary.Address.City
Binding: https://nzhts.digital.health.nz/fhir/ValueSet/Thenameofthecityoftown. (preferred)
..... Postcode 0..1stringThe numeric descriptor for a postal delivery area, aligned with the locality, suburb or place for this address.
..... CountryCode 0..1codeThe two character ISO code that forms part of the address.
..... AddressProtectedFlag 0..1CodeableConceptThis indicator denotes that the person’s address information is to be held ‘in confidence’

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Dhtest1.Demographics.Ethnicitypreferredhttps://nzhts.digital.health.nz/fhir/ValueSet/ethnic-group-level-4-code
https://nzhts.digital.health.nz/fhir/ValueSet/ethnic-group-level-4-code
Dhtest1.Demographics.Address.Citypreferredhttps://nzhts.digital.health.nz/fhir/ValueSet/Thenameofthecityoftown.
https://nzhts.digital.health.nz/fhir/ValueSet/Thenameofthecityoftown.

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()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Dhtest1 0..*BaseDhtest1
Instances of this logical model are not marked to be the target of a Reference
... Demographics 0..1BackboneElementDemographics
.... @id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... Nhi 1..1IdentifierA unique identifier assigned to a person by the NHI system.
.... NZName 0..1BackboneElementA person’s name details
..... @id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... Title 0..1CodeableConceptThe ‘Title (prefix)’ is an honorific form of address preceding a name, used when addressing a person
..... GivenName 0..1stringThe person’s forename or given name at birth
..... OtherGivenName 0..*stringThe person’s other given names or middle name and initials, but not the family name at birth
..... FamilyName 0..1stringThe family name (surname) of a person as distinct from their given, second and subsequent name(s)
..... NameProtectionFlag 0..1CodeableConceptThis indicator denotes that the person’s name information is to be held ‘in confidence’
.... BirthdatePlace 0..1BackboneElementA person’s birth details
..... @id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... DOB 0..1dateThe date on which the person was born
.... Age 0..1integerThe age of the patient at the time the data was recorded.
.... Gender 0..1CodeableConceptA classification of the person's gender as self-identified by the person
.... Sex 0..1CodeableConceptA classification of the person's sex characteristics such as chromosomes, hormones and reproductive organs (Stats NZ Statistical standard for gender, sex, and variations of sex characteristics).
.... Ethnicity 0..*CodeableConceptA classification of the ethnicity of an individual person as self-identified by the person
Binding: https://nzhts.digital.health.nz/fhir/ValueSet/ethnic-group-level-4-code (preferred)
.... Address 0..*BackboneElementThe person's current address or location details if known (in NZ CIQ address profile format.
..... @id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... Type 0..1CodeableConceptThe type of address, e.g. residential (physical), mailing (postal)
..... BuildingName 0..1stringThe name of the building or institution.
..... StreetAddress1 0..1stringThe floor, unit and/or street address details.
..... StreetAddress2 0..1stringOther geographic information related to the address
..... Suburb 0..1stringThe name of the suburb or district within a city/town.
..... City 0..1stringPatientSummary.Address.City
Binding: https://nzhts.digital.health.nz/fhir/ValueSet/Thenameofthecityoftown. (preferred)
..... Postcode 0..1stringThe numeric descriptor for a postal delivery area, aligned with the locality, suburb or place for this address.
..... CountryCode 0..1codeThe two character ISO code that forms part of the address.
..... AddressProtectedFlag 0..1CodeableConceptThis indicator denotes that the person’s address information is to be held ‘in confidence’

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Dhtest1.Demographics.Ethnicitypreferredhttps://nzhts.digital.health.nz/fhir/ValueSet/ethnic-group-level-4-code
https://nzhts.digital.health.nz/fhir/ValueSet/ethnic-group-level-4-code
Dhtest1.Demographics.Address.Citypreferredhttps://nzhts.digital.health.nz/fhir/ValueSet/Thenameofthecityoftown.
https://nzhts.digital.health.nz/fhir/ValueSet/Thenameofthecityoftown.

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()

This structure is derived from Base

Summary

Mandatory: 0 element (1 nested mandatory element)

 

Other representations of profile: CSV, Excel