HL7 FHIR Implementation Guide: minimal Common Oncology Data Elements (mCODE), v0.9.0

- Local Development build (v0.9.0). See the Directory of published versions

DomainResource

 

The official URL for this profile is:

http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-DomainResource

Parent class for any item in clinical or administrative health-related system. A DomainResource can belong to a single person's health record, or represent an entity that surfaces in multiple records, such as organizations, providers, payments, decision support artifacts, etc.

Note to FHIR implementers: SHR includes Status and Identifier fields on DomainResource because these two attributes occur in almost every FHIR resource. The most significant exception are 3 or 4 resources that use an 'active' flag instead of coded status value. There is no apparent pattern to this inconsistency. FHIR resources that use a coded status have active and inactive as status values. In the spirit of providing a consistent object-oriented logical model for FHIR, SHR uses status across all domain resources.

This profile builds on DomainResource.

This profile was published on Wed Apr 17 00:00:00 EDT 2019 as a draft by The MITRE Corporation.

Summary

Extensions

This structure refers to these extensions:

Mapping Source

This structure represents the following mapping definition:

shr.core.DomainResource maps to DomainResource:
  _Entry.EntryId maps to id
  Language maps to language
  Narrative maps to text
  ImplicitRules maps to implicitRules
  Metadata.VersionId maps to meta.versionId
  Metadata.Profile maps to meta.profile
  Metadata.LastUpdated maps to meta.lastUpdated
  Metadata.SecurityLabel maps to meta.security
  Metadata.Tag maps to meta.tag

NameFlagsCard.TypeDescription & Constraintsdoco
.. DomainResource shr-core-DomainResource
... extension Slice: Unordered, Open by value:url
... shr-core-Status-extension 0..1CodeableConceptStatus
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Status-extension
... shr-core-Identifier-extension 0..*IdentifierIdentifier
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Identifier-extension

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. DomainResource I0..*shr-core-DomainResource
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: http://tools.ietf.org/html/bcp47 (required)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
... shr-core-Status-extension 0..1CodeableConceptStatus
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Status-extension
... shr-core-Identifier-extension 0..*IdentifierIdentifier
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Identifier-extension
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored

doco Documentation for this format

Summary

Extensions

This structure refers to these extensions:

Mapping Source

This structure represents the following mapping definition:

shr.core.DomainResource maps to DomainResource:
  _Entry.EntryId maps to id
  Language maps to language
  Narrative maps to text
  ImplicitRules maps to implicitRules
  Metadata.VersionId maps to meta.versionId
  Metadata.Profile maps to meta.profile
  Metadata.LastUpdated maps to meta.lastUpdated
  Metadata.SecurityLabel maps to meta.security
  Metadata.Tag maps to meta.tag

Differential View

NameFlagsCard.TypeDescription & Constraintsdoco
.. DomainResource shr-core-DomainResource
... extension Slice: Unordered, Open by value:url
... shr-core-Status-extension 0..1CodeableConceptStatus
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Status-extension
... shr-core-Identifier-extension 0..*IdentifierIdentifier
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Identifier-extension

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. DomainResource I0..*shr-core-DomainResource
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: http://tools.ietf.org/html/bcp47 (required)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
... shr-core-Status-extension 0..1CodeableConceptStatus
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Status-extension
... shr-core-Identifier-extension 0..*IdentifierIdentifier
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Identifier-extension
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored

doco Documentation for this format

Downloads: StructureDefinition: (XML, JSON, TTL), Schema: XML Schematron

 

 

Constraints

IdPathDetailsRequirements
dom-4DomainResourceIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
:
dom-3DomainResourceIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
:
dom-2DomainResourceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
:
dom-1DomainResourceIf the resource is contained in another resource, it SHALL NOT contain any narrative
: