ImplementationGuide for Malaysia Core (MY Core)
0.0.1 - CI Build

ImplementationGuide for Malaysia Core (MY Core), published by Malaysia Healthcare Nexus (MHN). This guide is not an authorized publication; it is the continuous build for version 0.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/nhphong245/my-core-ig-r4/ and changes regularly. See the Directory of published versions

Resource Profile: DocumentManifest (MY Core)

Official URL: http://fhir.hie.moh.gov.my/StructureDefinition/DocumentManifest-my-core Version: 0.0.1
Active as of 2024-02-12 Responsible: Malaysia Healthcare Nexus (MHN) Realm: International flag Computable Name: DocumentManifestMyCore

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.

This structure is derived from DocumentManifest

NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentManifest 0..* DocumentManifest A list that defines a set of documents
... type 1..1 CodeableConcept Kind of document set
Binding: ValueSetSubRecordType (MY Core) (required)

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
DocumentManifest.typerequiredValueSetSubRecordTypeMyCore (a valid code from CodeSystemSubRecordType (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/sub-record-type-my-core
from this IG
NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentManifest 0..* DocumentManifest A list that defines a set of documents
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... status ?!Σ 1..1 code current | superseded | entered-in-error
Binding: DocumentReferenceStatus (required): The status of the document reference.

... content Σ 1..* Reference(Resource) Items in manifest

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
DocumentManifest.statusrequiredDocumentReferenceStatus
http://hl7.org/fhir/ValueSet/document-reference-status|4.0.1
from the FHIR Standard
DocumentManifest.typerequiredValueSetSubRecordTypeMyCore (a valid code from CodeSystemSubRecordType (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/sub-record-type-my-core
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorDocumentManifestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorDocumentManifestIf 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-4errorDocumentManifestIf 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-5errorDocumentManifestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceDocumentManifestA 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()
NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentManifest 0..* DocumentManifest A list that defines a set of documents
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... masterIdentifier Σ 0..1 Identifier Unique Identifier for the set of documents
... identifier Σ 0..* Identifier Other identifiers for the manifest
... status ?!Σ 1..1 code current | superseded | entered-in-error
Binding: DocumentReferenceStatus (required): The status of the document reference.

... type Σ 1..1 CodeableConcept Kind of document set
Binding: ValueSetSubRecordType (MY Core) (required)
... subject Σ 0..1 Reference(Patient | Practitioner | Group | Device) The subject of the set of documents
... created 0..1 dateTime When this document manifest created
... author Σ 0..* Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson) Who and/or what authored the DocumentManifest
... recipient 0..* Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) Intended to get notified about this set of documents
... source 0..1 uri The source system/application/software
... description Σ 0..1 string Human-readable description (title)
... content Σ 1..* Reference(Resource) Items in manifest
... related 0..* BackboneElement Related things
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... identifier 0..1 Identifier Identifiers of things that are related
.... ref 0..1 Reference(Resource) Related Resource

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
DocumentManifest.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
DocumentManifest.statusrequiredDocumentReferenceStatus
http://hl7.org/fhir/ValueSet/document-reference-status|4.0.1
from the FHIR Standard
DocumentManifest.typerequiredValueSetSubRecordTypeMyCore (a valid code from CodeSystemSubRecordType (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/sub-record-type-my-core
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorDocumentManifestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorDocumentManifestIf 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-4errorDocumentManifestIf 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-5errorDocumentManifestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceDocumentManifestA 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()

This structure is derived from DocumentManifest

Summary

Mandatory: 1 element

Differential View

This structure is derived from DocumentManifest

NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentManifest 0..* DocumentManifest A list that defines a set of documents
... type 1..1 CodeableConcept Kind of document set
Binding: ValueSetSubRecordType (MY Core) (required)

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
DocumentManifest.typerequiredValueSetSubRecordTypeMyCore (a valid code from CodeSystemSubRecordType (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/sub-record-type-my-core
from this IG

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentManifest 0..* DocumentManifest A list that defines a set of documents
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... status ?!Σ 1..1 code current | superseded | entered-in-error
Binding: DocumentReferenceStatus (required): The status of the document reference.

... content Σ 1..* Reference(Resource) Items in manifest

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
DocumentManifest.statusrequiredDocumentReferenceStatus
http://hl7.org/fhir/ValueSet/document-reference-status|4.0.1
from the FHIR Standard
DocumentManifest.typerequiredValueSetSubRecordTypeMyCore (a valid code from CodeSystemSubRecordType (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/sub-record-type-my-core
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorDocumentManifestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorDocumentManifestIf 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-4errorDocumentManifestIf 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-5errorDocumentManifestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceDocumentManifestA 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()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentManifest 0..* DocumentManifest A list that defines a set of documents
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... masterIdentifier Σ 0..1 Identifier Unique Identifier for the set of documents
... identifier Σ 0..* Identifier Other identifiers for the manifest
... status ?!Σ 1..1 code current | superseded | entered-in-error
Binding: DocumentReferenceStatus (required): The status of the document reference.

... type Σ 1..1 CodeableConcept Kind of document set
Binding: ValueSetSubRecordType (MY Core) (required)
... subject Σ 0..1 Reference(Patient | Practitioner | Group | Device) The subject of the set of documents
... created 0..1 dateTime When this document manifest created
... author Σ 0..* Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson) Who and/or what authored the DocumentManifest
... recipient 0..* Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) Intended to get notified about this set of documents
... source 0..1 uri The source system/application/software
... description Σ 0..1 string Human-readable description (title)
... content Σ 1..* Reference(Resource) Items in manifest
... related 0..* BackboneElement Related things
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... identifier 0..1 Identifier Identifiers of things that are related
.... ref 0..1 Reference(Resource) Related Resource

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
DocumentManifest.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
DocumentManifest.statusrequiredDocumentReferenceStatus
http://hl7.org/fhir/ValueSet/document-reference-status|4.0.1
from the FHIR Standard
DocumentManifest.typerequiredValueSetSubRecordTypeMyCore (a valid code from CodeSystemSubRecordType (MY Core))
http://fhir.hie.moh.gov.my/ValueSet/sub-record-type-my-core
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorDocumentManifestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorDocumentManifestIf 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-4errorDocumentManifestIf 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-5errorDocumentManifestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceDocumentManifestA 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()

This structure is derived from DocumentManifest

Summary

Mandatory: 1 element

 

Other representations of profile: CSV, Excel, Schematron