openEHR Test IG
1.6.6 - International flag

openEHR Test IG, published by HL7 FHIR Product Director. This guide is not an authorized publication; it is the continuous build for version 1.6.6 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/FHIR/openehr-test/ and changes regularly. See the Directory of published versions

:

Raw json | Download

{
  "templateId" : "ROSI - Emergency contacts",
  "version" : "2.3",
  "defaultLanguage" : "en",
  "languages" : [
    "en"
  ],
  "tree" : {
    "id" : "emergency_contacts",
    "name" : "Emergency contacts",
    "localizedName" : "Emergency contacts",
    "rmType" : "COMPOSITION",
    "nodeId" : "openEHR-EHR-COMPOSITION.anticipatory_care_information.v0",
    "min" : "1",
    "max" : "1",
    "localizedNames" : [
      null
    ],
    "localizedDescriptions" : [
      null
    ],
    "annotations" : {
      "comment" : "Template -level comments"
    },
    "aqlPath" : "",
    "children" : [
      {
        "id" : "coded_text",
        "name" : "Coded text",
        "localizedName" : "Coded text",
        "rmType" : "DV_CODED_TEXT",
        "nodeId" : "at0001",
        "min" : "1",
        "max" : "1",
        "localizedNames" : [
          null
        ],
        "localizedDescriptions" : [
          null
        ],
        "aqlPath" : "/category[at0001]",
        "inContext" : true,
        "inputs" : [
          {
            "suffix" : "code",
            "type" : "CODED_TEXT",
            "terminology" : "openehr",
            "list" : [
              {
                "value" : "433",
                "label" : "event",
                "localizedLabels" : [
                  null
                ]
              }
            ]
          }
        ]
      },
      {
        "id" : "event_context",
        "name" : "Event Context",
        "localizedName" : "Event Context",
        "rmType" : "EVENT_CONTEXT",
        "nodeId" : "at0002",
        "min" : "1",
        "max" : "1",
        "localizedNames" : [
          null
        ],
        "localizedDescriptions" : [
          null
        ],
        "aqlPath" : "/context[at0002]",
        "children" : [
          {
            "id" : "xds_metadata",
            "name" : "XDS Metadata",
            "localizedName" : "XDS Metadata",
            "rmType" : "CLUSTER",
            "nodeId" : "openEHR-EHR-CLUSTER.xds_metadata.v0",
            "min" : "0",
            "max" : "1",
            "localizedNames" : [
              null
            ],
            "localizedDescriptions" : [
              null
            ],
            "aqlPath" : "/context[at0002]/other_context[at0003]/items[openEHR-EHR-CLUSTER.xds_metadata.v0]",
            "children" : [
              {
                "id" : "document_type",
                "name" : "Document type",
                "localizedName" : "Document type",
                "rmType" : "DV_TEXT",
                "nodeId" : "at0003",
                "min" : "0",
                "max" : "1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "annotations" : {
                  "comment" : "for example:  Pulmonary History and Physical, Discharge Summary, Ultrasound Report.\r\nThese codes are specific to an XDS Affinity Domain."
                },
                "aqlPath" : "/context[at0002]/other_context[at0003]/items[openEHR-EHR-CLUSTER.xds_metadata.v0]/items[at0003]/value",
                "inputs" : [
                  {
                    "type" : "TEXT"
                  }
                ]
              }
            ]
          },
          {
            "id" : "care_journey_metadata",
            "name" : "Care journey metadata",
            "localizedName" : "Care journey metadata",
            "rmType" : "CLUSTER",
            "nodeId" : "openEHR-EHR-CLUSTER.care_journey_metadata.v0",
            "min" : "0",
            "max" : "-1",
            "localizedNames" : [
              null
            ],
            "localizedDescriptions" : [
              null
            ],
            "aqlPath" : "/context[at0002]/other_context[at0003]/items[openEHR-EHR-CLUSTER.care_journey_metadata.v0]",
            "children" : [
              {
                "id" : "care_plan_name",
                "name" : "Care plan name",
                "localizedName" : "Care plan name",
                "rmType" : "DV_TEXT",
                "nodeId" : "at0001",
                "min" : "0",
                "max" : "1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "aqlPath" : "/context[at0002]/other_context[at0003]/items[openEHR-EHR-CLUSTER.care_journey_metadata.v0]/items[at0001]/value",
                "inputs" : [
                  {
                    "type" : "TEXT"
                  }
                ]
              },
              {
                "id" : "care_plan_identifier",
                "name" : "Care plan identifier",
                "localizedName" : "Care plan identifier",
                "rmType" : "DV_TEXT",
                "nodeId" : "at0002",
                "min" : "0",
                "max" : "1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "aqlPath" : "/context[at0002]/other_context[at0003]/items[openEHR-EHR-CLUSTER.care_journey_metadata.v0]/items[at0002]/value",
                "inputs" : [
                  {
                    "type" : "TEXT"
                  }
                ]
              },
              {
                "id" : "patient_journey_identifier",
                "name" : "Patient journey identifier",
                "localizedName" : "Patient journey identifier",
                "rmType" : "DV_TEXT",
                "nodeId" : "at0003",
                "min" : "0",
                "max" : "1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "aqlPath" : "/context[at0002]/other_context[at0003]/items[openEHR-EHR-CLUSTER.care_journey_metadata.v0]/items[at0003]/value",
                "inputs" : [
                  {
                    "type" : "TEXT"
                  }
                ]
              }
            ]
          },
          {
            "id" : "start_time",
            "name" : "Start_time",
            "rmType" : "DV_DATE_TIME",
            "min" : "1",
            "max" : "1",
            "aqlPath" : "/context[at0002]/start_time",
            "inContext" : true,
            "inputs" : [
              {
                "type" : "DATETIME"
              }
            ]
          },
          {
            "id" : "setting",
            "name" : "Setting",
            "rmType" : "DV_CODED_TEXT",
            "min" : "1",
            "max" : "1",
            "aqlPath" : "/context[at0002]/setting",
            "inContext" : true,
            "inputs" : [
              {
                "suffix" : "code",
                "type" : "TEXT"
              },
              {
                "suffix" : "value",
                "type" : "TEXT"
              }
            ]
          }
        ]
      },
      {
        "id" : "professional_contacts",
        "name" : "Professional contacts",
        "localizedName" : "Professional contacts",
        "rmType" : "ADMIN_ENTRY",
        "nodeId" : "openEHR-EHR-ADMIN_ENTRY.care_team.v0",
        "min" : "0",
        "max" : "1",
        "localizedNames" : [
          null
        ],
        "localizedDescriptions" : [
          null
        ],
        "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Professional contacts']",
        "children" : [
          {
            "id" : "care_team",
            "name" : "Care team",
            "localizedName" : "Care team",
            "rmType" : "CLUSTER",
            "nodeId" : "openEHR-EHR-CLUSTER.care_team.v0",
            "min" : "0",
            "max" : "1",
            "localizedNames" : [
              null
            ],
            "localizedDescriptions" : [
              null
            ],
            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Professional contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]",
            "children" : [
              {
                "id" : "name",
                "name" : "Name",
                "localizedName" : "Name",
                "rmType" : "DV_TEXT",
                "nodeId" : "at0018",
                "min" : "0",
                "max" : "1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "annotations" : {
                  "comment" : "E.g. the \"red\" vs. \"green\" trauma teams."
                },
                "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Professional contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0018]/value",
                "inputs" : [
                  {
                    "type" : "TEXT",
                    "list" : [
                      {
                        "value" : "ROSI Professional Emergency contacts",
                        "label" : "ROSI Professional Emergency contacts"
                      }
                    ],
                    "listOpen" : false
                  }
                ]
              },
              {
                "id" : "participant",
                "name" : "Participant",
                "localizedName" : "Participant",
                "rmType" : "CLUSTER",
                "nodeId" : "at0021",
                "min" : "0",
                "max" : "-1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Professional contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]",
                "children" : [
                  {
                    "id" : "role_and_relationship",
                    "name" : "Role and Relationship",
                    "localizedName" : "Role and Relationship",
                    "rmType" : "DV_TEXT",
                    "nodeId" : "at0022",
                    "min" : "0",
                    "max" : "-1",
                    "localizedNames" : [
                      null
                    ],
                    "localizedDescriptions" : [
                      null
                    ],
                    "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Professional contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[at0022,'Role and Relationship']/value",
                    "inputs" : [
                      {
                        "type" : "TEXT",
                        "list" : [
                          {
                            "value" : "Primary emergency contact",
                            "label" : "Primary emergency contact"
                          },
                          {
                            "value" : "GP",
                            "label" : "GP"
                          },
                          {
                            "value" : "Lead consultant",
                            "label" : "Lead consultant"
                          },
                          {
                            "value" : "Key worker",
                            "label" : "Key worker"
                          },
                          {
                            "value" : "Paid carer",
                            "label" : "Paid carer"
                          },
                          {
                            "value" : "Support worker",
                            "label" : "Support worker"
                          },
                          {
                            "value" : "Social worker",
                            "label" : "Social worker"
                          },
                          {
                            "value" : "Community Nurse",
                            "label" : "Community Nurse"
                          },
                          {
                            "value" : "Practice Nurse",
                            "label" : "Practice Nurse"
                          },
                          {
                            "value" : "Specialist Nurse",
                            "label" : "Specialist Nurse"
                          },
                          {
                            "value" : "Health care professional",
                            "label" : "Health care professional"
                          },
                          {
                            "value" : "Volunteer",
                            "label" : "Volunteer"
                          },
                          {
                            "value" : "Consultant",
                            "label" : "Consultant"
                          }
                        ],
                        "listOpen" : true
                      }
                    ]
                  },
                  {
                    "id" : "member",
                    "name" : "Member",
                    "localizedName" : "Member",
                    "rmType" : "CLUSTER",
                    "nodeId" : "openEHR-EHR-CLUSTER.contact_cc.v0",
                    "min" : "0",
                    "max" : "1",
                    "localizedNames" : [
                      null
                    ],
                    "localizedDescriptions" : [
                      null
                    ],
                    "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Professional contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[openEHR-EHR-CLUSTER.contact_cc.v0,'Member']",
                    "children" : [
                      {
                        "id" : "name",
                        "name" : "Name",
                        "localizedName" : "Name",
                        "rmType" : "CLUSTER",
                        "nodeId" : "openEHR-EHR-CLUSTER.name_cc.v0",
                        "min" : "0",
                        "max" : "1",
                        "localizedNames" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ],
                        "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Professional contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[openEHR-EHR-CLUSTER.contact_cc.v0,'Member']/items[openEHR-EHR-CLUSTER.name_cc.v0]",
                        "children" : [
                          {
                            "id" : "use",
                            "name" : "Use",
                            "localizedName" : "Use",
                            "rmType" : "DV_CODED_TEXT",
                            "nodeId" : "at0001",
                            "min" : "1",
                            "max" : "1",
                            "localizedNames" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ],
                            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Professional contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[openEHR-EHR-CLUSTER.contact_cc.v0,'Member']/items[openEHR-EHR-CLUSTER.name_cc.v0]/items[at0001]/value",
                            "inputs" : [
                              {
                                "suffix" : "code",
                                "type" : "CODED_TEXT",
                                "list" : [
                                  {
                                    "value" : "at0002",
                                    "label" : "Usual",
                                    "localizedLabels" : [
                                      null
                                    ],
                                    "localizedDescriptions" : [
                                      null
                                    ]
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "id" : "contact_name",
                            "name" : "Contact name",
                            "localizedName" : "Contact name",
                            "rmType" : "DV_TEXT",
                            "nodeId" : "at0009",
                            "min" : "0",
                            "max" : "1",
                            "localizedNames" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ],
                            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Professional contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[openEHR-EHR-CLUSTER.contact_cc.v0,'Member']/items[openEHR-EHR-CLUSTER.name_cc.v0]/items[at0009,'Contact name']/value",
                            "inputs" : [
                              {
                                "type" : "TEXT"
                              }
                            ]
                          },
                          {
                            "id" : "family",
                            "name" : "Family",
                            "localizedName" : "Family",
                            "rmType" : "DV_TEXT",
                            "nodeId" : "at0010",
                            "min" : "0",
                            "max" : "1",
                            "localizedNames" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ],
                            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Professional contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[openEHR-EHR-CLUSTER.contact_cc.v0,'Member']/items[openEHR-EHR-CLUSTER.name_cc.v0]/items[at0010]/value",
                            "inputs" : [
                              {
                                "type" : "TEXT"
                              }
                            ]
                          },
                          {
                            "id" : "given",
                            "name" : "Given",
                            "localizedName" : "Given",
                            "rmType" : "DV_TEXT",
                            "nodeId" : "at0011",
                            "min" : "0",
                            "max" : "-1",
                            "localizedNames" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ],
                            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Professional contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[openEHR-EHR-CLUSTER.contact_cc.v0,'Member']/items[openEHR-EHR-CLUSTER.name_cc.v0]/items[at0011]/value",
                            "inputs" : [
                              {
                                "type" : "TEXT"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "id" : "telephone",
                        "name" : "Telephone",
                        "localizedName" : "Telephone",
                        "rmType" : "CLUSTER",
                        "nodeId" : "openEHR-EHR-CLUSTER.telecom_cc.v0",
                        "min" : "0",
                        "max" : "-1",
                        "localizedNames" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ],
                        "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Professional contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[openEHR-EHR-CLUSTER.contact_cc.v0,'Member']/items[openEHR-EHR-CLUSTER.telecom_cc.v0,'Telephone']",
                        "children" : [
                          {
                            "id" : "system",
                            "name" : "System",
                            "localizedName" : "System",
                            "rmType" : "DV_CODED_TEXT",
                            "nodeId" : "at0001",
                            "min" : "0",
                            "max" : "1",
                            "localizedNames" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ],
                            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Professional contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[openEHR-EHR-CLUSTER.contact_cc.v0,'Member']/items[openEHR-EHR-CLUSTER.telecom_cc.v0,'Telephone']/items[at0001]/value",
                            "inputs" : [
                              {
                                "suffix" : "code",
                                "type" : "CODED_TEXT",
                                "list" : [
                                  {
                                    "value" : "at0012",
                                    "label" : "Phone",
                                    "localizedLabels" : [
                                      null
                                    ],
                                    "localizedDescriptions" : [
                                      null
                                    ]
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "id" : "telephone_number",
                            "name" : "Telephone number",
                            "localizedName" : "Telephone number",
                            "rmType" : "DV_TEXT",
                            "nodeId" : "at0002",
                            "min" : "0",
                            "max" : "1",
                            "localizedNames" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ],
                            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Professional contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[openEHR-EHR-CLUSTER.contact_cc.v0,'Member']/items[openEHR-EHR-CLUSTER.telecom_cc.v0,'Telephone']/items[at0002,'Telephone number']/value",
                            "inputs" : [
                              {
                                "type" : "TEXT"
                              }
                            ]
                          },
                          {
                            "id" : "use",
                            "name" : "Use",
                            "localizedName" : "Use",
                            "rmType" : "DV_CODED_TEXT",
                            "nodeId" : "at0003",
                            "min" : "0",
                            "max" : "1",
                            "localizedNames" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ],
                            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Professional contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[openEHR-EHR-CLUSTER.contact_cc.v0,'Member']/items[openEHR-EHR-CLUSTER.telecom_cc.v0,'Telephone']/items[at0003]/value",
                            "inputs" : [
                              {
                                "suffix" : "code",
                                "type" : "CODED_TEXT",
                                "list" : [
                                  {
                                    "value" : "at0004",
                                    "label" : "Home",
                                    "localizedLabels" : [
                                      null
                                    ],
                                    "localizedDescriptions" : [
                                      null
                                    ]
                                  },
                                  {
                                    "value" : "at0005",
                                    "label" : "Work",
                                    "localizedLabels" : [
                                      null
                                    ],
                                    "localizedDescriptions" : [
                                      null
                                    ]
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "id" : "team",
                        "name" : "Team",
                        "localizedName" : "Team",
                        "rmType" : "CLUSTER",
                        "nodeId" : "openEHR-EHR-CLUSTER.organisation.v0",
                        "min" : "0",
                        "max" : "1",
                        "localizedNames" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ],
                        "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Professional contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[openEHR-EHR-CLUSTER.contact_cc.v0,'Member']/items[openEHR-EHR-CLUSTER.organisation.v0,'Team']",
                        "children" : [
                          {
                            "id" : "team_name",
                            "name" : "Team name",
                            "localizedName" : "Team name",
                            "rmType" : "DV_TEXT",
                            "nodeId" : "at0001",
                            "min" : "1",
                            "max" : "1",
                            "localizedNames" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ],
                            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Professional contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[openEHR-EHR-CLUSTER.contact_cc.v0,'Member']/items[openEHR-EHR-CLUSTER.organisation.v0,'Team']/items[at0001,'Team name']/value",
                            "inputs" : [
                              {
                                "type" : "TEXT"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "id" : "other_details_about_contact",
                    "name" : "Other details about contact",
                    "localizedName" : "Other details about contact",
                    "rmType" : "DV_TEXT",
                    "nodeId" : "at0030",
                    "min" : "0",
                    "max" : "1",
                    "localizedNames" : [
                      null
                    ],
                    "localizedDescriptions" : [
                      null
                    ],
                    "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Professional contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[at0030,'Other details about contact']/value",
                    "inputs" : [
                      {
                        "type" : "TEXT"
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "id" : "language",
            "name" : "Language",
            "rmType" : "CODE_PHRASE",
            "min" : "1",
            "max" : "1",
            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Professional contacts']/language",
            "inContext" : true
          },
          {
            "id" : "encoding",
            "name" : "Encoding",
            "rmType" : "CODE_PHRASE",
            "min" : "1",
            "max" : "1",
            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Professional contacts']/encoding",
            "inContext" : true
          },
          {
            "id" : "subject",
            "name" : "Subject",
            "rmType" : "PARTY_PROXY",
            "min" : "1",
            "max" : "1",
            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Professional contacts']/subject",
            "inContext" : true,
            "inputs" : [
              {
                "suffix" : "id",
                "type" : "TEXT"
              },
              {
                "suffix" : "id_scheme",
                "type" : "TEXT"
              },
              {
                "suffix" : "id_namespace",
                "type" : "TEXT"
              },
              {
                "suffix" : "name",
                "type" : "TEXT"
              }
            ]
          }
        ]
      },
      {
        "id" : "personal_contacts",
        "name" : "Personal contacts",
        "localizedName" : "Personal contacts",
        "rmType" : "ADMIN_ENTRY",
        "nodeId" : "openEHR-EHR-ADMIN_ENTRY.care_team.v0",
        "min" : "0",
        "max" : "1",
        "localizedNames" : [
          null
        ],
        "localizedDescriptions" : [
          null
        ],
        "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Personal contacts']",
        "children" : [
          {
            "id" : "care_team",
            "name" : "Care team",
            "localizedName" : "Care team",
            "rmType" : "CLUSTER",
            "nodeId" : "openEHR-EHR-CLUSTER.care_team.v0",
            "min" : "0",
            "max" : "1",
            "localizedNames" : [
              null
            ],
            "localizedDescriptions" : [
              null
            ],
            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Personal contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]",
            "children" : [
              {
                "id" : "name",
                "name" : "Name",
                "localizedName" : "Name",
                "rmType" : "DV_TEXT",
                "nodeId" : "at0018",
                "min" : "0",
                "max" : "1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "annotations" : {
                  "comment" : "E.g. the \"red\" vs. \"green\" trauma teams."
                },
                "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Personal contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0018]/value",
                "inputs" : [
                  {
                    "type" : "TEXT",
                    "list" : [
                      {
                        "value" : "ROSI Personal Emergency contacts",
                        "label" : "ROSI Personal Emergency contacts"
                      }
                    ],
                    "listOpen" : false
                  }
                ]
              },
              {
                "id" : "participant",
                "name" : "Participant",
                "localizedName" : "Participant",
                "rmType" : "CLUSTER",
                "nodeId" : "at0021",
                "min" : "0",
                "max" : "-1",
                "localizedNames" : [
                  null
                ],
                "localizedDescriptions" : [
                  null
                ],
                "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Personal contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]",
                "children" : [
                  {
                    "id" : "role_and_relationship",
                    "name" : "Role and Relationship",
                    "localizedName" : "Role and Relationship",
                    "rmType" : "DV_TEXT",
                    "nodeId" : "at0022",
                    "min" : "0",
                    "max" : "-1",
                    "localizedNames" : [
                      null
                    ],
                    "localizedDescriptions" : [
                      null
                    ],
                    "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Personal contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[at0022,'Role and Relationship']/value",
                    "inputs" : [
                      {
                        "type" : "TEXT",
                        "list" : [
                          {
                            "value" : "Primary emergency contact",
                            "label" : "Primary emergency contact"
                          },
                          {
                            "value" : "Legal power of attorney / parental authority",
                            "label" : "Legal power of attorney / parental authority"
                          },
                          {
                            "value" : "Next of kin",
                            "label" : "Next of kin"
                          },
                          {
                            "value" : "Family",
                            "label" : "Family"
                          },
                          {
                            "value" : "Partner",
                            "label" : "Partner"
                          },
                          {
                            "value" : "Parent",
                            "label" : "Parent"
                          },
                          {
                            "value" : "Friend",
                            "label" : "Friend"
                          },
                          {
                            "value" : "Relative",
                            "label" : "Relative"
                          },
                          {
                            "value" : "Sibling",
                            "label" : "Sibling"
                          },
                          {
                            "value" : "Child",
                            "label" : "Child"
                          },
                          {
                            "value" : "Carer",
                            "label" : "Carer"
                          },
                          {
                            "value" : "Neighbour",
                            "label" : "Neighbour"
                          }
                        ],
                        "listOpen" : true
                      }
                    ]
                  },
                  {
                    "id" : "member",
                    "name" : "Member",
                    "localizedName" : "Member",
                    "rmType" : "CLUSTER",
                    "nodeId" : "openEHR-EHR-CLUSTER.contact_cc.v0",
                    "min" : "0",
                    "max" : "1",
                    "localizedNames" : [
                      null
                    ],
                    "localizedDescriptions" : [
                      null
                    ],
                    "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Personal contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[openEHR-EHR-CLUSTER.contact_cc.v0,'Member']",
                    "children" : [
                      {
                        "id" : "name",
                        "name" : "Name",
                        "localizedName" : "Name",
                        "rmType" : "CLUSTER",
                        "nodeId" : "openEHR-EHR-CLUSTER.name_cc.v0",
                        "min" : "0",
                        "max" : "1",
                        "localizedNames" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ],
                        "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Personal contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[openEHR-EHR-CLUSTER.contact_cc.v0,'Member']/items[openEHR-EHR-CLUSTER.name_cc.v0]",
                        "children" : [
                          {
                            "id" : "use",
                            "name" : "Use",
                            "localizedName" : "Use",
                            "rmType" : "DV_CODED_TEXT",
                            "nodeId" : "at0001",
                            "min" : "1",
                            "max" : "1",
                            "localizedNames" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ],
                            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Personal contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[openEHR-EHR-CLUSTER.contact_cc.v0,'Member']/items[openEHR-EHR-CLUSTER.name_cc.v0]/items[at0001]/value",
                            "inputs" : [
                              {
                                "suffix" : "code",
                                "type" : "CODED_TEXT",
                                "list" : [
                                  {
                                    "value" : "at0002",
                                    "label" : "Usual",
                                    "localizedLabels" : [
                                      null
                                    ],
                                    "localizedDescriptions" : [
                                      null
                                    ]
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "id" : "contact_name",
                            "name" : "Contact name",
                            "localizedName" : "Contact name",
                            "rmType" : "DV_TEXT",
                            "nodeId" : "at0009",
                            "min" : "0",
                            "max" : "1",
                            "localizedNames" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ],
                            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Personal contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[openEHR-EHR-CLUSTER.contact_cc.v0,'Member']/items[openEHR-EHR-CLUSTER.name_cc.v0]/items[at0009,'Contact name']/value",
                            "inputs" : [
                              {
                                "type" : "TEXT"
                              }
                            ]
                          },
                          {
                            "id" : "family",
                            "name" : "Family",
                            "localizedName" : "Family",
                            "rmType" : "DV_TEXT",
                            "nodeId" : "at0010",
                            "min" : "0",
                            "max" : "1",
                            "localizedNames" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ],
                            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Personal contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[openEHR-EHR-CLUSTER.contact_cc.v0,'Member']/items[openEHR-EHR-CLUSTER.name_cc.v0]/items[at0010]/value",
                            "inputs" : [
                              {
                                "type" : "TEXT"
                              }
                            ]
                          },
                          {
                            "id" : "given",
                            "name" : "Given",
                            "localizedName" : "Given",
                            "rmType" : "DV_TEXT",
                            "nodeId" : "at0011",
                            "min" : "0",
                            "max" : "-1",
                            "localizedNames" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ],
                            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Personal contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[openEHR-EHR-CLUSTER.contact_cc.v0,'Member']/items[openEHR-EHR-CLUSTER.name_cc.v0]/items[at0011]/value",
                            "inputs" : [
                              {
                                "type" : "TEXT"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "id" : "telephone",
                        "name" : "Telephone",
                        "localizedName" : "Telephone",
                        "rmType" : "CLUSTER",
                        "nodeId" : "openEHR-EHR-CLUSTER.telecom_cc.v0",
                        "min" : "0",
                        "max" : "-1",
                        "localizedNames" : [
                          null
                        ],
                        "localizedDescriptions" : [
                          null
                        ],
                        "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Personal contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[openEHR-EHR-CLUSTER.contact_cc.v0,'Member']/items[openEHR-EHR-CLUSTER.telecom_cc.v0,'Telephone']",
                        "children" : [
                          {
                            "id" : "system",
                            "name" : "System",
                            "localizedName" : "System",
                            "rmType" : "DV_CODED_TEXT",
                            "nodeId" : "at0001",
                            "min" : "0",
                            "max" : "1",
                            "localizedNames" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ],
                            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Personal contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[openEHR-EHR-CLUSTER.contact_cc.v0,'Member']/items[openEHR-EHR-CLUSTER.telecom_cc.v0,'Telephone']/items[at0001]/value",
                            "inputs" : [
                              {
                                "suffix" : "code",
                                "type" : "CODED_TEXT",
                                "list" : [
                                  {
                                    "value" : "at0012",
                                    "label" : "Phone",
                                    "localizedLabels" : [
                                      null
                                    ],
                                    "localizedDescriptions" : [
                                      null
                                    ]
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "id" : "telephone_number",
                            "name" : "Telephone number",
                            "localizedName" : "Telephone number",
                            "rmType" : "DV_TEXT",
                            "nodeId" : "at0002",
                            "min" : "0",
                            "max" : "1",
                            "localizedNames" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ],
                            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Personal contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[openEHR-EHR-CLUSTER.contact_cc.v0,'Member']/items[openEHR-EHR-CLUSTER.telecom_cc.v0,'Telephone']/items[at0002,'Telephone number']/value",
                            "inputs" : [
                              {
                                "type" : "TEXT"
                              }
                            ]
                          },
                          {
                            "id" : "use",
                            "name" : "Use",
                            "localizedName" : "Use",
                            "rmType" : "DV_CODED_TEXT",
                            "nodeId" : "at0003",
                            "min" : "0",
                            "max" : "1",
                            "localizedNames" : [
                              null
                            ],
                            "localizedDescriptions" : [
                              null
                            ],
                            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Personal contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[openEHR-EHR-CLUSTER.contact_cc.v0,'Member']/items[openEHR-EHR-CLUSTER.telecom_cc.v0,'Telephone']/items[at0003]/value",
                            "inputs" : [
                              {
                                "suffix" : "code",
                                "type" : "CODED_TEXT",
                                "list" : [
                                  {
                                    "value" : "at0004",
                                    "label" : "Home",
                                    "localizedLabels" : [
                                      null
                                    ],
                                    "localizedDescriptions" : [
                                      null
                                    ]
                                  },
                                  {
                                    "value" : "at0005",
                                    "label" : "Work",
                                    "localizedLabels" : [
                                      null
                                    ],
                                    "localizedDescriptions" : [
                                      null
                                    ]
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "id" : "other_details_about_contact",
                    "name" : "Other details about contact",
                    "localizedName" : "Other details about contact",
                    "rmType" : "DV_TEXT",
                    "nodeId" : "at0030",
                    "min" : "0",
                    "max" : "1",
                    "localizedNames" : [
                      null
                    ],
                    "localizedDescriptions" : [
                      null
                    ],
                    "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Personal contacts']/data[at0001]/items[openEHR-EHR-CLUSTER.care_team.v0]/items[at0021]/items[at0030,'Other details about contact']/value",
                    "inputs" : [
                      {
                        "type" : "TEXT"
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "id" : "language",
            "name" : "Language",
            "rmType" : "CODE_PHRASE",
            "min" : "1",
            "max" : "1",
            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Personal contacts']/language",
            "inContext" : true
          },
          {
            "id" : "encoding",
            "name" : "Encoding",
            "rmType" : "CODE_PHRASE",
            "min" : "1",
            "max" : "1",
            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Personal contacts']/encoding",
            "inContext" : true
          },
          {
            "id" : "subject",
            "name" : "Subject",
            "rmType" : "PARTY_PROXY",
            "min" : "1",
            "max" : "1",
            "aqlPath" : "/content[openEHR-EHR-ADMIN_ENTRY.care_team.v0,'Personal contacts']/subject",
            "inContext" : true,
            "inputs" : [
              {
                "suffix" : "id",
                "type" : "TEXT"
              },
              {
                "suffix" : "id_scheme",
                "type" : "TEXT"
              },
              {
                "suffix" : "id_namespace",
                "type" : "TEXT"
              },
              {
                "suffix" : "name",
                "type" : "TEXT"
              }
            ]
          }
        ]
      },
      {
        "id" : "language",
        "name" : "Language",
        "rmType" : "CODE_PHRASE",
        "min" : "1",
        "max" : "1",
        "aqlPath" : "/language",
        "inContext" : true
      },
      {
        "id" : "territory",
        "name" : "Territory",
        "rmType" : "CODE_PHRASE",
        "min" : "1",
        "max" : "1",
        "aqlPath" : "/territory",
        "inContext" : true
      },
      {
        "id" : "composer",
        "name" : "Composer",
        "rmType" : "PARTY_PROXY",
        "min" : "1",
        "max" : "1",
        "aqlPath" : "/composer",
        "inContext" : true,
        "inputs" : [
          {
            "suffix" : "id",
            "type" : "TEXT"
          },
          {
            "suffix" : "id_scheme",
            "type" : "TEXT"
          },
          {
            "suffix" : "id_namespace",
            "type" : "TEXT"
          },
          {
            "suffix" : "name",
            "type" : "TEXT"
          }
        ]
      }
    ]
  }
}