{
  "resourceType": "DeviceAssociation",
  "id": "robot-association",
  "contained": [
    {
      "resourceType": "Patient",
      "id": "example-patient",
      "name": [
        {
          "family": "Doe",
          "given": [
            "John"
          ]
        }
      ]
    },
    {
      "resourceType": "Practitioner",
      "id": "example-practitioner",
      "name": [
        {
          "family": "Nguyen",
          "given": [
            "Alex"
          ]
        }
      ]
    },
    {
      "resourceType": "Device",
      "id": "surgical-robot",
      "status": "active",
      "name": [
        {
          "value": "Da Vinci Xi",
          "type": {
            "coding": [
              {
                "code": "model-name"
              }
            ]
          }
        }
      ],
      "type": [
        {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "466893009",
              "display": "Robotic surgical system"
            }
          ]
        }
      ]
    }
  ],
  "device": {
    "reference": "#surgical-robot"
  },
  "status": "active",
  "associationStatus": {
    "coding": [
      {
        "system": "http://hl7.org/fhir/CodeSystem/deviceassociation-association-status",
        "code": "attached",
        "display": "Attached"
      }
    ]
  },
  "subject": {
    "reference": "#example-practitioner"
  },
  "focus": {
    "reference": "#example-patient"
  },
  "period": {
    "start": "2025-07-01T08:00:00Z",
    "end": "2025-07-01T12:00:00Z"
  },
  "meta": {
    "tag": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "code": "HTEST",
        "display": "test health data"
      }
    ]
  }
}