MoPH Primary Care 1 (MoPH-PC-1) - FHIR Implementation Guide (STU2)
1.0.0 - trial-use

This page is part of the MoPH Primary Care 1 (MoPH-PC-1) - FHIR Implementation Guide (STU1) (v1.0.0: STU2 Release 1) based on FHIR v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions

Resource Profile: MoPH-PC Visit Composition

Official URL: https://fhir-ig.sil-th.org/th/mophpc1/StructureDefinition/mophpc-composition-visit Version: 1.0.0
Active as of 2023-09-18 Computable Name: MophPCVisitComposition

การรวมข้อมูลที่เกี่ยวข้องกับการรับบริการครั้งนั้นไว้เป็นเอกสารชุดเดียว

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 Composition

NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition 0..*CompositionA set of resources composed into a single coherent clinical statement with clinical attestation
... Slices for identifier S0..*IdentifierVersion-independent identifier for the Composition
Slice: Unordered, Open by value:type
.... identifier:hcode 0..1Identifierรหัสสถานพยาบาล 5 หลัก หรือ 9 หลัก
..... type 1..1CodeableConceptDescription of identifier
Binding: TH: ชนิดการระบุตัวตนในประเทศไทย (extensible)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: https://terms.sil-th.org/core/CodeSystem/cs-th-identifier-type
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: hcode
..... system 1..1uriThe namespace for the identifier value
Fixed Value: https://terms.sil-th.org/id/th-moph-hcode
..... value C1..1stringThe value that is unique
hcode-length: รหัสสถานบริการ (HCODE) ควรเป็นรหัส 5 หลัก หรือ 9 หลัก
.... identifier:depCode 0..1Identifierรหัสประจำแผนก ของหน่วยบริการ
..... type 1..1CodeableConceptDescription of identifier
Binding: TH: ชนิดการระบุตัวตนในประเทศไทย (extensible)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: https://terms.sil-th.org/core/CodeSystem/cs-th-identifier-type
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: localDep
..... system 1..1uriThe namespace for the identifier value
..... value 1..1stringThe value that is unique
... status S1..1coderegistered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown
... type S1..1CodeableConceptKind of composition (LOINC if possible)
Required Pattern: At least the following
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: 18842-5
..... display1..1stringRepresentation defined by the system
Fixed Value: Discharge summary
... encounter S1..1Reference(MoPH-PC Encounter)Context of the Composition
... date S1..1dateTimeComposition editing time
... author S1..*Reference(MoPH-PC Practitioner | MoPH-PC PractitionerRole | MoPH-PC Organization: Provider)Who and/or what authored the composition
... title 1..1stringHuman Readable name/title
Fixed Value: Visit Composition
... event 1..*BackboneElementThe clinical service(s) being documented
... Slices for section 0..*BackboneElementComposition is broken into sections
Slice: Unordered, Open by value:code
.... section:All Slices Content/Rules for all slices
..... code 1..1CodeableConceptClassification of section (recommended)
.... section:sectionAllergies 0..1BackboneElementประวัติแพ้ยาแพ้อาหาร
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Allergy Intolerance
..... code S0..1CodeableConceptClassification of section (recommended)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 48765-2
....... display1..1stringRepresentation defined by the system
Fixed Value: Allergies and adverse reactions Document
..... Slices for entry S1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:allergyIntolerance S0..*Reference(MoPH-PC AllergyIntolerance)A reference to data that supports this section
.... section:sectionMedications 0..1BackboneElementสรุปรายการยาที่ได้รับในการรับบริการครั้งนั้น
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Medication Summary
..... code S0..1CodeableConceptClassification of section (recommended)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 10160-0
....... display1..1stringRepresentation defined by the system
Fixed Value: History of Medication use Narrative
..... Slices for entry S1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by type:resolve(), profile:resolve()
...... entry:medicationRequest S0..*Reference(MoPH-PC MedicationRequest)A reference to data that supports this section
...... entry:medicationDispense S0..*Reference(MoPH-PC MedicationDispense)A reference to data that supports this section
...... entry:medicationAdministration S0..*Reference(MoPH-PC MedicationAdministration)A reference to data that supports this section
...... entry:medicationStatement S0..*Reference(MoPH-PC MedicationStatement)A reference to data that supports this section
.... section:sectionImmunizations 0..1BackboneElementประวัติการรับวัคซีน
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Immunization
..... code S0..1CodeableConceptClassification of section (recommended)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 11369-6
....... display1..1stringRepresentation defined by the system
Fixed Value: History of Immunization Narrative
..... Slices for entry S1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:immunization S0..*Reference(Immunization)A reference to data that supports this section
.... section:sectionProblemList 0..1BackboneElementสรุปรายการปัญหาของผู้รับบริการ
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Problem list
..... code S0..1CodeableConceptClassification of section (recommended)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 11450-4
....... display1..1stringRepresentation defined by the system
Fixed Value: Problem list - Reported
..... Slices for entry S1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:problemList S0..*Reference(MoPH-PC Condition)A reference to data that supports this section
.... section:sectionPastIllness 0..1BackboneElementประวัติการเจ็บป่วยในอดีต
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: History of Past Illness
..... code S0..1CodeableConceptClassification of section (recommended)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 11348-0
....... display1..1stringRepresentation defined by the system
Fixed Value: History of Past illness Narrative
..... Slices for entry S1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:pastIllness S0..*Reference(MoPH-PC Condition)A reference to data that supports this section
.... section:sectionProcedures 0..1BackboneElementประวัติการผ่าตัด
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Procedure
..... code S0..1CodeableConceptClassification of section (recommended)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 47519-4
....... display1..1stringRepresentation defined by the system
Fixed Value: History of Procedures Document
..... Slices for entry S1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:procedure S0..*Reference(MoPH-PC Procedure)A reference to data that supports this section
.... section:sectionVitalSigns 0..1BackboneElementผลการวัดสัญญาณชีพ
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Vital Signs
..... code S0..1CodeableConceptClassification of section (recommended)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 8716-3
....... display1..1stringRepresentation defined by the system
Fixed Value: Vital signs
..... Slices for entry S1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:vitalSigns S0..*Reference(MoPH-PC Observation: Vital)A reference to data that supports this section
.... section:sectionDiagnosticTest 0..1BackboneElementผลการตรวจทางคลินิกอื่น ๆ เช่น EKG
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Diagnostic Studies Result
..... code S0..1CodeableConceptClassification of section (recommended)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 30954-2
....... display1..1stringRepresentation defined by the system
Fixed Value: Relevant diagnostic tests/laboratory data Narrative
..... Slices for entry S1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by type:resolve(), profile:resolve()
...... entry:results-observation S0..*Reference(Observation)A reference to data that supports this section
...... entry:results-diagnosticReport S0..*Reference(MoPH-PC DiagnosticReport)A reference to data that supports this section
.... section:sectionLaboratory 0..1BackboneElementผลการตรวจทางห้องปฏิบัติการ
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Laboratory Test Result
..... code S0..1CodeableConceptClassification of section (recommended)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 30954-2
....... display1..1stringRepresentation defined by the system
Fixed Value: Relevant diagnostic tests/laboratory data Narrative
..... Slices for entry S1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by type:resolve(), profile:resolve()
...... entry:results-observation S0..*Reference(MoPH-PC Observation: Lab)A reference to data that supports this section
...... entry:results-diagnosticReport S0..*Reference(MoPH-PC DiagnosticReport)A reference to data that supports this section
.... section:sectionDocumentReference 0..1BackboneElementภาพสแกนเอกสารหรือภาพถ่ายทางการแพทย์
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Scanned medical records or medical images
..... code S0..1CodeableConceptClassification of section (recommended)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://snomed.info/sct
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 423876004
....... display1..1stringRepresentation defined by the system
Fixed Value: Clinical document
..... Slices for entry S1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:documentReference S0..*Reference(DocumentReference)A reference to data that supports this section

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet / Code
Composition.identifier:hcode.typeextensiblePattern: hcode
Composition.identifier:depCode.typeextensiblePattern: localDep

Constraints

