NHDR Implementation Guide Release 1.0
0.1.0 - ci-build

NHDR Implementation Guide Release 1.0, published by NHDR. 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/PROJ-PHILHEALTH-EA-NHDR/nhdr-fhir-ig-review-project-2/ and changes regularly. See the Directory of published versions

## Data Type Profile: PH Signature

Official URL: https://nhdr.gov.ph/fhir/StructureDefinition/PH-Signature | Version: 0.1.0
Standards status: Draft | Computable Name: PH_Signature
Copyright/Legal: Used by permission of HL7 International, all rights reserved Creative Commons License

The signature of an individual.

Usages:

- Use this DataType Profile: PH Provenance

You can also check for usages in the FHIR IG Statistics

### Formal Views of Profile Content

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

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Signature |  | 0..* | Signature | A Signature - XML DigSig, JWS, Graphical image of signature, etc.
Slices for extension |  |  |  | Content/Rules for all slices
extension:position |  | 0..* | string | Position of the Signatory URL: https://nhdr.gov.ph/fhir/StructureDefinition/SignaturePosition
extension:reason |  | 0..* | string | Reason for the Signature URL: https://nhdr.gov.ph/fhir/StructureDefinition/SignatureReason
type | Σ | 1..* | Coding | Indication of the reason the entity signed the object(s) Binding: Signature Type (required)
when | Σ | 1..1 | instant | When the signature was created
who | Σ | 1..1 | Reference(PH Patient | PH Organization | PH Practitioner | PH PractitionerRole | PH RelatedPerson | Device) | Who signed
onBehalfOf | Σ | 0..1 | Reference(PH Patient | PH Organization | PH Practitioner | PH PractitionerRole | PH RelatedPerson | Device) | The party represented
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Signature.type | Base | required | Signature Type | 📦0.1.0 | This IG

#### Constraints

Id | Grade | Path(s) | Description | Expression
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

This structure is derived from Signature

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Signature |  |  | Signature |
Slices for extension |  |  |  | Content/Rules for all slices
extension:position |  | 0..* | string | Position of the Signatory URL: https://nhdr.gov.ph/fhir/StructureDefinition/SignaturePosition
extension:reason |  | 0..* | string | Reason for the Signature URL: https://nhdr.gov.ph/fhir/StructureDefinition/SignatureReason
type |  | 1..* | Coding | Indication of the reason the entity signed the object(s) Binding: Signature Type (required)
who |  | 1..1 | Reference(PH Patient | PH Organization | PH Practitioner | PH PractitionerRole | PH RelatedPerson | Device) | Who signed
onBehalfOf |  | 0..1 | Reference(PH Patient | PH Organization | PH Practitioner | PH PractitionerRole | PH RelatedPerson | Device) | The party represented
targetFormat |  | 0..0 |  | The technical format of the signed resources
sigFormat |  | 0..0 |  | The technical format of the signature
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
Signature.type | Base | required | Signature Type | 📦0.1.0 | This IG

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Signature |  | 0..* | Signature | A Signature - XML DigSig, JWS, Graphical image of signature, etc.
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
extension:position |  | 0..* | string | Position of the Signatory URL: https://nhdr.gov.ph/fhir/StructureDefinition/SignaturePosition
extension:reason |  | 0..* | string | Reason for the Signature URL: https://nhdr.gov.ph/fhir/StructureDefinition/SignatureReason
type | Σ | 1..* | Coding | Indication of the reason the entity signed the object(s) Binding: Signature Type (required)
when | Σ | 1..1 | instant | When the signature was created
who | Σ | 1..1 | Reference(PH Patient | PH Organization | PH Practitioner | PH PractitionerRole | PH RelatedPerson | Device) | Who signed
onBehalfOf | Σ | 0..1 | Reference(PH Patient | PH Organization | PH Practitioner | PH PractitionerRole | PH RelatedPerson | Device) | The party represented
data |  | 0..1 | base64Binary | The actual signature content (XML DigSig. JWS, picture, etc.)
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Signature.type | Base | required | Signature Type | 📦0.1.0 | This IG

#### Constraints

Id | Grade | Path(s) | Description | Expression
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

This structure is derived from Signature

Summary

Prohibited: 2 elements

Structures

This structure refers to these other structures:

