Taiwan Digital COVID Certificate
0.0.1 - CI Build

Taiwan Digital COVID Certificate - Local Development build (v0.0.1). See the Directory of published versions

## Resource Profile: Organization ( Taiwan Digital COVID Certificate )

Defining URL: | https://ghit42796.github.io/fhir_test/StructureDefinition-Organization-TDCC
Version: | 0.0.1
Name: | OrganizationTDCC
Title: | Organization ( Taiwan Digital COVID Certificate )
Status: | Draft as of 2021-04-16
Definition: | This profile defines how to represent Organization in a Vacccine Certificate.
Publisher: | TBD
Source Resource: | XML / JSON / Turtle

The official URL for this profile is:

    https://ghit42796.github.io/fhir_test/StructureDefinition-Organization-TDCC

### Formal Views of Profile Content

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

- Text Summary
- Differential Table
- Snapshot Table
- Snapshot Table (Must Support)
- All

This structure is derived from Organization

Summary

Mandatory: 5 elements
Must-Support: 3 elements

Structures

This structure refers to these other structures:

- https://ghit42796.github.io/fhir_test/StructureDefinition-Organization-TDCC

This structure is derived from Organization

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Organization |  | 0..* | Organization | A grouping of people or organizations with a common purpose
type | S | 1..* | CodeableConcept | Kind of organization
name | S | 1..1 | string | Name used for the organization
telecom |  | 1..* | ContactPoint | A contact detail for the organization
address |  | 1..* | Address | An address for the organization
text | S Σ | 1..1 | string | Text representation of the address
partOf |  | 0..1 | Reference(Organization ( Taiwan Digital COVID Certificate )) | The organization of which this organization forms a part
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Organization | I | 0..* | Organization | A grouping of people or organizations with a common purpose
id | Σ | 0..1 | string | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages: A human language.
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ I | 0..* | Identifier | Identifies this organization across multiple systems
active | ?!Σ | 0..1 | boolean | Whether the organization's record is still in active use
type | S Σ | 1..* | CodeableConcept | Kind of organization Binding: OrganizationType (example): Used to categorize the organization.
name | S Σ I | 1..1 | string | Name used for the organization
alias |  | 0..* | string | A list of alternate names that the organization is known as, or was known as in the past
telecom | I | 1..* | ContactPoint | A contact detail for the organization
address | I | 1..* | Address | An address for the organization
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | home | work | temp | old | billing - purpose of this address Binding: AddressUse (required): The use of an address. Example General: home
type | Σ | 0..1 | code | postal | physical | both Binding: AddressType (required): The type of an address (physical / postal). Example General: both
text | S Σ | 1..1 | string | Text representation of the address Example General: 137 Nowhere Street, Erewhon 9132
line | Σ | 0..* | string | Street name, number, direction & P.O. Box etc. This repeating element order: The order in which lines should appear in an address label Example General: 137 Nowhere Street
city | Σ | 0..1 | string | Name of city, town etc. Example General: Erewhon
district | Σ | 0..1 | string | District name (aka county) Example General: Madison
state | Σ | 0..1 | string | Sub-unit of country (abbreviations ok)
postalCode | Σ | 0..1 | string | Postal code for area Example General: 9132
country | Σ | 0..1 | string | Country (e.g. can be ISO 3166 2 or 3 letter code)
period | Σ | 0..1 | Period | Time period when address was/is in use Example General: {"start":"2010-03-23","end":"2010-07-01"}
partOf | Σ | 0..1 | Reference(Organization ( Taiwan Digital COVID Certificate )) | The organization of which this organization forms a part
contact |  | 0..* | BackboneElement | Contact for the organization for a certain purpose
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
purpose |  | 0..1 | CodeableConcept | The type of contact Binding: ContactEntityType (extensible): The purpose for which you would contact a contact party.
name |  | 0..1 | HumanName | A name associated with the contact
telecom |  | 0..* | ContactPoint | Contact details (telephone, email, etc.) for a contact
address |  | 0..1 | Address | Visiting or postal addresses for the contact
endpoint |  | 0..* | Reference(Endpoint) | Technical endpoints providing access to services operated for the organization
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Organization | I | 0..* | Organization | A grouping of people or organizations with a common purpose
type | Σ | 1..* | CodeableConcept | Kind of organization Binding: OrganizationType (example): Used to categorize the organization.
name | Σ I | 1..1 | string | Name used for the organization
address | I | 1..* | Address | An address for the organization
text | Σ | 1..1 | string | Text representation of the address
Documentation for this format

This structure is derived from Organization

Summary

Mandatory: 5 elements
Must-Support: 3 elements

Structures

This structure refers to these other structures:

- https://ghit42796.github.io/fhir_test/StructureDefinition-Organization-TDCC

Differential View