IdGradePath(s)DetailsRequirements
hcode-lengthwarningComposition.identifier:hcode.valueรหัสสถานบริการ (HCODE) ควรเป็นรหัส 5 หลัก หรือ 9 หลัก
: value.matches('^([0-9]{5})$') or value.matches('^([0-9]{9})$')
NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition 0..*CompositionA set of resources composed into a single coherent clinical statement with clinical attestation
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... contained 0..*ResourceContained, inline Resources
... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... identifier:hcode Σ0..1Identifierรหัสสถานพยาบาล 5 หลัก หรือ 9 หลัก
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ1..1CodeableConceptDescription of identifier
Binding: TH: ชนิดการระบุตัวตนในประเทศไทย (extensible)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: https://terms.sil-th.org/core/CodeSystem/cs-th-identifier-type
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: hcode
..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://terms.sil-th.org/id/th-moph-hcode
..... value ΣC1..1stringThe value that is unique
hcode-length: รหัสสถานบริการ (HCODE) ควรเป็นรหัส 5 หลัก หรือ 9 หลัก
Example General: 123456
.... identifier:depCode Σ0..1Identifierรหัสประจำแผนก ของหน่วยบริการ
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ1..1CodeableConceptDescription of identifier
Binding: TH: ชนิดการระบุตัวตนในประเทศไทย (extensible)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: https://terms.sil-th.org/core/CodeSystem/cs-th-identifier-type
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: localDep
..... system Σ1..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value ΣC1..1stringThe value that is unique
Example General: 123456
... status ?!SΣ1..1coderegistered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown
Binding: CompositionStatus (required): The workflow/clinical status of the composition.

... type SΣ1..1CodeableConceptKind of composition (LOINC if possible)
Binding: FHIRDocumentTypeCodes (preferred): Type of a composition.


Required Pattern: At least the following
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: 18842-5
..... display1..1stringRepresentation defined by the system
Fixed Value: Discharge summary
... subject SΣ1..1Reference(MoPH-PC Patient)Who and/or what the composition is about
... encounter SΣ1..1Reference(MoPH-PC Encounter)Context of the Composition
... date SΣ1..1dateTimeComposition editing time
... author SΣ1..*Reference(MoPH-PC Practitioner | MoPH-PC PractitionerRole | MoPH-PC Organization: Provider)Who and/or what authored the composition
... title Σ1..1stringHuman Readable name/title
Fixed Value: Visit Composition
... event Σ1..*BackboneElementThe clinical service(s) being documented
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
... Slices for section C0..*BackboneElementComposition is broken into sections
Slice: Unordered, Open by value:code
.... section:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... code 1..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.

..... entry C0..*Reference(Resource)A reference to data that supports this section
.... section:sectionAllergies C0..1BackboneElementประวัติแพ้ยาแพ้อาหาร
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Allergy Intolerance
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 48765-2
....... display1..1stringRepresentation defined by the system
Fixed Value: Allergies and adverse reactions Document
..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:allergyIntolerance SC0..*Reference(MoPH-PC AllergyIntolerance)A reference to data that supports this section
.... section:sectionMedications C0..1BackboneElementสรุปรายการยาที่ได้รับในการรับบริการครั้งนั้น
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Medication Summary
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 10160-0
....... display1..1stringRepresentation defined by the system
Fixed Value: History of Medication use Narrative
..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by type:resolve(), profile:resolve()
...... entry:medicationRequest SC0..*Reference(MoPH-PC MedicationRequest)A reference to data that supports this section
...... entry:medicationDispense SC0..*Reference(MoPH-PC MedicationDispense)A reference to data that supports this section
...... entry:medicationAdministration SC0..*Reference(MoPH-PC MedicationAdministration)A reference to data that supports this section
...... entry:medicationStatement SC0..*Reference(MoPH-PC MedicationStatement)A reference to data that supports this section
.... section:sectionImmunizations C0..1BackboneElementประวัติการรับวัคซีน
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Immunization
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 11369-6
....... display1..1stringRepresentation defined by the system
Fixed Value: History of Immunization Narrative
..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:immunization SC0..*Reference(Immunization)A reference to data that supports this section
.... section:sectionProblemList C0..1BackboneElementสรุปรายการปัญหาของผู้รับบริการ
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Problem list
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 11450-4
....... display1..1stringRepresentation defined by the system
Fixed Value: Problem list - Reported
..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:problemList SC0..*Reference(MoPH-PC Condition)A reference to data that supports this section
.... section:sectionPastIllness C0..1BackboneElementประวัติการเจ็บป่วยในอดีต
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: History of Past Illness
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 11348-0
....... display1..1stringRepresentation defined by the system
Fixed Value: History of Past illness Narrative
..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:pastIllness SC0..*Reference(MoPH-PC Condition)A reference to data that supports this section
.... section:sectionProcedures C0..1BackboneElementประวัติการผ่าตัด
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Procedure
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 47519-4
....... display1..1stringRepresentation defined by the system
Fixed Value: History of Procedures Document
..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:procedure SC0..*Reference(MoPH-PC Procedure)A reference to data that supports this section
.... section:sectionVitalSigns C0..1BackboneElementผลการวัดสัญญาณชีพ
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Vital Signs
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 8716-3
....... display1..1stringRepresentation defined by the system
Fixed Value: Vital signs
..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:vitalSigns SC0..*Reference(MoPH-PC Observation: Vital)A reference to data that supports this section
.... section:sectionDiagnosticTest C0..1BackboneElementผลการตรวจทางคลินิกอื่น ๆ เช่น EKG
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Diagnostic Studies Result
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 30954-2
....... display1..1stringRepresentation defined by the system
Fixed Value: Relevant diagnostic tests/laboratory data Narrative
..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by type:resolve(), profile:resolve()
...... entry:results-observation SC0..*Reference(Observation)A reference to data that supports this section
...... entry:results-diagnosticReport SC0..*Reference(MoPH-PC DiagnosticReport)A reference to data that supports this section
.... section:sectionLaboratory C0..1BackboneElementผลการตรวจทางห้องปฏิบัติการ
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Laboratory Test Result
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 30954-2
....... display1..1stringRepresentation defined by the system
Fixed Value: Relevant diagnostic tests/laboratory data Narrative
..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by type:resolve(), profile:resolve()
...... entry:results-observation SC0..*Reference(MoPH-PC Observation: Lab)A reference to data that supports this section
...... entry:results-diagnosticReport SC0..*Reference(MoPH-PC DiagnosticReport)A reference to data that supports this section
.... section:sectionDocumentReference C0..1BackboneElementภาพสแกนเอกสารหรือภาพถ่ายทางการแพทย์
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Scanned medical records or medical images
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://snomed.info/sct
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 423876004
....... display1..1stringRepresentation defined by the system
Fixed Value: Clinical document
..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:documentReference SC0..*Reference(DocumentReference)A reference to data that supports this section

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
Composition.identifier:hcode.userequiredIdentifierUse
Composition.identifier:hcode.typeextensiblePattern: hcode
Composition.identifier:depCode.userequiredIdentifierUse
Composition.identifier:depCode.typeextensiblePattern: localDep
Composition.statusrequiredCompositionStatus
Composition.typepreferredPattern: LOINC code 18842-5("Discharge summary")
Composition.section.codeexampleDocumentSectionCodes
Composition.section:sectionAllergies.codeexamplePattern: LOINC code 48765-2("Allergies and adverse reactions Document")
Composition.section:sectionMedications.codeexamplePattern: LOINC code 10160-0("History of Medication use Narrative")
Composition.section:sectionImmunizations.codeexamplePattern: LOINC code 11369-6("History of Immunization Narrative")
Composition.section:sectionProblemList.codeexamplePattern: LOINC code 11450-4("Problem list - Reported")
Composition.section:sectionPastIllness.codeexamplePattern: LOINC code 11348-0("History of Past illness Narrative")
Composition.section:sectionProcedures.codeexamplePattern: LOINC code 47519-4("History of Procedures Document")
Composition.section:sectionVitalSigns.codeexamplePattern: LOINC code 8716-3("Vital signs")
Composition.section:sectionDiagnosticTest.codeexamplePattern: LOINC code 30954-2("Relevant diagnostic tests/laboratory data Narrative")
Composition.section:sectionLaboratory.codeexamplePattern: LOINC code 30954-2("Relevant diagnostic tests/laboratory data Narrative")
Composition.section:sectionDocumentReference.codeexamplePattern: SNOMED CT code 423876004("Clinical document")

