@Test
  public void testQueryBoundCodeableConcept() {
    RuntimeResourceDefinition patientType = ourCtx.getResourceDefinition(Patient.class);
    String childName = "maritalStatus";
    BaseRuntimeChildDatatypeDefinition genderChild =
        (BaseRuntimeChildDatatypeDefinition) patientType.getChildByName(childName);
    ourLog.trace(genderChild.getClass().getName());

    assertEquals(MaritalStatusCodesEnum.class, genderChild.getBoundEnumType());
  }
  @Test
  public void testQueryBoundCode() {
    RuntimeResourceDefinition patientType = ourCtx.getResourceDefinition(Patient.class);
    String childName = "gender";
    BaseRuntimeChildDatatypeDefinition genderChild =
        (BaseRuntimeChildDatatypeDefinition) patientType.getChildByName(childName);
    ourLog.trace(genderChild.getClass().getName());

    assertEquals(AdministrativeGenderEnum.class, genderChild.getBoundEnumType());
  }