CONTRIBUTION

A CONTRIBUTION resource

  • audit
    Type: object · AUDIT_DETAILS
    required

    The set of attributes required to document the committal of an information item to a repository.

    • change_type
      Type: object · DV_CODED_TEXT
      required
    • committer
      Type: object · PARTY_PROXY
      required

      Polymorphic PARTY_PROXY wrapper. See concrete leaf schemas:

      • UMPartySelf
      • UMPartyIdentified
      • UMPartyRelated
    • system_id
      Type: string
      required
    • time_committed
      Type: object · DV_DATE_TIME
      required
    • _type
      Type: string
    • description
      Type: object · DV_TEXT

      Polymorphic DV_TEXT wrapper. See concrete leaf schemas:

      • UMDvText
      • UMDvCodedText
  • uid
    Type: object · HIER_OBJECT_ID
    required
    • value
      Type: stringFormat: uuid
      required
    • _type
      enum
      const:  
      HIER_OBJECT_ID
      values
      • HIER_OBJECT_ID
  • versions
    Type: array object[] · OBJECT_REF[]
    required
    • id
      Type: object · OBJECT_VERSION_ID
      required
    • namespace
      Type: string
      required
    • type
      Type: string
      required
Examples
{
  "uid": {
    "value": "0826851c-c4c2-4d61-92b9-410fb8275ff0"
  },
  "versions": [
    {
      "id": {
        "_type": "OBJECT_VERSION_ID",
        "value": "fb458d9c-1323-42bc-b7f8-787f3660a0b5::cataniamc.prod.cadasto.com::1"
      },
      "namespace": "local",
      "type": "COMPOSITION"
    },
    {
      "id": {
        "_type": "OBJECT_VERSION_ID",
        "value": "abcdefgh-1323-42bc-b7f8-787f3660a0ba::cataniamc.prod.cadasto.com::1"
      },
      "namespace": "local",
      "type": "FOLDER"
    }
  ],
  "audit": {
    "system_id": "9624982A-9F42-41A5-9318-AE13D5F5031F",
    "committer": {
      "_type": "PARTY_IDENTIFIED",
      "name": "A user name"
    },
    "time_committed": {
      "value": "2017-08-15T10:37:15.422+02:00"
    },
    "change_type": {
      "value": "creation",
      "defining_code": {
        "terminology_id": {
          "value": "openehr"
        },
        "code_string": "249"
      }
    },
    "description": {
      "value": "Description text"
    }
  }
}