Constraints

IdGradePath(s)DetailsRequirements
hcode-lengthwarningComposition.identifier:hcode.valueรหัสสถานบริการ (HCODE) ควรเป็นรหัส 5 หลัก หรือ 9 หลัก
: value.matches('^([0-9]{5})$') or value.matches('^([0-9]{9})$')
NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition 0..*CompositionA set of resources composed into a single coherent clinical statement with clinical attestation
... 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: AllLanguages (required): IETF language tag for a human language

... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
... url Σ0..1uriCanonical identifier for this Composition, represented as a URI (globally unique)
... Slices for identifier SΣ0..*IdentifierVersion-independent identifier for the Composition
Slice: Unordered, Open by value:type
.... identifier:hcode Σ0..1Identifierรหัสสถานพยาบาล 5 หลัก หรือ 9 หลัก
..... id 0..1idUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ1..1CodeableConceptDescription of identifier
Binding: TH: ชนิดการระบุตัวตนในประเทศไทย (extensible)
Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: https://terms.sil-th.org/core/CodeSystem/cs-th-identifier-type
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: hcode
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://terms.sil-th.org/id/th-moph-hcode
..... value ΣC1..1stringThe value that is unique
hcode-length: รหัสสถานบริการ (HCODE) ควรเป็นรหัส 5 หลัก หรือ 9 หลัก
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:depCode Σ0..1Identifierรหัสประจำแผนก ของหน่วยบริการ
..... id 0..1idUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ1..1CodeableConceptDescription of identifier
Binding: TH: ชนิดการระบุตัวตนในประเทศไทย (extensible)
Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: https://terms.sil-th.org/core/CodeSystem/cs-th-identifier-type
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: localDep
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... system Σ1..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value ΣC1..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... version Σ0..1stringAn explicitly assigned identifer of a variation of the content in the Composition
... status ?!SΣ1..1coderegistered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown
Binding: CompositionStatus (required): The workflow/clinical status of the composition.

... type SΣ1..1CodeableConceptKind of composition (LOINC if possible)
Binding: FHIRDocumentTypeCodes (preferred): Type of a composition.


Required Pattern: At least the following
.... id0..1stringUnique id for inter-element referencing
.... extension0..*ExtensionAdditional content defined by implementations
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... id0..1stringUnique id for inter-element referencing
..... extension0..*ExtensionAdditional content defined by implementations
..... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
..... version0..1stringVersion of the system - if relevant
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: 18842-5
..... display1..1stringRepresentation defined by the system
Fixed Value: Discharge summary
..... userSelected0..1booleanIf this coding was chosen directly by the user
.... text0..1stringPlain text representation of the concept
... category Σ0..*CodeableConceptCategorization of Composition
Binding: ReferencedItemCategoryValueSet (example): High-level kind of a clinical document at a macro level.


... subject SΣ1..1Reference(MoPH-PC Patient)Who and/or what the composition is about
... encounter SΣ1..1Reference(MoPH-PC Encounter)Context of the Composition
... date SΣ1..1dateTimeComposition editing time
... useContext Σ0..*UsageContextThe context that the content is intended to support
... author SΣ1..*Reference(MoPH-PC Practitioner | MoPH-PC PractitionerRole | MoPH-PC Organization: Provider)Who and/or what authored the composition
... name Σ0..1stringName for this Composition (computer friendly)
... title Σ1..1stringHuman Readable name/title
Fixed Value: Visit Composition
... note 0..*AnnotationFor any additional notes
... attester 0..*BackboneElementAttests to accuracy of composition
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... mode 1..1CodeableConceptpersonal | professional | legal | official
Binding: CompositionAttestationMode (preferred): The way in which a person authenticated a composition.

.... time 0..1dateTimeWhen the composition was attested
.... party 0..1Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Organization)Who attested the composition
... custodian Σ0..1Reference(Organization)Organization which maintains the composition
... relatesTo 0..*RelatedArtifactRelationships to other compositions/documents
... event Σ1..*BackboneElementThe clinical service(s) being documented
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... period Σ0..1PeriodThe period covered by the documentation
.... detail Σ0..*CodeableReference(Resource)The event(s) being documented, as code(s), reference(s), or both
Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented.


... Slices for section C0..*BackboneElementComposition is broken into sections
Slice: Unordered, Open by value:code
.... section:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title 0..1stringLabel for section (e.g. for ToC)
..... code 1..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.

..... author 0..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Who and/or what authored the section
..... focus 0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
..... text C0..1NarrativeText summary of the section, for human interpretation
..... orderedBy 0..1CodeableConceptOrder of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.

..... entry C0..*Reference(Resource)A reference to data that supports this section
..... emptyReason C0..1CodeableConceptWhy the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

..... section 0..*See section (Composition)Nested Section
.... section:sectionAllergies C0..1BackboneElementประวัติแพ้ยาแพ้อาหาร
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Allergy Intolerance
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 48765-2
....... display1..1stringRepresentation defined by the system
Fixed Value: Allergies and adverse reactions Document
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... author 0..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Who and/or what authored the section
..... focus 0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
..... text C0..1NarrativeText summary of the section, for human interpretation
..... orderedBy 0..1CodeableConceptOrder of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.

..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:allergyIntolerance SC0..*Reference(MoPH-PC AllergyIntolerance)A reference to data that supports this section
..... emptyReason C0..1CodeableConceptWhy the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

..... section 0..*See section (Composition)Nested Section
.... section:sectionMedications C0..1BackboneElementสรุปรายการยาที่ได้รับในการรับบริการครั้งนั้น
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Medication Summary
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 10160-0
....... display1..1stringRepresentation defined by the system
Fixed Value: History of Medication use Narrative
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... author 0..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Who and/or what authored the section
..... focus 0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
..... text C0..1NarrativeText summary of the section, for human interpretation
..... orderedBy 0..1CodeableConceptOrder of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.

..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by type:resolve(), profile:resolve()
...... entry:medicationRequest SC0..*Reference(MoPH-PC MedicationRequest)A reference to data that supports this section
...... entry:medicationDispense SC0..*Reference(MoPH-PC MedicationDispense)A reference to data that supports this section
...... entry:medicationAdministration SC0..*Reference(MoPH-PC MedicationAdministration)A reference to data that supports this section
...... entry:medicationStatement SC0..*Reference(MoPH-PC MedicationStatement)A reference to data that supports this section
..... emptyReason C0..1CodeableConceptWhy the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

..... section 0..*See section (Composition)Nested Section
.... section:sectionImmunizations C0..1BackboneElementประวัติการรับวัคซีน
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Immunization
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 11369-6
....... display1..1stringRepresentation defined by the system
Fixed Value: History of Immunization Narrative
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... author 0..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Who and/or what authored the section
..... focus 0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
..... text C0..1NarrativeText summary of the section, for human interpretation
..... orderedBy 0..1CodeableConceptOrder of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.

..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:immunization SC0..*Reference(Immunization)A reference to data that supports this section
..... emptyReason C0..1CodeableConceptWhy the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

..... section 0..*See section (Composition)Nested Section
.... section:sectionProblemList C0..1BackboneElementสรุปรายการปัญหาของผู้รับบริการ
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Problem list
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 11450-4
....... display1..1stringRepresentation defined by the system
Fixed Value: Problem list - Reported
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... author 0..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Who and/or what authored the section
..... focus 0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
..... text C0..1NarrativeText summary of the section, for human interpretation
..... orderedBy 0..1CodeableConceptOrder of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.

..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:problemList SC0..*Reference(MoPH-PC Condition)A reference to data that supports this section
..... emptyReason C0..1CodeableConceptWhy the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

..... section 0..*See section (Composition)Nested Section
.... section:sectionPastIllness C0..1BackboneElementประวัติการเจ็บป่วยในอดีต
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: History of Past Illness
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 11348-0
....... display1..1stringRepresentation defined by the system
Fixed Value: History of Past illness Narrative
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... author 0..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Who and/or what authored the section
..... focus 0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
..... text C0..1NarrativeText summary of the section, for human interpretation
..... orderedBy 0..1CodeableConceptOrder of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.

