NCPI FHIR Implementation Guide v2
0.1.0 - ci-build

NCPI FHIR Implementation Guide v2 - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: NCPI DRS File

Official URL: https://nih-ncpi.github.io/ncpi-fhir-ig-2/StructureDefinition/ncpi-drs-file Version: 0.1.0
Draft as of 2025-03-24 Computable Name: NcpiDRSFile

Information about a DRS file related to a research participant

Usage:

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

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentReference 0..* NcpiFile A reference to a document
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: 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
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:file-format 1..1 CodeableConcept The file format used (EDAM is preferred)
URL: https://nih-ncpi.github.io/ncpi-fhir-ig-2/StructureDefinition/file-format
Binding: http://edamontology.org (extensible)
ele-1: All FHIR elements must have a @value or children unless an empty Parameters resource
ext-1: Must have either extensions or value[x], not both
.... extension:location-access 0..* Reference() If present, only those under the specific Access Policy can access the file in this location.
URL: https://nih-ncpi.github.io/ncpi-fhir-ig-2/StructureDefinition/location-access
ele-1: All FHIR elements must have a @value or children unless an empty Parameters resource
ext-1: Must have either extensions or value[x], not both
.... extension:file-size 1..1 Quantity Indicate the size of the file in reference
URL: https://nih-ncpi.github.io/ncpi-fhir-ig-2/StructureDefinition/file-size
ele-1: All FHIR elements must have a @value or children unless an empty Parameters resource
ext-1: Must have either extensions or value[x], not both
.... extension:hash 0..* (Complex) Provides a list of hashes for confirming file transfers
URL: https://nih-ncpi.github.io/ncpi-fhir-ig-2/StructureDefinition/hash-extension
ele-1: All FHIR elements must have a @value or children unless an empty Parameters resource
ext-1: Must have either extensions or value[x], not both
.... extension:content-version 0..1 string The version of the content in the file
URL: https://nih-ncpi.github.io/ncpi-fhir-ig-2/StructureDefinition/content-version
ele-1: All FHIR elements must have a @value or children unless an empty Parameters resource
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... status ?!Σ 1..1 code current | superseded | entered-in-error
Binding: DocumentReferenceStatus (required): The status of the document reference.


ele-1: All FHIR elements must have a @value or children
... subject Σ 1..1 Reference(Patient | Practitioner | Group | Device) The participant(s) for whom this file contains data (i.e., ParticipantID)
ele-1: All FHIR elements must have a @value or children
... Slices for content Σ 1..* BackboneElement Document referenced
Slice: Ordered, Open At End by pattern:code
ele-1: All FHIR elements must have a @value or children unless an empty Parameters resource
.... content:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... attachment Σ 1..1 Attachment Where to access the document
ele-1: All FHIR elements must have a @value or children
...... url Σ 1..1 url The URI at which this data can be accessed
ele-1: All FHIR elements must have a @value or children
Example General: http://www.acme.com/logo-small.png
.... content:DRS Σ 1..1 BackboneElement Document referenced
ele-1: All FHIR elements must have a @value or children unless an empty Parameters resource
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... attachment Σ 1..1 DRSAttachment Where to access the document
ele-1: All FHIR elements must have a @value or children
...... url Σ 1..1 url The URI at which this data can be accessed
ele-1: All FHIR elements must have a @value or children
Example General: http://www.acme.com/logo-small.png

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
DocumentReference.statusrequiredDocumentReferenceStatus
http://hl7.org/fhir/ValueSet/document-reference-status|4.3.0
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorDocumentReferenceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorDocumentReferenceIf 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.exists() and ('#'+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(uri) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorDocumentReferenceIf 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-5errorDocumentReferenceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceDocumentReferenceA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

 

Other representations of profile: CSV, Excel, Schematron