PackagesCanonicalsLogsProblems
    Packages
    synapxe.hsar.hsg@4.3.0-v3
    https://ihis.sg/StructureDefinition/profile-Composition-get-base
{
  "description": null,
  "_filename": "profile-Composition-get-care-report-base.json",
  "package_name": "synapxe.hsar.hsg",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.3.0",
  "name": "profile-Composition-get-base",
  "abstract": false,
  "type": "Composition",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "4.3.0-v3",
  "status": "active",
  "id": "9bfd8d51-14f3-4f5e-81ea-3606107e150c",
  "kind": "resource",
  "url": "https://ihis.sg/StructureDefinition/profile-Composition-get-base",
  "version": "4.3.0-v3",
  "differential": {
    "element": [ {
      "id": "Composition",
      "path": "Composition",
      "short": "n/a",
      "comment": "n/a",
      "definition": "n/a"
    }, {
      "id": "Composition.id",
      "min": 1,
      "path": "Composition.id"
    }, {
      "id": "Composition.meta",
      "min": 1,
      "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.extension",
      "path": "Composition.extension",
      "short": "n/a",
      "definition": "n/a"
    }, {
      "id": "Composition.extension:extensionCompositionCareReportYear",
      "max": "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": "Sample Value: \"final\"",
      "requirements": "n/a",
      "isModifierReason": "n/a"
    }, {
      "id": "Composition.type",
      "path": "Composition.type",
      "short": "n/a",
      "comment": "n/a",
      "definition": "Kind of composition (LOINC if possible)",
      "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",
      "requirements": "n/a"
    }, {
      "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": "Value: \"http://ihis.sg/ValueSet/hsg-document-type\"",
      "constraint": [ {
        "key": "max-string-length-255",
        "human": "String length must not exceed 255 characters",
        "severity": "error",
        "expression": "$this.toString().length() <= 255"
      } ],
      "definition": "Identity 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\"",
      "constraint": [ {
        "key": "max-string-length-255",
        "human": "String length must not exceed 255 characters",
        "severity": "error",
        "expression": "$this.toString().length() <= 255"
      } ],
      "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\"",
      "constraint": [ {
        "key": "max-string-length-255",
        "human": "String length must not exceed 255 characters",
        "severity": "error",
        "expression": "$this.toString().length() <= 255"
      } ],
      "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",
      "path": "Composition.subject",
      "short": "n/a",
      "comment": "Local reference to the contained Patient resource\r\n\r\nSample Value: \"#B35F55D095F64C95B6A200D44498F47D\"",
      "definition": "Reference to the patient in patient master to link this care report data",
      "requirements": "n/a"
    }, {
      "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\"",
      "constraint": [ {
        "key": "max-string-length-255",
        "human": "String length must not exceed 255 characters",
        "severity": "error",
        "expression": "$this.toString().length() <= 255"
      } ],
      "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 Report 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",
      "path": "Composition.confidentiality",
      "short": "n/a",
      "comment": "Sample Value: \"R\" for restricted and \"N\" for normal",
      "definition": "n/a"
    }, {
      "id": "Composition.attester",
      "max": "0",
      "path": "Composition.attester"
    }, {
      "id": "Composition.custodian",
      "min": 1,
      "path": "Composition.custodian",
      "short": "n/a",
      "comment": "n/a",
      "definition": "The organziation 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",
      "min": 1,
      "path": "Composition.custodian.reference",
      "short": "n/a",
      "comment": "Sample Value: \"/Organization/6288049DA16048D8A96B25CD8BB33630\"",
      "constraint": [ {
        "key": "max-string-length-255",
        "human": "String length must not exceed 255 characters",
        "severity": "error",
        "expression": "$this.toString().length() <= 255"
      } ],
      "definition": "Resource logical ID"
    }, {
      "id": "Composition.custodian.type",
      "min": 1,
      "path": "Composition.custodian.type",
      "short": "n/a",
      "comment": "Fixed Value: \"Organization\"",
      "constraint": [ {
        "key": "max-string-length-255",
        "human": "String length must not exceed 255 characters",
        "severity": "error",
        "expression": "$this.toString().length() <= 255"
      } ],
      "definition": "Resource 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\"",
      "constraint": [ {
        "key": "max-string-length-255",
        "human": "String length must not exceed 255 characters",
        "severity": "error",
        "expression": "$this.toString().length() <= 255"
      } ],
      "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": "Fixed Value: \"123H04\"",
      "constraint": [ {
        "key": "max-string-length-255",
        "human": "String length must not exceed 255 characters",
        "severity": "error",
        "expression": "$this.toString().length() <= 255"
      } ],
      "definition": "HCI Code\r\n\r\nBusiness Logic: System to validate the record exists, otherwise reject the data submission"
    }, {
      "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",
      "path": "Composition.custodian.display",
      "short": "n/a",
      "comment": "Sample Value: \"Clinic ABC\"",
      "constraint": [ {
        "key": "max-string-length-255",
        "human": "String length must not exceed 255 characters",
        "severity": "error",
        "expression": "$this.toString().length() <= 255"
      } ],
      "definition": "HCI name from PCP master codeset list"
    }, {
      "id": "Composition.relatesTo",
      "max": "0",
      "path": "Composition.relatesTo"
    }, {
      "id": "Composition.event",
      "max": "0",
      "path": "Composition.event"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Composition"
}