..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:pastIllness SC0..*Reference(MoPH-PC Condition)A reference to data that supports this section
..... emptyReason C0..1CodeableConceptWhy the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

..... section 0..*See section (Composition)Nested Section
.... section:sectionProcedures C0..1BackboneElementประวัติการผ่าตัด
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Procedure
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 47519-4
....... display1..1stringRepresentation defined by the system
Fixed Value: History of Procedures Document
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... author 0..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Who and/or what authored the section
..... focus 0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
..... text C0..1NarrativeText summary of the section, for human interpretation
..... orderedBy 0..1CodeableConceptOrder of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.

..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:procedure SC0..*Reference(MoPH-PC Procedure)A reference to data that supports this section
..... emptyReason C0..1CodeableConceptWhy the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

..... section 0..*See section (Composition)Nested Section
.... section:sectionVitalSigns C0..1BackboneElementผลการวัดสัญญาณชีพ
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Vital Signs
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 8716-3
....... display1..1stringRepresentation defined by the system
Fixed Value: Vital signs
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... author 0..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Who and/or what authored the section
..... focus 0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
..... text C0..1NarrativeText summary of the section, for human interpretation
..... orderedBy 0..1CodeableConceptOrder of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.

..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:vitalSigns SC0..*Reference(MoPH-PC Observation: Vital)A reference to data that supports this section
..... emptyReason C0..1CodeableConceptWhy the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

..... section 0..*See section (Composition)Nested Section
.... section:sectionDiagnosticTest C0..1BackboneElementผลการตรวจทางคลินิกอื่น ๆ เช่น EKG
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Diagnostic Studies Result
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 30954-2
....... display1..1stringRepresentation defined by the system
Fixed Value: Relevant diagnostic tests/laboratory data Narrative
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... author 0..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Who and/or what authored the section
..... focus 0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
..... text C0..1NarrativeText summary of the section, for human interpretation
..... orderedBy 0..1CodeableConceptOrder of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.

..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by type:resolve(), profile:resolve()
...... entry:results-observation SC0..*Reference(Observation)A reference to data that supports this section
...... entry:results-diagnosticReport SC0..*Reference(MoPH-PC DiagnosticReport)A reference to data that supports this section
..... emptyReason C0..1CodeableConceptWhy the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

..... section 0..*See section (Composition)Nested Section
.... section:sectionLaboratory C0..1BackboneElementผลการตรวจทางห้องปฏิบัติการ
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Laboratory Test Result
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 30954-2
....... display1..1stringRepresentation defined by the system
Fixed Value: Relevant diagnostic tests/laboratory data Narrative
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... author 0..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Who and/or what authored the section
..... focus 0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
..... text C0..1NarrativeText summary of the section, for human interpretation
..... orderedBy 0..1CodeableConceptOrder of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.

..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by type:resolve(), profile:resolve()
...... entry:results-observation SC0..*Reference(MoPH-PC Observation: Lab)A reference to data that supports this section
...... entry:results-diagnosticReport SC0..*Reference(MoPH-PC DiagnosticReport)A reference to data that supports this section
..... emptyReason C0..1CodeableConceptWhy the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

..... section 0..*See section (Composition)Nested Section
.... section:sectionDocumentReference C0..1BackboneElementภาพสแกนเอกสารหรือภาพถ่ายทางการแพทย์
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Scanned medical records or medical images
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://snomed.info/sct
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 423876004
....... display1..1stringRepresentation defined by the system
Fixed Value: Clinical document
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... author 0..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Who and/or what authored the section
..... focus 0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
..... text C0..1NarrativeText summary of the section, for human interpretation
..... orderedBy 0..1CodeableConceptOrder of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.

..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:documentReference SC0..*Reference(DocumentReference)A reference to data that supports this section
..... emptyReason C0..1CodeableConceptWhy the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

..... section 0..*See section (Composition)Nested Section

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
Composition.languagerequiredAllLanguages
Composition.identifier:hcode.userequiredIdentifierUse
Composition.identifier:hcode.typeextensiblePattern: hcode
Composition.identifier:depCode.userequiredIdentifierUse
Composition.identifier:depCode.typeextensiblePattern: localDep
Composition.statusrequiredCompositionStatus
Composition.typepreferredPattern: LOINC code 18842-5("Discharge summary")
Composition.categoryexampleReferencedItemCategoryValueSet
Composition.attester.modepreferredCompositionAttestationMode
Composition.event.detailexampleActCode
Composition.section.codeexampleDocumentSectionCodes
Composition.section.orderedBypreferredListOrderCodes
Composition.section.emptyReasonpreferredListEmptyReasons
Composition.section:sectionAllergies.codeexamplePattern: LOINC code 48765-2("Allergies and adverse reactions Document")
Composition.section:sectionAllergies.orderedBypreferredListOrderCodes
Composition.section:sectionAllergies.emptyReasonpreferredListEmptyReasons
Composition.section:sectionMedications.codeexamplePattern: LOINC code 10160-0("History of Medication use Narrative")
Composition.section:sectionMedications.orderedBypreferredListOrderCodes
Composition.section:sectionMedications.emptyReasonpreferredListEmptyReasons
Composition.section:sectionImmunizations.codeexamplePattern: LOINC code 11369-6("History of Immunization Narrative")
Composition.section:sectionImmunizations.orderedBypreferredListOrderCodes
Composition.section:sectionImmunizations.emptyReasonpreferredListEmptyReasons
Composition.section:sectionProblemList.codeexamplePattern: LOINC code 11450-4("Problem list - Reported")
Composition.section:sectionProblemList.orderedBypreferredListOrderCodes
Composition.section:sectionProblemList.emptyReasonpreferredListEmptyReasons
Composition.section:sectionPastIllness.codeexamplePattern: LOINC code 11348-0("History of Past illness Narrative")
Composition.section:sectionPastIllness.orderedBypreferredListOrderCodes
Composition.section:sectionPastIllness.emptyReasonpreferredListEmptyReasons
Composition.section:sectionProcedures.codeexamplePattern: LOINC code 47519-4("History of Procedures Document")
Composition.section:sectionProcedures.orderedBypreferredListOrderCodes
Composition.section:sectionProcedures.emptyReasonpreferredListEmptyReasons
Composition.section:sectionVitalSigns.codeexamplePattern: LOINC code 8716-3("Vital signs")
Composition.section:sectionVitalSigns.orderedBypreferredListOrderCodes
Composition.section:sectionVitalSigns.emptyReasonpreferredListEmptyReasons
Composition.section:sectionDiagnosticTest.codeexamplePattern: LOINC code 30954-2("Relevant diagnostic tests/laboratory data Narrative")
Composition.section:sectionDiagnosticTest.orderedBypreferredListOrderCodes
Composition.section:sectionDiagnosticTest.emptyReasonpreferredListEmptyReasons
Composition.section:sectionLaboratory.codeexamplePattern: LOINC code 30954-2("Relevant diagnostic tests/laboratory data Narrative")
Composition.section:sectionLaboratory.orderedBypreferredListOrderCodes
Composition.section:sectionLaboratory.emptyReasonpreferredListEmptyReasons
Composition.section:sectionDocumentReference.codeexamplePattern: SNOMED CT code 423876004("Clinical document")
Composition.section:sectionDocumentReference.orderedBypreferredListOrderCodes
Composition.section:sectionDocumentReference.emptyReasonpreferredListEmptyReasons

Constraints

IdGradePath(s)DetailsRequirements
hcode-lengthwarningComposition.identifier:hcode.valueรหัสสถานบริการ (HCODE) ควรเป็นรหัส 5 หลัก หรือ 9 หลัก
: value.matches('^([0-9]{5})$') or value.matches('^([0-9]{9})$')

This structure is derived from Composition

Summary

