{
"description": "Base profile for get-care-report and put-care-report API",
"_filename": "profile-Composition-put-care-report.json",
"package_name": "synapxe.hsar.hsg",
"date": "2019-11-01T09:29:23+11:00",
"derivation": "constraint",
"publisher": "IHIS",
"fhirVersion": "4.3.0",
"name": "profile-Composition-put-care-report",
"abstract": false,
"type": "Composition",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "4.3.0-v3",
"status": "active",
"id": "5f4392df-ec59-4c17-96e6-26b790a5de11",
"kind": "resource",
"url": "http://ihis.sg/StructureDefinition/Composition-pophealth",
"version": "4.3.0-v3",
"differential": {
"element": [ {
"id": "Composition.id",
"max": "0",
"path": "Composition.id"
}, {
"id": "Composition.meta",
"max": "0",
"path": "Composition.meta"
}, {
"id": "Composition.implicitRules",
"max": "0",
"path": "Composition.implicitRules"
}, {
"id": "Composition.language",
"max": "0",
"path": "Composition.language"
}, {
"id": "Composition.text",
"max": "0",
"path": "Composition.text"
}, {
"id": "Composition.contained",
"min": 1,
"path": "Composition.contained",
"short": "n/a",
"comment": "n/a",
"slicing": {
"rules": "closed",
"discriminator": [ {
"path": "$this",
"type": "type"
} ]
},
"definition": "Grouping of contained resource"
}, {
"id": "Composition.contained:Patient",
"max": "1",
"min": 1,
"path": "Composition.contained",
"type": [ {
"code": "Patient",
"profile": [ "http://ihis.sg/StructureDefinition/CareReport-Patient" ]
} ],
"sliceName": "Patient"
}, {
"id": "Composition.extension",
"max": "1",
"min": 1,
"path": "Composition.extension"
}, {
"id": "Composition.extension:extensionCompositionCareReportYear",
"max": "1",
"min": 1,
"path": "Composition.extension",
"type": [ {
"code": "Extension",
"profile": [ "http://ihis.sg/extension/care-report-year" ]
} ],
"sliceName": "extensionCompositionCareReportYear"
}, {
"id": "Composition.modifierExtension",
"max": "0",
"path": "Composition.modifierExtension"
}, {
"id": "Composition.identifier",
"max": "0",
"path": "Composition.identifier"
}, {
"id": "Composition.status",
"path": "Composition.status",
"short": "n/a",
"comment": "Fixed Value: \"final\"",
"fixedCode": "final",
"definition": "The workflow/clinical status of this composition. The status is a marker for clinical standing of the document.",
"requirements": "n/a",
"isModifierReason": "n/a"
}, {
"id": "Composition.type",
"path": "Composition.type",
"short": "n/a",
"binding": {
"strength": "required",
"valueSet": "http://ihis.sg/ValueSet/hsg-document-type",
"description": "Kind of composition"
},
"comment": "n/a",
"definition": "Kind of composition",
"requirements": "n/a"
}, {
"id": "Composition.type.id",
"max": "0",
"path": "Composition.type.id"
}, {
"id": "Composition.type.extension",
"max": "0",
"path": "Composition.type.extension"
}, {
"id": "Composition.type.coding",
"max": "1",
"min": 1,
"path": "Composition.type.coding",
"short": "n/a",
"comment": "n/a",
"definition": "Grouping of coding"
}, {
"id": "Composition.type.coding.id",
"max": "0",
"path": "Composition.type.coding.id"
}, {
"id": "Composition.type.coding.extension",
"max": "0",
"path": "Composition.type.coding.extension"
}, {
"id": "Composition.type.coding.system",
"min": 1,
"path": "Composition.type.coding.system",
"short": "n/a",
"comment": "Fixed Value: \"http://ihis.sg/ValueSet/hsg-document-type\"",
"definition": "Identify of the terminology system",
"requirements": "n/a"
}, {
"id": "Composition.type.coding.version",
"max": "0",
"path": "Composition.type.coding.version"
}, {
"id": "Composition.type.coding.code",
"min": 1,
"path": "Composition.type.coding.code",
"short": "n/a",
"comment": "Fixed Value: \"care-report\"",
"fixedCode": "care-report",
"definition": "Symbol in syntax defined by the system",
"requirements": "n/a"
}, {
"id": "Composition.type.coding.display",
"path": "Composition.type.coding.display",
"short": "n/a",
"comment": "Fixed Value: \"Care Report\"",
"definition": "Representation defined by the system",
"requirements": "n/a"
}, {
"id": "Composition.type.coding.userSelected",
"max": "0",
"path": "Composition.type.coding.userSelected"
}, {
"id": "Composition.type.text",
"max": "0",
"path": "Composition.type.text"
}, {
"id": "Composition.category",
"max": "0",
"path": "Composition.category"
}, {
"id": "Composition.subject",
"min": 1,
"path": "Composition.subject",
"type": [ {
"code": "Reference",
"aggregation": [ "contained" ],
"targetProfile": [ "http://ihis.sg/StructureDefinition/CareReport-Patient" ]
} ],
"short": "n/a",
"comment": "n/a",
"definition": "Reference to the patient master to link this care report data",
"requirements": "n/a"
}, {
"id": "Composition.subject.id",
"max": "0",
"path": "Composition.subject.id"
}, {
"id": "Composition.subject.extension",
"max": "0",
"path": "Composition.subject.extension"
}, {
"id": "Composition.subject.reference",
"min": 1,
"path": "Composition.subject.reference",
"short": "n/a",
"comment": "Local reference to the contained Patient resource\r\n\r\nSample Value: \"#B35F55D095F64C95B6A200D44498F47D\"",
"constraint": [ {
"key": "max-string-length-255",
"human": "String length must not exceed 255 characters",
"severity": "error",
"expression": "$this.toString().length() <= 255"
} ],
"definition": "Literal reference, Relative, internal or absolute URL"
}, {
"id": "Composition.subject.type",
"max": "0",
"path": "Composition.subject.type"
}, {
"id": "Composition.subject.identifier",
"max": "0",
"path": "Composition.subject.identifier"
}, {
"id": "Composition.subject.display",
"max": "0",
"path": "Composition.subject.display"
}, {
"id": "Composition.encounter",
"max": "0",
"path": "Composition.encounter"
}, {
"id": "Composition.date",
"path": "Composition.date",
"short": "n/a",
"comment": "Sample Value: \"2022-09-10T12:30:02+08:00\", \"2022-09-10T12:30:02.358+08:00\"",
"definition": "Care report submission date",
"requirements": "n/a"
}, {
"id": "Composition.author",
"max": "1",
"path": "Composition.author",
"short": "n/a",
"comment": "n/a",
"definition": "Who submitted the care report",
"requirements": "n/a"
}, {
"id": "Composition.author.id",
"max": "0",
"path": "Composition.author.id"
}, {
"id": "Composition.author.extension",
"max": "0",
"path": "Composition.author.extension"
}, {
"id": "Composition.author.reference",
"max": "0",
"path": "Composition.author.reference"
}, {
"id": "Composition.author.type",
"max": "0",
"path": "Composition.author.type"
}, {
"id": "Composition.author.identifier",
"min": 1,
"path": "Composition.author.identifier",
"short": "n/a",
"comment": "n/a",
"definition": "Grouping of identifier"
}, {
"id": "Composition.author.identifier.id",
"max": "0",
"path": "Composition.author.identifier.id"
}, {
"id": "Composition.author.identifier.extension",
"max": "0",
"path": "Composition.author.identifier.extension"
}, {
"id": "Composition.author.identifier.use",
"max": "0",
"path": "Composition.author.identifier.use"
}, {
"id": "Composition.author.identifier.type",
"max": "0",
"path": "Composition.author.identifier.type"
}, {
"id": "Composition.author.identifier.system",
"min": 1,
"path": "Composition.author.identifier.system",
"short": "n/a",
"comment": "Fixed Value: \"http://ihis.sg/identifier/mcr\"",
"fixedUri": "http://ihis.sg/identifier/mcr",
"definition": "The namespace for the identifier value",
"requirements": "n/a"
}, {
"id": "Composition.author.identifier.value",
"min": 1,
"path": "Composition.author.identifier.value",
"short": "n/a",
"comment": "Sample Value: \"M11223F\"",
"constraint": [ {
"key": "max-string-length-255",
"human": "String length must not exceed 255 characters",
"severity": "error",
"expression": "$this.toString().length() <= 255"
} ],
"definition": "The MCR number"
}, {
"id": "Composition.author.identifier.period",
"max": "0",
"path": "Composition.author.identifier.period"
}, {
"id": "Composition.author.identifier.assigner",
"max": "0",
"path": "Composition.author.identifier.assigner"
}, {
"id": "Composition.author.display",
"path": "Composition.author.display",
"short": "n/a",
"comment": "Sample Value: \"Dr Sharon Ang\"",
"constraint": [ {
"key": "max-string-length-255",
"human": "String length must not exceed 255 characters",
"severity": "error",
"expression": "$this.toString().length() <= 255"
} ],
"definition": "The name of the submitter"
}, {
"id": "Composition.title",
"path": "Composition.title",
"short": "n/a",
"comment": "Sample Value: \"Care Reporting Submission\"",
"constraint": [ {
"key": "max-string-length-255",
"human": "String length must not exceed 255 characters",
"severity": "error",
"expression": "$this.toString().length() <= 255"
} ],
"definition": "Human Readable name/title"
}, {
"id": "Composition.confidentiality",
"max": "0",
"path": "Composition.confidentiality"
}, {
"id": "Composition.attester",
"max": "0",
"path": "Composition.attester"
}, {
"id": "Composition.custodian",
"min": 1,
"path": "Composition.custodian",
"short": "n/a",
"comment": "n/a",
"definition": "The organization who submitted the care report",
"requirements": "n/a"
}, {
"id": "Composition.custodian.id",
"max": "0",
"path": "Composition.custodian.id"
}, {
"id": "Composition.custodian.extension",
"max": "0",
"path": "Composition.custodian.extension"
}, {
"id": "Composition.custodian.reference",
"max": "0",
"path": "Composition.custodian.reference"
}, {
"id": "Composition.custodian.type",
"min": 1,
"path": "Composition.custodian.type",
"short": "n/a",
"comment": "Fixed Value: \"Organization\"",
"fixedUri": "Organization",
"definition": "Resurce type"
}, {
"id": "Composition.custodian.identifier",
"min": 1,
"path": "Composition.custodian.identifier",
"short": "n/a",
"comment": "n/a",
"definition": "Grouping of identifier"
}, {
"id": "Composition.custodian.identifier.id",
"max": "0",
"path": "Composition.custodian.identifier.id"
}, {
"id": "Composition.custodian.identifier.extension",
"max": "0",
"path": "Composition.custodian.identifier.extension"
}, {
"id": "Composition.custodian.identifier.use",
"max": "0",
"path": "Composition.custodian.identifier.use"
}, {
"id": "Composition.custodian.identifier.type",
"max": "0",
"path": "Composition.custodian.identifier.type"
}, {
"id": "Composition.custodian.identifier.system",
"min": 1,
"path": "Composition.custodian.identifier.system",
"short": "n/a",
"comment": "Fixed Value: \"http://ihis.sg/identifier/hci-code\"",
"fixedUri": "http://ihis.sg/identifier/hci-code",
"definition": "The namespace for the identifier value",
"requirements": "n/a"
}, {
"id": "Composition.custodian.identifier.value",
"min": 1,
"path": "Composition.custodian.identifier.value",
"short": "n/a",
"comment": "Sample Value: \"123H04\"",
"definition": "HCI code"
}, {
"id": "Composition.custodian.identifier.period",
"max": "0",
"path": "Composition.custodian.identifier.period"
}, {
"id": "Composition.custodian.identifier.assigner",
"max": "0",
"path": "Composition.custodian.identifier.assigner"
}, {
"id": "Composition.custodian.display",
"max": "0",
"path": "Composition.custodian.display"
}, {
"id": "Composition.relatesTo",
"max": "0",
"path": "Composition.relatesTo"
}, {
"id": "Composition.event",
"max": "0",
"path": "Composition.event"
}, {
"id": "Composition.section",
"min": 1,
"path": "Composition.section",
"short": "n/a",
"comment": "Must populate all sections",
"definition": "Care report section"
}, {
"id": "Composition.section.id",
"max": "0",
"path": "Composition.section.id"
}, {
"id": "Composition.section.extension",
"max": "0",
"path": "Composition.section.extension"
}, {
"id": "Composition.section.modifierExtension",
"max": "0",
"path": "Composition.section.modifierExtension"
}, {
"id": "Composition.section.title",
"max": "0",
"path": "Composition.section.title"
}, {
"id": "Composition.section.code.id",
"max": "0",
"path": "Composition.section.code.id"
}, {
"id": "Composition.section.code.extension",
"max": "0",
"path": "Composition.section.code.extension"
}, {
"id": "Composition.section.code.coding",
"min": 1,
"path": "Composition.section.code.coding",
"short": "n/a",
"comment": "n/a",
"definition": "Code defined by a terminology system",
"requirements": "n/a"
}, {
"id": "Composition.section.code.coding.id",
"max": "0",
"path": "Composition.section.code.coding.id"
}, {
"id": "Composition.section.code.coding.extension",
"max": "0",
"path": "Composition.section.code.coding.extension"
}, {
"id": "Composition.section.code.coding.system",
"min": 1,
"path": "Composition.section.code.coding.system",
"short": "n/a",
"comment": "Fixed Value: \"http://ihis.sg/ValueSet/hsg-carereport-section\"",
"fixedUri": "http://ihis.sg/ValueSet/hsg-carereport-section",
"definition": "Identity of the terminology system",
"requirements": "n/a"
}, {
"id": "Composition.section.code.coding.version",
"max": "0",
"path": "Composition.section.code.coding.version"
}, {
"id": "Composition.section.code.coding.code",
"min": 1,
"path": "Composition.section.code.coding.code",
"short": "n/a",
"comment": "Refer to the 'CareReportBusinessData' tab column C\r\n\r\nSample Value: \"sectin-general\"",
"definition": "Terminology code.",
"requirements": "n/a"
}, {
"id": "Composition.section.code.coding.display",
"path": "Composition.section.code.coding.display",
"short": "n/a",
"comment": "Refer to the 'CareReportBusinessData' tab column B\r\nSample Value: \"General fields data group\"",
"definition": "Display name of the code",
"requirements": "n/a"
}, {
"id": "Composition.section.code.coding.userSelected",
"max": "0",
"path": "Composition.section.code.coding.userSelected"
}, {
"id": "Composition.section.code.text",
"max": "0",
"path": "Composition.section.code.text"
}, {
"id": "Composition.section.author",
"max": "0",
"path": "Composition.section.author"
}, {
"id": "Composition.section.focus",
"max": "0",
"path": "Composition.section.focus"
}, {
"id": "Composition.section.mode",
"max": "0",
"path": "Composition.section.mode"
}, {
"id": "Composition.section.orderedBy",
"max": "0",
"path": "Composition.section.orderedBy"
}, {
"id": "Composition.section.entry.id",
"max": "0",
"path": "Composition.section.entry.id"
}, {
"id": "Composition.section.entry.extension",
"max": "0",
"path": "Composition.section.entry.extension"
}, {
"id": "Composition.section.entry.reference",
"min": 1,
"path": "Composition.section.entry.reference",
"short": "n/a",
"comment": "Local reference to the specific contained observation resource, which contains the actual care report data\r\n\r\nSample Value: \"#DE7C2B8F575F46B792C20D542E01A4B1\"",
"constraint": [ {
"key": "max-string-length-255",
"human": "String length must not exceed 255 characters",
"severity": "error",
"expression": "$this.toString().length() <= 255"
} ],
"definition": "A reference from one resource to another. Actual data element under the respective section"
}, {
"id": "Composition.section.entry.type",
"max": "0",
"path": "Composition.section.entry.type"
}, {
"id": "Composition.section.entry.identifier",
"max": "0",
"path": "Composition.section.entry.identifier"
}, {
"id": "Composition.section.entry.display",
"max": "0",
"path": "Composition.section.entry.display"
}, {
"id": "Composition.section.emptyReason",
"max": "0",
"path": "Composition.section.emptyReason"
}, {
"id": "Composition.section.section",
"max": "0",
"path": "Composition.section.section"
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Composition"
}