FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagesynapxe.hsar
Resource TypeStructureDefinition
Idprofile-Composition-put-care-report.json
FHIR VersionR4B
Sourcehttps://simplifier.net/resolve?scope=synapxe.hsar@1.0.0&canonical=http://ihis.sg/StructureDefinition/Composition-pophealth
URLhttp://ihis.sg/StructureDefinition/Composition-pophealth
Statusactive
Date2019-11-01T09:29:23+11:00
Nameprofile-Composition-put-care-report
DescriptionBase profile for get-care-report and put-care-report API
TypeComposition
Kindresource

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
CareReport-Patientprofile-Composition-put-care-report-patient
CareReportObservationprofile-Composition-put-care-report-observation
care-report-yearextension-Composition-careReportYear

Narrative

No narrative content found in resource


Source1

{
  "resourceType": "StructureDefinition",
  "id": "profile-Composition-put-care-report",
  "url": "http://ihis.sg/StructureDefinition/Composition-pophealth",
  "name": "profile-Composition-put-care-report",
  "status": "active",
  "date": "2019-11-01T09:29:23+11:00",
  "publisher": "IHIS",
  "description": "Base profile for get-care-report and put-care-report API",
  "fhirVersion": "4.3.0",
  "kind": "resource",
  "abstract": false,
  "type": "Composition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Composition",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Composition.id",
        "path": "Composition.id",
        "max": "0"
      },
      {
        "id": "Composition.implicitRules",
        "path": "Composition.implicitRules",
        "max": "0"
      },
      {
        "id": "Composition.language",
        "path": "Composition.language",
        "max": "0"
      },
      {
        "id": "Composition.text",
        "path": "Composition.text",
        "max": "0"
      },
      {
        "id": "Composition.contained",
        "path": "Composition.contained",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "short": "Information about an individual or animal receiving health care services",
        "definition": "Demographics and other administrative information about an individual or animal receiving care or other health-related services.",
        "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as laboratory reports, etc.",
        "alias": [
          "Vital Signs",
          "Measurement",
          "Results",
          "Tests",
          "SubjectOfCare Client Resident"
        ],
        "min": 1,
        "constraint": [
          {
            "key": "dom-2",
            "severity": "error",
            "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
            "expression": "contained.contained.empty()",
            "xpath": "not(parent::f:contained and f:contained)",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key": "dom-4",
            "severity": "error",
            "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
            "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
            "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key": "dom-3",
            "severity": "error",
            "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
            "expression": "contained.where(((id.exists() and ('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url)))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(uri) = '#').exists()).not()).trace('unmatched', id).empty()",
            "xpath": "not(exists(for $contained in f:contained return $contained[not(exists(parent::*/descendant::f:reference/@value=concat('#', $contained/*/f:id/@value)) or exists(descendant::f:reference[@value='#']))]))",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key": "dom-6",
            "severity": "warning",
            "human": "A resource should have narrative for robust management",
            "expression": "text.`div`.exists()",
            "xpath": "exists(f:text/h:div)",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key": "dom-5",
            "severity": "error",
            "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
            "expression": "contained.meta.security.empty()",
            "xpath": "not(exists(f:contained/*/f:meta/f:security))",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key": "obs-7",
            "severity": "error",
            "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present",
            "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()",
            "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))",
            "source": "http://hl7.org/fhir/StructureDefinition/Observation"
          },
          {
            "key": "obs-6",
            "severity": "error",
            "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present",
            "expression": "dataAbsentReason.empty() or value.empty()",
            "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))",
            "source": "http://hl7.org/fhir/StructureDefinition/Observation"
          }
        ],
        "mapping": [
          {
            "identity": "workflow",
            "map": "Event"
          },
          {
            "identity": "sct-concept",
            "map": "< 363787002 |Observable entity|"
          },
          {
            "identity": "v2",
            "map": "OBX"
          },
          {
            "identity": "rim",
            "map": "Observation[classCode=OBS, moodCode=EVN]"
          },
          {
            "identity": "w5",
            "map": "clinical.diagnostics"
          },
          {
            "identity": "rim",
            "map": "Patient[classCode=PAT]"
          },
          {
            "identity": "cda",
            "map": "ClinicalDocument.recordTarget.patientRole"
          },
          {
            "identity": "w5",
            "map": "administrative.individual"
          }
        ]
      },
      {
        "id": "Composition.contained:Patient",
        "path": "Composition.contained",
        "sliceName": "Patient",
        "short": "Contained, inline Resources",
        "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Patient",
            "profile": [
              "http://ihis.sg/StructureDefinition/CareReport-Patient"
            ]
          }
        ]
      },
      {
        "id": "Composition.contained:Observation",
        "path": "Composition.contained",
        "sliceName": "Observation",
        "short": "Contained, inline Resources",
        "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
        "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.",
        "min": 1,
        "type": [
          {
            "code": "Observation",
            "profile": [
              "http://ihis.sg/StructureDefinition/CareReportObservation"
            ]
          }
        ]
      },
      {
        "id": "Composition.extension",
        "path": "Composition.extension",
        "slicing": {
          "rules": "closed"
        },
        "short": "NA",
        "definition": "NA",
        "comment": "NA",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Composition.extension:extensionCompositionCareReportYear",
        "path": "Composition.extension",
        "sliceName": "extensionCompositionCareReportYear",
        "short": "The calendar year of the care report data, such as 2023,2024,etc.",
        "definition": "NA",
        "comment": "NA",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ihis.sg/extension/care-report-year"
            ]
          }
        ]
      },
      {
        "id": "Composition.modifierExtension",
        "path": "Composition.modifierExtension",
        "max": "0"
      },
      {
        "id": "Composition.identifier",
        "path": "Composition.identifier",
        "max": "0"
      },
      {
        "id": "Composition.status",
        "path": "Composition.status",
        "short": "The workflw/clinical status of this composition. The status is a marker for clinical standing of the document",
        "definition": "NA",
        "comment": "NA",
        "requirements": "NA",
        "fixedCode": "final",
        "example": [
          {
            "label": "Sample Value",
            "valueCode": "final"
          }
        ],
        "isModifierReason": "NA"
      },
      {
        "id": "Composition.type",
        "path": "Composition.type",
        "definition": "NA",
        "comment": "NA",
        "requirements": "NA",
        "binding": {
          "strength": "required",
          "valueSet": "http://ihis.sg/ValueSet/hsg-document-type"
        }
      },
      {
        "id": "Composition.type.id",
        "path": "Composition.type.id",
        "max": "0"
      },
      {
        "id": "Composition.type.extension",
        "path": "Composition.type.extension",
        "max": "0"
      },
      {
        "id": "Composition.type.coding",
        "path": "Composition.type.coding",
        "min": 1
      },
      {
        "id": "Composition.type.coding.id",
        "path": "Composition.type.coding.id",
        "max": "0"
      },
      {
        "id": "Composition.type.coding.extension",
        "path": "Composition.type.coding.extension",
        "max": "0"
      },
      {
        "id": "Composition.type.coding.system",
        "path": "Composition.type.coding.system",
        "definition": "NA",
        "comment": "NA",
        "requirements": "NA",
        "min": 1,
        "example": [
          {
            "label": "Fixed Value",
            "valueUri": "https://ihis.sg/ValueSet/hsg-document-type"
          }
        ]
      },
      {
        "id": "Composition.type.coding.version",
        "path": "Composition.type.coding.version",
        "max": "0"
      },
      {
        "id": "Composition.type.coding.code",
        "path": "Composition.type.coding.code",
        "definition": "NA",
        "min": 1,
        "fixedCode": "care-report",
        "example": [
          {
            "label": "Fixed Value",
            "valueCode": "care-report"
          }
        ]
      },
      {
        "id": "Composition.type.coding.display",
        "path": "Composition.type.coding.display",
        "definition": "NA",
        "example": [
          {
            "label": "Fixed Value",
            "valueString": "Care Report"
          }
        ]
      },
      {
        "id": "Composition.type.coding.userSelected",
        "path": "Composition.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Composition.type.text",
        "path": "Composition.type.text",
        "max": "0"
      },
      {
        "id": "Composition.category",
        "path": "Composition.category",
        "max": "0"
      },
      {
        "id": "Composition.subject",
        "path": "Composition.subject",
        "short": "Reference to the patient in patient master to link this care report data",
        "definition": "NA",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://ihis.sg/StructureDefinition/CareReport-Patient"
            ],
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "Composition.subject.id",
        "path": "Composition.subject.id",
        "max": "0"
      },
      {
        "id": "Composition.subject.extension",
        "path": "Composition.subject.extension",
        "max": "0"
      },
      {
        "id": "Composition.subject.reference",
        "path": "Composition.subject.reference",
        "short": "Literal reference, relative, internal or absolute URL",
        "definition": "NA",
        "comment": "NA",
        "min": 1,
        "example": [
          {
            "label": "Sample Value",
            "valueString": "#B35F55D095F64C95B6A200D44498F47D"
          }
        ]
      },
      {
        "id": "Composition.subject.type",
        "path": "Composition.subject.type",
        "max": "0"
      },
      {
        "id": "Composition.subject.identifier",
        "path": "Composition.subject.identifier",
        "max": "0"
      },
      {
        "id": "Composition.subject.display",
        "path": "Composition.subject.display",
        "max": "0"
      },
      {
        "id": "Composition.encounter",
        "path": "Composition.encounter",
        "max": "0"
      },
      {
        "id": "Composition.date",
        "path": "Composition.date",
        "short": "Care report submission date",
        "definition": "NA",
        "comment": "NA",
        "requirements": "NA",
        "example": [
          {
            "label": "Sample Value",
            "valueDateTime": "2022-01-01T17:00:00+08:00"
          }
        ]
      },
      {
        "id": "Composition.author",
        "path": "Composition.author",
        "short": "Who submitted the care report",
        "definition": "NA",
        "comment": "NA",
        "requirements": "NA",
        "max": "1"
      },
      {
        "id": "Composition.author.id",
        "path": "Composition.author.id",
        "max": "0"
      },
      {
        "id": "Composition.author.extension",
        "path": "Composition.author.extension",
        "max": "0"
      },
      {
        "id": "Composition.author.reference",
        "path": "Composition.author.reference",
        "max": "0"
      },
      {
        "id": "Composition.author.type",
        "path": "Composition.author.type",
        "max": "0"
      },
      {
        "id": "Composition.author.identifier",
        "path": "Composition.author.identifier",
        "short": "Grouping of identifier",
        "definition": "NA",
        "comment": "NA",
        "min": 1
      },
      {
        "id": "Composition.author.identifier.id",
        "path": "Composition.author.identifier.id",
        "max": "0"
      },
      {
        "id": "Composition.author.identifier.extension",
        "path": "Composition.author.identifier.extension",
        "max": "0"
      },
      {
        "id": "Composition.author.identifier.use",
        "path": "Composition.author.identifier.use",
        "max": "0"
      },
      {
        "id": "Composition.author.identifier.type",
        "path": "Composition.author.identifier.type",
        "max": "0"
      },
      {
        "id": "Composition.author.identifier.system",
        "path": "Composition.author.identifier.system",
        "definition": "NA",
        "comment": "NA",
        "requirements": "NA",
        "min": 1,
        "fixedUri": "http://ihis.sg/identifier/nric",
        "example": [
          {
            "label": "Fixed Value",
            "valueUri": "http://ihis.sg/identifier/mcr"
          }
        ]
      },
      {
        "id": "Composition.author.identifier.value",
        "path": "Composition.author.identifier.value",
        "short": "The MCR number.",
        "definition": "NA",
        "comment": "NA",
        "min": 1,
        "example": [
          {
            "label": "Sample Value",
            "valueString": "M112233F"
          }
        ],
        "condition": [
          "empty-value-validation"
        ],
        "constraint": [
          {
            "key": "empty-value-validation",
            "severity": "error",
            "human": "Author identifier value should not be empty",
            "expression": "$this.length() > 0"
          }
        ]
      },
      {
        "id": "Composition.author.identifier.period",
        "path": "Composition.author.identifier.period",
        "max": "0"
      },
      {
        "id": "Composition.author.identifier.assigner",
        "path": "Composition.author.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Composition.author.display",
        "path": "Composition.author.display",
        "short": "The name of the submitter",
        "definition": "NA",
        "example": [
          {
            "label": "Sample Value",
            "valueString": "Dr Sharon Ang"
          }
        ]
      },
      {
        "id": "Composition.title",
        "path": "Composition.title",
        "definition": "NA",
        "comment": "NA",
        "example": [
          {
            "label": "Sample Value",
            "valueString": "Care Report Submission"
          }
        ],
        "condition": [
          "empty-value-validation"
        ],
        "constraint": [
          {
            "key": "empty-value-validation",
            "severity": "error",
            "human": "Title should not be empty",
            "expression": "$this.length() > 0"
          }
        ]
      },
      {
        "id": "Composition.confidentiality",
        "path": "Composition.confidentiality",
        "max": "0"
      },
      {
        "id": "Composition.attester",
        "path": "Composition.attester",
        "max": "0"
      },
      {
        "id": "Composition.custodian",
        "path": "Composition.custodian",
        "short": "The organization who submitted the care report",
        "definition": "NA",
        "comment": "NA",
        "requirements": "NA",
        "min": 1
      },
      {
        "id": "Composition.custodian.id",
        "path": "Composition.custodian.id",
        "max": "0"
      },
      {
        "id": "Composition.custodian.extension",
        "path": "Composition.custodian.extension",
        "max": "0"
      },
      {
        "id": "Composition.custodian.reference",
        "path": "Composition.custodian.reference",
        "max": "0"
      },
      {
        "id": "Composition.custodian.type",
        "path": "Composition.custodian.type",
        "short": "Resurce type",
        "definition": "NA",
        "comment": "NA",
        "min": 1,
        "fixedUri": "Organization",
        "example": [
          {
            "label": "Fixed Value",
            "valueUri": "Organization"
          }
        ]
      },
      {
        "id": "Composition.custodian.identifier",
        "path": "Composition.custodian.identifier",
        "short": "Grouping of identifier",
        "definition": "NA",
        "comment": "NA",
        "min": 1
      },
      {
        "id": "Composition.custodian.identifier.id",
        "path": "Composition.custodian.identifier.id",
        "max": "0"
      },
      {
        "id": "Composition.custodian.identifier.extension",
        "path": "Composition.custodian.identifier.extension",
        "max": "0"
      },
      {
        "id": "Composition.custodian.identifier.use",
        "path": "Composition.custodian.identifier.use",
        "max": "0"
      },
      {
        "id": "Composition.custodian.identifier.type",
        "path": "Composition.custodian.identifier.type",
        "max": "0"
      },
      {
        "id": "Composition.custodian.identifier.system",
        "path": "Composition.custodian.identifier.system",
        "definition": "NA",
        "comment": "NA",
        "requirements": "NA",
        "min": 1,
        "fixedUri": "http://ihis.sg/identifier/mcr",
        "example": [
          {
            "label": "Fixed Value",
            "valueUri": "http://ihis.sg/identifier/hci-code"
          }
        ]
      },
      {
        "id": "Composition.custodian.identifier.value",
        "path": "Composition.custodian.identifier.value",
        "short": "HCI code.",
        "definition": "NA",
        "comment": "NA",
        "min": 1,
        "example": [
          {
            "label": "Sample Value",
            "valueString": "123H04"
          }
        ],
        "condition": [
          "empty-value-validation"
        ],
        "constraint": [
          {
            "key": "empty-value-validation",
            "severity": "error",
            "human": "Organization identifier value should not be empty",
            "expression": "$this.length() > 0"
          }
        ]
      },
      {
        "id": "Composition.custodian.identifier.period",
        "path": "Composition.custodian.identifier.period",
        "max": "0"
      },
      {
        "id": "Composition.custodian.identifier.assigner",
        "path": "Composition.custodian.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Composition.custodian.display",
        "path": "Composition.custodian.display",
        "max": "0"
      },
      {
        "id": "Composition.relatesTo",
        "path": "Composition.relatesTo",
        "max": "0"
      },
      {
        "id": "Composition.event",
        "path": "Composition.event",
        "max": "0"
      },
      {
        "id": "Composition.section",
        "path": "Composition.section",
        "short": "Care report section",
        "definition": "Must populate all sections",
        "min": 1
      },
      {
        "id": "Composition.section.id",
        "path": "Composition.section.id",
        "max": "0"
      },
      {
        "id": "Composition.section.extension",
        "path": "Composition.section.extension",
        "max": "0"
      },
      {
        "id": "Composition.section.modifierExtension",
        "path": "Composition.section.modifierExtension",
        "max": "0"
      },
      {
        "id": "Composition.section.title",
        "path": "Composition.section.title",
        "max": "0"
      },
      {
        "id": "Composition.section.code",
        "path": "Composition.section.code",
        "short": "Type of section",
        "definition": "Terminology code for representing the specific section in the care report data so that SOE systems can specify the correct value that can be understood by downstream systems such as MCDR",
        "comment": "NA",
        "requirements": "NA",
        "min": 1
      },
      {
        "id": "Composition.section.code.id",
        "path": "Composition.section.code.id",
        "max": "0"
      },
      {
        "id": "Composition.section.code.extension",
        "path": "Composition.section.code.extension",
        "max": "0"
      },
      {
        "id": "Composition.section.code.coding",
        "path": "Composition.section.code.coding",
        "definition": "NA",
        "comment": "NA",
        "requirements": "NA",
        "min": 1
      },
      {
        "id": "Composition.section.code.coding.id",
        "path": "Composition.section.code.coding.id",
        "max": "0"
      },
      {
        "id": "Composition.section.code.coding.extension",
        "path": "Composition.section.code.coding.extension",
        "max": "0"
      },
      {
        "id": "Composition.section.code.coding.system",
        "path": "Composition.section.code.coding.system",
        "definition": "NA",
        "comment": "NA",
        "requirements": "NA",
        "min": 1,
        "fixedUri": "http://ihis.sg/extension/enrollment-status",
        "example": [
          {
            "label": "Sample Value",
            "valueUri": "http://ihis.sg/ValueSet/hsg-carereport-section"
          }
        ]
      },
      {
        "id": "Composition.section.code.coding.version",
        "path": "Composition.section.code.coding.version",
        "max": "0"
      },
      {
        "id": "Composition.section.code.coding.code",
        "path": "Composition.section.code.coding.code",
        "short": "Terminology code.",
        "definition": "Refer to the 'CareReportBusinessData'.",
        "comment": "NA",
        "requirements": "NA",
        "min": 1,
        "example": [
          {
            "label": "Sample Value",
            "valueCode": "section-general"
          }
        ]
      },
      {
        "id": "Composition.section.code.coding.display",
        "path": "Composition.section.code.coding.display",
        "short": "Display name of the code.",
        "definition": "Refer to the 'CareReportBusinessData'.",
        "comment": "NA",
        "requirements": "NA",
        "example": [
          {
            "label": "Sample Value",
            "valueString": "General fields data group"
          }
        ]
      },
      {
        "id": "Composition.section.code.coding.userSelected",
        "path": "Composition.section.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Composition.section.code.text",
        "path": "Composition.section.code.text",
        "max": "0"
      },
      {
        "id": "Composition.section.author",
        "path": "Composition.section.author",
        "max": "0"
      },
      {
        "id": "Composition.section.focus",
        "path": "Composition.section.focus",
        "max": "0"
      },
      {
        "id": "Composition.section.text",
        "path": "Composition.section.text",
        "max": "0"
      },
      {
        "id": "Composition.section.mode",
        "path": "Composition.section.mode",
        "max": "0"
      },
      {
        "id": "Composition.section.orderedBy",
        "path": "Composition.section.orderedBy",
        "max": "0"
      },
      {
        "id": "Composition.section.entry",
        "path": "Composition.section.entry",
        "definition": "This represents the care report data element, msut populate all elements, regardless there is value or not.",
        "min": 1
      },
      {
        "id": "Composition.section.entry.id",
        "path": "Composition.section.entry.id",
        "max": "0"
      },
      {
        "id": "Composition.section.entry.extension",
        "path": "Composition.section.entry.extension",
        "max": "0"
      },
      {
        "id": "Composition.section.entry.reference",
        "path": "Composition.section.entry.reference",
        "short": "A reference from one resource to another. Actual data element under the respective section",
        "definition": "Local reference to the specific contained observation resource, which contains the actual care report data.",
        "comment": "NA",
        "min": 1,
        "example": [
          {
            "label": "Sample Value",
            "valueString": "#BFE94D3BE01E4160B1F4F6E7840B5562"
          }
        ]
      },
      {
        "id": "Composition.section.entry.type",
        "path": "Composition.section.entry.type",
        "max": "0"
      },
      {
        "id": "Composition.section.entry.identifier",
        "path": "Composition.section.entry.identifier",
        "max": "0"
      },
      {
        "id": "Composition.section.entry.display",
        "path": "Composition.section.entry.display",
        "max": "0"
      },
      {
        "id": "Composition.section.emptyReason",
        "path": "Composition.section.emptyReason",
        "max": "0"
      },
      {
        "id": "Composition.section.section",
        "path": "Composition.section.section",
        "max": "0"
      }
    ]
  }
}