Mandatory: 3 elements (17 nested mandatory elements)
Must-Support: 52 elements
Fixed Value: 2 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element Composition.identifier is sliced based on the value of value:type
  • The element Composition.section is sliced based on the value of value:code
  • The element Composition.section.entry is sliced based on the value of profile:resolve()
  • The element Composition.section.entry is sliced based on the values of type:resolve(), profile:resolve()

Differential View

This structure is derived from Composition

NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition 0..*CompositionA set of resources composed into a single coherent clinical statement with clinical attestation
... Slices for identifier S0..*IdentifierVersion-independent identifier for the Composition
Slice: Unordered, Open by value:type
.... identifier:hcode 0..1Identifierรหัสสถานพยาบาล 5 หลัก หรือ 9 หลัก
..... type 1..1CodeableConceptDescription of identifier
Binding: TH: ชนิดการระบุตัวตนในประเทศไทย (extensible)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: https://terms.sil-th.org/core/CodeSystem/cs-th-identifier-type
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: hcode
..... system 1..1uriThe namespace for the identifier value
Fixed Value: https://terms.sil-th.org/id/th-moph-hcode
..... value C1..1stringThe value that is unique
hcode-length: รหัสสถานบริการ (HCODE) ควรเป็นรหัส 5 หลัก หรือ 9 หลัก
.... identifier:depCode 0..1Identifierรหัสประจำแผนก ของหน่วยบริการ
..... type 1..1CodeableConceptDescription of identifier
Binding: TH: ชนิดการระบุตัวตนในประเทศไทย (extensible)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: https://terms.sil-th.org/core/CodeSystem/cs-th-identifier-type
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: localDep
..... system 1..1uriThe namespace for the identifier value
..... value 1..1stringThe value that is unique
... status S1..1coderegistered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown
... type S1..1CodeableConceptKind of composition (LOINC if possible)
Required Pattern: At least the following
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: 18842-5
..... display1..1stringRepresentation defined by the system
Fixed Value: Discharge summary
... encounter S1..1Reference(MoPH-PC Encounter)Context of the Composition
... date S1..1dateTimeComposition editing time
... author S1..*Reference(MoPH-PC Practitioner | MoPH-PC PractitionerRole | MoPH-PC Organization: Provider)Who and/or what authored the composition
... title 1..1stringHuman Readable name/title
Fixed Value: Visit Composition
... event 1..*BackboneElementThe clinical service(s) being documented
... Slices for section 0..*BackboneElementComposition is broken into sections
Slice: Unordered, Open by value:code
.... section:All Slices Content/Rules for all slices
..... code 1..1CodeableConceptClassification of section (recommended)
.... section:sectionAllergies 0..1BackboneElementประวัติแพ้ยาแพ้อาหาร
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Allergy Intolerance
..... code S0..1CodeableConceptClassification of section (recommended)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 48765-2
....... display1..1stringRepresentation defined by the system
Fixed Value: Allergies and adverse reactions Document
..... Slices for entry S1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:allergyIntolerance S0..*Reference(MoPH-PC AllergyIntolerance)A reference to data that supports this section
.... section:sectionMedications 0..1BackboneElementสรุปรายการยาที่ได้รับในการรับบริการครั้งนั้น
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Medication Summary
..... code S0..1CodeableConceptClassification of section (recommended)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 10160-0
....... display1..1stringRepresentation defined by the system
Fixed Value: History of Medication use Narrative
..... Slices for entry S1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by type:resolve(), profile:resolve()
...... entry:medicationRequest S0..*Reference(MoPH-PC MedicationRequest)A reference to data that supports this section
...... entry:medicationDispense S0..*Reference(MoPH-PC MedicationDispense)A reference to data that supports this section
...... entry:medicationAdministration S0..*Reference(MoPH-PC MedicationAdministration)A reference to data that supports this section
...... entry:medicationStatement S0..*Reference(MoPH-PC MedicationStatement)A reference to data that supports this section
.... section:sectionImmunizations 0..1BackboneElementประวัติการรับวัคซีน
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Immunization
..... code S0..1CodeableConceptClassification of section (recommended)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 11369-6
....... display1..1stringRepresentation defined by the system
Fixed Value: History of Immunization Narrative
..... Slices for entry S1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:immunization S0..*Reference(Immunization)A reference to data that supports this section
.... section:sectionProblemList 0..1BackboneElementสรุปรายการปัญหาของผู้รับบริการ
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Problem list
..... code S0..1CodeableConceptClassification of section (recommended)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 11450-4
....... display1..1stringRepresentation defined by the system
Fixed Value: Problem list - Reported
..... Slices for entry S1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:problemList S0..*Reference(MoPH-PC Condition)A reference to data that supports this section
.... section:sectionPastIllness 0..1BackboneElementประวัติการเจ็บป่วยในอดีต
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: History of Past Illness
..... code S0..1CodeableConceptClassification of section (recommended)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 11348-0
....... display1..1stringRepresentation defined by the system
Fixed Value: History of Past illness Narrative
..... Slices for entry S1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:pastIllness S0..*Reference(MoPH-PC Condition)A reference to data that supports this section
.... section:sectionProcedures 0..1BackboneElementประวัติการผ่าตัด
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Procedure
..... code S0..1CodeableConceptClassification of section (recommended)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 47519-4
....... display1..1stringRepresentation defined by the system
Fixed Value: History of Procedures Document
..... Slices for entry S1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:procedure S0..*Reference(MoPH-PC Procedure)A reference to data that supports this section
.... section:sectionVitalSigns 0..1BackboneElementผลการวัดสัญญาณชีพ
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Vital Signs
..... code S0..1CodeableConceptClassification of section (recommended)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 8716-3
....... display1..1stringRepresentation defined by the system
Fixed Value: Vital signs
..... Slices for entry S1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:vitalSigns S0..*Reference(MoPH-PC Observation: Vital)A reference to data that supports this section
.... section:sectionDiagnosticTest 0..1BackboneElementผลการตรวจทางคลินิกอื่น ๆ เช่น EKG
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Diagnostic Studies Result
..... code S0..1CodeableConceptClassification of section (recommended)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 30954-2
....... display1..1stringRepresentation defined by the system
Fixed Value: Relevant diagnostic tests/laboratory data Narrative
..... Slices for entry S1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by type:resolve(), profile:resolve()
...... entry:results-observation S0..*Reference(Observation)A reference to data that supports this section
...... entry:results-diagnosticReport S0..*Reference(MoPH-PC DiagnosticReport)A reference to data that supports this section
.... section:sectionLaboratory 0..1BackboneElementผลการตรวจทางห้องปฏิบัติการ
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Laboratory Test Result
..... code S0..1CodeableConceptClassification of section (recommended)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 30954-2
....... display1..1stringRepresentation defined by the system
Fixed Value: Relevant diagnostic tests/laboratory data Narrative
..... Slices for entry S1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by type:resolve(), profile:resolve()
...... entry:results-observation S0..*Reference(MoPH-PC Observation: Lab)A reference to data that supports this section
...... entry:results-diagnosticReport S0..*Reference(MoPH-PC DiagnosticReport)A reference to data that supports this section
.... section:sectionDocumentReference 0..1BackboneElementภาพสแกนเอกสารหรือภาพถ่ายทางการแพทย์
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Scanned medical records or medical images
..... code S0..1CodeableConceptClassification of section (recommended)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://snomed.info/sct
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 423876004
....... display1..1stringRepresentation defined by the system
Fixed Value: Clinical document
..... Slices for entry S1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:documentReference S0..*Reference(DocumentReference)A reference to data that supports this section

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet / Code
Composition.identifier:hcode.typeextensiblePattern: hcode
Composition.identifier:depCode.typeextensiblePattern: localDep

Constraints

