Edit in JSFiddle

var width = 800,
    height = 800,
    radius = Math.min(width, height) / 2;

var x = d3.scale.linear()
    .range([0, 2 * Math.PI]);

var y = d3.scale.sqrt()
    .range([0, radius]);

var color = d3.scale.category20c();

var svg = d3.select("body").append("svg")
    .attr("width", width)
    .attr("height", height)
    .append("g")
    .attr("transform", "translate(" + width / 2 + "," + (height / 2 + 10) + ") rotate(-90 0 0)");

var partition = d3.layout.partition()
    .value(function (d) {
    return d.size;
});

var arc = d3.svg.arc()
    .startAngle(function (d) {
    return Math.max(0, Math.min(2 * Math.PI, x(d.x)));
})
    .endAngle(function (d) {
    return Math.max(0, Math.min(2 * Math.PI, x(d.x + d.dx)));
})
    .innerRadius(function (d) {
    return Math.max(0, y(d.y));
})
    .outerRadius(function (d) {
    return Math.max(0, y(d.y + d.dy));
});

//d3.json("/d/4063550/flare.json", function(error, root) {
var root = root3

var g = svg.selectAll("g")
    .data(partition.nodes(root))
    .enter().append("g");

var path = g.append("path")
    .attr("d", arc)
    .style("fill", function (d) {
    return color((d.children ? d : d.parent).name);
})
    .on("click", click);

var text = g.append("text")
    .attr("x", function (d) {
    return y(d.y);
})
    .attr("dx", "6") // margin
.attr("dy", ".35em") // vertical-align
.text(function (d) {
    return d.name;
});

function computeTextRotation(d) {
    var angle = x(d.x + d.dx / 2) - Math.PI / 2;
    return angle / Math.PI * 180;
}

text.attr("transform", function (d) {
    return "rotate(" + computeTextRotation(d) + ")";
});


function click(d) {
    // fade out all text elements
    if(d.size !== undefined) {
        d.size += 100;
    };
    text.transition().attr("opacity", 0);

    path.transition()
        .duration(750)
        .attrTween("d", arcTween(d))
        .each("end", function (e, i) {
        // check if the animated element's data e lies within the visible angle span given in d
        if (e.x >= d.x && e.x < (d.x + d.dx)) {
            // get a selection of the associated text element
            var arcText = d3.select(this.parentNode).select("text");
            // fade in the text element and recalculate positions
            arcText.transition().duration(750)
                .attr("opacity", 1)
                .attr("transform", function () {
                return "rotate(" + computeTextRotation(e) + ")"
            })
                .attr("x", function (d) {
                return y(d.y);
            });
        }
    });
} //});

d3.select(self.frameElement).style("height", height + "px");

