Consolidated CDA (C-CDA)
4.0.0-ballot - STU4 United States of America flag

Consolidated CDA (C-CDA), published by Health Level Seven. This guide is not an authorized publication; it is the continuous build for version 4.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/CDA-ccda/ and changes regularly. See the Directory of published versions

: Care Plan Complete Header Example - JSON Representation

Raw json | Download

// 
 Title:        Care Plan

 Based on:     C-CDA_R2_Care_Plan.xml
 Created by:   Lantana Consulting Group, LLC
 
 Updated for C-CDA R3.0 with a focus on header elements
  
 ********************************************************
 Disclaimer: This sample file contains representative data elements to represent a Care Plan. 
 The file depicts a fictional character's health data. Any resemblance to a real person is coincidental. 
 To illustrate as many data elements as possible, the clinical scenario may not be plausible. 
 The data in this sample file is not intended to represent real patients, people or clinical events. 
 This sample is designed to be used in conjunction with the C-CDA Clinical Notes Implementation Guide.
 ********************************************************
  
{
  "resourceType" : "ClinicalDocument",
  "realmCode" : [
    //  ** CDA Header ** 
    {
      "code" : "US"
    }
  ],
  "typeId" : {
    "extension" : "POCD_HD000040",
    "root" : "2.16.840.1.113883.1.3"
  },
  "templateId" : [
    //  US Realm Header 
    {
      "extension" : "2024-05-01",
      "root" : "2.16.840.1.113883.10.20.22.1.1"
    },
    {
      "extension" : "2024-05-01",
      "root" : "2.16.840.1.113883.10.20.22.1.15"
    }
  ],
  "id" : //  Care Plan 
  {
    "root" : "db734647-fc99-424c-a864-7e3cda82e703"
  },
  "sdtcCategory" : [
    {
      "code" : "18776-5",
      "codeSystem" : "2.16.840.1.113883.6.1",
      "displayName" : "Plan of care note"
    }
  ],
  "code" : {
    "code" : "93902-5",
    "codeSystem" : "2.16.840.1.113883.6.1",
    "codeSystemName" : "LOINC",
    "displayName" : "Healthcare navigator Plan of care note"
  },
  "title" : {
    "xmlText" : "Good Health Hospital Care Plan"
  },
  "effectiveTime" : {
    "value" : "2013-08-20T11:20:00-08:00"
  },
  "confidentialityCode" : {
    "code" : "N",
    "codeSystem" : "2.16.840.1.113883.5.25"
  },
  "languageCode" : {
    "code" : "en-US"
  },
  "setId" : //  This document is the second document in the set (see setId for id for the set 
  {
    "root" : "004bb033-b948-4f4c-b5bf-a8dbd7d8dd40"
  },
  "versionNumber" : //  See relatedDocument for the previous version in the set 
  {
    "value" : 2
  },
  "recordTarget" : [
    //  Patient (recordTarget) 
    {
      "patientRole" : {
        "id" : [
          {
            "extension" : "444222222",
            "root" : "2.16.840.1.113883.4.1"
          }
        ],
        "addr" : [
          //  Example Social Security Number using the actual SSN OID. 
          //  US is "United States" from ISO 3166-1 Country Codes: 1.0.3166.1 
          {
            "use" : [
              "HP"
            ],
            "item" : [
              {
                "streetAddressLine" : //  HP is "primary home" from codeSystem 2.16.840.1.113883.5.1119 
                {
                  "xmlText" : "2222 Home Street"
                }
              },
              {
                "city" : {
                  "xmlText" : "Beaverton"
                }
              },
              {
                "state" : {
                  "xmlText" : "OR"
                }
              },
              {
                "postalCode" : {
                  "xmlText" : "97867"
                }
              },
              {
                "country" : {
                  "xmlText" : "US"
                }
              }
            ]
          }
        ],
        "telecom" : [
          {
            "use" : [
              "HP"
            ],
            "value" : "tel:+1(555)555-2003"
          }
        ],
        "patient" : //  HP is "primary home" from HL7 AddressUse 2.16.840.1.113883.5.1119 
        {
          "name" : [
            //  The first name element represents what the patient is known as 
            {
              "use" : [
                "L"
              ],
              "item" : [
                {
                  "given" : [
                    {
                      "xmlText" : "Eve"
                    }
                  ]
                },
                {
                  "family" : [
                    //  The "SP" is "Spouse" from HL7 Code System EntityNamePartQualifier 2.16.840.1.113883.5.43 
                    {
                      "xmlText" : "Betterhalf",
                      "qualifier" : [
                        "SP"
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "use" : [
                "SRCH"
              ],
              "item" : [
                {
                  "given" : [
                    {
                      "xmlText" : "Eve"
                    }
                  ]
                },
                {
                  "family" : [
                    //  The "BR" is "Birth" from HL7 Code System EntityNamePartQualifier 2.16.840.1.113883.5.43 
                    {
                      "xmlText" : "Everywoman",
                      "qualifier" : [
                        "BR"
                      ]
                    }
                  ]
                }
              ]
            }
          ],
          "administrativeGenderCode" : //  The second name element represents another name associated with the patient 
          {
            "code" : "F",
            "codeSystem" : "2.16.840.1.113883.5.1",
            "codeSystemName" : "AdministrativeGender",
            "displayName" : "Female"
          },
          "birthTime" : //  Date of birth need only be precise to the day 
          {
            "value" : "1975-05-01"
          },
          "maritalStatusCode" : {
            "code" : "M",
            "codeSystem" : "2.16.840.1.113883.5.2",
            "codeSystemName" : "MaritalStatusCode",
            "displayName" : "Married"
          },
          "religiousAffiliationCode" : {
            "code" : "1013",
            "codeSystem" : "2.16.840.1.113883.5.1076",
            "codeSystemName" : "HL7 Religious Affiliation",
            "displayName" : "Christian (non-Catholic, non-specific)"
          },
          "raceCode" : //  CDC Race and Ethnicity code set contains the five minimum race and ethnicity categories defined by OMB Standards 
          {
            "code" : "2106-3",
            "codeSystem" : "2.16.840.1.113883.6.238",
            "codeSystemName" : "Race & Ethnicity - CDC",
            "displayName" : "White"
          },
          "sdtcRaceCode" : [
            //  The raceCode extension is only used if raceCode is valued 
            {
              "code" : "2076-8",
              "codeSystem" : "2.16.840.1.113883.6.238",
              "codeSystemName" : "Race & Ethnicity - CDC",
              "displayName" : "Native Hawaiian or Other Pacific Islander"
            }
          ],
          "ethnicGroupCode" : {
            "code" : "2186-5",
            "codeSystem" : "2.16.840.1.113883.6.238",
            "codeSystemName" : "Race & Ethnicity - CDC",
            "displayName" : "Not Hispanic or Latino"
          },
          "guardian" : [
            {
              "code" : {
                "code" : "POWATT",
                "codeSystem" : "2.16.840.1.113883.5.111",
                "codeSystemName" : "RoleCode",
                "displayName" : "Power of Attorney"
              },
              "addr" : [
                {
                  "use" : [
                    "HP"
                  ],
                  "item" : [
                    {
                      "streetAddressLine" : {
                        "xmlText" : "2222 Home Street"
                      }
                    },
                    {
                      "city" : {
                        "xmlText" : "Beaverton"
                      }
                    },
                    {
                      "state" : {
                        "xmlText" : "OR"
                      }
                    },
                    {
                      "postalCode" : {
                        "xmlText" : "97867"
                      }
                    },
                    {
                      "country" : {
                        "xmlText" : "US"
                      }
                    }
                  ]
                }
              ],
              "telecom" : [
                {
                  "use" : [
                    "MC"
                  ],
                  "value" : "tel:+1(555)555-2008"
                }
              ],
              "guardianPerson" : {
                "name" : [
                  {
                    "item" : [
                      {
                        "given" : [
                          {
                            "xmlText" : "Boris"
                          }
                        ]
                      },
                      {
                        "given" : [
                          {
                            "xmlText" : "Bo",
                            "qualifier" : [
                              "CL"
                            ]
                          }
                        ]
                      },
                      {
                        "family" : [
                          {
                            "xmlText" : "Betterhalf"
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            }
          ],
          "birthplace" : {
            "place" : {
              "addr" : {
                "item" : [
                  {
                    "streetAddressLine" : {
                      "xmlText" : "4444 Home Street"
                    }
                  },
                  {
                    "city" : {
                      "xmlText" : "Beaverton"
                    }
                  },
                  {
                    "state" : {
                      "xmlText" : "OR"
                    }
                  },
                  {
                    "postalCode" : {
                      "xmlText" : "97867"
                    }
                  },
                  {
                    "country" : {
                      "xmlText" : "US"
                    }
                  }
                ]
              }
            }
          },
          "languageCommunication" : [
            {
              "languageCode" : {
                "code" : "en"
              },
              "modeCode" : {
                "code" : "ESP",
                "codeSystem" : "2.16.840.1.113883.5.60",
                "codeSystemName" : "LanguageAbilityMode",
                "displayName" : "Expressed spoken"
              },
              "proficiencyLevelCode" : {
                "code" : "G",
                "codeSystem" : "2.16.840.1.113883.5.61",
                "codeSystemName" : "LanguageAbilityProficiency",
                "displayName" : "Good"
              },
              "preferenceInd" : //  Patient's preferred language 
              {
                "value" : true
              }
            }
          ]
        },
        "providerOrganization" : {
          "id" : [
            {
              "extension" : "219BX",
              "root" : "2.16.840.1.113883.4.6"
            }
          ],
          "name" : [
            {
              "item" : [
                {
                  "xmlText" : "The DoctorsTogether Physician Group"
                }
              ]
            }
          ],
          "telecom" : [
            {
              "use" : [
                "WP"
              ],
              "value" : "tel:+1(555)555-5000"
            }
          ],
          "addr" : [
            {
              "use" : [
                "WP"
              ],
              "item" : [
                {
                  "streetAddressLine" : {
                    "xmlText" : "1007 Health Drive"
                  }
                },
                {
                  "city" : {
                    "xmlText" : "Portland"
                  }
                },
                {
                  "state" : {
                    "xmlText" : "OR"
                  }
                },
                {
                  "postalCode" : {
                    "xmlText" : "99123"
                  }
                },
                {
                  "country" : {
                    "xmlText" : "US"
                  }
                }
              ]
            }
          ]
        }
      }
    }
  ],
  "author" : [
    //  Author 
    {
      "time" : {
        "value" : "2013-07-30T12:35:00-08:00"
      },
      "assignedAuthor" : {
        "id" : [
          {
            "extension" : "77777777777",
            "root" : "2.16.840.1.113883.4.6"
          }
        ],
        "code" : {
          "code" : "163W00000X",
          "codeSystem" : "2.16.840.1.113883.6.101",
          "codeSystemName" : "Healthcare Provider Taxonomy (HIPAA)",
          "displayName" : "Registered nurse"
        },
        "addr" : [
          {
            "use" : [
              "WP"
            ],
            "item" : [
              {
                "streetAddressLine" : {
                  "xmlText" : "1004 Healthcare Drive"
                }
              },
              {
                "city" : {
                  "xmlText" : "Portland"
                }
              },
              {
                "state" : {
                  "xmlText" : "OR"
                }
              },
              {
                "postalCode" : {
                  "xmlText" : "99123"
                }
              },
              {
                "country" : {
                  "xmlText" : "US"
                }
              }
            ]
          }
        ],
        "telecom" : [
          {
            "use" : [
              "WP"
            ],
            "value" : "tel:+1(555)555-1004"
          }
        ],
        "assignedPerson" : {
          "name" : [
            {
              "item" : [
                {
                  "given" : [
                    {
                      "xmlText" : "Nurse"
                    }
                  ]
                },
                {
                  "family" : [
                    {
                      "xmlText" : "Nightingale"
                    }
                  ]
                },
                {
                  "suffix" : [
                    {
                      "xmlText" : "RN"
                    }
                  ]
                }
              ]
            }
          ]
        },
        "representedOrganization" : {
          "id" : [
            {
              "root" : "2.16.840.1.113883.19.5"
            }
          ],
          "name" : [
            {
              "item" : [
                {
                  "xmlText" : "Good Health Hospital"
                }
              ]
            }
          ]
        }
      }
    }
  ],
  "dataEnterer" : //  Data Enterer 
  {
    "assignedEntity" : {
      "id" : [
        {
          "extension" : "333777777",
          "root" : "2.16.840.1.113883.4.6"
        }
      ],
      "addr" : [
        {
          "use" : [
            "WP"
          ],
          "item" : [
            {
              "streetAddressLine" : {
                "xmlText" : "1007 Healthcare Drive"
              }
            },
            {
              "city" : {
                "xmlText" : "Portland"
              }
            },
            {
              "state" : {
                "xmlText" : "OR"
              }
            },
            {
              "postalCode" : {
                "xmlText" : "99123"
              }
            },
            {
              "country" : {
                "xmlText" : "US"
              }
            }
          ]
        }
      ],
      "telecom" : [
        {
          "use" : [
            "WP"
          ],
          "value" : "tel:+1(555)-1050"
        }
      ],
      "assignedPerson" : {
        "name" : [
          {
            "item" : [
              {
                "given" : [
                  {
                    "xmlText" : "Ellen"
                  }
                ]
              },
              {
                "family" : [
                  {
                    "xmlText" : "Enter"
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  },
  "informant" : [
    //  Informant 
    {
      "assignedEntity" : {
        "id" : [
          {
            "extension" : "888888888",
            "root" : "2.16.840.1.113883.19.5"
          }
        ],
        "addr" : [
          {
            "use" : [
              "WP"
            ],
            "item" : [
              {
                "streetAddressLine" : {
                  "xmlText" : "1007 Healthcare Drive"
                }
              },
              {
                "city" : {
                  "xmlText" : "Portland"
                }
              },
              {
                "state" : {
                  "xmlText" : "OR"
                }
              },
              {
                "postalCode" : {
                  "xmlText" : "99123"
                }
              },
              {
                "country" : {
                  "xmlText" : "US"
                }
              }
            ]
          }
        ],
        "telecom" : [
          {
            "use" : [
              "WP"
            ],
            "value" : "tel:+1(555)-1003"
          }
        ],
        "assignedPerson" : {
          "name" : [
            {
              "item" : [
                {
                  "given" : [
                    {
                      "xmlText" : "Harold"
                    }
                  ]
                },
                {
                  "family" : [
                    {
                      "xmlText" : "Hippocrates"
                    }
                  ]
                },
                {
                  "suffix" : [
                    {
                      "xmlText" : "D.O.",
                      "qualifier" : [
                        "AC"
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      }
    }
  ],
  "custodian" : //  Custodian 
  {
    "assignedCustodian" : {
      "representedCustodianOrganization" : {
        "id" : [
          {
            "extension" : "321CX",
            "root" : "2.16.840.1.113883.4.6"
          }
        ],
        "name" : {
          "item" : [
            {
              "xmlText" : "Good Health HIE"
            }
          ]
        },
        "telecom" : {
          "use" : [
            "WP"
          ],
          "value" : "tel:+1(555)555-1009"
        },
        "addr" : {
          "use" : [
            "WP"
          ],
          "item" : [
            {
              "streetAddressLine" : {
                "xmlText" : "1009 Healthcare Drive"
              }
            },
            {
              "city" : {
                "xmlText" : "Portland"
              }
            },
            {
              "state" : {
                "xmlText" : "OR"
              }
            },
            {
              "postalCode" : {
                "xmlText" : "99123"
              }
            },
            {
              "country" : {
                "xmlText" : "US"
              }
            }
          ]
        }
      }
    }
  },
  "informationRecipient" : [
    {
      "intendedRecipient" : {
        "id" : [
          //  Receiving Person Provider Id 
          {
            "root" : "a1cd2b74-c6de-44ee-b552-3adacb7983cc"
          },
          {
            "root" : "c72f64c2-b1db-444b-bbff-4d2e1d6bd659"
          },
          {
            "root" : "fa883fee-b255-4465-8fb5-1d8135e39896"
          }
        ],
        "addr" : [
          //  Receiving Medicare/Medicaid Provider Id
          //  Receiving Person ID
          //  Receiving Person Address
          {
            "use" : [
              "WP"
            ],
            "item" : [
              {
                "streetAddressLine" : {
                  "xmlText" : "100 Better Health Rd."
                }
              },
              {
                "city" : {
                  "xmlText" : "Ann Arbor"
                }
              },
              {
                "state" : {
                  "xmlText" : "MI"
                }
              },
              {
                "postalCode" : {
                  "xmlText" : "97857"
                }
              },
              {
                "country" : {
                  "xmlText" : "US"
                }
              }
            ]
          }
        ],
        "telecom" : [
          {
            "use" : [
              "WP"
            ],
            "value" : "tel+1(555)555-1010"
          }
        ],
        "informationRecipient" : {
          "name" : [
            //  Receiving Person Name
            {
              "item" : [
                {
                  "given" : [
                    {
                      "xmlText" : "Nurse"
                    }
                  ]
                },
                {
                  "family" : [
                    {
                      "xmlText" : "Caresalot"
                    }
                  ]
                },
                {
                  "suffix" : [
                    {
                      "xmlText" : "RN"
                    }
                  ]
                }
              ]
            }
          ]
        },
        "receivedOrganization" : {
          "id" : [
            //  Receiving Organization Id
            {
              "root" : "c4c416a7-aeeb-4dcc-9662-ab836ff4d265"
            },
            {
              "root" : "ab47f3c4-1267-4b9e-9a29-e966b5a861c8"
            }
          ],
          "name" : [
            //  Receiving Organization Provider ID (NPI) 
            //  Receiving Organization Name 
            {
              "item" : [
                {
                  "xmlText" : "Better Health Hospital"
                }
              ]
            }
          ],
          "addr" : [
            //  Receiving Organization Address 
            {
              "use" : [
                "WP"
              ],
              "item" : [
                {
                  "streetAddressLine" : {
                    "xmlText" : "100 Better Health Rd."
                  }
                },
                {
                  "city" : {
                    "xmlText" : "Ann Arbor"
                  }
                },
                {
                  "state" : {
                    "xmlText" : "MI"
                  }
                },
                {
                  "postalCode" : {
                    "xmlText" : "97857"
                  }
                },
                {
                  "country" : {
                    "xmlText" : "US"
                  }
                }
              ]
            }
          ],
          "standardIndustryClassCode" : //  Receiving Care Setting Type Description: displayName.  Receiving Care Setting Type Code: code 
          {
            "code" : "282E00000X",
            "codeSystem" : "2.16.840.1.113883.6.101",
            "codeSystemName" : "Healthcare Provider Taxonomy (HIPAA)",
            "displayName" : "Long Term Care Hospital"
          }
        }
      }
    }
  ],
  "legalAuthenticator" : //  Legal Authenticator 
  {
    "time" : {
      "value" : "2013-07-30T12:35:00-08:00"
    },
    "signatureCode" : {
      "code" : "S"
    },
    "sdtcSignatureText" : {
      "xmlText" : "U2lnbmVkIGJ5IE51cnNlIE5pZ2h0aW5nYWxl",
      "mediaType" : "text/xml",
      "representation" : "B64"
    },
    "assignedEntity" : {
      "id" : [
        {
          "root" : "20cf14fb-b65c-4c8c-a54d-b0cca834c18c"
        }
      ],
      "code" : {
        "code" : "163W00000X",
        "codeSystem" : "2.16.840.1.113883.6.101",
        "displayName" : "Registered nurse"
      },
      "addr" : [
        {
          "use" : [
            "WP"
          ],
          "item" : [
            {
              "streetAddressLine" : {
                "xmlText" : "1004 Healthcare Drive"
              }
            },
            {
              "city" : {
                "xmlText" : "Portland"
              }
            },
            {
              "state" : {
                "xmlText" : "OR"
              }
            },
            {
              "postalCode" : {
                "xmlText" : "99123"
              }
            },
            {
              "country" : {
                "xmlText" : "US"
              }
            }
          ]
        }
      ],
      "telecom" : [
        {
          "use" : [
            "WP"
          ],
          "value" : "tel:+1(555)555-1004"
        }
      ],
      "assignedPerson" : {
        "name" : [
          {
            "item" : [
              {
                "given" : [
                  {
                    "xmlText" : "Nurse"
                  }
                ]
              },
              {
                "family" : [
                  {
                    "xmlText" : "Nightingale"
                  }
                ]
              },
              {
                "suffix" : [
                  {
                    "xmlText" : "RN"
                  }
                ]
              }
            ]
          }
        ]
      },
      "representedOrganization" : //  the orgnaization id and name 
      {
        "id" : [
          {
            "root" : "2.16.840.1.113883.19.5"
          }
        ],
        "name" : [
          {
            "item" : [
              {
                "xmlText" : "Good Health Hospital"
              }
            ]
          }
        ]
      }
    }
  },
  "authenticator" : [
    //  This authenticator represents patient agreement or sign-off of the Care Plan
    {
      "time" : {
        "value" : "2013-07-30T12:35:00-08:00"
      },
      "signatureCode" : {
        "code" : "S"
      },
      "sdtcSignatureText" : {
        "xmlText" : "U2lnbmVkIGJ5IEV2ZSBFdmVyeXdvbWFu",
        "mediaType" : "text/xml",
        "representation" : "B64"
      },
      "assignedEntity" : {
        "id" : [
          {
            "extension" : "444222222",
            "root" : "2.16.840.1.113883.4.1"
          }
        ],
        "code" : {
          "code" : "ONESELF",
          "codeSystem" : "2.16.840.1.113883.5.111",
          "codeSystemName" : "RoleCode",
          "displayName" : "Self"
        },
        "addr" : [
          //  US is "United States" from ISO 3166-1 Country Codes: 1.0.3166.1 
          {
            "use" : [
              "HP"
            ],
            "item" : [
              {
                "streetAddressLine" : //  HP is "primary home" from codeSystem 2.16.840.1.113883.5.1119 
                {
                  "xmlText" : "2222 Home Street"
                }
              },
              {
                "city" : {
                  "xmlText" : "Beaverton"
                }
              },
              {
                "state" : {
                  "xmlText" : "OR"
                }
              },
              {
                "postalCode" : {
                  "xmlText" : "97867"
                }
              },
              {
                "country" : {
                  "xmlText" : "US"
                }
              }
            ]
          }
        ],
        "telecom" : [
          {
            "use" : [
              "HP"
            ],
            "value" : "tel:+1(555)555-2003"
          }
        ],
        "assignedPerson" : {
          "name" : [
            {
              "use" : [
                "L"
              ],
              "item" : [
                {
                  "given" : [
                    {
                      "xmlText" : "Eve"
                    }
                  ]
                },
                {
                  "family" : [
                    {
                      "xmlText" : "Everywoman",
                      "qualifier" : [
                        "SP"
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      }
    }
  ],
  "participant" : [
    //  This participant represents the person who reviewed the Care Plan. If the date in the time element is in the past, then this review has already taken place. 
         If the date in the time element is in the future, then this is the date of the next scheduled review. 
    //  This example shows a Care Plan Review that has already taken place 
    {
      "typeCode" : "VRF",
      "functionCode" : {
        "code" : "425268008",
        "codeSystem" : "2.16.840.1.113883.6.96",
        "codeSystemName" : "SNOMED CT",
        "displayName" : "Review of Care Plan"
      },
      "time" : {
        "value" : "2013-08-01T10:24:00-08:00"
      },
      "associatedEntity" : {
        "classCode" : "ASSIGNED",
        "id" : [
          {
            "root" : "20cf14fb-b65c-4c8c-a54d-b0cca834c18c"
          }
        ],
        "code" : {
          "code" : "163W00000X",
          "codeSystem" : "2.16.840.1.113883.6.101",
          "displayName" : "Registered nurse"
        },
        "associatedPerson" : {
          "nullFlavor" : "NA"
        }
      }
    },
    {
      "typeCode" : "VRF",
      "functionCode" : {
        "code" : "425268008",
        "codeSystem" : "2.16.840.1.113883.6.96",
        "codeSystemName" : "SNOMED CT",
        "displayName" : "Review of Care Plan"
      },
      "time" : {
        "value" : "2013-10-01T12:30:00-08:00"
      },
      "associatedEntity" : {
        "classCode" : "ASSIGNED",
        "id" : [
          {
            "root" : "20cf14fb-b65c-4c8c-a54d-b0cca834c18c"
          }
        ],
        "code" : {
          "code" : "SELF",
          "codeSystem" : "2.16.840.1.113883.5.111",
          "displayName" : "self"
        },
        "associatedPerson" : {
          "nullFlavor" : "NA"
        }
      }
    },
    {
      "typeCode" : "IND",
      "associatedEntity" : //  Emergency Contact  
      {
        "classCode" : "ECON",
        "addr" : [
          {
            "use" : [
              "HP"
            ],
            "item" : [
              {
                "streetAddressLine" : {
                  "xmlText" : "17 Daws Rd."
                }
              },
              {
                "city" : {
                  "xmlText" : "Ann Arbor"
                }
              },
              {
                "state" : {
                  "xmlText" : "MI"
                }
              },
              {
                "postalCode" : {
                  "xmlText" : "97857"
                }
              },
              {
                "country" : {
                  "xmlText" : "US"
                }
              }
            ]
          }
        ],
        "telecom" : [
          {
            "use" : [
              "WP"
            ],
            "value" : "tel:(999)555-1212"
          }
        ],
        "associatedPerson" : {
          "name" : [
            {
              "item" : [
                {
                  "prefix" : [
                    {
                      "xmlText" : "Mrs."
                    }
                  ]
                },
                {
                  "given" : [
                    {
                      "xmlText" : "Martha"
                    }
                  ]
                },
                {
                  "family" : [
                    {
                      "xmlText" : "Jones"
                    }
                  ]
                }
              ]
            }
          ]
        }
      }
    },
    {
      "typeCode" : "IND",
      "associatedEntity" : //  Caregiver 
      {
        "classCode" : "CAREGIVER",
        "addr" : [
          {
            "use" : [
              "HP"
            ],
            "item" : [
              {
                "streetAddressLine" : {
                  "xmlText" : "17 Daws Rd."
                }
              },
              {
                "city" : {
                  "xmlText" : "Ann Arbor"
                }
              },
              {
                "state" : {
                  "xmlText" : "MI"
                }
              },
              {
                "postalCode" : {
                  "xmlText" : "97857"
                }
              },
              {
                "country" : {
                  "xmlText" : "US"
                }
              }
            ]
          }
        ],
        "telecom" : [
          {
            "use" : [
              "WP"
            ],
            "value" : "tel:(999)555-1212"
          }
        ],
        "associatedPerson" : {
          "name" : [
            {
              "item" : [
                {
                  "prefix" : [
                    {
                      "xmlText" : "Mrs."
                    }
                  ]
                },
                {
                  "given" : [
                    {
                      "xmlText" : "Martha"
                    }
                  ]
                },
                {
                  "family" : [
                    {
                      "xmlText" : "Jones"
                    }
                  ]
                }
              ]
            }
          ]
        }
      }
    }
  ],
  "documentationOf" : [
    //  This participant represents the person who reviewed the Care Plan.   If the date in the time element is in the past, then this review has already taken place. 
  If the date in the time element is in the future,  then this is the date of the next scheduled review. 
    //  This example shows a Scheduled Care Plan Review that is in the future 
    //  This participant identifies individuals who support the patient such as a relative or caregiver 
    //  This participant identifies individuals who support the patient such as a relative or caregiver 
    {
      "serviceEvent" : {
        "classCode" : "PCPR",
        "effectiveTime" : {
          "low" : {
            "value" : "2013-07-20T10:30:00-08:00"
          },
          "high" : {
            "value" : "2013-08-15T13:00:00-08:00"
          }
        },
        "performer" : [
          //  The performer(s) represents the healthcare providers involved in the current or historical care of the patient.
                The patient’s key healthcare providers would be listed here which would include the primary physician and any 
                active consulting physicians, therapists, counselors, and care team members.  
          {
            "typeCode" : "PRF",
            "time" : {
              "value" : "2013-07-15T22:36:15-08:00"
            },
            "assignedEntity" : {
              "id" : [
                {
                  "extension" : "5555555555",
                  "root" : "2.16.840.1.113883.4.6"
                }
              ],
              "code" : {
                "code" : "207QA0505X",
                "codeSystem" : "2.16.840.1.113883.6.101",
                "codeSystemName" : "Healthcare Provider Taxonomy (HIPAA)",
                "displayName" : "Adult Medicine Physician"
              },
              "addr" : [
                {
                  "use" : [
                    "WP"
                  ],
                  "item" : [
                    {
                      "streetAddressLine" : {
                        "xmlText" : "1004 Healthcare Drive"
                      }
                    },
                    {
                      "city" : {
                        "xmlText" : "Portland"
                      }
                    },
                    {
                      "state" : {
                        "xmlText" : "OR"
                      }
                    },
                    {
                      "postalCode" : {
                        "xmlText" : "99123"
                      }
                    },
                    {
                      "country" : {
                        "xmlText" : "US"
                      }
                    }
                  ]
                }
              ],
              "telecom" : [
                {
                  "use" : [
                    "WP"
                  ],
                  "value" : "tel:+1(555)-1004"
                }
              ],
              "assignedPerson" : {
                "name" : [
                  {
                    "item" : [
                      {
                        "given" : [
                          {
                            "xmlText" : "Patricia"
                          }
                        ]
                      },
                      {
                        "given" : [
                          {
                            "xmlText" : "Patty",
                            "qualifier" : [
                              "CL"
                            ]
                          }
                        ]
                      },
                      {
                        "family" : [
                          {
                            "xmlText" : "Primary"
                          }
                        ]
                      },
                      {
                        "suffix" : [
                          {
                            "xmlText" : "M.D.",
                            "qualifier" : [
                              "AC"
                            ]
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            }
          }
        ]
      }
    }
  ],
  "relatedDocument" : [
    //  The Care Plan is continually evolving and dynamic. The Care Plan CDA instance 
     is NOT dynamic. Each time a Care Plan CDA is generated it represents a snapshot 
     in time of the Care Plan at that moment. Whenever a care provider or patient 
     generates a Care Plan, it should be noted through relatedDocument 
     whether the current Care Plan replaces or appends another Care Plan. 
     The relatedDocumentTypeCode indicates whether the current document is 
     an addendum to the ParentDocument (APND (append)) or the current document 
     is a replacement of the ParentDocument (RPLC (replace)). 
    //  This document is the second in a set - relatedDocument
      describes the parent document
    {
      "typeCode" : "RPLC",
      "parentDocument" : {
        "id" : [
          {
            "root" : "223769be-f6ee-4b04-a0ce-b56ae998c880"
          }
        ],
        "code" : {
          "code" : "CarePlan-x",
          "codeSystem" : "2.16.840.1.113883.6.1",
          "codeSystemName" : "LOINC",
          "displayName" : "Care Plan"
        },
        "setId" : {
          "root" : "004bb033-b948-4f4c-b5bf-a8dbd7d8dd40"
        },
        "versionNumber" : {
          "value" : 1
        }
      }
    }
  ],
  "componentOf" : {
    "encompassingEncounter" : {
      "id" : [
        {
          "extension" : "9937012",
          "root" : "2.16.840.1.113883.19"
        }
      ],
      "code" : {
        "code" : "IMP",
        "codeSystem" : "2.16.840.1.113883.5.4",
        "displayName" : "Inpatient encounter"
      },
      "effectiveTime" : //  captures that this is an inpatient encounter 
      //  No high value - this patient is still in hospital 
      {
        "low" : {
          "value" : "2013-06-15T09:30:00-08:00"
        }
      }
    }
  },
  "component" : //  
********************************************************
CDA Body
********************************************************

  {
    "structuredBody" : {
      "component" : [
        {
          "section" : {
            "nullFlavor" : "NI",
            "templateId" : [
              {
                "extension" : "2015-08-01",
                "root" : "2.16.840.1.113883.10.20.22.2.58"
              }
            ],
            "code" : {
              "code" : "75310-3",
              "codeSystem" : "2.16.840.1.113883.6.1",
              "codeSystemName" : "LOINC",
              "displayName" : "Health Concerns Document"
            },
            "title" : {
              "xmlText" : "Health Concerns Section"
            },
            "text" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">...</div>"
          }
        },
        {
          "section" : {
            "nullFlavor" : "NI",
            "templateId" : [
              {
                "root" : "2.16.840.1.113883.10.20.22.2.60"
              }
            ],
            "code" : {
              "code" : "61146-7",
              "codeSystem" : "2.16.840.1.113883.6.1",
              "codeSystemName" : "LOINC",
              "displayName" : "Goals"
            },
            "title" : {
              "xmlText" : "Goals Section"
            },
            "text" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">...</div>"
          }
        },
        {
          "section" : {
            "nullFlavor" : "NI",
            "templateId" : [
              {
                "root" : "2.16.840.1.113883.10.20.22.2.61"
              }
            ],
            "code" : {
              "code" : "11383-7",
              "codeSystem" : "2.16.840.1.113883.6.1",
              "codeSystemName" : "LOINC",
              "displayName" : "Patient Problem Outcome"
            },
            "title" : {
              "xmlText" : "Health Status Evaluations/Outcomes Section"
            },
            "text" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">...</div>"
          }
        }
      ]
    }
  }
}