IdGradePath(s)DetailsRequirements
hcode-lengthwarningComposition.identifier:hcode.valueรหัสสถานบริการ (HCODE) ควรเป็นรหัส 5 หลัก หรือ 9 หลัก
: value.matches('^([0-9]{5})$') or value.matches('^([0-9]{9})$')

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition 0..*CompositionA set of resources composed into a single coherent clinical statement with clinical attestation
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... contained 0..*ResourceContained, inline Resources
... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... identifier:hcode Σ0..1Identifierรหัสสถานพยาบาล 5 หลัก หรือ 9 หลัก
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ1..1CodeableConceptDescription of identifier
Binding: TH: ชนิดการระบุตัวตนในประเทศไทย (extensible)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: https://terms.sil-th.org/core/CodeSystem/cs-th-identifier-type
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: hcode
..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://terms.sil-th.org/id/th-moph-hcode
..... value ΣC1..1stringThe value that is unique
hcode-length: รหัสสถานบริการ (HCODE) ควรเป็นรหัส 5 หลัก หรือ 9 หลัก
Example General: 123456
.... identifier:depCode Σ0..1Identifierรหัสประจำแผนก ของหน่วยบริการ
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ1..1CodeableConceptDescription of identifier
Binding: TH: ชนิดการระบุตัวตนในประเทศไทย (extensible)
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: https://terms.sil-th.org/core/CodeSystem/cs-th-identifier-type
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: localDep
..... system Σ1..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value ΣC1..1stringThe value that is unique
Example General: 123456
... status ?!SΣ1..1coderegistered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown
Binding: CompositionStatus (required): The workflow/clinical status of the composition.

... type SΣ1..1CodeableConceptKind of composition (LOINC if possible)
Binding: FHIRDocumentTypeCodes (preferred): Type of a composition.


Required Pattern: At least the following
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: 18842-5
..... display1..1stringRepresentation defined by the system
Fixed Value: Discharge summary
... subject SΣ1..1Reference(MoPH-PC Patient)Who and/or what the composition is about
... encounter SΣ1..1Reference(MoPH-PC Encounter)Context of the Composition
... date SΣ1..1dateTimeComposition editing time
... author SΣ1..*Reference(MoPH-PC Practitioner | MoPH-PC PractitionerRole | MoPH-PC Organization: Provider)Who and/or what authored the composition
... title Σ1..1stringHuman Readable name/title
Fixed Value: Visit Composition
... event Σ1..*BackboneElementThe clinical service(s) being documented
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
... Slices for section C0..*BackboneElementComposition is broken into sections
Slice: Unordered, Open by value:code
.... section:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... code 1..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.

..... entry C0..*Reference(Resource)A reference to data that supports this section
.... section:sectionAllergies C0..1BackboneElementประวัติแพ้ยาแพ้อาหาร
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Allergy Intolerance
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 48765-2
....... display1..1stringRepresentation defined by the system
Fixed Value: Allergies and adverse reactions Document
..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:allergyIntolerance SC0..*Reference(MoPH-PC AllergyIntolerance)A reference to data that supports this section
.... section:sectionMedications C0..1BackboneElementสรุปรายการยาที่ได้รับในการรับบริการครั้งนั้น
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Medication Summary
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 10160-0
....... display1..1stringRepresentation defined by the system
Fixed Value: History of Medication use Narrative
..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by type:resolve(), profile:resolve()
...... entry:medicationRequest SC0..*Reference(MoPH-PC MedicationRequest)A reference to data that supports this section
...... entry:medicationDispense SC0..*Reference(MoPH-PC MedicationDispense)A reference to data that supports this section
...... entry:medicationAdministration SC0..*Reference(MoPH-PC MedicationAdministration)A reference to data that supports this section
...... entry:medicationStatement SC0..*Reference(MoPH-PC MedicationStatement)A reference to data that supports this section
.... section:sectionImmunizations C0..1BackboneElementประวัติการรับวัคซีน
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Immunization
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 11369-6
....... display1..1stringRepresentation defined by the system
Fixed Value: History of Immunization Narrative
..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:immunization SC0..*Reference(Immunization)A reference to data that supports this section
.... section:sectionProblemList C0..1BackboneElementสรุปรายการปัญหาของผู้รับบริการ
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Problem list
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 11450-4
....... display1..1stringRepresentation defined by the system
Fixed Value: Problem list - Reported
..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:problemList SC0..*Reference(MoPH-PC Condition)A reference to data that supports this section
.... section:sectionPastIllness C0..1BackboneElementประวัติการเจ็บป่วยในอดีต
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: History of Past Illness
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 11348-0
....... display1..1stringRepresentation defined by the system
Fixed Value: History of Past illness Narrative
..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:pastIllness SC0..*Reference(MoPH-PC Condition)A reference to data that supports this section
.... section:sectionProcedures C0..1BackboneElementประวัติการผ่าตัด
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Procedure
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 47519-4
....... display1..1stringRepresentation defined by the system
Fixed Value: History of Procedures Document
..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:procedure SC0..*Reference(MoPH-PC Procedure)A reference to data that supports this section
.... section:sectionVitalSigns C0..1BackboneElementผลการวัดสัญญาณชีพ
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Vital Signs
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 8716-3
....... display1..1stringRepresentation defined by the system
Fixed Value: Vital signs
..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:vitalSigns SC0..*Reference(MoPH-PC Observation: Vital)A reference to data that supports this section
.... section:sectionDiagnosticTest C0..1BackboneElementผลการตรวจทางคลินิกอื่น ๆ เช่น EKG
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Diagnostic Studies Result
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 30954-2
....... display1..1stringRepresentation defined by the system
Fixed Value: Relevant diagnostic tests/laboratory data Narrative
..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by type:resolve(), profile:resolve()
...... entry:results-observation SC0..*Reference(Observation)A reference to data that supports this section
...... entry:results-diagnosticReport SC0..*Reference(MoPH-PC DiagnosticReport)A reference to data that supports this section
.... section:sectionLaboratory C0..1BackboneElementผลการตรวจทางห้องปฏิบัติการ
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Laboratory Test Result
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 30954-2
....... display1..1stringRepresentation defined by the system
Fixed Value: Relevant diagnostic tests/laboratory data Narrative
..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by type:resolve(), profile:resolve()
...... entry:results-observation SC0..*Reference(MoPH-PC Observation: Lab)A reference to data that supports this section
...... entry:results-diagnosticReport SC0..*Reference(MoPH-PC DiagnosticReport)A reference to data that supports this section
.... section:sectionDocumentReference C0..1BackboneElementภาพสแกนเอกสารหรือภาพถ่ายทางการแพทย์
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Scanned medical records or medical images
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://snomed.info/sct
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 423876004
....... display1..1stringRepresentation defined by the system
Fixed Value: Clinical document
..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:documentReference SC0..*Reference(DocumentReference)A reference to data that supports this section

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
Composition.identifier:hcode.userequiredIdentifierUse
Composition.identifier:hcode.typeextensiblePattern: hcode
Composition.identifier:depCode.userequiredIdentifierUse
Composition.identifier:depCode.typeextensiblePattern: localDep
Composition.statusrequiredCompositionStatus
Composition.typepreferredPattern: LOINC code 18842-5("Discharge summary")
Composition.section.codeexampleDocumentSectionCodes
Composition.section:sectionAllergies.codeexamplePattern: LOINC code 48765-2("Allergies and adverse reactions Document")
Composition.section:sectionMedications.codeexamplePattern: LOINC code 10160-0("History of Medication use Narrative")
Composition.section:sectionImmunizations.codeexamplePattern: LOINC code 11369-6("History of Immunization Narrative")
Composition.section:sectionProblemList.codeexamplePattern: LOINC code 11450-4("Problem list - Reported")
Composition.section:sectionPastIllness.codeexamplePattern: LOINC code 11348-0("History of Past illness Narrative")
Composition.section:sectionProcedures.codeexamplePattern: LOINC code 47519-4("History of Procedures Document")
Composition.section:sectionVitalSigns.codeexamplePattern: LOINC code 8716-3("Vital signs")
Composition.section:sectionDiagnosticTest.codeexamplePattern: LOINC code 30954-2("Relevant diagnostic tests/laboratory data Narrative")
Composition.section:sectionLaboratory.codeexamplePattern: LOINC code 30954-2("Relevant diagnostic tests/laboratory data Narrative")
Composition.section:sectionDocumentReference.codeexamplePattern: SNOMED CT code 423876004("Clinical document")

Constraints

