1.0.0 - ci-build

chvacd, published by eHealth Suisse. This is not an authorized publication; it is the continuous build for version 1.0.0). This version is based on the current content of https://github.com/ehealthsuisse/ch-vacd/ and changes regularly. See the Directory of published versions

Resource Profile: CH VACD Recommendation Address Profile

Defining URL:http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-recommendation-address
Version:1.0.0
Name:CHVACDRecommendationAddress
Title:CH VACD Recommendation Address Profile
Status:Active as of 11/28/21, 9:23 PM
Definition:

Definition of the address of a patient for immunization recommendation request and response documents.

Publisher:eHealth Suisse
Source Resource:XML / JSON / Turtle

The official URL for this profile is:

http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-recommendation-address

Formal Views of Profile Content

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

This structure is derived from CHCoreAddress

Summary

Mandatory: 1 element
Prohibited: 8 elements

This structure is derived from CHCoreAddress

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..*CHCoreAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
... use 0..0
... type 0..0
... text 0..0
... city 0..0
... district 0..0
... state 0..0
... postalCode 1..1stringPostal code for area
... period 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..*CHCoreAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... postalCode Σ1..1stringPostal code for area
Example General: 9132
.... id 0..1stringxml:id (or equivalent in JSON)
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... iso21090-SC-coding I0..1CodingISO Country Alpha-2 or ISO Country Alpha-3 code
URL: http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding
Binding: (unbound) (example): A coded representation for a string. Could be codes for country in a country address part, codes for prefixes in a name part, etc.


.... value 0..1stringPrimitive value for string
Max Length: 1048576

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..*CHCoreAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)

doco Documentation for this format

This structure is derived from CHCoreAddress

Summary

Mandatory: 1 element
Prohibited: 8 elements

Differential View

This structure is derived from CHCoreAddress

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..*CHCoreAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
... use 0..0
... type 0..0
... text 0..0
... city 0..0
... district 0..0
... state 0..0
... postalCode 1..1stringPostal code for area
... period 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..*CHCoreAddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... postalCode Σ1..1stringPostal code for area
Example General: 9132
.... id 0..1stringxml:id (or equivalent in JSON)
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... iso21090-SC-coding I0..1CodingISO Country Alpha-2 or ISO Country Alpha-3 code
URL: http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding
Binding: (unbound) (example): A coded representation for a string. Could be codes for country in a country address part, codes for prefixes in a name part, etc.


.... value 0..1stringPrimitive value for string
Max Length: 1048576

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet / Code
Address.line.extension:addressLine1.value[x]:valueCoderequiredFixed Value: addressLine1
Address.line.extension:addressLine2.value[x]:valueCoderequiredFixed Value: addressLine2
Address.line.extension:street.value[x]:valueCoderequiredFixed Value: street
Address.line.extension:postOfficeBoxText.value[x]:valueCoderequiredFixed Value: postOfficeBoxText

Constraints

IdPathDetailsRequirements
ele-1AddressAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Address.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Address.line.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Address.line.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Address.line.extension:addressLine1All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Address.line.extension:addressLine1Must have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Address.line.extension:addressLine1.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.line.extension:addressLine1.value[x]:valueCodeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.line.extension:addressLine2All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Address.line.extension:addressLine2Must have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Address.line.extension:addressLine2.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.line.extension:addressLine2.value[x]:valueCodeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.line.extension:streetAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Address.line.extension:streetMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Address.line.extension:street.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.line.extension:street.value[x]:valueCodeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.line.extension:houseNumberAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Address.line.extension:houseNumberMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Address.line.extension:unitIDAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Address.line.extension:unitIDMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Address.line.extension:postOfficeBoxTextAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Address.line.extension:postOfficeBoxTextMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Address.line.extension:postOfficeBoxText.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.line.extension:postOfficeBoxText.value[x]:valueCodeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.line.extension:postOfficeBoxNumberAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Address.line.extension:postOfficeBoxNumberMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Address.city.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Address.city.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Address.city.extension:bfsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Address.city.extension:bfsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Address.postalCodeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.countryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Address.country.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Address.country.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Address.country.extension:countrycodeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Address.country.extension:countrycodeMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ch-addr-1Address.country.extension:countrycodeISO Country Alpha-2 or ISO Country Alpha-3 code
: ((valueCoding.code.length()=2) and valueCoding.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-2')) or ((valueCoding.code.length() = 3) and valueCoding.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-3'))