- PH Patient (https://nhdr.gov.ph/fhir/StructureDefinition/PH-Patient)
- PH Organization (https://nhdr.gov.ph/fhir/StructureDefinition/PH-Organization)
- PH Practitioner (https://nhdr.gov.ph/fhir/StructureDefinition/PH-Practitioner)
- PH PractitionerRole (https://nhdr.gov.ph/fhir/StructureDefinition/PH-PractitionerRole)
- PH RelatedPerson (https://nhdr.gov.ph/fhir/StructureDefinition/PH-RelatedPerson)

Extensions

This structure refers to these extensions:

- https://nhdr.gov.ph/fhir/StructureDefinition/SignaturePosition
- https://nhdr.gov.ph/fhir/StructureDefinition/SignatureReason

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Signature |  | 0..* | Signature | A Signature - XML DigSig, JWS, Graphical image of signature, etc.
Slices for extension |  |  |  | Content/Rules for all slices
extension:position |  | 0..* | string | Position of the Signatory URL: https://nhdr.gov.ph/fhir/StructureDefinition/SignaturePosition
extension:reason |  | 0..* | string | Reason for the Signature URL: https://nhdr.gov.ph/fhir/StructureDefinition/SignatureReason
type | Σ | 1..* | Coding | Indication of the reason the entity signed the object(s) Binding: Signature Type (required)
when | Σ | 1..1 | instant | When the signature was created
who | Σ | 1..1 | Reference(PH Patient | PH Organization | PH Practitioner | PH PractitionerRole | PH RelatedPerson | Device) | Who signed
onBehalfOf | Σ | 0..1 | Reference(PH Patient | PH Organization | PH Practitioner | PH PractitionerRole | PH RelatedPerson | Device) | The party represented
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Signature.type | Base | required | Signature Type | 📦0.1.0 | This IG

#### Constraints

Id | Grade | Path(s) | Description | Expression
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

Differential View

This structure is derived from Signature

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Signature |  |  | Signature |
Slices for extension |  |  |  | Content/Rules for all slices
extension:position |  | 0..* | string | Position of the Signatory URL: https://nhdr.gov.ph/fhir/StructureDefinition/SignaturePosition
extension:reason |  | 0..* | string | Reason for the Signature URL: https://nhdr.gov.ph/fhir/StructureDefinition/SignatureReason
type |  | 1..* | Coding | Indication of the reason the entity signed the object(s) Binding: Signature Type (required)
who |  | 1..1 | Reference(PH Patient | PH Organization | PH Practitioner | PH PractitionerRole | PH RelatedPerson | Device) | Who signed
onBehalfOf |  | 0..1 | Reference(PH Patient | PH Organization | PH Practitioner | PH PractitionerRole | PH RelatedPerson | Device) | The party represented
targetFormat |  | 0..0 |  | The technical format of the signed resources
sigFormat |  | 0..0 |  | The technical format of the signature
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
Signature.type | Base | required | Signature Type | 📦0.1.0 | This IG

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Signature |  | 0..* | Signature | A Signature - XML DigSig, JWS, Graphical image of signature, etc.
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
extension:position |  | 0..* | string | Position of the Signatory URL: https://nhdr.gov.ph/fhir/StructureDefinition/SignaturePosition
extension:reason |  | 0..* | string | Reason for the Signature URL: https://nhdr.gov.ph/fhir/StructureDefinition/SignatureReason
type | Σ | 1..* | Coding | Indication of the reason the entity signed the object(s) Binding: Signature Type (required)
when | Σ | 1..1 | instant | When the signature was created
who | Σ | 1..1 | Reference(PH Patient | PH Organization | PH Practitioner | PH PractitionerRole | PH RelatedPerson | Device) | Who signed
onBehalfOf | Σ | 0..1 | Reference(PH Patient | PH Organization | PH Practitioner | PH PractitionerRole | PH RelatedPerson | Device) | The party represented
data |  | 0..1 | base64Binary | The actual signature content (XML DigSig. JWS, picture, etc.)
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Signature.type | Base | required | Signature Type | 📦0.1.0 | This IG

#### Constraints

Id | Grade | Path(s) | Description | Expression
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

This structure is derived from Signature

Summary

Prohibited: 2 elements

Structures

This structure refers to these other structures:

- PH Patient (https://nhdr.gov.ph/fhir/StructureDefinition/PH-Patient)
- PH Organization (https://nhdr.gov.ph/fhir/StructureDefinition/PH-Organization)
- PH Practitioner (https://nhdr.gov.ph/fhir/StructureDefinition/PH-Practitioner)
- PH PractitionerRole (https://nhdr.gov.ph/fhir/StructureDefinition/PH-PractitionerRole)
- PH RelatedPerson (https://nhdr.gov.ph/fhir/StructureDefinition/PH-RelatedPerson)

Extensions

This structure refers to these extensions:

- https://nhdr.gov.ph/fhir/StructureDefinition/SignaturePosition
- https://nhdr.gov.ph/fhir/StructureDefinition/SignatureReason

Other representations of profile: CSV, Excel, Schematron