IdGradePath(s)DetailsRequirements
hcode-lengthwarningComposition.identifier:hcode.valueรหัสสถานบริการ (HCODE) ควรเป็นรหัส 5 หลัก หรือ 9 หลัก
: value.matches('^([0-9]{5})$') or value.matches('^([0-9]{9})$')

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition 0..*CompositionA set of resources composed into a single coherent clinical statement with clinical attestation
... 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: AllLanguages (required): IETF language tag for a human language

... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
... url Σ0..1uriCanonical identifier for this Composition, represented as a URI (globally unique)
... Slices for identifier SΣ0..*IdentifierVersion-independent identifier for the Composition
Slice: Unordered, Open by value:type
.... identifier:hcode Σ0..1Identifierรหัสสถานพยาบาล 5 หลัก หรือ 9 หลัก
..... id 0..1idUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ1..1CodeableConceptDescription of identifier
Binding: TH: ชนิดการระบุตัวตนในประเทศไทย (extensible)
Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: https://terms.sil-th.org/core/CodeSystem/cs-th-identifier-type
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: hcode
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://terms.sil-th.org/id/th-moph-hcode
..... value ΣC1..1stringThe value that is unique
hcode-length: รหัสสถานบริการ (HCODE) ควรเป็นรหัส 5 หลัก หรือ 9 หลัก
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:depCode Σ0..1Identifierรหัสประจำแผนก ของหน่วยบริการ
..... id 0..1idUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ1..1CodeableConceptDescription of identifier
Binding: TH: ชนิดการระบุตัวตนในประเทศไทย (extensible)
Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: https://terms.sil-th.org/core/CodeSystem/cs-th-identifier-type
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: localDep
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... system Σ1..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value ΣC1..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... version Σ0..1stringAn explicitly assigned identifer of a variation of the content in the Composition
... status ?!SΣ1..1coderegistered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown
Binding: CompositionStatus (required): The workflow/clinical status of the composition.

... type SΣ1..1CodeableConceptKind of composition (LOINC if possible)
Binding: FHIRDocumentTypeCodes (preferred): Type of a composition.


Required Pattern: At least the following
.... id0..1stringUnique id for inter-element referencing
.... extension0..*ExtensionAdditional content defined by implementations
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... id0..1stringUnique id for inter-element referencing
..... extension0..*ExtensionAdditional content defined by implementations
..... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
..... version0..1stringVersion of the system - if relevant
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: 18842-5
..... display1..1stringRepresentation defined by the system
Fixed Value: Discharge summary
..... userSelected0..1booleanIf this coding was chosen directly by the user
.... text0..1stringPlain text representation of the concept
... category Σ0..*CodeableConceptCategorization of Composition
Binding: ReferencedItemCategoryValueSet (example): High-level kind of a clinical document at a macro level.


... subject SΣ1..1Reference(MoPH-PC Patient)Who and/or what the composition is about
... encounter SΣ1..1Reference(MoPH-PC Encounter)Context of the Composition
... date SΣ1..1dateTimeComposition editing time
... useContext Σ0..*UsageContextThe context that the content is intended to support
... author SΣ1..*Reference(MoPH-PC Practitioner | MoPH-PC PractitionerRole | MoPH-PC Organization: Provider)Who and/or what authored the composition
... name Σ0..1stringName for this Composition (computer friendly)
... title Σ1..1stringHuman Readable name/title
Fixed Value: Visit Composition
... note 0..*AnnotationFor any additional notes
... attester 0..*BackboneElementAttests to accuracy of composition
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... mode 1..1CodeableConceptpersonal | professional | legal | official
Binding: CompositionAttestationMode (preferred): The way in which a person authenticated a composition.

.... time 0..1dateTimeWhen the composition was attested
.... party 0..1Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Organization)Who attested the composition
... custodian Σ0..1Reference(Organization)Organization which maintains the composition
... relatesTo 0..*RelatedArtifactRelationships to other compositions/documents
... event Σ1..*BackboneElementThe clinical service(s) being documented
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... period Σ0..1PeriodThe period covered by the documentation
.... detail Σ0..*CodeableReference(Resource)The event(s) being documented, as code(s), reference(s), or both
Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented.


... Slices for section C0..*BackboneElementComposition is broken into sections
Slice: Unordered, Open by value:code
.... section:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title 0..1stringLabel for section (e.g. for ToC)
..... code 1..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.

..... author 0..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Who and/or what authored the section
..... focus 0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
..... text C0..1NarrativeText summary of the section, for human interpretation
..... orderedBy 0..1CodeableConceptOrder of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.

..... entry C0..*Reference(Resource)A reference to data that supports this section
..... emptyReason C0..1CodeableConceptWhy the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

..... section 0..*See section (Composition)Nested Section
.... section:sectionAllergies C0..1BackboneElementประวัติแพ้ยาแพ้อาหาร
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Allergy Intolerance
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 48765-2
....... display1..1stringRepresentation defined by the system
Fixed Value: Allergies and adverse reactions Document
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... author 0..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Who and/or what authored the section
..... focus 0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
..... text C0..1NarrativeText summary of the section, for human interpretation
..... orderedBy 0..1CodeableConceptOrder of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.

..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:allergyIntolerance SC0..*Reference(MoPH-PC AllergyIntolerance)A reference to data that supports this section
..... emptyReason C0..1CodeableConceptWhy the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

..... section 0..*See section (Composition)Nested Section
.... section:sectionMedications C0..1BackboneElementสรุปรายการยาที่ได้รับในการรับบริการครั้งนั้น
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Medication Summary
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 10160-0
....... display1..1stringRepresentation defined by the system
Fixed Value: History of Medication use Narrative
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... author 0..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Who and/or what authored the section
..... focus 0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
..... text C0..1NarrativeText summary of the section, for human interpretation
..... orderedBy 0..1CodeableConceptOrder of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.

..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by type:resolve(), profile:resolve()
...... entry:medicationRequest SC0..*Reference(MoPH-PC MedicationRequest)A reference to data that supports this section
...... entry:medicationDispense SC0..*Reference(MoPH-PC MedicationDispense)A reference to data that supports this section
...... entry:medicationAdministration SC0..*Reference(MoPH-PC MedicationAdministration)A reference to data that supports this section
...... entry:medicationStatement SC0..*Reference(MoPH-PC MedicationStatement)A reference to data that supports this section
..... emptyReason C0..1CodeableConceptWhy the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

..... section 0..*See section (Composition)Nested Section
.... section:sectionImmunizations C0..1BackboneElementประวัติการรับวัคซีน
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Immunization
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 11369-6
....... display1..1stringRepresentation defined by the system
Fixed Value: History of Immunization Narrative
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... author 0..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Who and/or what authored the section
..... focus 0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
..... text C0..1NarrativeText summary of the section, for human interpretation
..... orderedBy 0..1CodeableConceptOrder of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.

..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:immunization SC0..*Reference(Immunization)A reference to data that supports this section
..... emptyReason C0..1CodeableConceptWhy the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

..... section 0..*See section (Composition)Nested Section
.... section:sectionProblemList C0..1BackboneElementสรุปรายการปัญหาของผู้รับบริการ
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Problem list
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 11450-4
....... display1..1stringRepresentation defined by the system
Fixed Value: Problem list - Reported
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... author 0..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Who and/or what authored the section
..... focus 0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
..... text C0..1NarrativeText summary of the section, for human interpretation
..... orderedBy 0..1CodeableConceptOrder of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.

..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:problemList SC0..*Reference(MoPH-PC Condition)A reference to data that supports this section
..... emptyReason C0..1CodeableConceptWhy the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

..... section 0..*See section (Composition)Nested Section
.... section:sectionPastIllness C0..1BackboneElementประวัติการเจ็บป่วยในอดีต
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: History of Past Illness
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 11348-0
....... display1..1stringRepresentation defined by the system
Fixed Value: History of Past illness Narrative
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... author 0..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Who and/or what authored the section
..... focus 0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
..... text C0..1NarrativeText summary of the section, for human interpretation
..... orderedBy 0..1CodeableConceptOrder of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.

..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:pastIllness SC0..*Reference(MoPH-PC Condition)A reference to data that supports this section
..... emptyReason C0..1CodeableConceptWhy the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

..... section 0..*See section (Composition)Nested Section
.... section:sectionProcedures C0..1BackboneElementประวัติการผ่าตัด
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Procedure
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 47519-4
....... display1..1stringRepresentation defined by the system
Fixed Value: History of Procedures Document
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... author 0..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Who and/or what authored the section
..... focus 0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
..... text C0..1NarrativeText summary of the section, for human interpretation
..... orderedBy 0..1CodeableConceptOrder of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.

..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:procedure SC0..*Reference(MoPH-PC Procedure)A reference to data that supports this section
..... emptyReason C0..1CodeableConceptWhy the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

..... section 0..*See section (Composition)Nested Section
.... section:sectionVitalSigns C0..1BackboneElementผลการวัดสัญญาณชีพ
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Vital Signs
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 8716-3
....... display1..1stringRepresentation defined by the system
Fixed Value: Vital signs
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... author 0..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Who and/or what authored the section
..... focus 0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
..... text C0..1NarrativeText summary of the section, for human interpretation
..... orderedBy 0..1CodeableConceptOrder of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.

..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:vitalSigns SC0..*Reference(MoPH-PC Observation: Vital)A reference to data that supports this section
..... emptyReason C0..1CodeableConceptWhy the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

..... section 0..*See section (Composition)Nested Section
.... section:sectionDiagnosticTest C0..1BackboneElementผลการตรวจทางคลินิกอื่น ๆ เช่น EKG
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Diagnostic Studies Result
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 30954-2
....... display1..1stringRepresentation defined by the system
Fixed Value: Relevant diagnostic tests/laboratory data Narrative
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... author 0..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Who and/or what authored the section
..... focus 0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
..... text C0..1NarrativeText summary of the section, for human interpretation
..... orderedBy 0..1CodeableConceptOrder of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.

..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by type:resolve(), profile:resolve()
...... entry:results-observation SC0..*Reference(Observation)A reference to data that supports this section
...... entry:results-diagnosticReport SC0..*Reference(MoPH-PC DiagnosticReport)A reference to data that supports this section
..... emptyReason C0..1CodeableConceptWhy the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

..... section 0..*See section (Composition)Nested Section
.... section:sectionLaboratory C0..1BackboneElementผลการตรวจทางห้องปฏิบัติการ
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Laboratory Test Result
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 30954-2
....... display1..1stringRepresentation defined by the system
Fixed Value: Relevant diagnostic tests/laboratory data Narrative
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... author 0..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Who and/or what authored the section
..... focus 0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
..... text C0..1NarrativeText summary of the section, for human interpretation
..... orderedBy 0..1CodeableConceptOrder of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.

..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by type:resolve(), profile:resolve()
...... entry:results-observation SC0..*Reference(MoPH-PC Observation: Lab)A reference to data that supports this section
...... entry:results-diagnosticReport SC0..*Reference(MoPH-PC DiagnosticReport)A reference to data that supports this section
..... emptyReason C0..1CodeableConceptWhy the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

..... section 0..*See section (Composition)Nested Section
.... section:sectionDocumentReference C0..1BackboneElementภาพสแกนเอกสารหรือภาพถ่ายทางการแพทย์
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... title S0..1stringLabel for section (e.g. for ToC)
Required Pattern: Scanned medical records or medical images
..... code S0..1CodeableConceptClassification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://snomed.info/sct
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 423876004
....... display1..1stringRepresentation defined by the system
Fixed Value: Clinical document
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... author 0..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Who and/or what authored the section
..... focus 0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
..... text C0..1NarrativeText summary of the section, for human interpretation
..... orderedBy 0..1CodeableConceptOrder of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.

..... Slices for entry SC1..*Reference(Resource)A reference to data that supports this section
Slice: Unordered, Open by profile:resolve()
...... entry:documentReference SC0..*Reference(DocumentReference)A reference to data that supports this section
..... emptyReason C0..1CodeableConceptWhy the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

..... section 0..*See section (Composition)Nested Section

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
Composition.languagerequiredAllLanguages
Composition.identifier:hcode.userequiredIdentifierUse
Composition.identifier:hcode.typeextensiblePattern: hcode
Composition.identifier:depCode.userequiredIdentifierUse
Composition.identifier:depCode.typeextensiblePattern: localDep
Composition.statusrequiredCompositionStatus
Composition.typepreferredPattern: LOINC code 18842-5("Discharge summary")
Composition.categoryexampleReferencedItemCategoryValueSet
Composition.attester.modepreferredCompositionAttestationMode
Composition.event.detailexampleActCode
Composition.section.codeexampleDocumentSectionCodes
Composition.section.orderedBypreferredListOrderCodes
Composition.section.emptyReasonpreferredListEmptyReasons
Composition.section:sectionAllergies.codeexamplePattern: LOINC code 48765-2("Allergies and adverse reactions Document")
Composition.section:sectionAllergies.orderedBypreferredListOrderCodes
Composition.section:sectionAllergies.emptyReasonpreferredListEmptyReasons
Composition.section:sectionMedications.codeexamplePattern: LOINC code 10160-0("History of Medication use Narrative")
Composition.section:sectionMedications.orderedBypreferredListOrderCodes
Composition.section:sectionMedications.emptyReasonpreferredListEmptyReasons
Composition.section:sectionImmunizations.codeexamplePattern: LOINC code 11369-6("History of Immunization Narrative")
Composition.section:sectionImmunizations.orderedBypreferredListOrderCodes
Composition.section:sectionImmunizations.emptyReasonpreferredListEmptyReasons
Composition.section:sectionProblemList.codeexamplePattern: LOINC code 11450-4("Problem list - Reported")
Composition.section:sectionProblemList.orderedBypreferredListOrderCodes
Composition.section:sectionProblemList.emptyReasonpreferredListEmptyReasons
Composition.section:sectionPastIllness.codeexamplePattern: LOINC code 11348-0("History of Past illness Narrative")
Composition.section:sectionPastIllness.orderedBypreferredListOrderCodes
Composition.section:sectionPastIllness.emptyReasonpreferredListEmptyReasons
Composition.section:sectionProcedures.codeexamplePattern: LOINC code 47519-4("History of Procedures Document")
Composition.section:sectionProcedures.orderedBypreferredListOrderCodes
Composition.section:sectionProcedures.emptyReasonpreferredListEmptyReasons
Composition.section:sectionVitalSigns.codeexamplePattern: LOINC code 8716-3("Vital signs")
Composition.section:sectionVitalSigns.orderedBypreferredListOrderCodes
Composition.section:sectionVitalSigns.emptyReasonpreferredListEmptyReasons
Composition.section:sectionDiagnosticTest.codeexamplePattern: LOINC code 30954-2("Relevant diagnostic tests/laboratory data Narrative")
Composition.section:sectionDiagnosticTest.orderedBypreferredListOrderCodes
Composition.section:sectionDiagnosticTest.emptyReasonpreferredListEmptyReasons
Composition.section:sectionLaboratory.codeexamplePattern: LOINC code 30954-2("Relevant diagnostic tests/laboratory data Narrative")
Composition.section:sectionLaboratory.orderedBypreferredListOrderCodes
Composition.section:sectionLaboratory.emptyReasonpreferredListEmptyReasons
Composition.section:sectionDocumentReference.codeexamplePattern: SNOMED CT code 423876004("Clinical document")
Composition.section:sectionDocumentReference.orderedBypreferredListOrderCodes
Composition.section:sectionDocumentReference.emptyReasonpreferredListEmptyReasons

Constraints

IdGradePath(s)DetailsRequirements
hcode-lengthwarningComposition.identifier:hcode.valueรหัสสถานบริการ (HCODE) ควรเป็นรหัส 5 หลัก หรือ 9 หลัก
: value.matches('^([0-9]{5})$') or value.matches('^([0-9]{9})$')

This structure is derived from Composition

Summary

Mandatory: 3 elements (17 nested mandatory elements)
Must-Support: 52 elements
Fixed Value: 2 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element Composition.identifier is sliced based on the value of value:type
  • The element Composition.section is sliced based on the value of value:code
  • The element Composition.section.entry is sliced based on the value of profile:resolve()
  • The element Composition.section.entry is sliced based on the values of type:resolve(), profile:resolve()

 

Other representations of profile: CSV, Excel, Schematron