// Interpolate the scales!
function arcTween(d) {
    var xd = d3.interpolate(x.domain(), [d.x, d.x + d.dx]),
        yd = d3.interpolate(y.domain(), [d.y, 1]),
        yr = d3.interpolate(y.range(), [d.y ? 20 : 0, radius]);
    return function (d, i) {
        return i ? function (t) {
            return arc(d);
        } : function (t) {
            x.domain(xd(t));
            y.domain(yd(t)).range(yr(t));
            return arc(d);
        };
    };
}
<script>
        var root3 = {
        "name": "Mobile Strategy",
            "children": [{
            "name": "Differentiator",
                "children": [{
                    "name": "Market",
                    "children": [{
                        "name": "MDM",
                        "size": 150
                    }, {
                        "name": "BOK",
                        "size": 150
                    }, {
                        "name": "UX",
                        "size": 150
                    }]
                }, {
                    "name": "Architecture",
                    "children": [{
                        "name": "CCD",
                        "size": 150
                    }, {
                        "name": "RWD",
                        "size": 150
                    }, {
                        "name": "HTML5",
                        "size": 150
                    }]
                }]
            }, {
            "name": "Markets",
                "children": [{
                "name": "Consumer",
                    "size": 300,
                    "children": [{
                        "name": "UX",
                        "size": 100
                    }, {
                        "name": "Citizen",
                        "size": 100
                    }]
            }, {
                "name": "Industry",
                    "size": 300,
                    "children": [{
                        "name": "Justice",
                            "size": 200,
                            "children": [{
                                "name": "NIEM",
                                    "size": 100
                            }, {
                                "name": "CCD",
                                    "size": 150
                            }]
                    }, {
                        "name": "Health",
                            "size": 200,
                            "children": [{
                                "name": "FHIR",
                                    "size": 100
                            }, {
                                "name": "MHD",
                                    "size": 50
                            }]
                    }, {
                        "name": "Energy",
                            "size": 150
                    }]
            }, {
                "name": "Enterprise",
                    "size": 300,
                    "children": [{
                        "name": "MEAP",
                            "size": 100
                    }, {
                        "name": "MDM",
                            "size": 300
                    }, {
                        "name": "Security",
                            "size": 100
                    }]
            }]
        }, {
            "name": "Architecture",
                "children": [{
                "name": "Native",
                    "size": 200,
                    "children": [{
                        "name": "iOS",
                            "size": 200
                    }, {
                        "name": "Android",
                            "size": 150
                    }, {
                        "name": "Blackberry",
                            "size": 50
                    }]
            }, {
                "name": "Hybrid",
                    "size": 200,
                    "children": [{
                        "name": "MEAP",
                            "size": 50
                    }, {
                        "name": "PhoneGap",
                            "size": 150
                    }, {
                        "name": "HTML5",
                            "size": 200
                    }]
            }, {
                "name": "RWD",
                    "size": 200,
                    "children": [{
                        "name": "CSS",
                            "size": 100
                    }, {
                        "name": "EPF",
                            "size": 50
                    }]
            }]
        }, {
            "name": "Breadth",
                "children": [{
                "name": "Data Sources",
                    "size": 300,
                        "children": [{
                            "name": "SQL",
                                "size": 100
                            }, {
                            "name": "XML",
                                "size": 100
                            }, {
                            "name": "JSON",
                                "size": 100
                            }]    
            }, {
                "name": "Apps",
                    "size": 300,
                    "children": [{
                        "name": "Hybrid",
                            "size": 300
                        }, {
                        "name": "Native",
                            "size": 100
                        }]
            }, {
                "name": "Platforms",
                    "size": 300,
                    "children": [{
                        "name": "iOS",
                            "size": 100
                    }, {
                        "name": "Android",
                            "size": 100
                    }, {
                        "name": "Blackberry",
                            "size": 50
                    }]
            }]
        }]
    };

    /*   var root2 = {
        "type": {
            "value": "Patient"
        },
            "publish": {
            "value": true
        },
            "element": [{
            "path": {
                "value": "Patient"
            },
                "definition": {
                "short": {
                    "value": "Information about a person or animal receiving health care services"
                },
                    "formal": {
                    "value": "Demographics and other administrative information about a person or animal receiving care or other health-related services."
                },
                    "min": {
                    "value": "1"
                },
                    "max": {
                    "value": "1"
                },
                    "type": [{
                    "code": {
                        "value": "Resource"
                    }
                }],
                    "isModifier": {
                    "value": false
                },
                    "mapping": [{
                    "target": {
                        "value": "http://hl7.org/v3"
                    },
                        "map": {
                        "value": "Patient"
                    }
                }]
            }
        }, {
            "path": {
                "value": "Patient.extension"
            },
                "definition": {
                "short": {
                    "value": "Additional Content defined by implementations"
                },
                    "formal": {
                    "value": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that must be met as part of the definition of the extension."
                },
                    "comments": {
                    "value": "there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone."
                },
                    "synonym": [{
                    "value": "extensions"
                }, {
                    "value": "user content"
                }],
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "*"
                },
                    "type": [{
                    "code": {
                        "value": "Extension"
                    }
                }],
                    "isModifier": {
                    "value": false
                }
            }
        }, {
            "path": {
                "value": "Patient.text"
            },
                "definition": {
                "short": {
                    "value": "Text summary of the resource, for human interpretation"
                },
                    "formal": {
                    "value": "A human readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."
                },
                    "comments": {
                    "value": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative."
                },
                    "synonym": [{
                    "value": "narrative"
                }, {
                    "value": "html"
                }, {
                    "value": "xhtml"
                }, {
                    "value": "display"
                }],
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "1"
                },
                    "type": [{
                    "code": {
                        "value": "Narrative"
                    }
                }],
                    "isModifier": {
                    "value": false
                }
            }
        }, {
            "path": {
                "value": "Patient.contained"
            },
                "definition": {
                "short": {
                    "value": "Contained, inline Resources"
                },
                    "formal": {
                    "value": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope."
                },
                    "comments": {
                    "value": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again."
                },
                    "synonym": [{
                    "value": "inline resources"
                }, {
                    "value": "anonymous resources"
                }, {
                    "value": "contained resources"
                }],
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "*"
                },
                    "type": [{
                    "code": {
                        "value": "Resource"
                    }
                }],
                    "isModifier": {
                    "value": false
                }
            }
        }, {
            "path": {
                "value": "Patient.identifier"
            },
                "definition": {
                "short": {
                    "value": "An identifier for the person as this patient"
                },
                    "formal": {
                    "value": "An identifier that applies to this person as a patient."
                },
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "*"
                },
                    "type": [{
                    "code": {
                        "value": "Identifier"
                    }
                }],
                    "isModifier": {
                    "value": false
                },
                    "mapping": [{
                    "target": {
                        "value": "http://hl7.org/v3"
                    },
                        "map": {
                        "value": "./id"
                    }
                }, {
                    "target": {
                        "value": "http://hl7.org/v2"
                    },
                        "map": {
                        "value": "PID-3"
                    }
                }]
            }
        }, {
            "path": {
                "value": "Patient.name"
            },
                "definition": {
                "short": {
                    "value": "A name associated with the patient"
                },
                    "formal": {
                    "value": "A name associated with the individual."
                },
                    "comments": {
                    "value": "Person may have multiple names with different uses or applicable periods.For animals, the name is a \"HumanName\" in the sense that is assigned and used by humans and has the same patterns."
                },
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "*"
                },
                    "type": [{
                    "code": {
                        "value": "HumanName"
                    }
                }],
                    "isModifier": {
                    "value": false
                },
                    "mapping": [{
                    "target": {
                        "value": "http://hl7.org/v3"
                    },
                        "map": {
                        "value": "./name"
                    }
                }, {
                    "target": {
                        "value": "http://hl7.org/v2"
                    },
                        "map": {
                        "value": "PID-5, PID-9"
                    }
                }]
            }
        }, {
            "path": {
                "value": "Patient.telecom"
            },
                "definition": {
                "short": {
                    "value": "A contact detail for the individual"
                },
                    "formal": {
                    "value": "A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted."
                },
                    "comments": {
                    "value": "Person may have multiple ways to be contacted with different uses or applicable periods.  May need to have options for contacting the person urgently and also to help with identification. The address may not go directly to the individual, but may reach another party that is able to proxy for the patient (i.e. home phone, or pet owner's phone)."
                },
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "*"
                },
                    "type": [{
                    "code": {
                        "value": "Contact"
                    }
                }],
                    "isModifier": {
                    "value": false
                },
                    "mapping": [{
                    "target": {
                        "value": "http://hl7.org/v3"
                    },
                        "map": {
                        "value": "./telecom"
                    }
                }, {
                    "target": {
                        "value": "http://hl7.org/v2"
                    },
                        "map": {
                        "value": "PID-13, PID-14, PID-40"
                    }
                }]
            }
        }, {
            "path": {
                "value": "Patient.gender"
            },
                "definition": {
                "short": {
                    "value": "Gender for administrative purposes"
                },
                    "formal": {
                    "value": "Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes."
                },
                    "comments": {
                    "value": "The gender may not match the biological sex as determined by genetics, or the individual's preferred identification. Note that for both humans and particularly animals, there are other legitimate possibilities than M and F, though the vast majority of systems and contexts only support M and F."
                },
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "1"
                },
                    "type": [{
                    "code": {
                        "value": "CodeableConcept"
                    }
                }],
                    "isModifier": {
                    "value": false
                },
                    "binding": {
                    "value": "AdministrativeGender"
                },
                    "mapping": [{
                    "target": {
                        "value": "http://hl7.org/v3"
                    },
                        "map": {
                        "value": "./administrativeGender"
                    }
                }, {
                    "target": {
                        "value": "http://hl7.org/v2"
                    },
                        "map": {
                        "value": "PID-8"
                    }
                }]
            }
        }, {
            "path": {
                "value": "Patient.birthDate"
            },
                "definition": {
                "short": {
                    "value": "The date and time of birth for the individual"
                },
                    "formal": {
                    "value": "The date and time of birth for the individual."
                },
                    "comments": {
                    "value": "At least an estimated year should be provided as a guess if the real dob is unknown."
                },
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "1"
                },
                    "type": [{
                    "code": {
                        "value": "dateTime"
                    }
                }],
                    "isModifier": {
                    "value": false
                },
                    "mapping": [{
                    "target": {
                        "value": "http://hl7.org/v3"
                    },
                        "map": {
                        "value": "./birthTime"
                    }
                }, {
                    "target": {
                        "value": "http://hl7.org/v2"
                    },
                        "map": {
                        "value": "PID-7"
                    }
                }]
            }
        }, {
            "path": {
                "value": "Patient.deceased[x]"
            },
                "definition": {
                "short": {
                    "value": "Indicates if the individual is deceased or not"
                },
                    "formal": {
                    "value": "Indicates if the individual is deceased or not."
                },
                    "comments": {
                    "value": "If there's no value in the instance it means there is no statement on whether or not the individual is deceased. Most systems will interpret the absence of a value as a sign of the person being alive."
                },
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "1"
                },
                    "type": [{
                    "code": {
                        "value": "boolean"
                    }
                }, {
                    "code": {
                        "value": "dateTime"
                    }
                }],
                    "isModifier": {
                    "value": true
                },
                    "mapping": [{
                    "target": {
                        "value": "http://hl7.org/v3"
                    },
                        "map": {
                        "value": "./deceasedInd"
                    }
                }, {
                    "target": {
                        "value": "http://hl7.org/v2"
                    },
                        "map": {
                        "value": "PID-30"
                    }
                }]
            }
        }, {
            "path": {
                "value": "Patient.address"
            },
                "definition": {
                "short": {
                    "value": "Addresses for the individual"
                },
                    "formal": {
                    "value": "Addresses for the individual."
                },
                    "comments": {
                    "value": "Person may have multiple addresses with different uses or applicable periods."
                },
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "*"
                },
                    "type": [{
                    "code": {
                        "value": "Address"
                    }
                }],
                    "isModifier": {
                    "value": false
                },
                    "mapping": [{
                    "target": {
                        "value": "http://hl7.org/v3"
                    },
                        "map": {
                        "value": "./addr"
                    }
                }, {
                    "target": {
                        "value": "http://hl7.org/v2"
                    },
                        "map": {
                        "value": "PID-11"
                    }
                }]
            }
        }, {
            "path": {
                "value": "Patient.maritalStatus"
            },
                "definition": {
                "short": {
                    "value": "Marital (civil) status of a person"
                },
                    "formal": {
                    "value": "This field contains a patient's most recent marital (civil) status."
                },
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "1"
                },
                    "type": [{
                    "code": {
                        "value": "CodeableConcept"
                    }
                }],
                    "isModifier": {
                    "value": false
                },
                    "binding": {
                    "value": "MaritalStatus"
                },
                    "mapping": [{
                    "target": {
                        "value": "http://hl7.org/v3"
                    },
                        "map": {
                        "value": "./maritalStatus"
                    }
                }, {
                    "target": {
                        "value": "http://hl7.org/v2"
                    },
                        "map": {
                        "value": "PID-16"
                    }
                }]
            }
        }, {
            "path": {
                "value": "Patient.multipleBirth[x]"
            },
                "definition": {
                "short": {
                    "value": "Whether patient is part of a multiple birth"
                },
                    "formal": {
                    "value": "Indicates whether the patient is part of a multiple or indicates the actual birth order."
                },
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "1"
                },
                    "type": [{
                    "code": {
                        "value": "boolean"
                    }
                }, {
                    "code": {
                        "value": "integer"
                    }
                }],
                    "isModifier": {
                    "value": false
                },
                    "mapping": [{
                    "target": {
                        "value": "http://hl7.org/v3"
                    },
                        "map": {
                        "value": ".multipleBirthInd"
                    }
                }]
            }
        }, {
            "path": {
                "value": "Patient.photo"
            },
                "definition": {
                "short": {
                    "value": "Image of the person"
                },
                    "formal": {
                    "value": "Image of the person."
                },
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "*"
                },
                    "type": [{
                    "code": {
                        "value": "Attachment"
                    }
                }],
                    "isModifier": {
                    "value": false
                }
            }
        }, {
            "path": {
                "value": "Patient.contact"
            },
                "definition": {
                "short": {
                    "value": "A contact party (e.g. guardian, partner, friend) for the patient"
                },
                    "formal": {
                    "value": "A contact party (e.g. guardian, partner, friend) for the patient."
                },
                    "comments": {
                    "value": "Contact covers all kinds of contact parties: family members, business contacts, guardians, caregivers. Not applicable to register pedigree and family ties beyond use of having contact."
                },
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "*"
                },
                    "constraint": [{
                    "key": {
                        "value": "1"
                    },
                        "name": {
                        "value": "ContactNeedsDetails"
                    },
                        "severity": {
                        "value": "error"
                    },
                        "human": {
                        "value": "Must at least contain a contact's details or a reference to an organization"
                    },
                        "xpath": {
                        "value": "f:name or f:telecom or f:address or f:organization"
                    }
                }],
                    "isModifier": {
                    "value": false
                }
            }
        }, {
            "path": {
                "value": "Patient.contact.relationship"
            },
                "definition": {
                "short": {
                    "value": "The kind of relationship"
                },
                    "formal": {
                    "value": "The nature of the relationship between the patient and the contact person."
                },
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "*"
                },
                    "type": [{
                    "code": {
                        "value": "CodeableConcept"
                    }
                }],
                    "isModifier": {
                    "value": false
                },
                    "binding": {
                    "value": "ContactRelationship"
                },
                    "mapping": [{
                    "target": {
                        "value": "http://hl7.org/v2"
                    },
                        "map": {
                        "value": "NK1-3-relationship"
                    }
                }]
            }
        }, {
            "path": {
                "value": "Patient.contact.name"
            },
                "definition": {
                "short": {
                    "value": "A name associated with the person"
                },
                    "formal": {
                    "value": "A name associated with the person."
                },
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "1"
                },
                    "type": [{
                    "code": {
                        "value": "HumanName"
                    }
                }],
                    "isModifier": {
                    "value": false
                },
                    "mapping": [{
                    "target": {
                        "value": "http://hl7.org/v3"
                    },
                        "map": {
                        "value": "./name"
                    }
                }, {
                    "target": {
                        "value": "http://hl7.org/v2"
                    },
                        "map": {
                        "value": "PID-5, PID-9"
                    }
                }]
            }
        }, {
            "path": {
                "value": "Patient.contact.telecom"
            },
                "definition": {
                "short": {
                    "value": "A contact detail for the person"
                },
                    "formal": {
                    "value": "A contact detail for the person, e.g. a telephone number or an email address."
                },
                    "comments": {
                    "value": "Person may have multiple ways to be contacted with different uses or applicable periods.  May need to have options for contacting the person urgently, and also to help with identification."
                },
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "*"
                },
                    "type": [{
                    "code": {
                        "value": "Contact"
                    }
                }],
                    "isModifier": {
                    "value": false
                },
                    "mapping": [{
                    "target": {
                        "value": "http://hl7.org/v3"
                    },
                        "map": {
                        "value": "./telecom"
                    }
                }, {
                    "target": {
                        "value": "http://hl7.org/v2"
                    },
                        "map": {
                        "value": "PID-13, PID-14"
                    }
                }]
            }
        }, {
            "path": {
                "value": "Patient.contact.address"
            },
                "definition": {
                "short": {
                    "value": "Address for the contact person"
                },
                    "formal": {
                    "value": "Address for the contact person."
                },
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "1"
                },
                    "type": [{
                    "code": {
                        "value": "Address"
                    }
                }],
                    "isModifier": {
                    "value": false
                },
                    "mapping": [{
                    "target": {
                        "value": "http://hl7.org/v3"
                    },
                        "map": {
                        "value": "./addr"
                    }
                }, {
                    "target": {
                        "value": "http://hl7.org/v2"
                    },
                        "map": {
                        "value": "PID-11"
                    }
                }]
            }
        }, {
            "path": {
                "value": "Patient.contact.gender"
            },
                "definition": {
                "short": {
                    "value": "Gender for administrative purposes"
                },
                    "formal": {
                    "value": "Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes."
                },
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "1"
                },
                    "type": [{
                    "code": {
                        "value": "CodeableConcept"
                    }
                }],
                    "isModifier": {
                    "value": false
                },
                    "binding": {
                    "value": "AdministrativeGender"
                },
                    "mapping": [{
                    "target": {
                        "value": "http://hl7.org/v3"
                    },
                        "map": {
                        "value": "./administrativeGender"
                    }
                }, {
                    "target": {
                        "value": "http://hl7.org/v2"
                    },
                        "map": {
                        "value": "PID-8"
                    }
                }]
            }
        }, {
            "path": {
                "value": "Patient.contact.organization"
            },
                "definition": {
                "short": {
                    "value": "Organization that is associated with the contact"
                },
                    "formal": {
                    "value": "Organization on behalf of which the contact is acting or for which the contact is working."
                },
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "1"
                },
                    "type": [{
                    "code": {
                        "value": "Resource(Organization)"
                    }
                }],
                    "isModifier": {
                    "value": false
                }
            }
        }, {
            "path": {
                "value": "Patient.animal"
            },
                "definition": {
                "short": {
                    "value": "If this patient is an animal (non-human)"
                },
                    "formal": {
                    "value": "This element has a value if the patient is an animal."
                },
                    "comments": {
                    "value": "The animal element is labelled \"Is Modifier\" since patients may be non-human. Systems must either handle patient details appropriately (e.g. inform users patient is not human) or reject non-human patient records."
                },
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "1"
                },
                    "isModifier": {
                    "value": true
                }
            }
        }, {
            "path": {
                "value": "Patient.animal.species"
            },
                "definition": {
                "short": {
                    "value": "E.g. Dog, Cow"
                },
                    "formal": {
                    "value": "Identifies the high level categorization of the kind of animal."
                },
                    "comments": {
                    "value": "If the patient is non-human, at least a species must be specified."
                },
                    "min": {
                    "value": "1"
                },
                    "max": {
                    "value": "1"
                },
                    "type": [{
                    "code": {
                        "value": "CodeableConcept"
                    }
                }],
                    "isModifier": {
                    "value": false
                },
                    "binding": {
                    "value": "AnimalSpecies"
                },
                    "mapping": [{
                    "target": {
                        "value": "http://hl7.org/v3"
                    },
                        "map": {
                        "value": ".playedRole[classCode=GEN].scoper[classCode=ANM, determinerCode=KIND].code"
                    }
                }, {
                    "target": {
                        "value": "http://hl7.org/v2"
                    },
                        "map": {
                        "value": "PID.35"
                    }
                }]
            }
        }, {
            "path": {
                "value": "Patient.animal.breed"
            },
                "definition": {
                "short": {
                    "value": "E.g. Poodle, Angus"
                },
                    "formal": {
                    "value": "Identifies the detailed categorization of the kind of animal."
                },
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "1"
                },
                    "type": [{
                    "code": {
                        "value": "CodeableConcept"
                    }
                }],
                    "isModifier": {
                    "value": false
                },
                    "binding": {
                    "value": "AnimalBreed"
                },
                    "mapping": [{
                    "target": {
                        "value": "http://hl7.org/v3"
                    },
                        "map": {
                        "value": ".code"
                    }
                }, {
                    "target": {
                        "value": "http://hl7.org/v2"
                    },
                        "map": {
                        "value": "PID.37"
                    }
                }]
            }
        }, {
            "path": {
                "value": "Patient.animal.genderStatus"
            },
                "definition": {
                "short": {
                    "value": "E.g. Neutered, Intact"
                },
                    "formal": {
                    "value": "Indicates the current state of the animal's reproductive organs."
                },
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "1"
                },
                    "type": [{
                    "code": {
                        "value": "CodeableConcept"
                    }
                }],
                    "isModifier": {
                    "value": false
                },
                    "binding": {
                    "value": "AnimalGenderStatus"
                },
                    "mapping": [{
                    "target": {
                        "value": "http://hl7.org/v3"
                    },
                        "map": {
                        "value": ".genderStatusCode"
                    }
                }, {
                    "target": {
                        "value": "http://hl7.org/v2"
                    },
                        "map": {
                        "value": "N/A"
                    }
                }]
            }
        }, {
            "path": {
                "value": "Patient.communication"
            },
                "definition": {
                "short": {
                    "value": "Languages which may be used to communicate with the patient"
                },
                    "formal": {
                    "value": "Languages which may be used to communicate with the patient."
                },
                    "comments": {
                    "value": "If no language is specified, this *implies* that the default local language is spoken. For animals, language is not a relevant field, and should be absent from the instance."
                },
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "*"
                },
                    "type": [{
                    "code": {
                        "value": "CodeableConcept"
                    }
                }],
                    "isModifier": {
                    "value": false
                },
                    "binding": {
                    "value": "Language"
                },
                    "mapping": [{
                    "target": {
                        "value": "http://hl7.org/v3"
                    },
                        "map": {
                        "value": ".LanguageCommunication"
                    }
                }, {
                    "target": {
                        "value": "http://hl7.org/v2"
                    },
                        "map": {
                        "value": "LAN"
                    }
                }]
            }
        }, {
            "path": {
                "value": "Patient.provider"
            },
                "definition": {
                "short": {
                    "value": "Organization managing the patient"
                },
                    "formal": {
                    "value": "The provider for whom this is a patient record."
                },
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "1"
                },
                    "type": [{
                    "code": {
                        "value": "Resource(Organization)"
                    }
                }],
                    "isModifier": {
                    "value": false
                }
            }
        }, {
            "path": {
                "value": "Patient.link"
            },
                "definition": {
                "short": {
                    "value": "Other patient resources linked to this resource"
                },
                    "formal": {
                    "value": "A linked patient resource is a resource that concerns the same patient. Resources are linked after it is realized that at least one was created in error."
                },
                    "comments": {
                    "value": "More then two patient resources may be linked. Note that there is a special transaction for linking patient resources in the RESTful context, as resource linking consistency must be maintained."
                },
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "*"
                },
                    "type": [{
                    "code": {
                        "value": "Resource(Patient)"
                    }
                }],
                    "isModifier": {
                    "value": true
                },
                    "mapping": [{
                    "target": {
                        "value": "http://hl7.org/v2"
                    },
                        "map": {
                        "value": "PID-3-patient ID list"
                    }
                }]
            }
        }, {
            "path": {
                "value": "Patient.active"
            },
                "definition": {
                "short": {
                    "value": "Whether this patient's record is in active use"
                },
                    "formal": {
                    "value": "Whether this patient record is in active use."
                },
                    "comments": {
                    "value": "Default is true. If a record is inactive, and linked to an active record, then future patient/person/record updates should occur on the other patient."
                },
                    "min": {
                    "value": "0"
                },
                    "max": {
                    "value": "1"
                },
                    "type": [{
                    "code": {
                        "value": "boolean"
                    }
                }],
                    "isModifier": {
                    "value": true
                },
                    "mapping": [{
                    "target": {
                        "value": "http://hl7.org/v3"
                    },
                        "map": {
                        "value": "./status"
                    }
                }]
            }
        }]
    }],
            "binding": [{
            "name": {
                "value": "AnimalGenderStatus"
            },
                "isExtensible": {
                "value": true
            },
                "conformance": {
                "value": "example"
            },
                "referenceResource": {
                "type": {
                    "value": "ValueSet"
                },
                    "reference": {
                    "value": "http://hl7.org/fhir/vs/animal-genderstatus"
                }
            }
        }, {
            "name": {
                "value": "AdministrativeGender"
            },
                "isExtensible": {
                "value": true
            },
                "conformance": {
                "value": "preferred"
            },
                "referenceResource": {
                "type": {
                    "value": "ValueSet"
                },
                    "reference": {
                    "value": "http://hl7.org/fhir/vs/administrative-gender"
                }
            }
        }, {
            "name": {
                "value": "AnimalBreed"
            },
                "isExtensible": {
                "value": true
            },
                "conformance": {
                "value": "example"
            },
                "referenceResource": {
                "type": {
                    "value": "ValueSet"
                },
                    "reference": {
                    "value": "http://hl7.org/fhir/vs/animal-breeds"
                }
            }
        }, {
            "name": {
                "value": "Language"
            },
                "conformance": {
                "value": "required"
            },
                "referenceUri": {
                "value": "http://tools.ietf.org/html/bcp47"
            }
        }, {
            "name": {
                "value": "AnimalSpecies"
            },
                "isExtensible": {
                "value": true
            },
                "conformance": {
                "value": "example"
            },
                "referenceResource": {
                "type": {
                    "value": "ValueSet"
                },
                    "reference": {
                    "value": "http://hl7.org/fhir/vs/animal-species"
                }
            }
        }, {
            "name": {
                "value": "ContactRelationship"
            },
                "isExtensible": {
                "value": true
            },
                "conformance": {
                "value": "preferred"
            },
                "referenceResource": {
                "type": {
                    "value": "ValueSet"
                },
                    "reference": {
                    "value": "http://hl7.org/fhir/vs/patient-contact-relationship"
                }
            }
        }, {
            "name": {
                "value": "MaritalStatus"
            },
                "isExtensible": {
                "value": true
            },
                "conformance": {
                "value": "preferred"
            },
                "referenceResource": {
                "type": {
                    "value": "ValueSet"
                },
                    "reference": {
                    "value": "http://hl7.org/fhir/vs/marital-status"
                }
            }
    }*/
</script>
path {

    stroke: #fff;

    fill-rule: evenodd;

}

/*http://blog.luzid.com/2013/extending-the-d3-zoomable-sunburst-with-labels/*/