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
      required
      • _type
        Discriminator
        enum
        const:  
        PARTY_SELF
        required
        values
        • PARTY_SELF
      • external_ref
        Type: object · PARTY_REF

        Identifier for parties in a demographic or identity service.

    • system_id
      Type: string
      required
    • time_committed
      Type: object · DV_DATE_TIME
      required
    • _type
      Type: string
    • description
      • _type
        Discriminator
        enum
        const:  
        DV_TEXT
        required
        values
        • DV_TEXT
      • value
        Type: string
        required
      • encoding
        Type: object · CODE_PHRASE
      • formatting
        Type: string
      • hyperlink
      • language
        Type: object · CODE_PHRASE
      • mappings
        Type: array object[] · TERM_MAPPING[]
  • uid
    Type: object · HIER_OBJECT_ID
    required
    • value
      Type: stringFormat: uuid
      required
    • _type
      Type: string
  • versions
    Type: array object[] · OBJECT_REF[]
    required
    • id
      required
      • _type
        Discriminator
        enum
        const:  
        ARCHETYPE_ID
        required
        values
        • ARCHETYPE_ID
      • value
        Type: string
        required
    • namespace
      Type: string
      required
    • type
      Type: string
      required
Examples
{
  "uid": {
    "value": "0826851c-c4c2-4d61-92b9-410fb8275ff0"
  },
  "versions": [
    {
      "_type": "OBJECT_REF",
      "id": {
        "_type": "OBJECT_VERSION_ID",
        "value": "fb458d9c-1323-42bc-b7f8-787f3660a0b5::cataniamc.prod.cadasto.com::1"
      },
      "namespace": "local",
      "type": "COMPOSITION"
    },
    {
      "_type": "OBJECT_REF",
      "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"
    }
  }
}