This structure is derived from Organization

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Organization |  | 0..* | Organization | A grouping of people or organizations with a common purpose
type | S | 1..* | CodeableConcept | Kind of organization
name | S | 1..1 | string | Name used for the organization
telecom |  | 1..* | ContactPoint | A contact detail for the organization
address |  | 1..* | Address | An address for the organization
text | S Σ | 1..1 | string | Text representation of the address
partOf |  | 0..1 | Reference(Organization ( Taiwan Digital COVID Certificate )) | The organization of which this organization forms a part
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Organization | I | 0..* | Organization | A grouping of people or organizations with a common purpose
id | Σ | 0..1 | string | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages: A human language.
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ I | 0..* | Identifier | Identifies this organization across multiple systems
active | ?!Σ | 0..1 | boolean | Whether the organization's record is still in active use
type | S Σ | 1..* | CodeableConcept | Kind of organization Binding: OrganizationType (example): Used to categorize the organization.
name | S Σ I | 1..1 | string | Name used for the organization
alias |  | 0..* | string | A list of alternate names that the organization is known as, or was known as in the past
telecom | I | 1..* | ContactPoint | A contact detail for the organization
address | I | 1..* | Address | An address for the organization
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | home | work | temp | old | billing - purpose of this address Binding: AddressUse (required): The use of an address. Example General: home
type | Σ | 0..1 | code | postal | physical | both Binding: AddressType (required): The type of an address (physical / postal). Example General: both
text | S Σ | 1..1 | string | Text representation of the address Example General: 137 Nowhere Street, Erewhon 9132
line | Σ | 0..* | string | Street name, number, direction & P.O. Box etc. This repeating element order: The order in which lines should appear in an address label Example General: 137 Nowhere Street
city | Σ | 0..1 | string | Name of city, town etc. Example General: Erewhon
district | Σ | 0..1 | string | District name (aka county) Example General: Madison
state | Σ | 0..1 | string | Sub-unit of country (abbreviations ok)
postalCode | Σ | 0..1 | string | Postal code for area Example General: 9132
country | Σ | 0..1 | string | Country (e.g. can be ISO 3166 2 or 3 letter code)
period | Σ | 0..1 | Period | Time period when address was/is in use Example General: {"start":"2010-03-23","end":"2010-07-01"}
partOf | Σ | 0..1 | Reference(Organization ( Taiwan Digital COVID Certificate )) | The organization of which this organization forms a part
contact |  | 0..* | BackboneElement | Contact for the organization for a certain purpose
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
purpose |  | 0..1 | CodeableConcept | The type of contact Binding: ContactEntityType (extensible): The purpose for which you would contact a contact party.
name |  | 0..1 | HumanName | A name associated with the contact
telecom |  | 0..* | ContactPoint | Contact details (telephone, email, etc.) for a contact
address |  | 0..1 | Address | Visiting or postal addresses for the contact
endpoint |  | 0..* | Reference(Endpoint) | Technical endpoints providing access to services operated for the organization
Documentation for this format

Other representations of profile: CSV, Excel, Schematron

#### Terminology Bindings

Path | Conformance | ValueSet
Organization.language | preferred | CommonLanguages Max Binding: AllLanguages
Organization.type | example | OrganizationType
Organization.address.use | required | AddressUse
Organization.address.type | required | AddressType
Organization.contact.purpose | extensible | ContactEntityType

#### Constraints

Id | Path | Details | Requirements
dom-2 | Organization | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() |
dom-3 | Organization | 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 | Organization | 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 | Organization | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() |
dom-6 | Organization | A resource should have narrative for robust management : text.`div`.exists() |
org-1 | Organization | The organization SHALL at least have a name or an identifier, and possibly more than one : (identifier.count() + name.count()) > 0 |
ele-1 | Organization.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Organization.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Organization.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Organization.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Organization.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | Organization.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
ele-1 | Organization.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | Organization.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
ele-1 | Organization.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Organization.active | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Organization.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Organization.name | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Organization.alias | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Organization.telecom | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
org-3 | Organization.telecom | The telecom of an organization can never be of use 'home' : where(use = 'home').empty() |
ele-1 | Organization.address | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
org-2 | Organization.address | An address of an organization can never be of use 'home' : where(use = 'home').empty() |
ele-1 | Organization.address.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | Organization.address.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
ele-1 | Organization.address.use | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Organization.address.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Organization.address.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Organization.address.line | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Organization.address.city | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Organization.address.district | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Organization.address.state | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Organization.address.postalCode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Organization.address.country | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Organization.address.period | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Organization.partOf | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Organization.contact | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Organization.contact.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | Organization.contact.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
ele-1 | Organization.contact.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | Organization.contact.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
ele-1 | Organization.contact.purpose | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Organization.contact.name | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Organization.contact.telecom | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Organization.contact.address | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Organization.endpoint | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |