Gravitate Health FHIR Implementation Guide, published by Gravitate Health Project. 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/hl7-eu/gravitate-health/ and changes regularly. See the Directory of published versions
Official URL: http://hl7.eu/fhir/ig/gravitate-health/StructureDefinition/AdditionalSupportMaterial | Version: 0.1.0 | |||
Active as of 2025-10-13 | Computable Name: AdditionalSupportMaterial |
Additional Support Material Profile
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | DocumentReference | A reference to a document Constraints: docRef-1, docRef-2, gh-docref-1 | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
S | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| ||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
0..* | base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, integer64, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, CodeableReference(), Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, RatioRange, Reference(), SampledData, Signature, Timing, ContactDetail, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Availability, ExtendedContactDetail, Dosage, Meta | RelatedMedicalIssue - link to condition / disease URL: http://hl7.eu/fhir/ig/gravitate-health/StructureDefinition/RelatedMedicalIssue | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
SΣ | 1..* | Identifier | Business identifiers for the document | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | An explicitly assigned identifer of a variation of the content in the DocumentReference | ||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | current | superseded | entered-in-error Binding: DocumentReferenceStatus (required): The status of the document reference. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | code | registered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown Binding: CompositionStatus (required): Status of the underlying document. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | Kind of document (LOINC if possible) Binding: FHIRDocumentTypeCodes (preferred): Precise type of clinical document. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Categorization of document Binding: ASMCategoryVS (preferred) | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(Resource) | Who/what is the subject of the document | ||||
![]() ![]() ![]() |
SC | 0..* | Reference(Appointment | Encounter | EpisodeOfCare) | Context of the document content | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson | CareTeam) | Who and/or what authored the document | ||||
![]() ![]() ![]() |
S | 0..* | BackboneElement | Attests to accuracy of the document | ||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | personal | professional | legal | official Binding: CompositionAttestationMode (preferred): The way in which a person authenticated a document. | |||||
![]() ![]() ![]() |
S | 0..1 | Reference(Organization) | Organization which maintains the document | ||||
![]() ![]() ![]() |
SΣ | 0..* | BackboneElement | Relationships to other documents | ||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | The relationship type with another document Binding: DocumentRelationshipType (extensible): The type of relationship between the documents. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Reference(DocumentReference) | Target of the relationship | ||||
![]() ![]() ![]() |
SΣ | 0..1 | markdown | Human-readable description | ||||
![]() ![]() ![]() |
SΣ | 0..* | CodeableConcept | Document security-tags Binding: SecurityLabelExamples (example): Example Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | BackboneElement | Document referenced | ||||
![]() ![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | VisualizationMethod - how to check the visualization URL: http://hl7.eu/fhir/ig/gravitate-health/StructureDefinition/VisualizationMethod | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Attachment | Where to access the document | ||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | Mime type of the content, with charset etc. Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) Example General: text/plain; charset=UTF-8, image/png | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Human language of the content (BCP-47) Binding: AllLanguages (required): IETF language tag for a human language.
Example General: en-AU | ||||
![]() ![]() ![]() ![]() ![]() |
SC | 0..1 | base64Binary | Data inline, base64ed | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | url | Uri where the data can be found Example General: http://www.acme.com/logo-small.png | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Label to display in place of the data Example General: Official Corporate Logo | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | dateTime | Date attachment was first created | ||||
![]() |
Path | Status | Usage | ValueSet | Version | Source |
DocumentReference.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
DocumentReference.status | Base | required | DocumentReferenceStatus | 📍5.0.0 | FHIR Std. |
DocumentReference.docStatus | Base | required | Composition Status | 📍5.0.0 | FHIR Std. |
DocumentReference.type | Base | preferred | FHIR Document Type Codes | 📍5.0.0 | FHIR Std. |
DocumentReference.category | Base | preferred | ASMCategoryVS | 📦0.1.0 | This IG |
DocumentReference.attester.mode | Base | preferred | Composition Attestation Mode | 📍5.0.0 | FHIR Std. |
DocumentReference.relatesTo.code | Base | extensible | Document Relationship Type | 📍5.0.0 | FHIR Std. |
DocumentReference.securityLabel | Base | example | Example set of Security Labels | 📍5.0.0 | FHIR Std. |
DocumentReference.content.attachment.contentType | Base | required | Mime Types | 📍5.0.0 | FHIR Std. |
DocumentReference.content.attachment.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
Id | Grade | Path(s) | Description | Expression |
dom-2 | error | DocumentReference | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
dom-3 | error | DocumentReference | 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
dom-4 | error | DocumentReference | 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 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
dom-6 | best practice | DocumentReference | A resource should have narrative for robust management |
text.`div`.exists()
|
docRef-1 | warning | DocumentReference | facilityType SHALL only be present if context is not an encounter |
facilityType.empty() or context.where(resolve() is Encounter).empty()
|
docRef-2 | warning | DocumentReference | practiceSetting SHALL only be present if context is not present |
practiceSetting.empty() or context.where(resolve() is Encounter).empty()
|
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()
|
gh-docref-1 | error | DocumentReference | A DocumentReference must have either a subject or an extension 'relatedMedicalIssue'. |
subject.exists() or extension.where(url = 'http://hl7.eu/fhir/ig/gravitate-health/StructureDefinition/RelatedMedicalIssue').exists()
|
This structure is derived from DocumentReference
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | DocumentReference | A reference to a document Constraints: gh-docref-1 |
![]() ![]() ![]() |
S | 0..1 | code | Language of the resource content |
![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
![]() ![]() ![]() ![]() |
0..* | base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, integer64, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, CodeableReference(), Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, RatioRange, Reference(), SampledData, Signature, Timing, ContactDetail, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Availability, ExtendedContactDetail, Dosage, Meta | RelatedMedicalIssue - link to condition / disease URL: http://hl7.eu/fhir/ig/gravitate-health/StructureDefinition/RelatedMedicalIssue | |
![]() ![]() ![]() |
S | 1..* | Identifier | Business identifiers for the document |
![]() ![]() ![]() |
S | 0..1 | string | An explicitly assigned identifer of a variation of the content in the DocumentReference |
![]() ![]() ![]() |
S | 0..1 | code | registered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Kind of document (LOINC if possible) |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Categorization of document Binding: ASMCategoryVS (preferred) |
![]() ![]() ![]() |
S | 0..1 | Reference(Resource) | Who/what is the subject of the document |
![]() ![]() ![]() |
S | 0..* | Reference(Appointment | Encounter | EpisodeOfCare) | Context of the document content |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
S | 1..1 | Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson | CareTeam) | Who and/or what authored the document |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Attests to accuracy of the document |
![]() ![]() ![]() |
S | 0..1 | Reference(Organization) | Organization which maintains the document |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Relationships to other documents |
![]() ![]() ![]() |
S | 0..1 | markdown | Human-readable description |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Document security-tags |
![]() ![]() ![]() |
S | 1..1 | BackboneElement | Document referenced |
![]() ![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | VisualizationMethod - how to check the visualization URL: http://hl7.eu/fhir/ig/gravitate-health/StructureDefinition/VisualizationMethod | |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Mime type of the content, with charset etc. |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Human language of the content (BCP-47) |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | base64Binary | Data inline, base64ed |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | url | Uri where the data can be found |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | string | Label to display in place of the data |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | Date attachment was first created |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Code|uri|canonical Binding: TypeOfDataVS (preferred) | |
![]() |
Path | Status | Usage | ValueSet | Version | Source |
DocumentReference.category | Base | preferred | ASMCategoryVS | 📦0.1.0 | This IG |
DocumentReference.content.profile.value[x] | Base | preferred | TypeOfDataVS | 📦0.1.0 | This IG |
Id | Grade | Path(s) | Description | Expression |
gh-docref-1 | error | DocumentReference | A DocumentReference must have either a subject or an extension 'relatedMedicalIssue'. |
subject.exists() or extension.where(url = 'http://hl7.eu/fhir/ig/gravitate-health/StructureDefinition/RelatedMedicalIssue').exists()
|
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | DocumentReference | A reference to a document Constraints: docRef-1, docRef-2, gh-docref-1 | ||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
S | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| ||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
0..* | base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, integer64, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, CodeableReference(), Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, RatioRange, Reference(), SampledData, Signature, Timing, ContactDetail, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Availability, ExtendedContactDetail, Dosage, Meta | RelatedMedicalIssue - link to condition / disease URL: http://hl7.eu/fhir/ig/gravitate-health/StructureDefinition/RelatedMedicalIssue | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
SΣ | 1..* | Identifier | Business identifiers for the document | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | An explicitly assigned identifer of a variation of the content in the DocumentReference | ||||
![]() ![]() ![]() |
0..* | Reference(Appointment | AppointmentResponse | CarePlan | Claim | CommunicationRequest | Contract | CoverageEligibilityRequest | DeviceRequest | EnrollmentRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | RequestOrchestration | ServiceRequest | SupplyRequest | VisionPrescription) | Procedure that caused this media to be created | |||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | current | superseded | entered-in-error Binding: DocumentReferenceStatus (required): The status of the document reference. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | code | registered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown Binding: CompositionStatus (required): Status of the underlying document. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | Kind of document (LOINC if possible) Binding: FHIRDocumentTypeCodes (preferred): Precise type of clinical document. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Categorization of document Binding: ASMCategoryVS (preferred) | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(Resource) | Who/what is the subject of the document | ||||
![]() ![]() ![]() |
SC | 0..* | Reference(Appointment | Encounter | EpisodeOfCare) | Context of the document content | ||||
![]() ![]() ![]() |
0..* | CodeableReference() | Main clinical acts documented Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented. | |||||
![]() ![]() ![]() |
C | 0..1 | CodeableConcept | Kind of facility where patient was seen Binding: FacilityTypeCodeValueSet (example): XDS Facility Type. | ||||
![]() ![]() ![]() |
C | 0..1 | CodeableConcept | Additional details about where the content was created (e.g. clinical specialty) Binding: PracticeSettingCodeValueSet (example): Additional details about where the content was created (e.g. clinical specialty). | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time of service that is being documented | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When this document reference was created | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson | CareTeam) | Who and/or what authored the document | ||||
![]() ![]() ![]() |
S | 0..* | BackboneElement | Attests to accuracy of the document | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | personal | professional | legal | official Binding: CompositionAttestationMode (preferred): The way in which a person authenticated a document. | |||||
![]() ![]() ![]() ![]() |
0..1 | dateTime | When the document was attested | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Organization) | Who attested the document | |||||
![]() ![]() ![]() |
S | 0..1 | Reference(Organization) | Organization which maintains the document | ||||
![]() ![]() ![]() |
SΣ | 0..* | BackboneElement | Relationships to other documents | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | The relationship type with another document Binding: DocumentRelationshipType (extensible): The type of relationship between the documents. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Reference(DocumentReference) | Target of the relationship | ||||
![]() ![]() ![]() |
SΣ | 0..1 | markdown | Human-readable description | ||||
![]() ![]() ![]() |
SΣ | 0..* | CodeableConcept | Document security-tags Binding: SecurityLabelExamples (example): Example Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | BackboneElement | Document referenced | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | VisualizationMethod - how to check the visualization URL: http://hl7.eu/fhir/ig/gravitate-health/StructureDefinition/VisualizationMethod | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Attachment | Where to access the document | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | Mime type of the content, with charset etc. Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) Example General: text/plain; charset=UTF-8, image/png | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Human language of the content (BCP-47) Binding: AllLanguages (required): IETF language tag for a human language.
Example General: en-AU | ||||
![]() ![]() ![]() ![]() ![]() |
SC | 0..1 | base64Binary | Data inline, base64ed | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | url | Uri where the data can be found Example General: http://www.acme.com/logo-small.png | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | integer64 | Number of bytes of content (if url provided) | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Label to display in place of the data Example General: Official Corporate Logo | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | dateTime | Date attachment was first created | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | positiveInt | Height of the image in pixels (photo/video) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | positiveInt | Width of the image in pixels (photo/video) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | positiveInt | Number of frames if > 1 (photo) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Length in seconds (audio / video) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | positiveInt | Number of printed pages | |||||
![]() ![]() ![]() ![]() |
Σ | 0..* | BackboneElement | Content profile rules for the document | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Code|uri|canonical Binding: TypeOfDataVS (preferred) | ||||
![]() |
Path | Status | Usage | ValueSet | Version | Source |
DocumentReference.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
DocumentReference.status | Base | required | DocumentReferenceStatus | 📍5.0.0 | FHIR Std. |
DocumentReference.docStatus | Base | required | Composition Status | 📍5.0.0 | FHIR Std. |
DocumentReference.type | Base | preferred | FHIR Document Type Codes | 📍5.0.0 | FHIR Std. |
DocumentReference.category | Base | preferred | ASMCategoryVS | 📦0.1.0 | This IG |
DocumentReference.event | Base | example | v3 Code System ActCode | 📦3.0.0 | THO v6.5 |
DocumentReference.facilityType | Base | example | Facility Type Code Value Set | 📍5.0.0 | FHIR Std. |
DocumentReference.practiceSetting | Base | example | Practice Setting Code Value Set | 📍5.0.0 | FHIR Std. |
DocumentReference.attester.mode | Base | preferred | Composition Attestation Mode | 📍5.0.0 | FHIR Std. |
DocumentReference.relatesTo.code | Base | extensible | Document Relationship Type | 📍5.0.0 | FHIR Std. |
DocumentReference.securityLabel | Base | example | Example set of Security Labels | 📍5.0.0 | FHIR Std. |
DocumentReference.content.attachment.contentType | Base | required | Mime Types | 📍5.0.0 | FHIR Std. |
DocumentReference.content.attachment.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
DocumentReference.content.profile.value[x] | Base | preferred | TypeOfDataVS | 📦0.1.0 | This IG |
Id | Grade | Path(s) | Description | Expression |
dom-2 | error | DocumentReference | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
dom-3 | error | DocumentReference | 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
dom-4 | error | DocumentReference | 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 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
dom-6 | best practice | DocumentReference | A resource should have narrative for robust management |
text.`div`.exists()
|
docRef-1 | warning | DocumentReference | facilityType SHALL only be present if context is not an encounter |
facilityType.empty() or context.where(resolve() is Encounter).empty()
|
docRef-2 | warning | DocumentReference | practiceSetting SHALL only be present if context is not present |
practiceSetting.empty() or context.where(resolve() is Encounter).empty()
|
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()
|
gh-docref-1 | error | DocumentReference | A DocumentReference must have either a subject or an extension 'relatedMedicalIssue'. |
subject.exists() or extension.where(url = 'http://hl7.eu/fhir/ig/gravitate-health/StructureDefinition/RelatedMedicalIssue').exists()
|
This structure is derived from DocumentReference
Key Elements View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | DocumentReference | A reference to a document Constraints: docRef-1, docRef-2, gh-docref-1 | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
S | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| ||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
0..* | base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, integer64, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, CodeableReference(), Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, RatioRange, Reference(), SampledData, Signature, Timing, ContactDetail, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Availability, ExtendedContactDetail, Dosage, Meta | RelatedMedicalIssue - link to condition / disease URL: http://hl7.eu/fhir/ig/gravitate-health/StructureDefinition/RelatedMedicalIssue | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
SΣ | 1..* | Identifier | Business identifiers for the document | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | An explicitly assigned identifer of a variation of the content in the DocumentReference | ||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | current | superseded | entered-in-error Binding: DocumentReferenceStatus (required): The status of the document reference. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | code | registered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown Binding: CompositionStatus (required): Status of the underlying document. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | Kind of document (LOINC if possible) Binding: FHIRDocumentTypeCodes (preferred): Precise type of clinical document. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Categorization of document Binding: ASMCategoryVS (preferred) | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(Resource) | Who/what is the subject of the document | ||||
![]() ![]() ![]() |
SC | 0..* | Reference(Appointment | Encounter | EpisodeOfCare) | Context of the document content | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson | CareTeam) | Who and/or what authored the document | ||||
![]() ![]() ![]() |
S | 0..* | BackboneElement | Attests to accuracy of the document | ||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | personal | professional | legal | official Binding: CompositionAttestationMode (preferred): The way in which a person authenticated a document. | |||||
![]() ![]() ![]() |
S | 0..1 | Reference(Organization) | Organization which maintains the document | ||||
![]() ![]() ![]() |
SΣ | 0..* | BackboneElement | Relationships to other documents | ||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | The relationship type with another document Binding: DocumentRelationshipType (extensible): The type of relationship between the documents. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Reference(DocumentReference) | Target of the relationship | ||||
![]() ![]() ![]() |
SΣ | 0..1 | markdown | Human-readable description | ||||
![]() ![]() ![]() |
SΣ | 0..* | CodeableConcept | Document security-tags Binding: SecurityLabelExamples (example): Example Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | BackboneElement | Document referenced | ||||
![]() ![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | VisualizationMethod - how to check the visualization URL: http://hl7.eu/fhir/ig/gravitate-health/StructureDefinition/VisualizationMethod | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Attachment | Where to access the document | ||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | Mime type of the content, with charset etc. Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) Example General: text/plain; charset=UTF-8, image/png | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Human language of the content (BCP-47) Binding: AllLanguages (required): IETF language tag for a human language.
Example General: en-AU | ||||
![]() ![]() ![]() ![]() ![]() |
SC | 0..1 | base64Binary | Data inline, base64ed | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | url | Uri where the data can be found Example General: http://www.acme.com/logo-small.png | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Label to display in place of the data Example General: Official Corporate Logo | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | dateTime | Date attachment was first created | ||||
![]() |
Path | Status | Usage | ValueSet | Version | Source |
DocumentReference.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
DocumentReference.status | Base | required | DocumentReferenceStatus | 📍5.0.0 | FHIR Std. |
DocumentReference.docStatus | Base | required | Composition Status | 📍5.0.0 | FHIR Std. |
DocumentReference.type | Base | preferred | FHIR Document Type Codes | 📍5.0.0 | FHIR Std. |
DocumentReference.category | Base | preferred | ASMCategoryVS | 📦0.1.0 | This IG |
DocumentReference.attester.mode | Base | preferred | Composition Attestation Mode | 📍5.0.0 | FHIR Std. |
DocumentReference.relatesTo.code | Base | extensible | Document Relationship Type | 📍5.0.0 | FHIR Std. |
DocumentReference.securityLabel | Base | example | Example set of Security Labels | 📍5.0.0 | FHIR Std. |
DocumentReference.content.attachment.contentType | Base | required | Mime Types | 📍5.0.0 | FHIR Std. |
DocumentReference.content.attachment.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
Id | Grade | Path(s) | Description | Expression |
dom-2 | error | DocumentReference | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
dom-3 | error | DocumentReference | 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
dom-4 | error | DocumentReference | 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 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
dom-6 | best practice | DocumentReference | A resource should have narrative for robust management |
text.`div`.exists()
|
docRef-1 | warning | DocumentReference | facilityType SHALL only be present if context is not an encounter |
facilityType.empty() or context.where(resolve() is Encounter).empty()
|
docRef-2 | warning | DocumentReference | practiceSetting SHALL only be present if context is not present |
practiceSetting.empty() or context.where(resolve() is Encounter).empty()
|
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()
|
gh-docref-1 | error | DocumentReference | A DocumentReference must have either a subject or an extension 'relatedMedicalIssue'. |
subject.exists() or extension.where(url = 'http://hl7.eu/fhir/ig/gravitate-health/StructureDefinition/RelatedMedicalIssue').exists()
|
Differential View
This structure is derived from DocumentReference
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | DocumentReference | A reference to a document Constraints: gh-docref-1 |
![]() ![]() ![]() |
S | 0..1 | code | Language of the resource content |
![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
![]() ![]() ![]() ![]() |
0..* | base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, integer64, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, CodeableReference(), Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, RatioRange, Reference(), SampledData, Signature, Timing, ContactDetail, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Availability, ExtendedContactDetail, Dosage, Meta | RelatedMedicalIssue - link to condition / disease URL: http://hl7.eu/fhir/ig/gravitate-health/StructureDefinition/RelatedMedicalIssue | |
![]() ![]() ![]() |
S | 1..* | Identifier | Business identifiers for the document |
![]() ![]() ![]() |
S | 0..1 | string | An explicitly assigned identifer of a variation of the content in the DocumentReference |
![]() ![]() ![]() |
S | 0..1 | code | registered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Kind of document (LOINC if possible) |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Categorization of document Binding: ASMCategoryVS (preferred) |
![]() ![]() ![]() |
S | 0..1 | Reference(Resource) | Who/what is the subject of the document |
![]() ![]() ![]() |
S | 0..* | Reference(Appointment | Encounter | EpisodeOfCare) | Context of the document content |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
S | 1..1 | Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson | CareTeam) | Who and/or what authored the document |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Attests to accuracy of the document |
![]() ![]() ![]() |
S | 0..1 | Reference(Organization) | Organization which maintains the document |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Relationships to other documents |
![]() ![]() ![]() |
S | 0..1 | markdown | Human-readable description |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Document security-tags |
![]() ![]() ![]() |
S | 1..1 | BackboneElement | Document referenced |
![]() ![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | VisualizationMethod - how to check the visualization URL: http://hl7.eu/fhir/ig/gravitate-health/StructureDefinition/VisualizationMethod | |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Mime type of the content, with charset etc. |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Human language of the content (BCP-47) |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | base64Binary | Data inline, base64ed |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | url | Uri where the data can be found |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | string | Label to display in place of the data |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | Date attachment was first created |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Code|uri|canonical Binding: TypeOfDataVS (preferred) | |
![]() |
Path | Status | Usage | ValueSet | Version | Source |
DocumentReference.category | Base | preferred | ASMCategoryVS | 📦0.1.0 | This IG |
DocumentReference.content.profile.value[x] | Base | preferred | TypeOfDataVS | 📦0.1.0 | This IG |
Id | Grade | Path(s) | Description | Expression |
gh-docref-1 | error | DocumentReference | A DocumentReference must have either a subject or an extension 'relatedMedicalIssue'. |
subject.exists() or extension.where(url = 'http://hl7.eu/fhir/ig/gravitate-health/StructureDefinition/RelatedMedicalIssue').exists()
|
Snapshot View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | DocumentReference | A reference to a document Constraints: docRef-1, docRef-2, gh-docref-1 | ||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
S | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| ||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
0..* | base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, integer64, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, CodeableReference(), Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, RatioRange, Reference(), SampledData, Signature, Timing, ContactDetail, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Availability, ExtendedContactDetail, Dosage, Meta | RelatedMedicalIssue - link to condition / disease URL: http://hl7.eu/fhir/ig/gravitate-health/StructureDefinition/RelatedMedicalIssue | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
SΣ | 1..* | Identifier | Business identifiers for the document | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | An explicitly assigned identifer of a variation of the content in the DocumentReference | ||||
![]() ![]() ![]() |
0..* | Reference(Appointment | AppointmentResponse | CarePlan | Claim | CommunicationRequest | Contract | CoverageEligibilityRequest | DeviceRequest | EnrollmentRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | RequestOrchestration | ServiceRequest | SupplyRequest | VisionPrescription) | Procedure that caused this media to be created | |||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | current | superseded | entered-in-error Binding: DocumentReferenceStatus (required): The status of the document reference. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | code | registered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown Binding: CompositionStatus (required): Status of the underlying document. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | Kind of document (LOINC if possible) Binding: FHIRDocumentTypeCodes (preferred): Precise type of clinical document. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Categorization of document Binding: ASMCategoryVS (preferred) | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(Resource) | Who/what is the subject of the document | ||||
![]() ![]() ![]() |
SC | 0..* | Reference(Appointment | Encounter | EpisodeOfCare) | Context of the document content | ||||
![]() ![]() ![]() |
0..* | CodeableReference() | Main clinical acts documented Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented. | |||||
![]() ![]() ![]() |
C | 0..1 | CodeableConcept | Kind of facility where patient was seen Binding: FacilityTypeCodeValueSet (example): XDS Facility Type. | ||||
![]() ![]() ![]() |
C | 0..1 | CodeableConcept | Additional details about where the content was created (e.g. clinical specialty) Binding: PracticeSettingCodeValueSet (example): Additional details about where the content was created (e.g. clinical specialty). | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time of service that is being documented | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When this document reference was created | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson | CareTeam) | Who and/or what authored the document | ||||
![]() ![]() ![]() |
S | 0..* | BackboneElement | Attests to accuracy of the document | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | personal | professional | legal | official Binding: CompositionAttestationMode (preferred): The way in which a person authenticated a document. | |||||
![]() ![]() ![]() ![]() |
0..1 | dateTime | When the document was attested | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Organization) | Who attested the document | |||||
![]() ![]() ![]() |
S | 0..1 | Reference(Organization) | Organization which maintains the document | ||||
![]() ![]() ![]() |
SΣ | 0..* | BackboneElement | Relationships to other documents | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | The relationship type with another document Binding: DocumentRelationshipType (extensible): The type of relationship between the documents. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Reference(DocumentReference) | Target of the relationship | ||||
![]() ![]() ![]() |
SΣ | 0..1 | markdown | Human-readable description | ||||
![]() ![]() ![]() |
SΣ | 0..* | CodeableConcept | Document security-tags Binding: SecurityLabelExamples (example): Example Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | BackboneElement | Document referenced | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
S | 0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | VisualizationMethod - how to check the visualization URL: http://hl7.eu/fhir/ig/gravitate-health/StructureDefinition/VisualizationMethod | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Attachment | Where to access the document | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | Mime type of the content, with charset etc. Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) Example General: text/plain; charset=UTF-8, image/png | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Human language of the content (BCP-47) Binding: AllLanguages (required): IETF language tag for a human language.
Example General: en-AU | ||||
![]() ![]() ![]() ![]() ![]() |
SC | 0..1 | base64Binary | Data inline, base64ed | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | url | Uri where the data can be found Example General: http://www.acme.com/logo-small.png | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | integer64 | Number of bytes of content (if url provided) | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Label to display in place of the data Example General: Official Corporate Logo | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | dateTime | Date attachment was first created | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | positiveInt | Height of the image in pixels (photo/video) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | positiveInt | Width of the image in pixels (photo/video) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | positiveInt | Number of frames if > 1 (photo) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | decimal | Length in seconds (audio / video) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | positiveInt | Number of printed pages | |||||
![]() ![]() ![]() ![]() |
Σ | 0..* | BackboneElement | Content profile rules for the document | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Code|uri|canonical Binding: TypeOfDataVS (preferred) | ||||
![]() |
Path | Status | Usage | ValueSet | Version | Source |
DocumentReference.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
DocumentReference.status | Base | required | DocumentReferenceStatus | 📍5.0.0 | FHIR Std. |
DocumentReference.docStatus | Base | required | Composition Status | 📍5.0.0 | FHIR Std. |
DocumentReference.type | Base | preferred | FHIR Document Type Codes | 📍5.0.0 | FHIR Std. |
DocumentReference.category | Base | preferred | ASMCategoryVS | 📦0.1.0 | This IG |
DocumentReference.event | Base | example | v3 Code System ActCode | 📦3.0.0 | THO v6.5 |
DocumentReference.facilityType | Base | example | Facility Type Code Value Set | 📍5.0.0 | FHIR Std. |
DocumentReference.practiceSetting | Base | example | Practice Setting Code Value Set | 📍5.0.0 | FHIR Std. |
DocumentReference.attester.mode | Base | preferred | Composition Attestation Mode | 📍5.0.0 | FHIR Std. |
DocumentReference.relatesTo.code | Base | extensible | Document Relationship Type | 📍5.0.0 | FHIR Std. |
DocumentReference.securityLabel | Base | example | Example set of Security Labels | 📍5.0.0 | FHIR Std. |
DocumentReference.content.attachment.contentType | Base | required | Mime Types | 📍5.0.0 | FHIR Std. |
DocumentReference.content.attachment.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
DocumentReference.content.profile.value[x] | Base | preferred | TypeOfDataVS | 📦0.1.0 | This IG |
Id | Grade | Path(s) | Description | Expression |
dom-2 | error | DocumentReference | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
dom-3 | error | DocumentReference | 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
dom-4 | error | DocumentReference | 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 | error | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
dom-6 | best practice | DocumentReference | A resource should have narrative for robust management |
text.`div`.exists()
|
docRef-1 | warning | DocumentReference | facilityType SHALL only be present if context is not an encounter |
facilityType.empty() or context.where(resolve() is Encounter).empty()
|
docRef-2 | warning | DocumentReference | practiceSetting SHALL only be present if context is not present |
practiceSetting.empty() or context.where(resolve() is Encounter).empty()
|
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()
|
gh-docref-1 | error | DocumentReference | A DocumentReference must have either a subject or an extension 'relatedMedicalIssue'. |
subject.exists() or extension.where(url = 'http://hl7.eu/fhir/ig/gravitate-health/StructureDefinition/RelatedMedicalIssue').exists()
|
This structure is derived from DocumentReference
Other representations of profile: CSV, Excel, Schematron