Kids First Implementation Guide
0.1.0 - CI Build
Kids First Implementation Guide - Local Development build (v0.1.0). See the Directory of published versions
The official URL for this profile is:
http://fhir.kids-first.io/StructureDefinition/kfdrc-specimen-no-phi
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from kfdrc-specimen
This structure is derived from kfdrc-specimen
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Specimen | 0..* | kfdrc-specimen | Sample for analysis | |
receivedTime | 0..0 | |||
collection | ||||
collected[x] | 0..0 | |||
processing | ||||
time[x] | 0..0 | |||
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Specimen | I | 0..* | kfdrc-specimen | Sample for analysis |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
age-at-event | SI | 0..1 | Age | Age at the time of Specimen collection URL: http://fhir.kids-first.io/StructureDefinition/age-at-event |
concentration | SI | 0..1 | SimpleQuantity | Concentration URL: http://fhir.kids-first.io/StructureDefinition/concentration |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
identifier | ΣI | 0..* | Identifier | External Identifier |
accessionIdentifier | ΣI | 0..1 | Identifier | Identifier assigned by the lab |
status | ?!ΣI | 0..1 | code | available | unavailable | unsatisfactory | entered-in-error Binding: SpecimenStatus (required) |
type | ΣI | 0..1 | CodeableConcept | Kind of material that forms the specimen Binding: v2 Specimen Type (example) |
subject | ΣI | 0..1 | Reference(Patient | Group | Device | Substance | Location) | Where the specimen came from. This may be from patient(s), from a location (e.g., the source of an environmental sample), or a sampling of a substance or a device |
parent | I | 0..* | Reference(Specimen) | Specimen from which this specimen originated |
request | I | 0..* | Reference(ServiceRequest) | Why the specimen was collected |
collection | I | 0..1 | BackboneElement | Collection details |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
collector | ΣI | 0..1 | Reference(Practitioner | PractitionerRole) | Who collected the specimen |
duration | ΣI | 0..1 | Duration | How long it took to collect specimen |
quantity | I | 0..1 | SimpleQuantity | The quantity of specimen collected |
method | I | 0..1 | CodeableConcept | Technique used to perform collection Binding: FHIRSpecimenCollectionMethod (example) |
bodySite | I | 0..1 | CodeableConcept | Anatomical collection site Binding: SNOMEDCTBodyStructures (example) |
fastingStatus[x] | ΣI | 0..1 | Whether or how long patient abstained from food and/or drink Binding: v2 Relevant Clincial Information (extensible) | |
fastingStatusCodeableConcept | CodeableConcept | |||
fastingStatusDuration | Duration | |||
processing | I | 0..* | BackboneElement | Processing and processing step details |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
description | I | 0..1 | string | Textual description of procedure |
procedure | I | 0..1 | CodeableConcept | Indicates the treatment step applied to the specimen Binding: SpecimenProcessingProcedure (example) |
additive | I | 0..* | Reference(Substance) | Material used in the processing step |
container | I | 0..* | BackboneElement | Direct container of specimen (tube/slide, etc.) |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
identifier | ΣI | 0..* | Identifier | Id for the container |
description | I | 0..1 | string | Textual description of the container |
type | I | 0..1 | CodeableConcept | Kind of container directly associated with specimen Binding: SpecimenContainerType (example) |
capacity | I | 0..1 | SimpleQuantity | Container volume or size |
specimenQuantity | I | 0..1 | SimpleQuantity | Quantity of specimen within container |
additive[x] | I | 0..1 | Additive associated with container Binding: v2 Additive (example) | |
additiveCodeableConcept | CodeableConcept | |||
additiveReference | Reference(Substance) | |||
condition | ΣI | 0..* | CodeableConcept | State of the specimen Binding: v2 Specimen Condition (extensible) |
note | I | 0..* | Annotation | Comments |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Specimen | I | 0..* | kfdrc-specimen | Sample for analysis |
age-at-event | I | 0..1 | Age | Age at the time of Specimen collection URL: http://fhir.kids-first.io/StructureDefinition/age-at-event |
concentration | I | 0..1 | SimpleQuantity | Concentration URL: http://fhir.kids-first.io/StructureDefinition/concentration |
Documentation for this format |
This structure is derived from kfdrc-specimen
Differential View
This structure is derived from kfdrc-specimen
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Specimen | 0..* | kfdrc-specimen | Sample for analysis | |
receivedTime | 0..0 | |||
collection | ||||
collected[x] | 0..0 | |||
processing | ||||
time[x] | 0..0 | |||
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Specimen | I | 0..* | kfdrc-specimen | Sample for analysis |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
age-at-event | SI | 0..1 | Age | Age at the time of Specimen collection URL: http://fhir.kids-first.io/StructureDefinition/age-at-event |
concentration | SI | 0..1 | SimpleQuantity | Concentration URL: http://fhir.kids-first.io/StructureDefinition/concentration |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
identifier | ΣI | 0..* | Identifier | External Identifier |
accessionIdentifier | ΣI | 0..1 | Identifier | Identifier assigned by the lab |
status | ?!ΣI | 0..1 | code | available | unavailable | unsatisfactory | entered-in-error Binding: SpecimenStatus (required) |
type | ΣI | 0..1 | CodeableConcept | Kind of material that forms the specimen Binding: v2 Specimen Type (example) |
subject | ΣI | 0..1 | Reference(Patient | Group | Device | Substance | Location) | Where the specimen came from. This may be from patient(s), from a location (e.g., the source of an environmental sample), or a sampling of a substance or a device |
parent | I | 0..* | Reference(Specimen) | Specimen from which this specimen originated |
request | I | 0..* | Reference(ServiceRequest) | Why the specimen was collected |
collection | I | 0..1 | BackboneElement | Collection details |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
collector | ΣI | 0..1 | Reference(Practitioner | PractitionerRole) | Who collected the specimen |
duration | ΣI | 0..1 | Duration | How long it took to collect specimen |
quantity | I | 0..1 | SimpleQuantity | The quantity of specimen collected |
method | I | 0..1 | CodeableConcept | Technique used to perform collection Binding: FHIRSpecimenCollectionMethod (example) |
bodySite | I | 0..1 | CodeableConcept | Anatomical collection site Binding: SNOMEDCTBodyStructures (example) |
fastingStatus[x] | ΣI | 0..1 | Whether or how long patient abstained from food and/or drink Binding: v2 Relevant Clincial Information (extensible) | |
fastingStatusCodeableConcept | CodeableConcept | |||
fastingStatusDuration | Duration | |||
processing | I | 0..* | BackboneElement | Processing and processing step details |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
description | I | 0..1 | string | Textual description of procedure |
procedure | I | 0..1 | CodeableConcept | Indicates the treatment step applied to the specimen Binding: SpecimenProcessingProcedure (example) |
additive | I | 0..* | Reference(Substance) | Material used in the processing step |
container | I | 0..* | BackboneElement | Direct container of specimen (tube/slide, etc.) |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
identifier | ΣI | 0..* | Identifier | Id for the container |
description | I | 0..1 | string | Textual description of the container |
type | I | 0..1 | CodeableConcept | Kind of container directly associated with specimen Binding: SpecimenContainerType (example) |
capacity | I | 0..1 | SimpleQuantity | Container volume or size |
specimenQuantity | I | 0..1 | SimpleQuantity | Quantity of specimen within container |
additive[x] | I | 0..1 | Additive associated with container Binding: v2 Additive (example) | |
additiveCodeableConcept | CodeableConcept | |||
additiveReference | Reference(Substance) | |||
condition | ΣI | 0..* | CodeableConcept | State of the specimen Binding: v2 Specimen Condition (extensible) |
note | I | 0..* | Annotation | Comments |
Documentation for this format |
Other representations of profile: Schematron
Path | Conformance | ValueSet |
Specimen.language | preferred | CommonLanguages Max Binding: AllLanguages |
Specimen.status | required | SpecimenStatus |
Specimen.type | example | v2.0487 |
Specimen.collection.method | example | FHIRSpecimenCollectionMethod |
Specimen.collection.bodySite | example | SNOMEDCTBodyStructures |
Specimen.collection.fastingStatus[x] | extensible | v2.0916 |
Specimen.processing.procedure | example | SpecimenProcessingProcedure |
Specimen.container.type | example | SpecimenContainerType |
Specimen.container.additive[x] | example | v2.0371 |
Specimen.condition | extensible | v2.0493 |
Id | Path | Details | Requirements |
dom-2 | Specimen | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | Specimen | 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 | Specimen | 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 | Specimen | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | Specimen | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | Specimen.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Specimen.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Specimen.extension:age-at-event | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Specimen.extension:age-at-event | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Specimen.extension:concentration | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Specimen.extension:concentration | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Specimen.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Specimen.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Specimen.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.accessionIdentifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.status | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.subject | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.parent | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.request | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.collection | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.collection.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Specimen.collection.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Specimen.collection.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Specimen.collection.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Specimen.collection.collector | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.collection.duration | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.collection.quantity | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.collection.method | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.collection.bodySite | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.collection.fastingStatus[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.processing | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.processing.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Specimen.processing.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Specimen.processing.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Specimen.processing.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Specimen.processing.description | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.processing.procedure | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.processing.additive | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.container | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.container.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Specimen.container.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Specimen.container.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Specimen.container.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Specimen.container.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.container.description | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.container.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.container.capacity | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.container.specimenQuantity | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.container.additive[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.condition | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Specimen.note | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |