{
  "swagger": "2.0",
  "definitions": {
    "Account": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text"
      ]
    },
    "AllergyIntolerance": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "fhir_comments",
            "status",
            "div"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "recordedDate": {
          "type": "string",
          "minLength": 1
        },
        "_recordedDate": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "fhir_comments"
          ]
        },
        "recorder": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "fhir_comments",
            "reference"
          ]
        },
        "patient": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "fhir_comments",
            "reference"
          ]
        },
        "substance": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "fhir_comments",
            "coding"
          ]
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "_status": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "fhir_comments"
          ]
        },
        "criticality": {
          "type": "string",
          "minLength": 1
        },
        "type": {
          "type": "string",
          "minLength": 1
        },
        "_type": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "fhir_comments"
          ]
        },
        "category": {
          "type": "string",
          "minLength": 1
        },
        "_category": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "fhir_comments"
          ]
        },
        "lastOccurence": {
          "type": "string",
          "minLength": 1
        },
        "_lastOccurence": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "fhir_comments"
          ]
        },
        "reaction": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "description",
              "onset",
              "severity"
            ],
            "properties": {
              "fhir_comments": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "substance": {
                "type": "object",
                "properties": {
                  "fhir_comments": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  },
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "fhir_comments",
                  "coding"
                ]
              },
              "manifestation": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [],
                  "properties": {
                    "coding": {
                      "type": "array",
                      "uniqueItems": true,
                      "minItems": 1,
                      "items": {
                        "required": [
                          "system",
                          "code",
                          "display"
                        ],
                        "properties": {
                          "system": {
                            "type": "string",
                            "minLength": 1
                          },
                          "code": {
                            "type": "string",
                            "minLength": 1
                          },
                          "display": {
                            "type": "string",
                            "minLength": 1
                          }
                        }
                      }
                    }
                  }
                }
              },
              "description": {
                "type": "string",
                "minLength": 1
              },
              "onset": {
                "type": "string",
                "minLength": 1
              },
              "severity": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "identifier",
        "recordedDate",
        "_recordedDate",
        "recorder",
        "patient",
        "substance",
        "status",
        "_status",
        "criticality",
        "type",
        "_type",
        "category",
        "_category",
        "lastOccurence",
        "_lastOccurence",
        "reaction"
      ]
    },
    "Appointment": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "type": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "code",
                  "display"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "priority": {
          "type": "number"
        },
        "description": {
          "type": "string",
          "minLength": 1
        },
        "start": {
          "type": "string",
          "minLength": 1
        },
        "end": {
          "type": "string",
          "minLength": 1
        },
        "comment": {
          "type": "string",
          "minLength": 1
        },
        "participant": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "required",
              "status"
            ],
            "properties": {
              "type": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [],
                  "properties": {
                    "coding": {
                      "type": "array",
                      "uniqueItems": true,
                      "minItems": 1,
                      "items": {
                        "required": [
                          "code"
                        ],
                        "properties": {
                          "code": {
                            "type": "string",
                            "minLength": 1
                          }
                        }
                      }
                    }
                  }
                }
              },
              "actor": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference",
                  "display"
                ]
              },
              "required": {
                "type": "string",
                "minLength": 1
              },
              "status": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "status",
        "type",
        "priority",
        "description",
        "start",
        "end",
        "comment",
        "participant"
      ]
    },
    "AppointmentResponse": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "appointment": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference",
            "display"
          ]
        },
        "actor": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference",
            "display"
          ]
        },
        "participantStatus": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "appointment",
        "actor",
        "participantStatus"
      ]
    },
    "AuditEvent": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "event": {
          "type": "object",
          "properties": {
            "type": {
              "type": "object",
              "properties": {
                "system": {
                  "type": "string",
                  "minLength": 1
                },
                "code": {
                  "type": "string",
                  "minLength": 1
                },
                "display": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "system",
                "code",
                "display"
              ]
            },
            "subtype": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            },
            "action": {
              "type": "string",
              "minLength": 1
            },
            "dateTime": {
              "type": "string",
              "minLength": 1
            },
            "outcome": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "type",
            "subtype",
            "action",
            "dateTime",
            "outcome"
          ]
        },
        "participant": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "requestor"
            ],
            "properties": {
              "role": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "text"
                  ],
                  "properties": {
                    "text": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              },
              "userId": {
                "type": "object",
                "properties": {
                  "value": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "value"
                ]
              },
              "requestor": {
                "type": "boolean"
              },
              "network": {
                "type": "object",
                "properties": {
                  "address": {
                    "type": "string",
                    "minLength": 1
                  },
                  "type": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "address",
                  "type"
                ]
              }
            }
          }
        },
        "source": {
          "type": "object",
          "properties": {
            "site": {
              "type": "string",
              "minLength": 1
            },
            "identifier": {
              "type": "object",
              "properties": {
                "value": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "value"
              ]
            },
            "type": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "site",
            "identifier",
            "type"
          ]
        },
        "object": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "name"
            ],
            "properties": {
              "identifier": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "object",
                    "properties": {
                      "coding": {
                        "type": "array",
                        "uniqueItems": true,
                        "minItems": 1,
                        "items": {
                          "required": [
                            "system",
                            "code"
                          ],
                          "properties": {
                            "system": {
                              "type": "string",
                              "minLength": 1
                            },
                            "code": {
                              "type": "string",
                              "minLength": 1
                            }
                          }
                        }
                      },
                      "text": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "coding",
                      "text"
                    ]
                  },
                  "value": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "type",
                  "value"
                ]
              },
              "type": {
                "type": "object",
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "system",
                  "code",
                  "display"
                ]
              },
              "role": {
                "type": "object",
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "system",
                  "code",
                  "display"
                ]
              },
              "lifecycle": {
                "type": "object",
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "system",
                  "code",
                  "display"
                ]
              },
              "name": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "event",
        "participant",
        "source",
        "object"
      ]
    },
    "Basic": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "extension": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "url"
            ],
            "properties": {
              "url": {
                "type": "string",
                "minLength": 1
              },
              "valueReference": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference",
                  "display"
                ]
              }
            }
          }
        },
        "modifierExtension": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "url"
            ],
            "properties": {
              "url": {
                "type": "string",
                "minLength": 1
              },
              "valueCodeableConcept": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "coding"
                ]
              }
            }
          }
        },
        "code": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "subject": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference",
            "display"
          ]
        },
        "author": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "created": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "extension",
        "modifierExtension",
        "code",
        "subject",
        "author",
        "created"
      ]
    },
    "Binary": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "contentType": {
          "type": "string",
          "minLength": 1
        },
        "content": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": [
        "resourceType",
        "id",
        "contentType",
        "content"
      ]
    },
    "BodySite": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "fhir_comments",
            "status",
            "div"
          ]
        },
        "patient": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "use",
              "system",
              "value"
            ],
            "properties": {
              "use": {
                "type": "string",
                "minLength": 1
              },
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "code": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            },
            "text": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "coding",
            "text"
          ]
        },
        "modifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "text"
            ],
            "properties": {
              "coding": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "code",
                    "display"
                  ],
                  "properties": {
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "code": {
                      "type": "string",
                      "minLength": 1
                    },
                    "display": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              },
              "text": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "description": {
          "type": "string",
          "minLength": 1
        },
        "image": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "contentType",
              "data",
              "title"
            ],
            "properties": {
              "contentType": {
                "type": "string",
                "minLength": 1
              },
              "data": {
                "type": "string",
                "minLength": 1
              },
              "title": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "patient",
        "identifier",
        "code",
        "modifier",
        "description",
        "image"
      ]
    },
    "Bundle": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "meta": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "lastUpdated": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "fhir_comments",
            "lastUpdated"
          ]
        },
        "type": {
          "type": "string",
          "minLength": 1
        },
        "total": {
          "type": "number"
        },
        "_total": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "fhir_comments"
          ]
        },
        "link": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "relation",
              "url"
            ],
            "properties": {
              "fhir_comments": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "relation": {
                "type": "string",
                "minLength": 1
              },
              "url": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "entry": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "fullUrl"
            ],
            "properties": {
              "fhir_comments": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "fullUrl": {
                "type": "string",
                "minLength": 1
              },
              "resource": {
                "type": "object",
                "properties": {
                  "resourceType": {
                    "type": "string",
                    "minLength": 1
                  },
                  "id": {
                    "type": "string",
                    "minLength": 1
                  },
                  "text": {
                    "type": "object",
                    "properties": {
                      "fhir_comments": {
                        "type": "array",
                        "items": {
                          "required": [],
                          "properties": {}
                        }
                      },
                      "status": {
                        "type": "string",
                        "minLength": 1
                      },
                      "div": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "fhir_comments",
                      "status",
                      "div"
                    ]
                  },
                  "patient": {
                    "type": "object",
                    "properties": {
                      "reference": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "reference"
                    ]
                  },
                  "medicationReference": {
                    "type": "object",
                    "properties": {
                      "reference": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "reference"
                    ]
                  }
                },
                "required": [
                  "resourceType",
                  "id",
                  "text",
                  "patient",
                  "medicationReference"
                ]
              },
              "search": {
                "type": "object",
                "properties": {
                  "fhir_comments": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  },
                  "mode": {
                    "type": "string",
                    "minLength": 1
                  },
                  "_mode": {
                    "type": "object",
                    "properties": {
                      "fhir_comments": {
                        "type": "array",
                        "items": {
                          "required": [],
                          "properties": {}
                        }
                      }
                    },
                    "required": [
                      "fhir_comments"
                    ]
                  },
                  "score": {
                    "type": "number"
                  },
                  "_score": {
                    "type": "object",
                    "properties": {
                      "fhir_comments": {
                        "type": "array",
                        "items": {
                          "required": [],
                          "properties": {}
                        }
                      }
                    },
                    "required": [
                      "fhir_comments"
                    ]
                  }
                },
                "required": [
                  "fhir_comments",
                  "mode",
                  "_mode",
                  "score",
                  "_score"
                ]
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "meta",
        "type",
        "total",
        "_total",
        "link",
        "entry"
      ]
    },
    "CarePlan": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "contained": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "resourceType",
              "id",
              "description",
              "status"
            ],
            "properties": {
              "resourceType": {
                "type": "string",
                "minLength": 1
              },
              "id": {
                "type": "string",
                "minLength": 1
              },
              "extension": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "url"
                  ],
                  "properties": {
                    "extension": {
                      "type": "array",
                      "uniqueItems": true,
                      "minItems": 1,
                      "items": {
                        "required": [
                          "url"
                        ],
                        "properties": {
                          "url": {
                            "type": "string",
                            "minLength": 1
                          },
                          "valueCodeableConcept": {
                            "type": "object",
                            "properties": {
                              "coding": {
                                "type": "array",
                                "uniqueItems": true,
                                "minItems": 1,
                                "items": {
                                  "required": [
                                    "system",
                                    "code",
                                    "display"
                                  ],
                                  "properties": {
                                    "system": {
                                      "type": "string",
                                      "minLength": 1
                                    },
                                    "code": {
                                      "type": "string",
                                      "minLength": 1
                                    },
                                    "display": {
                                      "type": "string",
                                      "minLength": 1
                                    }
                                  }
                                }
                              }
                            },
                            "required": [
                              "coding"
                            ]
                          }
                        }
                      }
                    },
                    "url": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              },
              "subject": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference",
                  "display"
                ]
              },
              "description": {
                "type": "string",
                "minLength": 1
              },
              "status": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "subject": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference",
            "display"
          ]
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "period": {
          "type": "object",
          "properties": {
            "end": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "end"
          ]
        },
        "addresses": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "reference",
              "display"
            ],
            "properties": {
              "reference": {
                "type": "string",
                "minLength": 1
              },
              "display": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "participant": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "role": {
                "type": "object",
                "properties": {
                  "text": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "text"
                ]
              },
              "member": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference",
                  "display"
                ]
              }
            }
          }
        },
        "goal": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "reference"
            ],
            "properties": {
              "reference": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "activity": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "detail": {
                "type": "object",
                "properties": {
                  "category": {
                    "type": "object",
                    "properties": {
                      "coding": {
                        "type": "array",
                        "uniqueItems": true,
                        "minItems": 1,
                        "items": {
                          "required": [
                            "system",
                            "code"
                          ],
                          "properties": {
                            "system": {
                              "type": "string",
                              "minLength": 1
                            },
                            "code": {
                              "type": "string",
                              "minLength": 1
                            }
                          }
                        }
                      }
                    },
                    "required": [
                      "coding"
                    ]
                  },
                  "code": {
                    "type": "object",
                    "properties": {
                      "text": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "text"
                    ]
                  },
                  "prohibited": {
                    "type": "boolean"
                  },
                  "scheduledTiming": {
                    "type": "object",
                    "properties": {
                      "repeat": {
                        "type": "object",
                        "properties": {
                          "frequency": {
                            "type": "number"
                          },
                          "period": {
                            "type": "number"
                          },
                          "periodUnits": {
                            "type": "string",
                            "minLength": 1
                          }
                        },
                        "required": [
                          "frequency",
                          "period",
                          "periodUnits"
                        ]
                      }
                    },
                    "required": [
                      "repeat"
                    ]
                  },
                  "performer": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "reference",
                        "display"
                      ],
                      "properties": {
                        "reference": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "category",
                  "code",
                  "prohibited",
                  "scheduledTiming",
                  "performer"
                ]
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "contained",
        "subject",
        "status",
        "period",
        "addresses",
        "participant",
        "goal",
        "activity"
      ]
    },
    "Claim": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "type": {
          "type": "string",
          "minLength": 1
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "created": {
          "type": "string",
          "minLength": 1
        },
        "target": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "organization": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "use": {
          "type": "string",
          "minLength": 1
        },
        "priority": {
          "type": "object",
          "properties": {
            "code": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "code"
          ]
        },
        "payee": {
          "type": "object",
          "properties": {
            "type": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "code"
              ]
            }
          },
          "required": [
            "type"
          ]
        },
        "diagnosis": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "sequence"
            ],
            "properties": {
              "sequence": {
                "type": "number"
              },
              "diagnosis": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "code"
                ]
              }
            }
          }
        },
        "patient": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "coverage": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "sequence",
              "focal"
            ],
            "properties": {
              "sequence": {
                "type": "number"
              },
              "focal": {
                "type": "boolean"
              },
              "coverage": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference"
                ]
              },
              "relationship": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "code"
                ]
              }
            }
          }
        },
        "item": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "sequence",
              "serviceDate"
            ],
            "properties": {
              "sequence": {
                "type": "number"
              },
              "type": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "code"
                ]
              },
              "provider": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference"
                ]
              },
              "service": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "code"
                ]
              },
              "serviceDate": {
                "type": "string",
                "minLength": 1
              },
              "unitPrice": {
                "type": "object",
                "properties": {
                  "value": {
                    "type": "number"
                  },
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "value",
                  "system",
                  "code"
                ]
              },
              "net": {
                "type": "object",
                "properties": {
                  "value": {
                    "type": "number"
                  },
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "value",
                  "system",
                  "code"
                ]
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "type",
        "identifier",
        "created",
        "target",
        "organization",
        "use",
        "priority",
        "payee",
        "diagnosis",
        "patient",
        "coverage",
        "item"
      ]
    },
    "ClaimResponse": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "request": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "created": {
          "type": "string",
          "minLength": 1
        },
        "organization": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "requestOrganization": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "outcome": {
          "type": "string",
          "minLength": 1
        },
        "disposition": {
          "type": "string",
          "minLength": 1
        },
        "payeeType": {
          "type": "object",
          "properties": {
            "system": {
              "type": "string",
              "minLength": 1
            },
            "code": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "system",
            "code"
          ]
        },
        "item": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "sequenceLinkId"
            ],
            "properties": {
              "fhir_comments": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "sequenceLinkId": {
                "type": "number"
              },
              "adjudication": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [],
                  "properties": {
                    "code": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "code"
                      ]
                    },
                    "amount": {
                      "type": "object",
                      "properties": {
                        "value": {
                          "type": "number"
                        },
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "value",
                        "system",
                        "code"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "totalCost": {
          "type": "object",
          "properties": {
            "value": {
              "type": "number"
            },
            "system": {
              "type": "string",
              "minLength": 1
            },
            "code": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "value",
            "system",
            "code"
          ]
        },
        "totalBenefit": {
          "type": "object",
          "properties": {
            "value": {
              "type": "number"
            },
            "system": {
              "type": "string",
              "minLength": 1
            },
            "code": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "value",
            "system",
            "code"
          ]
        },
        "paymentDate": {
          "type": "string",
          "minLength": 1
        },
        "_paymentDate": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "fhir_comments"
          ]
        },
        "paymentAmount": {
          "type": "object",
          "properties": {
            "value": {
              "type": "number"
            },
            "system": {
              "type": "string",
              "minLength": 1
            },
            "code": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "value",
            "system",
            "code"
          ]
        },
        "paymentRef": {
          "type": "object",
          "properties": {
            "system": {
              "type": "string",
              "minLength": 1
            },
            "value": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "system",
            "value"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "identifier",
        "request",
        "created",
        "organization",
        "requestOrganization",
        "outcome",
        "disposition",
        "payeeType",
        "item",
        "totalCost",
        "totalBenefit",
        "paymentDate",
        "_paymentDate",
        "paymentAmount",
        "paymentRef"
      ]
    },
    "ClinicalImpression": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "patient": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "assessor": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "date": {
          "type": "string",
          "minLength": 1
        },
        "description": {
          "type": "string",
          "minLength": 1
        },
        "problem": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "display"
            ],
            "properties": {
              "fhir_comments": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "display": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "investigations": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "code": {
                "type": "object",
                "properties": {
                  "text": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "text"
                ]
              },
              "item": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "display"
                  ],
                  "properties": {
                    "fhir_comments": {
                      "type": "array",
                      "items": {
                        "required": [],
                        "properties": {}
                      }
                    },
                    "display": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "summary": {
          "type": "string",
          "minLength": 1
        },
        "finding": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "item": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "coding"
                ]
              }
            }
          }
        },
        "plan": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "display"
            ],
            "properties": {
              "display": {
                "type": "string",
                "minLength": 1
              },
              "_display": {
                "type": "object",
                "properties": {
                  "fhir_comments": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  }
                },
                "required": [
                  "fhir_comments"
                ]
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "patient",
        "assessor",
        "status",
        "date",
        "description",
        "problem",
        "investigations",
        "summary",
        "finding",
        "plan"
      ]
    },
    "Communication": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "fhir_comments": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "type": {
                "type": "object",
                "properties": {
                  "text": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "text"
                ]
              },
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "category": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            },
            "text": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "coding",
            "text"
          ]
        },
        "sender": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "recipient": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "reference"
            ],
            "properties": {
              "reference": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "payload": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "contentString"
            ],
            "properties": {
              "contentString": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "sent": {
          "type": "string",
          "minLength": 1
        },
        "subject": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "identifier",
        "category",
        "sender",
        "recipient",
        "payload",
        "status",
        "sent",
        "subject"
      ]
    },
    "CommunicationRequest": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "subject": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "fhir_comments",
            "reference"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "subject"
      ]
    },
    "Composition": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "identifier": {
          "type": "object",
          "properties": {
            "system": {
              "type": "string",
              "minLength": 1
            },
            "value": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "system",
            "value"
          ]
        },
        "date": {
          "type": "string",
          "minLength": 1
        },
        "type": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "class": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "title": {
          "type": "string",
          "minLength": 1
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "confidentiality": {
          "type": "string",
          "minLength": 1
        },
        "subject": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference",
            "display"
          ]
        },
        "author": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "reference",
              "display"
            ],
            "properties": {
              "reference": {
                "type": "string",
                "minLength": 1
              },
              "display": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "attester": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "time"
            ],
            "properties": {
              "mode": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "time": {
                "type": "string",
                "minLength": 1
              },
              "party": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference",
                  "display"
                ]
              }
            }
          }
        },
        "custodian": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference",
            "display"
          ]
        },
        "event": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "code": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [],
                  "properties": {
                    "coding": {
                      "type": "array",
                      "uniqueItems": true,
                      "minItems": 1,
                      "items": {
                        "required": [
                          "system",
                          "code",
                          "display"
                        ],
                        "properties": {
                          "system": {
                            "type": "string",
                            "minLength": 1
                          },
                          "code": {
                            "type": "string",
                            "minLength": 1
                          },
                          "display": {
                            "type": "string",
                            "minLength": 1
                          }
                        }
                      }
                    }
                  }
                }
              },
              "period": {
                "type": "object",
                "properties": {
                  "start": {
                    "type": "string",
                    "minLength": 1
                  },
                  "end": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "start",
                  "end"
                ]
              },
              "detail": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "reference"
                  ],
                  "properties": {
                    "reference": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "encounter": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "section": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "title",
              "mode"
            ],
            "properties": {
              "title": {
                "type": "string",
                "minLength": 1
              },
              "code": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "coding"
                ]
              },
              "text": {
                "type": "object",
                "properties": {
                  "status": {
                    "type": "string",
                    "minLength": 1
                  },
                  "div": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "status",
                  "div"
                ]
              },
              "mode": {
                "type": "string",
                "minLength": 1
              },
              "orderedBy": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "coding"
                ]
              },
              "entry": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "reference"
                  ],
                  "properties": {
                    "reference": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "identifier",
        "date",
        "type",
        "class",
        "title",
        "status",
        "confidentiality",
        "subject",
        "author",
        "attester",
        "custodian",
        "event",
        "encounter",
        "section"
      ]
    },
    "ConceptMap": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "url": {
          "type": "string",
          "minLength": 1
        },
        "identifier": {
          "type": "object",
          "properties": {
            "system": {
              "type": "string",
              "minLength": 1
            },
            "value": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "system",
            "value"
          ]
        },
        "version": {
          "type": "string",
          "minLength": 1
        },
        "_version": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "fhir_comments"
          ]
        },
        "name": {
          "type": "string",
          "minLength": 1
        },
        "_name": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "fhir_comments"
          ]
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "experimental": {
          "type": "boolean"
        },
        "publisher": {
          "type": "string",
          "minLength": 1
        },
        "contact": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1
              },
              "telecom": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "value"
                  ],
                  "properties": {
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "value": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "date": {
          "type": "string",
          "minLength": 1
        },
        "description": {
          "type": "string",
          "minLength": 1
        },
        "useContext": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "text"
            ],
            "properties": {
              "text": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "requirements": {
          "type": "string",
          "minLength": 1
        },
        "copyright": {
          "type": "string",
          "minLength": 1
        },
        "sourceReference": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "targetReference": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "element": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "codeSystem",
              "code"
            ],
            "properties": {
              "codeSystem": {
                "type": "string",
                "minLength": 1
              },
              "code": {
                "type": "string",
                "minLength": 1
              },
              "target": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "codeSystem",
                    "code",
                    "equivalence"
                  ],
                  "properties": {
                    "codeSystem": {
                      "type": "string",
                      "minLength": 1
                    },
                    "code": {
                      "type": "string",
                      "minLength": 1
                    },
                    "equivalence": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "url",
        "identifier",
        "version",
        "_version",
        "name",
        "_name",
        "status",
        "experimental",
        "publisher",
        "contact",
        "date",
        "description",
        "useContext",
        "requirements",
        "copyright",
        "sourceReference",
        "targetReference",
        "element"
      ]
    },
    "Condition": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "patient": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "code": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            },
            "text": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "coding",
            "text"
          ]
        },
        "category": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "fhir_comments": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  },
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "verificationStatus": {
          "type": "string",
          "minLength": 1
        },
        "severity": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "onsetDateTime": {
          "type": "string",
          "minLength": 1
        },
        "bodySite": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "text"
            ],
            "properties": {
              "coding": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "code",
                    "display"
                  ],
                  "properties": {
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "code": {
                      "type": "string",
                      "minLength": 1
                    },
                    "display": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              },
              "text": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "patient",
        "code",
        "category",
        "verificationStatus",
        "severity",
        "onsetDateTime",
        "bodySite"
      ]
    },
    "Conformance": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "url": {
          "type": "string",
          "minLength": 1
        },
        "_url": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "fhir_comments"
          ]
        },
        "version": {
          "type": "string",
          "minLength": 1
        },
        "name": {
          "type": "string",
          "minLength": 1
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "experimental": {
          "type": "boolean"
        },
        "publisher": {
          "type": "string",
          "minLength": 1
        },
        "contact": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1
              },
              "telecom": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "value"
                  ],
                  "properties": {
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "value": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "date": {
          "type": "string",
          "minLength": 1
        },
        "description": {
          "type": "string",
          "minLength": 1
        },
        "requirements": {
          "type": "string",
          "minLength": 1
        },
        "copyright": {
          "type": "string",
          "minLength": 1
        },
        "kind": {
          "type": "string",
          "minLength": 1
        },
        "software": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1
            },
            "version": {
              "type": "string",
              "minLength": 1
            },
            "releaseDate": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "name",
            "version",
            "releaseDate"
          ]
        },
        "implementation": {
          "type": "object",
          "properties": {
            "description": {
              "type": "string",
              "minLength": 1
            },
            "url": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "description",
            "url"
          ]
        },
        "fhirVersion": {
          "type": "string",
          "minLength": 1
        },
        "_fhirVersion": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "fhir_comments"
          ]
        },
        "acceptUnknown": {
          "type": "string",
          "minLength": 1
        },
        "_acceptUnknown": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "fhir_comments"
          ]
        },
        "format": {
          "type": "array",
          "items": {
            "required": [],
            "properties": {}
          }
        },
        "rest": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "mode",
              "documentation"
            ],
            "properties": {
              "fhir_comments": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "mode": {
                "type": "string",
                "minLength": 1
              },
              "_mode": {
                "type": "object",
                "properties": {
                  "fhir_comments": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  }
                },
                "required": [
                  "fhir_comments"
                ]
              },
              "documentation": {
                "type": "string",
                "minLength": 1
              },
              "security": {
                "type": "object",
                "properties": {
                  "cors": {
                    "type": "boolean"
                  },
                  "_cors": {
                    "type": "object",
                    "properties": {
                      "fhir_comments": {
                        "type": "array",
                        "items": {
                          "required": [],
                          "properties": {}
                        }
                      }
                    },
                    "required": [
                      "fhir_comments"
                    ]
                  },
                  "service": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [],
                      "properties": {
                        "coding": {
                          "type": "array",
                          "uniqueItems": true,
                          "minItems": 1,
                          "items": {
                            "required": [
                              "system",
                              "code"
                            ],
                            "properties": {
                              "system": {
                                "type": "string",
                                "minLength": 1
                              },
                              "code": {
                                "type": "string",
                                "minLength": 1
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "description": {
                    "type": "string",
                    "minLength": 1
                  },
                  "certificate": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "type",
                        "blob"
                      ],
                      "properties": {
                        "type": {
                          "type": "string",
                          "minLength": 1
                        },
                        "blob": {
                          "type": "string",
                          "minLength": 1
                        },
                        "_blob": {
                          "type": "object",
                          "properties": {
                            "fhir_comments": {
                              "type": "array",
                              "items": {
                                "required": [],
                                "properties": {}
                              }
                            }
                          },
                          "required": [
                            "fhir_comments"
                          ]
                        }
                      }
                    }
                  }
                },
                "required": [
                  "cors",
                  "_cors",
                  "service",
                  "description",
                  "certificate"
                ]
              },
              "resource": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "type",
                    "versioning",
                    "readHistory",
                    "updateCreate",
                    "conditionalCreate",
                    "conditionalUpdate",
                    "conditionalDelete"
                  ],
                  "properties": {
                    "fhir_comments": {
                      "type": "array",
                      "items": {
                        "required": [],
                        "properties": {}
                      }
                    },
                    "type": {
                      "type": "string",
                      "minLength": 1
                    },
                    "profile": {
                      "type": "object",
                      "properties": {
                        "fhir_comments": {
                          "type": "array",
                          "items": {
                            "required": [],
                            "properties": {}
                          }
                        },
                        "reference": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "fhir_comments",
                        "reference"
                      ]
                    },
                    "interaction": {
                      "type": "array",
                      "uniqueItems": true,
                      "minItems": 1,
                      "items": {
                        "required": [
                          "code",
                          "documentation"
                        ],
                        "properties": {
                          "code": {
                            "type": "string",
                            "minLength": 1
                          },
                          "documentation": {
                            "type": "string",
                            "minLength": 1
                          }
                        }
                      }
                    },
                    "versioning": {
                      "type": "string",
                      "minLength": 1
                    },
                    "readHistory": {
                      "type": "boolean"
                    },
                    "updateCreate": {
                      "type": "boolean"
                    },
                    "_updateCreate": {
                      "type": "object",
                      "properties": {
                        "fhir_comments": {
                          "type": "array",
                          "items": {
                            "required": [],
                            "properties": {}
                          }
                        }
                      },
                      "required": [
                        "fhir_comments"
                      ]
                    },
                    "conditionalCreate": {
                      "type": "boolean"
                    },
                    "_conditionalCreate": {
                      "type": "object",
                      "properties": {
                        "fhir_comments": {
                          "type": "array",
                          "items": {
                            "required": [],
                            "properties": {}
                          }
                        }
                      },
                      "required": [
                        "fhir_comments"
                      ]
                    },
                    "conditionalUpdate": {
                      "type": "boolean"
                    },
                    "conditionalDelete": {
                      "type": "string",
                      "minLength": 1
                    },
                    "_conditionalDelete": {
                      "type": "object",
                      "properties": {
                        "fhir_comments": {
                          "type": "array",
                          "items": {
                            "required": [],
                            "properties": {}
                          }
                        }
                      },
                      "required": [
                        "fhir_comments"
                      ]
                    },
                    "searchInclude": {
                      "type": "array",
                      "items": {
                        "required": [],
                        "properties": {}
                      }
                    },
                    "searchRevInclude": {
                      "type": "array",
                      "items": {
                        "required": [],
                        "properties": {}
                      }
                    },
                    "searchParam": {
                      "type": "array",
                      "uniqueItems": true,
                      "minItems": 1,
                      "items": {
                        "required": [
                          "name",
                          "definition",
                          "type"
                        ],
                        "properties": {
                          "name": {
                            "type": "string",
                            "minLength": 1
                          },
                          "definition": {
                            "type": "string",
                            "minLength": 1
                          },
                          "type": {
                            "type": "string",
                            "minLength": 1
                          },
                          "target": {
                            "type": "array",
                            "items": {
                              "required": [],
                              "properties": {}
                            }
                          },
                          "modifier": {
                            "type": "array",
                            "items": {
                              "required": [],
                              "properties": {}
                            }
                          },
                          "chain": {
                            "type": "array",
                            "items": {
                              "required": [],
                              "properties": {}
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "interaction": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "code"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              },
              "compartment": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              }
            }
          }
        },
        "messaging": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "reliableCache",
              "documentation"
            ],
            "properties": {
              "fhir_comments": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "endpoint": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "address"
                  ],
                  "properties": {
                    "protocol": {
                      "type": "object",
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "system",
                        "code"
                      ]
                    },
                    "address": {
                      "type": "string",
                      "minLength": 1
                    },
                    "_address": {
                      "type": "object",
                      "properties": {
                        "fhir_comments": {
                          "type": "array",
                          "items": {
                            "required": [],
                            "properties": {}
                          }
                        }
                      },
                      "required": [
                        "fhir_comments"
                      ]
                    }
                  }
                }
              },
              "reliableCache": {
                "type": "number"
              },
              "documentation": {
                "type": "string",
                "minLength": 1
              },
              "event": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "category",
                    "mode",
                    "focus",
                    "documentation"
                  ],
                  "properties": {
                    "code": {
                      "type": "object",
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "system",
                        "code"
                      ]
                    },
                    "category": {
                      "type": "string",
                      "minLength": 1
                    },
                    "mode": {
                      "type": "string",
                      "minLength": 1
                    },
                    "_mode": {
                      "type": "object",
                      "properties": {
                        "fhir_comments": {
                          "type": "array",
                          "items": {
                            "required": [],
                            "properties": {}
                          }
                        }
                      },
                      "required": [
                        "fhir_comments"
                      ]
                    },
                    "focus": {
                      "type": "string",
                      "minLength": 1
                    },
                    "request": {
                      "type": "object",
                      "properties": {
                        "fhir_comments": {
                          "type": "array",
                          "items": {
                            "required": [],
                            "properties": {}
                          }
                        },
                        "reference": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "fhir_comments",
                        "reference"
                      ]
                    },
                    "response": {
                      "type": "object",
                      "properties": {
                        "reference": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "reference"
                      ]
                    },
                    "documentation": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "document": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "mode",
              "documentation"
            ],
            "properties": {
              "fhir_comments": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "mode": {
                "type": "string",
                "minLength": 1
              },
              "documentation": {
                "type": "string",
                "minLength": 1
              },
              "profile": {
                "type": "object",
                "properties": {
                  "fhir_comments": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  },
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "fhir_comments",
                  "reference"
                ]
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "url",
        "_url",
        "version",
        "name",
        "status",
        "experimental",
        "publisher",
        "contact",
        "date",
        "description",
        "requirements",
        "copyright",
        "kind",
        "software",
        "implementation",
        "fhirVersion",
        "_fhirVersion",
        "acceptUnknown",
        "_acceptUnknown",
        "format",
        "rest",
        "messaging",
        "document"
      ]
    },
    "Contract": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text"
      ]
    },
    "Coverage": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "issuer": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "period": {
          "type": "object",
          "properties": {
            "start": {
              "type": "string",
              "minLength": 1
            },
            "end": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "start",
            "end"
          ]
        },
        "type": {
          "type": "object",
          "properties": {
            "system": {
              "type": "string",
              "minLength": 1
            },
            "code": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "system",
            "code",
            "display"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "plan": {
          "type": "string",
          "minLength": 1
        },
        "subPlan": {
          "type": "string",
          "minLength": 1
        },
        "dependent": {
          "type": "number"
        },
        "sequence": {
          "type": "number"
        },
        "subscriber": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "issuer",
        "period",
        "type",
        "identifier",
        "plan",
        "subPlan",
        "dependent",
        "sequence",
        "subscriber"
      ]
    },
    "DataElement": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "contained": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "resourceType",
              "id",
              "url",
              "version",
              "name",
              "status",
              "description"
            ],
            "properties": {
              "resourceType": {
                "type": "string",
                "minLength": 1
              },
              "id": {
                "type": "string",
                "minLength": 1
              },
              "url": {
                "type": "string",
                "minLength": 1
              },
              "version": {
                "type": "string",
                "minLength": 1
              },
              "name": {
                "type": "string",
                "minLength": 1
              },
              "status": {
                "type": "string",
                "minLength": 1
              },
              "description": {
                "type": "string",
                "minLength": 1
              },
              "compose": {
                "type": "object",
                "properties": {
                  "include": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "concept": {
                          "type": "array",
                          "uniqueItems": true,
                          "minItems": 1,
                          "items": {
                            "required": [
                              "code",
                              "display"
                            ],
                            "properties": {
                              "fhir_comments": {
                                "type": "array",
                                "items": {
                                  "required": [],
                                  "properties": {}
                                }
                              },
                              "code": {
                                "type": "string",
                                "minLength": 1
                              },
                              "display": {
                                "type": "string",
                                "minLength": 1
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "required": [
                  "include"
                ]
              }
            }
          }
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "value"
            ],
            "properties": {
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "version": {
          "type": "string",
          "minLength": 1
        },
        "name": {
          "type": "string",
          "minLength": 1
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "publisher": {
          "type": "string",
          "minLength": 1
        },
        "useContext": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "coding": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "display"
                  ],
                  "properties": {
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "display": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "element": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "path",
              "definition",
              "maxLength"
            ],
            "properties": {
              "extension": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "url",
                    "valueInteger"
                  ],
                  "properties": {
                    "url": {
                      "type": "string",
                      "minLength": 1
                    },
                    "valueInteger": {
                      "type": "number"
                    }
                  }
                }
              },
              "path": {
                "type": "string",
                "minLength": 1
              },
              "definition": {
                "type": "string",
                "minLength": 1
              },
              "type": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "code"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              },
              "maxLength": {
                "type": "number"
              },
              "binding": {
                "type": "object",
                "properties": {
                  "strength": {
                    "type": "string",
                    "minLength": 1
                  },
                  "valueSetReference": {
                    "type": "object",
                    "properties": {
                      "extension": {
                        "type": "array",
                        "uniqueItems": true,
                        "minItems": 1,
                        "items": {
                          "required": [
                            "url"
                          ],
                          "properties": {
                            "url": {
                              "type": "string",
                              "minLength": 1
                            },
                            "valueReference": {
                              "type": "object",
                              "properties": {
                                "reference": {
                                  "type": "string",
                                  "minLength": 1
                                }
                              },
                              "required": [
                                "reference"
                              ]
                            }
                          }
                        }
                      },
                      "reference": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "extension",
                      "reference"
                    ]
                  }
                },
                "required": [
                  "strength",
                  "valueSetReference"
                ]
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "contained",
        "identifier",
        "version",
        "name",
        "status",
        "publisher",
        "useContext",
        "element"
      ]
    },
    "DetectedIssue": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "category": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "severity": {
          "type": "string",
          "minLength": 1
        },
        "implicated": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "reference",
              "display"
            ],
            "properties": {
              "reference": {
                "type": "string",
                "minLength": 1
              },
              "display": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "detail": {
          "type": "string",
          "minLength": 1
        },
        "date": {
          "type": "string",
          "minLength": 1
        },
        "author": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "mitigation": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "date"
            ],
            "properties": {
              "action": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  },
                  "text": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "coding",
                  "text"
                ]
              },
              "date": {
                "type": "string",
                "minLength": 1
              },
              "author": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference",
                  "display"
                ]
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "category",
        "severity",
        "implicated",
        "detail",
        "date",
        "author",
        "mitigation"
      ]
    },
    "Device": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "fhir_comments",
            "status",
            "div"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "type": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            },
            "text": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "coding",
            "text"
          ]
        },
        "note": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "time",
              "text"
            ],
            "properties": {
              "authorReference": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference"
                ]
              },
              "time": {
                "type": "string",
                "minLength": 1
              },
              "text": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "manufacturer": {
          "type": "string",
          "minLength": 1
        },
        "model": {
          "type": "string",
          "minLength": 1
        },
        "lotNumber": {
          "type": "string",
          "minLength": 1
        },
        "contact": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "identifier",
        "type",
        "note",
        "status",
        "manufacturer",
        "model",
        "lotNumber",
        "contact"
      ]
    },
    "DeviceComponent": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "_id": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "fhir_comments"
          ]
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "contained": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "resourceType",
              "id",
              "manufacturer",
              "model"
            ],
            "properties": {
              "resourceType": {
                "type": "string",
                "minLength": 1
              },
              "id": {
                "type": "string",
                "minLength": 1
              },
              "identifier": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "value"
                  ],
                  "properties": {
                    "type": {
                      "type": "object",
                      "properties": {
                        "text": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "text"
                      ]
                    },
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "value": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              },
              "type": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "coding"
                ]
              },
              "manufacturer": {
                "type": "string",
                "minLength": 1
              },
              "model": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "type": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "identifier": {
          "type": "object",
          "properties": {
            "type": {
              "type": "object",
              "properties": {
                "text": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "text"
              ]
            },
            "value": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "type",
            "value"
          ]
        },
        "lastSystemChange": {
          "type": "string",
          "minLength": 1
        },
        "source": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "operationalStatus": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "coding": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "code",
                    "display"
                  ],
                  "properties": {
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "code": {
                      "type": "string",
                      "minLength": 1
                    },
                    "display": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "languageCode": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "_id",
        "text",
        "contained",
        "type",
        "identifier",
        "lastSystemChange",
        "source",
        "operationalStatus",
        "languageCode"
      ]
    },
    "DeviceMetric": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "type": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "identifier": {
          "type": "object",
          "properties": {
            "system": {
              "type": "string",
              "minLength": 1
            },
            "value": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "system",
            "value"
          ]
        },
        "unit": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "category": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "type",
        "identifier",
        "unit",
        "category"
      ]
    },
    "DeviceUseRequest": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "device": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "fhir_comments",
            "reference"
          ]
        },
        "subject": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "device",
        "subject"
      ]
    },
    "DeviceUseStatement": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "device": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "fhir_comments",
            "reference"
          ]
        },
        "subject": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "device",
        "subject"
      ]
    },
    "DiagnosticOrder": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "contained": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "resourceType",
              "id",
              "status"
            ],
            "properties": {
              "resourceType": {
                "type": "string",
                "minLength": 1
              },
              "id": {
                "type": "string",
                "minLength": 1
              },
              "status": {
                "type": "string",
                "minLength": 1
              },
              "_status": {
                "type": "object",
                "properties": {
                  "fhir_comments": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  }
                },
                "required": [
                  "fhir_comments"
                ]
              },
              "code": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "coding"
                ]
              },
              "subject": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference"
                ]
              },
              "valueCodeableConcept": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "coding"
                ]
              }
            }
          }
        },
        "subject": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "orderer": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "type": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  },
                  "text": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "coding",
                  "text"
                ]
              },
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "encounter": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "reason": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "coding": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "code",
                    "display"
                  ],
                  "properties": {
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "code": {
                      "type": "string",
                      "minLength": 1
                    },
                    "display": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "supportingInformation": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "reference"
            ],
            "properties": {
              "reference": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "event": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "status",
              "dateTime"
            ],
            "properties": {
              "status": {
                "type": "string",
                "minLength": 1
              },
              "dateTime": {
                "type": "string",
                "minLength": 1
              },
              "actor": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference"
                ]
              }
            }
          }
        },
        "item": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "code": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  },
                  "text": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "coding",
                  "text"
                ]
              },
              "specimen": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "reference"
                  ],
                  "properties": {
                    "reference": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "note": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "text"
            ],
            "properties": {
              "text": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "contained",
        "subject",
        "orderer",
        "identifier",
        "encounter",
        "reason",
        "supportingInformation",
        "status",
        "event",
        "item",
        "note"
      ]
    },
    "DiagnosticReport": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "contained": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "resourceType",
              "id",
              "status"
            ],
            "properties": {
              "resourceType": {
                "type": "string",
                "minLength": 1
              },
              "id": {
                "type": "string",
                "minLength": 1
              },
              "_id": {
                "type": "object",
                "properties": {
                  "fhir_comments": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  }
                },
                "required": [
                  "fhir_comments"
                ]
              },
              "status": {
                "type": "string",
                "minLength": 1
              },
              "code": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  },
                  "text": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "coding",
                  "text"
                ]
              },
              "subject": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference"
                ]
              },
              "performer": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "reference",
                    "display"
                  ],
                  "properties": {
                    "reference": {
                      "type": "string",
                      "minLength": 1
                    },
                    "display": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              },
              "valueQuantity": {
                "type": "object",
                "properties": {
                  "value": {
                    "type": "number"
                  },
                  "unit": {
                    "type": "string",
                    "minLength": 1
                  },
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "value",
                  "unit",
                  "system",
                  "code"
                ]
              },
              "referenceRange": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [],
                  "properties": {
                    "low": {
                      "type": "object",
                      "properties": {
                        "value": {
                          "type": "number"
                        },
                        "unit": {
                          "type": "string",
                          "minLength": 1
                        },
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "value",
                        "unit",
                        "system",
                        "code"
                      ]
                    },
                    "high": {
                      "type": "object",
                      "properties": {
                        "value": {
                          "type": "number"
                        },
                        "unit": {
                          "type": "string",
                          "minLength": 1
                        },
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "value",
                        "unit",
                        "system",
                        "code"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "category": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "code": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            },
            "text": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "fhir_comments",
            "coding",
            "text"
          ]
        },
        "subject": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "encounter": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "effectiveDateTime": {
          "type": "string",
          "minLength": 1
        },
        "issued": {
          "type": "string",
          "minLength": 1
        },
        "_issued": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "fhir_comments"
          ]
        },
        "performer": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference",
            "display"
          ]
        },
        "result": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "reference"
            ],
            "properties": {
              "fhir_comments": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "reference": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "presentedForm": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "contentType",
              "language",
              "data",
              "title"
            ],
            "properties": {
              "fhir_comments": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "contentType": {
                "type": "string",
                "minLength": 1
              },
              "language": {
                "type": "string",
                "minLength": 1
              },
              "data": {
                "type": "string",
                "minLength": 1
              },
              "title": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "contained",
        "identifier",
        "status",
        "category",
        "code",
        "subject",
        "encounter",
        "effectiveDateTime",
        "issued",
        "_issued",
        "performer",
        "result",
        "presentedForm"
      ]
    },
    "DocumentManifest": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "contained": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "resourceType",
              "id"
            ],
            "properties": {
              "resourceType": {
                "type": "string",
                "minLength": 1
              },
              "id": {
                "type": "string",
                "minLength": 1
              },
              "name": {
                "type": "object",
                "properties": {
                  "family": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  },
                  "given": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  }
                },
                "required": [
                  "family",
                  "given"
                ]
              },
              "telecom": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "value"
                  ],
                  "properties": {
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "value": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              },
              "practitionerRole": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [],
                  "properties": {
                    "managingOrganization": {
                      "type": "object",
                      "properties": {
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "display"
                      ]
                    },
                    "role": {
                      "type": "object",
                      "properties": {
                        "text": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "text"
                      ]
                    },
                    "specialty": {
                      "type": "array",
                      "uniqueItems": true,
                      "minItems": 1,
                      "items": {
                        "required": [
                          "text"
                        ],
                        "properties": {
                          "text": {
                            "type": "string",
                            "minLength": 1
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "masterIdentifier": {
          "type": "object",
          "properties": {
            "system": {
              "type": "string",
              "minLength": 1
            },
            "value": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "system",
            "value"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "subject": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "recipient": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "reference"
            ],
            "properties": {
              "reference": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "type": {
          "type": "object",
          "properties": {
            "text": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "text"
          ]
        },
        "author": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "reference"
            ],
            "properties": {
              "reference": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "created": {
          "type": "string",
          "minLength": 1
        },
        "source": {
          "type": "string",
          "minLength": 1
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "description": {
          "type": "string",
          "minLength": 1
        },
        "content": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "pReference": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference"
                ]
              }
            }
          }
        },
        "related": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "identifier": {
                "type": "object",
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "value": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "system",
                  "value"
                ]
              },
              "ref": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference"
                ]
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "contained",
        "masterIdentifier",
        "identifier",
        "subject",
        "recipient",
        "type",
        "author",
        "created",
        "source",
        "status",
        "description",
        "content",
        "related"
      ]
    },
    "DocumentReference": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "fhir_comments",
            "status",
            "div"
          ]
        },
        "contained": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "resourceType",
              "id"
            ],
            "properties": {
              "resourceType": {
                "type": "string",
                "minLength": 1
              },
              "id": {
                "type": "string",
                "minLength": 1
              },
              "name": {
                "type": "object",
                "properties": {
                  "family": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  },
                  "given": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  }
                },
                "required": [
                  "family",
                  "given"
                ]
              },
              "practitionerRole": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [],
                  "properties": {
                    "managingOrganization": {
                      "type": "object",
                      "properties": {
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "display"
                      ]
                    },
                    "role": {
                      "type": "object",
                      "properties": {
                        "text": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "text"
                      ]
                    },
                    "specialty": {
                      "type": "array",
                      "uniqueItems": true,
                      "minItems": 1,
                      "items": {
                        "required": [
                          "text"
                        ],
                        "properties": {
                          "text": {
                            "type": "string",
                            "minLength": 1
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "masterIdentifier": {
          "type": "object",
          "properties": {
            "system": {
              "type": "string",
              "minLength": 1
            },
            "value": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "system",
            "value"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "subject": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "type": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "class": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "author": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "reference"
            ],
            "properties": {
              "reference": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "custodian": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "authenticator": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "created": {
          "type": "string",
          "minLength": 1
        },
        "indexed": {
          "type": "string",
          "minLength": 1
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "docStatus": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "relatesTo": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "code"
            ],
            "properties": {
              "code": {
                "type": "string",
                "minLength": 1
              },
              "target": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference"
                ]
              }
            }
          }
        },
        "description": {
          "type": "string",
          "minLength": 1
        },
        "securityLabel": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "coding": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "code",
                    "display"
                  ],
                  "properties": {
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "code": {
                      "type": "string",
                      "minLength": 1
                    },
                    "display": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "content": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "attachment": {
                "type": "object",
                "properties": {
                  "contentType": {
                    "type": "string",
                    "minLength": 1
                  },
                  "language": {
                    "type": "string",
                    "minLength": 1
                  },
                  "url": {
                    "type": "string",
                    "minLength": 1
                  },
                  "size": {
                    "type": "number"
                  },
                  "hash": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "contentType",
                  "language",
                  "url",
                  "size",
                  "hash"
                ]
              },
              "format": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "code",
                    "display"
                  ],
                  "properties": {
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "code": {
                      "type": "string",
                      "minLength": 1
                    },
                    "display": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "context": {
          "type": "object",
          "properties": {
            "encounter": {
              "type": "object",
              "properties": {
                "reference": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "reference"
              ]
            },
            "event": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [],
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                }
              }
            },
            "period": {
              "type": "object",
              "properties": {
                "start": {
                  "type": "string",
                  "minLength": 1
                },
                "end": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "start",
                "end"
              ]
            },
            "facilityType": {
              "type": "object",
              "properties": {
                "coding": {
                  "type": "array",
                  "uniqueItems": true,
                  "minItems": 1,
                  "items": {
                    "required": [
                      "system",
                      "code",
                      "display"
                    ],
                    "properties": {
                      "system": {
                        "type": "string",
                        "minLength": 1
                      },
                      "code": {
                        "type": "string",
                        "minLength": 1
                      },
                      "display": {
                        "type": "string",
                        "minLength": 1
                      }
                    }
                  }
                }
              },
              "required": [
                "coding"
              ]
            },
            "practiceSetting": {
              "type": "object",
              "properties": {
                "coding": {
                  "type": "array",
                  "uniqueItems": true,
                  "minItems": 1,
                  "items": {
                    "required": [
                      "system",
                      "code",
                      "display"
                    ],
                    "properties": {
                      "system": {
                        "type": "string",
                        "minLength": 1
                      },
                      "code": {
                        "type": "string",
                        "minLength": 1
                      },
                      "display": {
                        "type": "string",
                        "minLength": 1
                      }
                    }
                  }
                }
              },
              "required": [
                "coding"
              ]
            },
            "sourcePatientInfo": {
              "type": "object",
              "properties": {
                "reference": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "reference"
              ]
            },
            "related": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [],
                "properties": {
                  "identifier": {
                    "type": "object",
                    "properties": {
                      "system": {
                        "type": "string",
                        "minLength": 1
                      },
                      "value": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "system",
                      "value"
                    ]
                  },
                  "ref": {
                    "type": "object",
                    "properties": {
                      "reference": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "reference"
                    ]
                  }
                }
              }
            }
          },
          "required": [
            "encounter",
            "event",
            "period",
            "facilityType",
            "practiceSetting",
            "sourcePatientInfo",
            "related"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "contained",
        "masterIdentifier",
        "identifier",
        "subject",
        "type",
        "class",
        "author",
        "custodian",
        "authenticator",
        "created",
        "indexed",
        "status",
        "docStatus",
        "relatesTo",
        "description",
        "securityLabel",
        "content",
        "context"
      ]
    },
    "EligibilityRequest": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "created": {
          "type": "string",
          "minLength": 1
        },
        "organization": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "identifier",
        "created",
        "organization"
      ]
    },
    "EligibilityResponse": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "request": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "outcome": {
          "type": "string",
          "minLength": 1
        },
        "disposition": {
          "type": "string",
          "minLength": 1
        },
        "created": {
          "type": "string",
          "minLength": 1
        },
        "organization": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "requestOrganization": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "identifier",
        "request",
        "outcome",
        "disposition",
        "created",
        "organization",
        "requestOrganization"
      ]
    },
    "Encounter": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "class": {
          "type": "string",
          "minLength": 1
        },
        "patient": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "status",
        "class",
        "patient"
      ]
    },
    "EnrollmentRequest": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "created": {
          "type": "string",
          "minLength": 1
        },
        "organization": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "subject": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "coverage": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "relationship": {
          "type": "object",
          "properties": {
            "code": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "code"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "identifier",
        "created",
        "organization",
        "subject",
        "coverage",
        "relationship"
      ]
    },
    "EnrollmentResponse": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "request": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "outcome": {
          "type": "string",
          "minLength": 1
        },
        "disposition": {
          "type": "string",
          "minLength": 1
        },
        "created": {
          "type": "string",
          "minLength": 1
        },
        "organization": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "requestOrganization": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "identifier",
        "request",
        "outcome",
        "disposition",
        "created",
        "organization",
        "requestOrganization"
      ]
    },
    "EpisodeOfCare": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "statusHistory": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "status"
            ],
            "properties": {
              "status": {
                "type": "string",
                "minLength": 1
              },
              "period": {
                "type": "object",
                "properties": {
                  "start": {
                    "type": "string",
                    "minLength": 1
                  },
                  "end": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "start",
                  "end"
                ]
              }
            }
          }
        },
        "type": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "coding": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "code",
                    "display"
                  ],
                  "properties": {
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "code": {
                      "type": "string",
                      "minLength": 1
                    },
                    "display": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "condition": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "reference",
              "display"
            ],
            "properties": {
              "reference": {
                "type": "string",
                "minLength": 1
              },
              "display": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "patient": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "managingOrganization": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "period": {
          "type": "object",
          "properties": {
            "start": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "start"
          ]
        },
        "referralRequest": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "display"
            ],
            "properties": {
              "display": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "careManager": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference",
            "display"
          ]
        },
        "careTeam": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "role": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [],
                  "properties": {
                    "coding": {
                      "type": "array",
                      "uniqueItems": true,
                      "minItems": 1,
                      "items": {
                        "required": [
                          "system",
                          "code",
                          "display"
                        ],
                        "properties": {
                          "system": {
                            "type": "string",
                            "minLength": 1
                          },
                          "code": {
                            "type": "string",
                            "minLength": 1
                          },
                          "display": {
                            "type": "string",
                            "minLength": 1
                          }
                        }
                      }
                    }
                  }
                }
              },
              "period": {
                "type": "object",
                "properties": {
                  "start": {
                    "type": "string",
                    "minLength": 1
                  },
                  "end": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "start",
                  "end"
                ]
              },
              "member": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference",
                  "display"
                ]
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "identifier",
        "status",
        "statusHistory",
        "type",
        "condition",
        "patient",
        "managingOrganization",
        "period",
        "referralRequest",
        "careManager",
        "careTeam"
      ]
    },
    "ExplanationOfBenefit": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "request": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "outcome": {
          "type": "string",
          "minLength": 1
        },
        "disposition": {
          "type": "string",
          "minLength": 1
        },
        "created": {
          "type": "string",
          "minLength": 1
        },
        "organization": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "requestOrganization": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "identifier",
        "request",
        "outcome",
        "disposition",
        "created",
        "organization",
        "requestOrganization"
      ]
    },
    "FamilyMemberHistory": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "patient": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference",
            "display"
          ]
        },
        "date": {
          "type": "string",
          "minLength": 1
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "relationship": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "condition": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "code": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  },
                  "text": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "coding",
                  "text"
                ]
              },
              "onsetQuantity": {
                "type": "object",
                "properties": {
                  "value": {
                    "type": "number"
                  },
                  "unit": {
                    "type": "string",
                    "minLength": 1
                  },
                  "system": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "value",
                  "unit",
                  "system"
                ]
              },
              "note": {
                "type": "object",
                "properties": {
                  "text": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "text"
                ]
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "patient",
        "date",
        "status",
        "relationship",
        "condition"
      ]
    },
    "Flag": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "category": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            },
            "text": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "coding",
            "text"
          ]
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "subject": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference",
            "display"
          ]
        },
        "author": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference",
            "display"
          ]
        },
        "code": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            },
            "text": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "coding",
            "text"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "category",
        "status",
        "subject",
        "author",
        "code"
      ]
    },
    "Goal": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "extension": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "url"
            ],
            "properties": {
              "extension": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "url"
                  ],
                  "properties": {
                    "url": {
                      "type": "string",
                      "minLength": 1
                    },
                    "valueCodeableConcept": {
                      "type": "object",
                      "properties": {
                        "coding": {
                          "type": "array",
                          "uniqueItems": true,
                          "minItems": 1,
                          "items": {
                            "required": [
                              "system",
                              "code",
                              "display"
                            ],
                            "properties": {
                              "system": {
                                "type": "string",
                                "minLength": 1
                              },
                              "code": {
                                "type": "string",
                                "minLength": 1
                              },
                              "display": {
                                "type": "string",
                                "minLength": 1
                              }
                            }
                          }
                        }
                      },
                      "required": [
                        "coding"
                      ]
                    }
                  }
                }
              },
              "url": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "subject": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference",
            "display"
          ]
        },
        "description": {
          "type": "string",
          "minLength": 1
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "addresses": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "reference",
              "display"
            ],
            "properties": {
              "reference": {
                "type": "string",
                "minLength": 1
              },
              "display": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "extension",
        "subject",
        "description",
        "status",
        "addresses"
      ]
    },
    "Group": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "type": {
          "type": "string",
          "minLength": 1
        },
        "actual": {
          "type": "boolean"
        },
        "code": {
          "type": "object",
          "properties": {
            "text": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "text"
          ]
        },
        "name": {
          "type": "string",
          "minLength": 1
        },
        "quantity": {
          "type": "number"
        },
        "characteristic": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "exclude"
            ],
            "properties": {
              "code": {
                "type": "object",
                "properties": {
                  "text": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "text"
                ]
              },
              "valueCodeableConcept": {
                "type": "object",
                "properties": {
                  "text": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "text"
                ]
              },
              "exclude": {
                "type": "boolean"
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "type",
        "actual",
        "code",
        "name",
        "quantity",
        "characteristic"
      ]
    },
    "HealthcareService": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "contained": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "resourceType",
              "id",
              "description",
              "mode"
            ],
            "properties": {
              "resourceType": {
                "type": "string",
                "minLength": 1
              },
              "id": {
                "type": "string",
                "minLength": 1
              },
              "description": {
                "type": "string",
                "minLength": 1
              },
              "mode": {
                "type": "string",
                "minLength": 1
              },
              "physicalType": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "code",
                        "display"
                      ],
                      "properties": {
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "coding"
                ]
              }
            }
          }
        },
        "serviceType": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "type": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "coding"
                ]
              },
              "specialty": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [],
                  "properties": {
                    "coding": {
                      "type": "array",
                      "uniqueItems": true,
                      "minItems": 1,
                      "items": {
                        "required": [
                          "system",
                          "code",
                          "display"
                        ],
                        "properties": {
                          "system": {
                            "type": "string",
                            "minLength": 1
                          },
                          "code": {
                            "type": "string",
                            "minLength": 1
                          },
                          "display": {
                            "type": "string",
                            "minLength": 1
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "location": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "serviceName": {
          "type": "string",
          "minLength": 1
        },
        "comment": {
          "type": "string",
          "minLength": 1
        },
        "extraDetails": {
          "type": "string",
          "minLength": 1
        },
        "telecom": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value",
              "use"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              },
              "use": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "coverageArea": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "reference",
              "display"
            ],
            "properties": {
              "reference": {
                "type": "string",
                "minLength": 1
              },
              "display": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "eligibility": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "display"
                ],
                "properties": {
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "eligibilityNote": {
          "type": "string",
          "minLength": 1
        },
        "programName": {
          "type": "array",
          "items": {
            "required": [],
            "properties": {}
          }
        },
        "characteristic": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "coding": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "display"
                  ],
                  "properties": {
                    "display": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "referralMethod": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "coding": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "code",
                    "display"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "minLength": 1
                    },
                    "display": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "publicKey": {
          "type": "string",
          "minLength": 1
        },
        "appointmentRequired": {
          "type": "boolean"
        },
        "availableTime": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "availableStartTime",
              "availableEndTime"
            ],
            "properties": {
              "daysOfWeek": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "availableStartTime": {
                "type": "string",
                "minLength": 1
              },
              "availableEndTime": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "notAvailable": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "description"
            ],
            "properties": {
              "description": {
                "type": "string",
                "minLength": 1
              },
              "during": {
                "type": "object",
                "properties": {
                  "start": {
                    "type": "string",
                    "minLength": 1
                  },
                  "end": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "start",
                  "end"
                ]
              }
            }
          }
        },
        "availabilityExceptions": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "contained",
        "serviceType",
        "location",
        "serviceName",
        "comment",
        "extraDetails",
        "telecom",
        "coverageArea",
        "eligibility",
        "eligibilityNote",
        "programName",
        "characteristic",
        "referralMethod",
        "publicKey",
        "appointmentRequired",
        "availableTime",
        "notAvailable",
        "availabilityExceptions"
      ]
    },
    "ImagingObjectSelection": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "uid": {
          "type": "string",
          "minLength": 1
        },
        "patient": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "title": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            },
            "text": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "coding",
            "text"
          ]
        },
        "description": {
          "type": "string",
          "minLength": 1
        },
        "authoringTime": {
          "type": "string",
          "minLength": 1
        },
        "study": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "uid"
            ],
            "properties": {
              "uid": {
                "type": "string",
                "minLength": 1
              },
              "series": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "uid"
                  ],
                  "properties": {
                    "uid": {
                      "type": "string",
                      "minLength": 1
                    },
                    "instance": {
                      "type": "array",
                      "uniqueItems": true,
                      "minItems": 1,
                      "items": {
                        "required": [
                          "sopClass",
                          "uid",
                          "url"
                        ],
                        "properties": {
                          "sopClass": {
                            "type": "string",
                            "minLength": 1
                          },
                          "uid": {
                            "type": "string",
                            "minLength": 1
                          },
                          "url": {
                            "type": "string",
                            "minLength": 1
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "uid",
        "patient",
        "title",
        "description",
        "authoringTime",
        "study"
      ]
    },
    "ImagingStudy": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "started": {
          "type": "string",
          "minLength": 1
        },
        "patient": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "uid": {
          "type": "string",
          "minLength": 1
        },
        "numberOfSeries": {
          "type": "number"
        },
        "numberOfInstances": {
          "type": "number"
        },
        "series": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "number",
              "uid",
              "description",
              "numberOfInstances"
            ],
            "properties": {
              "number": {
                "type": "number"
              },
              "modality": {
                "type": "object",
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "system",
                  "code"
                ]
              },
              "uid": {
                "type": "string",
                "minLength": 1
              },
              "description": {
                "type": "string",
                "minLength": 1
              },
              "numberOfInstances": {
                "type": "number"
              },
              "bodySite": {
                "type": "object",
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "_system": {
                    "type": "object",
                    "properties": {
                      "fhir_comments": {
                        "type": "array",
                        "items": {
                          "required": [],
                          "properties": {}
                        }
                      }
                    },
                    "required": [
                      "fhir_comments"
                    ]
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "system",
                  "_system",
                  "code",
                  "display"
                ]
              },
              "instance": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "number",
                    "uid",
                    "sopClass"
                  ],
                  "properties": {
                    "number": {
                      "type": "number"
                    },
                    "uid": {
                      "type": "string",
                      "minLength": 1
                    },
                    "sopClass": {
                      "type": "string",
                      "minLength": 1
                    },
                    "content": {
                      "type": "array",
                      "uniqueItems": true,
                      "minItems": 1,
                      "items": {
                        "required": [
                          "url"
                        ],
                        "properties": {
                          "url": {
                            "type": "string",
                            "minLength": 1
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "started",
        "patient",
        "uid",
        "numberOfSeries",
        "numberOfInstances",
        "series"
      ]
    },
    "Immunization": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "date": {
          "type": "string",
          "minLength": 1
        },
        "vaccineCode": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            },
            "text": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "coding",
            "text"
          ]
        },
        "patient": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "wasNotGiven": {
          "type": "boolean"
        },
        "reported": {
          "type": "boolean"
        },
        "performer": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "requester": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "encounter": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "manufacturer": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "location": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "lotNumber": {
          "type": "string",
          "minLength": 1
        },
        "expirationDate": {
          "type": "string",
          "minLength": 1
        },
        "site": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "route": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "doseQuantity": {
          "type": "object",
          "properties": {
            "value": {
              "type": "number"
            },
            "system": {
              "type": "string",
              "minLength": 1
            },
            "code": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "value",
            "system",
            "code"
          ]
        },
        "note": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "text"
            ],
            "properties": {
              "text": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "explanation": {
          "type": "object",
          "properties": {
            "reason": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [],
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "required": [
            "reason"
          ]
        },
        "reaction": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "date",
              "reported"
            ],
            "properties": {
              "date": {
                "type": "string",
                "minLength": 1
              },
              "detail": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference"
                ]
              },
              "reported": {
                "type": "boolean"
              }
            }
          }
        },
        "vaccinationProtocol": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "doseSequence",
              "description",
              "series",
              "seriesDoses"
            ],
            "properties": {
              "doseSequence": {
                "type": "number"
              },
              "description": {
                "type": "string",
                "minLength": 1
              },
              "authority": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference"
                ]
              },
              "series": {
                "type": "string",
                "minLength": 1
              },
              "seriesDoses": {
                "type": "number"
              },
              "targetDisease": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [],
                  "properties": {
                    "coding": {
                      "type": "array",
                      "uniqueItems": true,
                      "minItems": 1,
                      "items": {
                        "required": [
                          "system",
                          "code"
                        ],
                        "properties": {
                          "system": {
                            "type": "string",
                            "minLength": 1
                          },
                          "code": {
                            "type": "string",
                            "minLength": 1
                          }
                        }
                      }
                    }
                  }
                }
              },
              "doseStatus": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "coding"
                ]
              },
              "doseStatusReason": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "coding"
                ]
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "identifier",
        "status",
        "date",
        "vaccineCode",
        "patient",
        "wasNotGiven",
        "reported",
        "performer",
        "requester",
        "encounter",
        "manufacturer",
        "location",
        "lotNumber",
        "expirationDate",
        "site",
        "route",
        "doseQuantity",
        "note",
        "explanation",
        "reaction",
        "vaccinationProtocol"
      ]
    },
    "ImmunizationRecommendation": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "patient": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "recommendation": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "date",
              "doseNumber"
            ],
            "properties": {
              "date": {
                "type": "string",
                "minLength": 1
              },
              "vaccineCode": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "coding"
                ]
              },
              "doseNumber": {
                "type": "number"
              },
              "forecastStatus": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "coding"
                ]
              },
              "dateCriterion": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "value"
                  ],
                  "properties": {
                    "code": {
                      "type": "object",
                      "properties": {
                        "coding": {
                          "type": "array",
                          "uniqueItems": true,
                          "minItems": 1,
                          "items": {
                            "required": [
                              "system",
                              "code",
                              "display"
                            ],
                            "properties": {
                              "system": {
                                "type": "string",
                                "minLength": 1
                              },
                              "code": {
                                "type": "string",
                                "minLength": 1
                              },
                              "display": {
                                "type": "string",
                                "minLength": 1
                              }
                            }
                          }
                        }
                      },
                      "required": [
                        "coding"
                      ]
                    },
                    "value": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              },
              "protocol": {
                "type": "object",
                "properties": {
                  "doseSequence": {
                    "type": "number"
                  },
                  "description": {
                    "type": "string",
                    "minLength": 1
                  },
                  "authority": {
                    "type": "object",
                    "properties": {
                      "reference": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "reference"
                    ]
                  },
                  "series": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "doseSequence",
                  "description",
                  "authority",
                  "series"
                ]
              },
              "supportingImmunization": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "reference"
                  ],
                  "properties": {
                    "reference": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              },
              "supportingPatientInformation": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "reference"
                  ],
                  "properties": {
                    "reference": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "identifier",
        "patient",
        "recommendation"
      ]
    },
    "ImplementationGuide": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "url": {
          "type": "string",
          "minLength": 1
        },
        "version": {
          "type": "string",
          "minLength": 1
        },
        "name": {
          "type": "string",
          "minLength": 1
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "experimental": {
          "type": "boolean"
        },
        "publisher": {
          "type": "string",
          "minLength": 1
        },
        "contact": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1
              },
              "telecom": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "value"
                  ],
                  "properties": {
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "value": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "date": {
          "type": "string",
          "minLength": 1
        },
        "description": {
          "type": "string",
          "minLength": 1
        },
        "useContext": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "coding": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "code"
                  ],
                  "properties": {
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "code": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "copyright": {
          "type": "string",
          "minLength": 1
        },
        "fhirVersion": {
          "type": "string",
          "minLength": 1
        },
        "dependency": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "type",
              "uri"
            ],
            "properties": {
              "type": {
                "type": "string",
                "minLength": 1
              },
              "uri": {
                "type": "string",
                "minLength": 1
              },
              "_uri": {
                "type": "object",
                "properties": {
                  "fhir_comments": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  }
                },
                "required": [
                  "fhir_comments"
                ]
              }
            }
          }
        },
        "package": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "name",
              "description"
            ],
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1
              },
              "description": {
                "type": "string",
                "minLength": 1
              },
              "resource": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "purpose",
                    "name",
                    "description",
                    "acronym",
                    "sourceUri"
                  ],
                  "properties": {
                    "purpose": {
                      "type": "string",
                      "minLength": 1
                    },
                    "name": {
                      "type": "string",
                      "minLength": 1
                    },
                    "description": {
                      "type": "string",
                      "minLength": 1
                    },
                    "acronym": {
                      "type": "string",
                      "minLength": 1
                    },
                    "_acronym": {
                      "type": "object",
                      "properties": {
                        "fhir_comments": {
                          "type": "array",
                          "items": {
                            "required": [],
                            "properties": {}
                          }
                        }
                      },
                      "required": [
                        "fhir_comments"
                      ]
                    },
                    "sourceUri": {
                      "type": "string",
                      "minLength": 1
                    },
                    "exampleFor": {
                      "type": "object",
                      "properties": {
                        "reference": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "reference"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "global": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "type"
            ],
            "properties": {
              "type": {
                "type": "string",
                "minLength": 1
              },
              "_type": {
                "type": "object",
                "properties": {
                  "fhir_comments": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  }
                },
                "required": [
                  "fhir_comments"
                ]
              },
              "profile": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference"
                ]
              }
            }
          }
        },
        "binary": {
          "type": "array",
          "items": {
            "required": [],
            "properties": {}
          }
        },
        "page": {
          "type": "object",
          "properties": {
            "source": {
              "type": "string",
              "minLength": 1
            },
            "name": {
              "type": "string",
              "minLength": 1
            },
            "kind": {
              "type": "string",
              "minLength": 1
            },
            "page": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "source",
                  "name",
                  "kind",
                  "format"
                ],
                "properties": {
                  "source": {
                    "type": "string",
                    "minLength": 1
                  },
                  "name": {
                    "type": "string",
                    "minLength": 1
                  },
                  "kind": {
                    "type": "string",
                    "minLength": 1
                  },
                  "type": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  },
                  "package": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  },
                  "format": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "source",
            "name",
            "kind",
            "page"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "url",
        "version",
        "name",
        "status",
        "experimental",
        "publisher",
        "contact",
        "date",
        "description",
        "useContext",
        "copyright",
        "fhirVersion",
        "dependency",
        "package",
        "global",
        "binary",
        "page"
      ]
    },
    "List": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "subject": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "fhir_comments",
            "reference"
          ]
        },
        "source": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "encounter": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "date": {
          "type": "string",
          "minLength": 1
        },
        "mode": {
          "type": "string",
          "minLength": 1
        },
        "entry": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "deleted"
            ],
            "properties": {
              "flag": {
                "type": "object",
                "properties": {
                  "text": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "text"
                ]
              },
              "deleted": {
                "type": "boolean"
              },
              "item": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference"
                ]
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "identifier",
        "subject",
        "source",
        "encounter",
        "status",
        "date",
        "mode",
        "entry"
      ]
    },
    "Location": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "extension": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "url",
              "valueString"
            ],
            "properties": {
              "url": {
                "type": "string",
                "minLength": 1
              },
              "valueString": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "value"
            ],
            "properties": {
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "name": {
          "type": "string",
          "minLength": 1
        },
        "description": {
          "type": "string",
          "minLength": 1
        },
        "mode": {
          "type": "string",
          "minLength": 1
        },
        "telecom": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value",
              "use"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              },
              "use": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "address": {
          "type": "object",
          "properties": {
            "use": {
              "type": "string",
              "minLength": 1
            },
            "line": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "city": {
              "type": "string",
              "minLength": 1
            },
            "postalCode": {
              "type": "string",
              "minLength": 1
            },
            "country": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "use",
            "line",
            "city",
            "postalCode",
            "country"
          ]
        },
        "physicalType": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "position": {
          "type": "object",
          "properties": {
            "longitude": {
              "type": "number"
            },
            "latitude": {
              "type": "number"
            },
            "altitude": {
              "type": "number"
            }
          },
          "required": [
            "longitude",
            "latitude",
            "altitude"
          ]
        },
        "managingOrganization": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "extension",
        "identifier",
        "status",
        "name",
        "description",
        "mode",
        "telecom",
        "address",
        "physicalType",
        "position",
        "managingOrganization"
      ]
    },
    "Media": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "type": {
          "type": "string",
          "minLength": 1
        },
        "subtype": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "subject": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "operator": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "deviceName": {
          "type": "string",
          "minLength": 1
        },
        "height": {
          "type": "number"
        },
        "width": {
          "type": "number"
        },
        "frames": {
          "type": "number"
        },
        "_frames": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "fhir_comments"
          ]
        },
        "content": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            },
            "contentType": {
              "type": "string",
              "minLength": 1
            },
            "data": {
              "type": "string",
              "minLength": 1
            },
            "creation": {
              "type": "string",
              "minLength": 1
            },
            "_creation": {
              "type": "object",
              "properties": {
                "fhir_comments": {
                  "type": "array",
                  "items": {
                    "required": [],
                    "properties": {}
                  }
                }
              },
              "required": [
                "fhir_comments"
              ]
            }
          },
          "required": [
            "id",
            "contentType",
            "data",
            "creation",
            "_creation"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "type",
        "subtype",
        "subject",
        "operator",
        "deviceName",
        "height",
        "width",
        "frames",
        "_frames",
        "content"
      ]
    },
    "Medication": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "code": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  },
                  "_display": {
                    "type": "object",
                    "properties": {
                      "fhir_comments": {
                        "type": "array",
                        "items": {
                          "required": [],
                          "properties": {}
                        }
                      }
                    },
                    "required": [
                      "fhir_comments"
                    ]
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "isBrand": {
          "type": "boolean"
        },
        "package": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "container": {
              "type": "object",
              "properties": {
                "coding": {
                  "type": "array",
                  "uniqueItems": true,
                  "minItems": 1,
                  "items": {
                    "required": [
                      "system",
                      "code",
                      "display"
                    ],
                    "properties": {
                      "system": {
                        "type": "string",
                        "minLength": 1
                      },
                      "code": {
                        "type": "string",
                        "minLength": 1
                      },
                      "display": {
                        "type": "string",
                        "minLength": 1
                      }
                    }
                  }
                }
              },
              "required": [
                "coding"
              ]
            }
          },
          "required": [
            "fhir_comments",
            "container"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "code",
        "isBrand",
        "package"
      ]
    },
    "MedicationAdministration": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "patient": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "practitioner": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "prescription": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "effectiveTimePeriod": {
          "type": "object",
          "properties": {
            "start": {
              "type": "string",
              "minLength": 1
            },
            "end": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "start",
            "end"
          ]
        },
        "medicationReference": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "dosage": {
          "type": "object",
          "properties": {
            "route": {
              "type": "object",
              "properties": {
                "coding": {
                  "type": "array",
                  "uniqueItems": true,
                  "minItems": 1,
                  "items": {
                    "required": [
                      "system",
                      "code",
                      "display"
                    ],
                    "properties": {
                      "system": {
                        "type": "string",
                        "minLength": 1
                      },
                      "code": {
                        "type": "string",
                        "minLength": 1
                      },
                      "display": {
                        "type": "string",
                        "minLength": 1
                      }
                    }
                  }
                }
              },
              "required": [
                "coding"
              ]
            },
            "quantity": {
              "type": "object",
              "properties": {
                "value": {
                  "type": "number"
                },
                "system": {
                  "type": "string",
                  "minLength": 1
                },
                "code": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "value",
                "system",
                "code"
              ]
            }
          },
          "required": [
            "route",
            "quantity"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "status",
        "patient",
        "practitioner",
        "prescription",
        "effectiveTimePeriod",
        "medicationReference",
        "dosage"
      ]
    },
    "MedicationDispense": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "patient": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "dispenser": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "authorizingPrescription": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "reference"
            ],
            "properties": {
              "reference": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "type": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "quantity": {
          "type": "object",
          "properties": {
            "value": {
              "type": "number"
            },
            "unit": {
              "type": "string",
              "minLength": 1
            },
            "system": {
              "type": "string",
              "minLength": 1
            },
            "code": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "value",
            "unit",
            "system",
            "code"
          ]
        },
        "daysSupply": {
          "type": "object",
          "properties": {
            "value": {
              "type": "number"
            },
            "unit": {
              "type": "string",
              "minLength": 1
            },
            "system": {
              "type": "string",
              "minLength": 1
            },
            "code": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "value",
            "unit",
            "system",
            "code"
          ]
        },
        "medicationReference": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference",
            "display"
          ]
        },
        "whenPrepared": {
          "type": "string",
          "minLength": 1
        },
        "whenHandedOver": {
          "type": "string",
          "minLength": 1
        },
        "dosageInstruction": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "additionalInstructions": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "coding"
                ]
              },
              "timing": {
                "type": "object",
                "properties": {
                  "repeat": {
                    "type": "object",
                    "properties": {
                      "frequency": {
                        "type": "number"
                      },
                      "period": {
                        "type": "number"
                      },
                      "periodUnits": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "frequency",
                      "period",
                      "periodUnits"
                    ]
                  }
                },
                "required": [
                  "repeat"
                ]
              },
              "siteCodeableConcept": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "coding"
                ]
              },
              "route": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "coding"
                ]
              },
              "doseQuantity": {
                "type": "object",
                "properties": {
                  "value": {
                    "type": "number"
                  },
                  "unit": {
                    "type": "string",
                    "minLength": 1
                  },
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "value",
                  "unit",
                  "system",
                  "code"
                ]
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "status",
        "patient",
        "dispenser",
        "authorizingPrescription",
        "type",
        "quantity",
        "daysSupply",
        "medicationReference",
        "whenPrepared",
        "whenHandedOver",
        "dosageInstruction"
      ]
    },
    "MedicationOrder": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "use",
              "system",
              "value"
            ],
            "properties": {
              "use": {
                "type": "string",
                "minLength": 1
              },
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "dateWritten": {
          "type": "string",
          "minLength": 1
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "patient": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference",
            "display"
          ]
        },
        "prescriber": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference",
            "display"
          ]
        },
        "encounter": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference",
            "display"
          ]
        },
        "reasonCodeableConcept": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "medicationReference": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference",
            "display"
          ]
        },
        "dosageInstruction": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "text"
            ],
            "properties": {
              "text": {
                "type": "string",
                "minLength": 1
              },
              "additionalInstructions": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "coding"
                ]
              },
              "timing": {
                "type": "object",
                "properties": {
                  "repeat": {
                    "type": "object",
                    "properties": {
                      "frequency": {
                        "type": "number"
                      },
                      "period": {
                        "type": "number"
                      },
                      "periodUnits": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "frequency",
                      "period",
                      "periodUnits"
                    ]
                  }
                },
                "required": [
                  "repeat"
                ]
              },
              "siteCodeableConcept": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "coding"
                ]
              },
              "route": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "coding"
                ]
              },
              "doseQuantity": {
                "type": "object",
                "properties": {
                  "value": {
                    "type": "number"
                  },
                  "unit": {
                    "type": "string",
                    "minLength": 1
                  },
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "value",
                  "unit",
                  "system",
                  "code"
                ]
              }
            }
          }
        },
        "dispenseRequest": {
          "type": "object",
          "properties": {
            "medicationReference": {
              "type": "object",
              "properties": {
                "reference": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "reference"
              ]
            },
            "validityPeriod": {
              "type": "object",
              "properties": {
                "start": {
                  "type": "string",
                  "minLength": 1
                },
                "end": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "start",
                "end"
              ]
            },
            "numberOfRepeatsAllowed": {
              "type": "number"
            },
            "quantity": {
              "type": "object",
              "properties": {
                "value": {
                  "type": "number"
                },
                "unit": {
                  "type": "string",
                  "minLength": 1
                },
                "system": {
                  "type": "string",
                  "minLength": 1
                },
                "code": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "value",
                "unit",
                "system",
                "code"
              ]
            },
            "expectedSupplyDuration": {
              "type": "object",
              "properties": {
                "value": {
                  "type": "number"
                },
                "unit": {
                  "type": "string",
                  "minLength": 1
                },
                "system": {
                  "type": "string",
                  "minLength": 1
                },
                "code": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "value",
                "unit",
                "system",
                "code"
              ]
            }
          },
          "required": [
            "medicationReference",
            "validityPeriod",
            "numberOfRepeatsAllowed",
            "quantity",
            "expectedSupplyDuration"
          ]
        },
        "substitution": {
          "type": "object",
          "properties": {
            "type": {
              "type": "object",
              "properties": {
                "coding": {
                  "type": "array",
                  "uniqueItems": true,
                  "minItems": 1,
                  "items": {
                    "required": [
                      "system",
                      "code",
                      "display"
                    ],
                    "properties": {
                      "system": {
                        "type": "string",
                        "minLength": 1
                      },
                      "code": {
                        "type": "string",
                        "minLength": 1
                      },
                      "display": {
                        "type": "string",
                        "minLength": 1
                      }
                    }
                  }
                }
              },
              "required": [
                "coding"
              ]
            },
            "reason": {
              "type": "object",
              "properties": {
                "coding": {
                  "type": "array",
                  "uniqueItems": true,
                  "minItems": 1,
                  "items": {
                    "required": [
                      "system",
                      "code",
                      "display"
                    ],
                    "properties": {
                      "system": {
                        "type": "string",
                        "minLength": 1
                      },
                      "code": {
                        "type": "string",
                        "minLength": 1
                      },
                      "display": {
                        "type": "string",
                        "minLength": 1
                      }
                    }
                  }
                }
              },
              "required": [
                "coding"
              ]
            }
          },
          "required": [
            "type",
            "reason"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "identifier",
        "dateWritten",
        "status",
        "patient",
        "prescriber",
        "encounter",
        "reasonCodeableConcept",
        "medicationReference",
        "dosageInstruction",
        "dispenseRequest",
        "substitution"
      ]
    },
    "MedicationStatement": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "patient": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "informationSource": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "dateAsserted": {
          "type": "string",
          "minLength": 1
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "wasNotTaken": {
          "type": "boolean"
        },
        "reasonForUseCodeableConcept": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "effectiveDateTime": {
          "type": "string",
          "minLength": 1
        },
        "note": {
          "type": "string",
          "minLength": 1
        },
        "medicationReference": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "dosage": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "text",
              "asNeededBoolean"
            ],
            "properties": {
              "text": {
                "type": "string",
                "minLength": 1
              },
              "timing": {
                "type": "object",
                "properties": {
                  "repeat": {
                    "type": "object",
                    "properties": {
                      "frequency": {
                        "type": "number"
                      },
                      "period": {
                        "type": "number"
                      },
                      "periodUnits": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "frequency",
                      "period",
                      "periodUnits"
                    ]
                  }
                },
                "required": [
                  "repeat"
                ]
              },
              "asNeededBoolean": {
                "type": "boolean"
              },
              "route": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "coding"
                ]
              },
              "quantityQuantity": {
                "type": "object",
                "properties": {
                  "value": {
                    "type": "number"
                  }
                },
                "required": [
                  "value"
                ]
              },
              "maxDosePerPeriod": {
                "type": "object",
                "properties": {
                  "numerator": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "unit": {
                        "type": "string",
                        "minLength": 1
                      },
                      "system": {
                        "type": "string",
                        "minLength": 1
                      },
                      "code": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value",
                      "unit",
                      "system",
                      "code"
                    ]
                  },
                  "denominator": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "system": {
                        "type": "string",
                        "minLength": 1
                      },
                      "code": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value",
                      "system",
                      "code"
                    ]
                  }
                },
                "required": [
                  "numerator",
                  "denominator"
                ]
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "patient",
        "informationSource",
        "dateAsserted",
        "status",
        "wasNotTaken",
        "reasonForUseCodeableConcept",
        "effectiveDateTime",
        "note",
        "medicationReference",
        "dosage"
      ]
    },
    "NamingSystem": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "name": {
          "type": "string",
          "minLength": 1
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "kind": {
          "type": "string",
          "minLength": 1
        },
        "publisher": {
          "type": "string",
          "minLength": 1
        },
        "contact": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1
              },
              "telecom": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "value"
                  ],
                  "properties": {
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "value": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "responsible": {
          "type": "string",
          "minLength": 1
        },
        "date": {
          "type": "string",
          "minLength": 1
        },
        "description": {
          "type": "string",
          "minLength": 1
        },
        "uniqueId": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "type",
              "value",
              "preferred"
            ],
            "properties": {
              "type": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              },
              "preferred": {
                "type": "boolean"
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "name",
        "status",
        "kind",
        "publisher",
        "contact",
        "responsible",
        "date",
        "description",
        "uniqueId"
      ]
    },
    "NutritionOrder": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "fhir_comments",
            "status",
            "div"
          ]
        },
        "patient": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference",
            "display"
          ]
        },
        "orderer": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference",
            "display"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "encounter": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference",
            "display"
          ]
        },
        "dateTime": {
          "type": "string",
          "minLength": 1
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "allergyIntolerance": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "reference",
              "display"
            ],
            "properties": {
              "reference": {
                "type": "string",
                "minLength": 1
              },
              "display": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "foodPreferenceModifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "coding": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "code"
                  ],
                  "properties": {
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "code": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "excludeFoodModifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "coding": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "version",
                    "code",
                    "display"
                  ],
                  "properties": {
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "version": {
                      "type": "string",
                      "minLength": 1
                    },
                    "code": {
                      "type": "string",
                      "minLength": 1
                    },
                    "display": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "oralDiet": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "type": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "text"
                ],
                "properties": {
                  "fhir_comments": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  },
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  },
                  "text": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            },
            "nutrient": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [],
                "properties": {
                  "fhir_comments": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  },
                  "modifier": {
                    "type": "object",
                    "properties": {
                      "coding": {
                        "type": "array",
                        "uniqueItems": true,
                        "minItems": 1,
                        "items": {
                          "required": [
                            "system",
                            "code",
                            "display"
                          ],
                          "properties": {
                            "system": {
                              "type": "string",
                              "minLength": 1
                            },
                            "code": {
                              "type": "string",
                              "minLength": 1
                            },
                            "display": {
                              "type": "string",
                              "minLength": 1
                            }
                          }
                        }
                      }
                    },
                    "required": [
                      "coding"
                    ]
                  },
                  "amount": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "unit": {
                        "type": "string",
                        "minLength": 1
                      },
                      "system": {
                        "type": "string",
                        "minLength": 1
                      },
                      "code": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value",
                      "unit",
                      "system",
                      "code"
                    ]
                  }
                }
              }
            },
            "instruction": {
              "type": "string",
              "minLength": 1
            },
            "_instruction": {
              "type": "object",
              "properties": {
                "fhir_comments": {
                  "type": "array",
                  "items": {
                    "required": [],
                    "properties": {}
                  }
                }
              },
              "required": [
                "fhir_comments"
              ]
            }
          },
          "required": [
            "fhir_comments",
            "type",
            "nutrient",
            "instruction",
            "_instruction"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "patient",
        "orderer",
        "identifier",
        "encounter",
        "dateTime",
        "status",
        "allergyIntolerance",
        "foodPreferenceModifier",
        "excludeFoodModifier",
        "oralDiet"
      ]
    },
    "Observation": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "fhir_comments",
            "status",
            "div"
          ]
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "category": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "fhir_comments",
            "coding"
          ]
        },
        "code": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "fhir_comments": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  },
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "fhir_comments",
            "coding"
          ]
        },
        "subject": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "encounter": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "valueQuantity": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "value": {
              "type": "number"
            },
            "unit": {
              "type": "string",
              "minLength": 1
            },
            "system": {
              "type": "string",
              "minLength": 1
            },
            "code": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "fhir_comments",
            "value",
            "unit",
            "system",
            "code"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "status",
        "category",
        "code",
        "subject",
        "encounter",
        "valueQuantity"
      ]
    },
    "OperationDefinition": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "url": {
          "type": "string",
          "minLength": 1
        },
        "version": {
          "type": "string",
          "minLength": 1
        },
        "name": {
          "type": "string",
          "minLength": 1
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "kind": {
          "type": "string",
          "minLength": 1
        },
        "publisher": {
          "type": "string",
          "minLength": 1
        },
        "contact": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1
              },
              "telecom": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "value"
                  ],
                  "properties": {
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "value": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "date": {
          "type": "string",
          "minLength": 1
        },
        "description": {
          "type": "string",
          "minLength": 1
        },
        "code": {
          "type": "string",
          "minLength": 1
        },
        "notes": {
          "type": "string",
          "minLength": 1
        },
        "base": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "system": {
          "type": "boolean"
        },
        "type": {
          "type": "array",
          "items": {
            "required": [],
            "properties": {}
          }
        },
        "instance": {
          "type": "boolean"
        },
        "parameter": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "name",
              "use",
              "min",
              "max",
              "documentation",
              "type"
            ],
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1
              },
              "use": {
                "type": "string",
                "minLength": 1
              },
              "min": {
                "type": "number"
              },
              "max": {
                "type": "string",
                "minLength": 1
              },
              "documentation": {
                "type": "string",
                "minLength": 1
              },
              "type": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "url",
        "version",
        "name",
        "status",
        "kind",
        "publisher",
        "contact",
        "date",
        "description",
        "code",
        "notes",
        "base",
        "system",
        "type",
        "instance",
        "parameter"
      ]
    },
    "OperationOutcome": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "issue": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "severity",
              "code",
              "diagnostics"
            ],
            "properties": {
              "severity": {
                "type": "string",
                "minLength": 1
              },
              "code": {
                "type": "string",
                "minLength": 1
              },
              "details": {
                "type": "object",
                "properties": {
                  "text": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "text"
                ]
              },
              "diagnostics": {
                "type": "string",
                "minLength": 1
              },
              "location": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "issue"
      ]
    },
    "Order": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "date": {
          "type": "string",
          "minLength": 1
        },
        "subject": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "source": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "reasonCodeableConcept": {
          "type": "object",
          "properties": {
            "text": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "text"
          ]
        },
        "when": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "code": {
              "type": "object",
              "properties": {
                "coding": {
                  "type": "array",
                  "uniqueItems": true,
                  "minItems": 1,
                  "items": {
                    "required": [
                      "system",
                      "code"
                    ],
                    "properties": {
                      "system": {
                        "type": "string",
                        "minLength": 1
                      },
                      "code": {
                        "type": "string",
                        "minLength": 1
                      }
                    }
                  }
                }
              },
              "required": [
                "coding"
              ]
            }
          },
          "required": [
            "fhir_comments",
            "code"
          ]
        },
        "detail": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "reference"
            ],
            "properties": {
              "reference": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "date",
        "subject",
        "source",
        "reasonCodeableConcept",
        "when",
        "detail"
      ]
    },
    "OrderResponse": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "request": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "fhir_comments",
            "reference"
          ]
        },
        "date": {
          "type": "string",
          "minLength": 1
        },
        "who": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "fhir_comments",
            "reference"
          ]
        },
        "orderStatus": {
          "type": "string",
          "minLength": 1
        },
        "_orderStatus": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "fhir_comments"
          ]
        },
        "fulfillment": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "reference"
            ],
            "properties": {
              "fhir_comments": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "reference": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "request",
        "date",
        "who",
        "orderStatus",
        "_orderStatus",
        "fulfillment"
      ]
    },
    "Organization": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "extension": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "url",
              "valueString"
            ],
            "properties": {
              "fhir_comments": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "url": {
                "type": "string",
                "minLength": 1
              },
              "valueString": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "name": {
          "type": "string",
          "minLength": 1
        },
        "telecom": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "address": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "city",
              "state",
              "postalCode",
              "country"
            ],
            "properties": {
              "line": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "city": {
                "type": "string",
                "minLength": 1
              },
              "state": {
                "type": "string",
                "minLength": 1
              },
              "postalCode": {
                "type": "string",
                "minLength": 1
              },
              "country": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "extension",
        "name",
        "telecom",
        "address"
      ]
    },
    "Patient": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "use",
              "system",
              "value"
            ],
            "properties": {
              "use": {
                "type": "string",
                "minLength": 1
              },
              "type": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "coding"
                ]
              },
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "active": {
          "type": "boolean"
        },
        "name": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "use"
            ],
            "properties": {
              "use": {
                "type": "string",
                "minLength": 1
              },
              "family": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "given": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              }
            }
          }
        },
        "gender": {
          "type": "string",
          "minLength": 1
        },
        "photo": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "contentType",
              "data"
            ],
            "properties": {
              "contentType": {
                "type": "string",
                "minLength": 1
              },
              "data": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "contact": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "relationship": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [],
                  "properties": {
                    "coding": {
                      "type": "array",
                      "uniqueItems": true,
                      "minItems": 1,
                      "items": {
                        "required": [
                          "system",
                          "code"
                        ],
                        "properties": {
                          "system": {
                            "type": "string",
                            "minLength": 1
                          },
                          "code": {
                            "type": "string",
                            "minLength": 1
                          }
                        }
                      }
                    }
                  }
                }
              },
              "organization": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference",
                  "display"
                ]
              }
            }
          }
        },
        "managingOrganization": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference",
            "display"
          ]
        },
        "link": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "type"
            ],
            "properties": {
              "other": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference"
                ]
              },
              "type": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "identifier",
        "active",
        "name",
        "gender",
        "photo",
        "contact",
        "managingOrganization",
        "link"
      ]
    },
    "PaymentNotice": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "created": {
          "type": "string",
          "minLength": 1
        },
        "organization": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "request": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "paymentStatus": {
          "type": "object",
          "properties": {
            "system": {
              "type": "string",
              "minLength": 1
            },
            "code": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "system",
            "code"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "identifier",
        "created",
        "organization",
        "request",
        "paymentStatus"
      ]
    },
    "PaymentReconciliation": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "request": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "outcome": {
          "type": "string",
          "minLength": 1
        },
        "disposition": {
          "type": "string",
          "minLength": 1
        },
        "created": {
          "type": "string",
          "minLength": 1
        },
        "organization": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "requestOrganization": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "detail": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "date"
            ],
            "properties": {
              "type": {
                "type": "object",
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "system",
                  "code"
                ]
              },
              "request": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference"
                ]
              },
              "date": {
                "type": "string",
                "minLength": 1
              },
              "amount": {
                "type": "object",
                "properties": {
                  "value": {
                    "type": "number"
                  },
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "value",
                  "system",
                  "code"
                ]
              }
            }
          }
        },
        "total": {
          "type": "object",
          "properties": {
            "value": {
              "type": "number"
            },
            "system": {
              "type": "string",
              "minLength": 1
            },
            "code": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "value",
            "system",
            "code"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "identifier",
        "request",
        "outcome",
        "disposition",
        "created",
        "organization",
        "requestOrganization",
        "detail",
        "total"
      ]
    },
    "Person": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "use",
              "system",
              "value"
            ],
            "properties": {
              "fhir_comments": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "use": {
                "type": "string",
                "minLength": 1
              },
              "type": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "coding"
                ]
              },
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              },
              "period": {
                "type": "object",
                "properties": {
                  "start": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "start"
                ]
              },
              "assigner": {
                "type": "object",
                "properties": {
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "display"
                ]
              }
            }
          }
        },
        "name": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "use"
            ],
            "properties": {
              "fhir_comments": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "use": {
                "type": "string",
                "minLength": 1
              },
              "family": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "given": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              }
            }
          }
        },
        "telecom": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value",
              "use"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              },
              "use": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "gender": {
          "type": "string",
          "minLength": 1
        },
        "_gender": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "fhir_comments"
          ]
        },
        "birthDate": {
          "type": "string",
          "minLength": 1
        },
        "address": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "use",
              "city",
              "state",
              "postalCode"
            ],
            "properties": {
              "use": {
                "type": "string",
                "minLength": 1
              },
              "line": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "city": {
                "type": "string",
                "minLength": 1
              },
              "state": {
                "type": "string",
                "minLength": 1
              },
              "postalCode": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "active": {
          "type": "boolean"
        },
        "link": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "target": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference",
                  "display"
                ]
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "identifier",
        "name",
        "telecom",
        "gender",
        "_gender",
        "birthDate",
        "address",
        "active",
        "link"
      ]
    },
    "Practitioner": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "active": {
          "type": "boolean"
        },
        "name": {
          "type": "object",
          "properties": {
            "family": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "given": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "prefix": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "family",
            "given",
            "prefix"
          ]
        },
        "practitionerRole": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "managingOrganization": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference"
                ]
              },
              "role": {
                "type": "object",
                "properties": {
                  "fhir_comments": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  },
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "fhir_comments",
                  "coding"
                ]
              },
              "period": {
                "type": "object",
                "properties": {
                  "start": {
                    "type": "string",
                    "minLength": 1
                  },
                  "end": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "start",
                  "end"
                ]
              },
              "location": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "reference",
                    "display"
                  ],
                  "properties": {
                    "reference": {
                      "type": "string",
                      "minLength": 1
                    },
                    "display": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              },
              "healthcareService": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "reference"
                  ],
                  "properties": {
                    "reference": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "qualification": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "identifier": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "value"
                  ],
                  "properties": {
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "value": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              },
              "code": {
                "type": "object",
                "properties": {
                  "text": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "text"
                ]
              },
              "period": {
                "type": "object",
                "properties": {
                  "start": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "start"
                ]
              },
              "issuer": {
                "type": "object",
                "properties": {
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "display"
                ]
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "identifier",
        "active",
        "name",
        "practitionerRole",
        "qualification"
      ]
    },
    "Procedure": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "subject": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "code": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            },
            "text": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "coding",
            "text"
          ]
        },
        "reasonCodeableConcept": {
          "type": "object",
          "properties": {
            "text": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "text"
          ]
        },
        "performer": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "actor": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference",
                  "display"
                ]
              }
            }
          }
        },
        "performedDateTime": {
          "type": "string",
          "minLength": 1
        },
        "followUp": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "text"
            ],
            "properties": {
              "text": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "notes": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "text"
            ],
            "properties": {
              "text": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "subject",
        "status",
        "code",
        "reasonCodeableConcept",
        "performer",
        "performedDateTime",
        "followUp",
        "notes"
      ]
    },
    "ProcedureRequest": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "subject": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "fhir_comments",
            "reference"
          ]
        },
        "code": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "subject",
        "code"
      ]
    },
    "ProcessRequest": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "action": {
          "type": "string",
          "minLength": 1
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "created": {
          "type": "string",
          "minLength": 1
        },
        "organization": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "action",
        "identifier",
        "created",
        "organization"
      ]
    },
    "ProcessResponse": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "request": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "outcome": {
          "type": "object",
          "properties": {
            "system": {
              "type": "string",
              "minLength": 1
            },
            "code": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "system",
            "code"
          ]
        },
        "disposition": {
          "type": "string",
          "minLength": 1
        },
        "created": {
          "type": "string",
          "minLength": 1
        },
        "organization": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "requestOrganization": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "identifier",
        "request",
        "outcome",
        "disposition",
        "created",
        "organization",
        "requestOrganization"
      ]
    },
    "Provenance": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "target": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "reference"
            ],
            "properties": {
              "fhir_comments": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "reference": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "period": {
          "type": "object",
          "properties": {
            "start": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "start"
          ]
        },
        "recorded": {
          "type": "string",
          "minLength": 1
        },
        "reason": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "text"
            ],
            "properties": {
              "coding": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "code",
                    "display"
                  ],
                  "properties": {
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "code": {
                      "type": "string",
                      "minLength": 1
                    },
                    "display": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              },
              "text": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "location": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "policy": {
          "type": "array",
          "items": {
            "required": [],
            "properties": {}
          }
        },
        "agent": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "fhir_comments": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "role": {
                "type": "object",
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "system",
                  "code"
                ]
              },
              "actor": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference"
                ]
              },
              "userId": {
                "type": "object",
                "properties": {
                  "fhir_comments": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  },
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "value": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "fhir_comments",
                  "system",
                  "value"
                ]
              },
              "relatedAgent": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "target"
                  ],
                  "properties": {
                    "type": {
                      "type": "object",
                      "properties": {
                        "text": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "text"
                      ]
                    },
                    "target": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "entity": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "role",
              "reference",
              "display"
            ],
            "properties": {
              "fhir_comments": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "role": {
                "type": "string",
                "minLength": 1
              },
              "type": {
                "type": "object",
                "properties": {
                  "fhir_comments": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  },
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "fhir_comments",
                  "system",
                  "code",
                  "display"
                ]
              },
              "reference": {
                "type": "string",
                "minLength": 1
              },
              "_reference": {
                "type": "object",
                "properties": {
                  "fhir_comments": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  }
                },
                "required": [
                  "fhir_comments"
                ]
              },
              "display": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "target",
        "period",
        "recorded",
        "reason",
        "location",
        "policy",
        "agent",
        "entity"
      ]
    },
    "Questionnaire": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "contained": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "resourceType",
              "id",
              "name",
              "status",
              "description"
            ],
            "properties": {
              "resourceType": {
                "type": "string",
                "minLength": 1
              },
              "id": {
                "type": "string",
                "minLength": 1
              },
              "name": {
                "type": "string",
                "minLength": 1
              },
              "_name": {
                "type": "object",
                "properties": {
                  "fhir_comments": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  }
                },
                "required": [
                  "fhir_comments"
                ]
              },
              "status": {
                "type": "string",
                "minLength": 1
              },
              "description": {
                "type": "string",
                "minLength": 1
              },
              "codeSystem": {
                "type": "object",
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "caseSensitive": {
                    "type": "boolean"
                  },
                  "concept": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "code",
                        "display"
                      ],
                      "properties": {
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "system",
                  "caseSensitive",
                  "concept"
                ]
              }
            }
          }
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "date": {
          "type": "string",
          "minLength": 1
        },
        "subjectType": {
          "type": "array",
          "items": {
            "required": [],
            "properties": {}
          }
        },
        "group": {
          "type": "object",
          "properties": {
            "linkId": {
              "type": "string",
              "minLength": 1
            },
            "title": {
              "type": "string",
              "minLength": 1
            },
            "required": {
              "type": "boolean"
            },
            "group": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "linkId"
                ],
                "properties": {
                  "fhir_comments": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  },
                  "linkId": {
                    "type": "string",
                    "minLength": 1
                  },
                  "_linkId": {
                    "type": "object",
                    "properties": {
                      "fhir_comments": {
                        "type": "array",
                        "items": {
                          "required": [],
                          "properties": {}
                        }
                      }
                    },
                    "required": [
                      "fhir_comments"
                    ]
                  },
                  "concept": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  },
                  "group": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "linkId"
                      ],
                      "properties": {
                        "linkId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "concept": {
                          "type": "array",
                          "uniqueItems": true,
                          "minItems": 1,
                          "items": {
                            "required": [
                              "system",
                              "code"
                            ],
                            "properties": {
                              "system": {
                                "type": "string",
                                "minLength": 1
                              },
                              "code": {
                                "type": "string",
                                "minLength": 1
                              }
                            }
                          }
                        },
                        "question": {
                          "type": "array",
                          "uniqueItems": true,
                          "minItems": 1,
                          "items": {
                            "required": [
                              "linkId"
                            ],
                            "properties": {
                              "linkId": {
                                "type": "string",
                                "minLength": 1
                              },
                              "concept": {
                                "type": "array",
                                "uniqueItems": true,
                                "minItems": 1,
                                "items": {
                                  "required": [
                                    "system",
                                    "code",
                                    "display"
                                  ],
                                  "properties": {
                                    "system": {
                                      "type": "string",
                                      "minLength": 1
                                    },
                                    "code": {
                                      "type": "string",
                                      "minLength": 1
                                    },
                                    "display": {
                                      "type": "string",
                                      "minLength": 1
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "required": [
            "linkId",
            "title",
            "required",
            "group"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "contained",
        "status",
        "date",
        "subjectType",
        "group"
      ]
    },
    "QuestionnaireResponse": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "contained": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "resourceType",
              "id",
              "status"
            ],
            "properties": {
              "resourceType": {
                "type": "string",
                "minLength": 1
              },
              "id": {
                "type": "string",
                "minLength": 1
              },
              "status": {
                "type": "string",
                "minLength": 1
              },
              "code": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "coding"
                ]
              },
              "subject": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference"
                ]
              },
              "performer": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "reference"
                  ],
                  "properties": {
                    "reference": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              },
              "valueCodeableConcept": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code",
                        "display"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "coding"
                ]
              }
            }
          }
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "subject": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "author": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "authored": {
          "type": "string",
          "minLength": 1
        },
        "group": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "title": {
              "type": "string",
              "minLength": 1
            },
            "group": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [],
                "properties": {
                  "question": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [],
                      "properties": {
                        "fhir_comments": {
                          "type": "array",
                          "items": {
                            "required": [],
                            "properties": {}
                          }
                        },
                        "answer": {
                          "type": "array",
                          "uniqueItems": true,
                          "minItems": 1,
                          "items": {
                            "required": [],
                            "properties": {
                              "valueCoding": {
                                "type": "object",
                                "properties": {
                                  "system": {
                                    "type": "string",
                                    "minLength": 1
                                  },
                                  "code": {
                                    "type": "string",
                                    "minLength": 1
                                  },
                                  "display": {
                                    "type": "string",
                                    "minLength": 1
                                  }
                                },
                                "required": [
                                  "system",
                                  "code",
                                  "display"
                                ]
                              },
                              "group": {
                                "type": "array",
                                "uniqueItems": true,
                                "minItems": 1,
                                "items": {
                                  "required": [],
                                  "properties": {
                                    "question": {
                                      "type": "array",
                                      "uniqueItems": true,
                                      "minItems": 1,
                                      "items": {
                                        "required": [],
                                        "properties": {
                                          "fhir_comments": {
                                            "type": "array",
                                            "items": {
                                              "required": [],
                                              "properties": {}
                                            }
                                          },
                                          "answer": {
                                            "type": "array",
                                            "uniqueItems": true,
                                            "minItems": 1,
                                            "items": {
                                              "required": [],
                                              "properties": {
                                                "valueCoding": {
                                                  "type": "object",
                                                  "properties": {
                                                    "system": {
                                                      "type": "string",
                                                      "minLength": 1
                                                    },
                                                    "code": {
                                                      "type": "string",
                                                      "minLength": 1
                                                    }
                                                  },
                                                  "required": [
                                                    "system",
                                                    "code"
                                                  ]
                                                }
                                              }
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "required": [
            "fhir_comments",
            "title",
            "group"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "contained",
        "status",
        "subject",
        "author",
        "authored",
        "group"
      ]
    },
    "ReferralRequest": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "type": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "fhir_comments",
            "coding"
          ]
        },
        "specialty": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "fhir_comments",
            "coding"
          ]
        },
        "priority": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "fhir_comments",
            "coding"
          ]
        },
        "patient": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference",
            "display"
          ]
        },
        "requester": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference",
            "display"
          ]
        },
        "recipient": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "reference",
              "display"
            ],
            "properties": {
              "reference": {
                "type": "string",
                "minLength": 1
              },
              "display": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "dateSent": {
          "type": "string",
          "minLength": 1
        },
        "reason": {
          "type": "object",
          "properties": {
            "text": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "text"
          ]
        },
        "description": {
          "type": "string",
          "minLength": 1
        },
        "serviceRequested": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "text"
            ],
            "properties": {
              "coding": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "code",
                    "display"
                  ],
                  "properties": {
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "code": {
                      "type": "string",
                      "minLength": 1
                    },
                    "display": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              },
              "text": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "status",
        "identifier",
        "type",
        "specialty",
        "priority",
        "patient",
        "requester",
        "recipient",
        "dateSent",
        "reason",
        "description",
        "serviceRequested"
      ]
    },
    "RelatedPerson": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "patient": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "relationship": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "name": {
          "type": "object",
          "properties": {
            "use": {
              "type": "string",
              "minLength": 1
            },
            "family": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "given": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "use",
            "family",
            "given"
          ]
        },
        "telecom": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value",
              "use"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              },
              "use": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "gender": {
          "type": "string",
          "minLength": 1
        },
        "address": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "use",
              "city",
              "state",
              "postalCode"
            ],
            "properties": {
              "use": {
                "type": "string",
                "minLength": 1
              },
              "line": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "city": {
                "type": "string",
                "minLength": 1
              },
              "state": {
                "type": "string",
                "minLength": 1
              },
              "postalCode": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "photo": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "contentType",
              "url"
            ],
            "properties": {
              "contentType": {
                "type": "string",
                "minLength": 1
              },
              "url": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "period": {
          "type": "object",
          "properties": {
            "start": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "start"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "patient",
        "relationship",
        "name",
        "telecom",
        "gender",
        "address",
        "photo",
        "period"
      ]
    },
    "RiskAssessment": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "date": {
          "type": "string",
          "minLength": 1
        },
        "method": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "code"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "basis": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "reference"
            ],
            "properties": {
              "reference": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "prediction": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "probabilityDecimal"
            ],
            "properties": {
              "outcome": {
                "type": "object",
                "properties": {
                  "text": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "text"
                ]
              },
              "probabilityDecimal": {
                "type": "number"
              },
              "whenRange": {
                "type": "object",
                "properties": {
                  "high": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "unit": {
                        "type": "string",
                        "minLength": 1
                      },
                      "system": {
                        "type": "string",
                        "minLength": 1
                      },
                      "code": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value",
                      "unit",
                      "system",
                      "code"
                    ]
                  }
                },
                "required": [
                  "high"
                ]
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "date",
        "method",
        "basis",
        "prediction"
      ]
    },
    "Schedule": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "use",
              "system",
              "value"
            ],
            "properties": {
              "use": {
                "type": "string",
                "minLength": 1
              },
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "type": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "coding": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "code",
                    "display"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "minLength": 1
                    },
                    "display": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "actor": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference",
            "display"
          ]
        },
        "planningHorizon": {
          "type": "object",
          "properties": {
            "start": {
              "type": "string",
              "minLength": 1
            },
            "end": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "start",
            "end"
          ]
        },
        "comment": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "identifier",
        "type",
        "actor",
        "planningHorizon",
        "comment"
      ]
    },
    "SearchParameter": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "url": {
          "type": "string",
          "minLength": 1
        },
        "name": {
          "type": "string",
          "minLength": 1
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "experimental": {
          "type": "boolean"
        },
        "publisher": {
          "type": "string",
          "minLength": 1
        },
        "contact": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1
              },
              "telecom": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "value"
                  ],
                  "properties": {
                    "fhir_comments": {
                      "type": "array",
                      "items": {
                        "required": [],
                        "properties": {}
                      }
                    },
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "value": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "date": {
          "type": "string",
          "minLength": 1
        },
        "requirements": {
          "type": "string",
          "minLength": 1
        },
        "_requirements": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "fhir_comments"
          ]
        },
        "code": {
          "type": "string",
          "minLength": 1
        },
        "base": {
          "type": "string",
          "minLength": 1
        },
        "type": {
          "type": "string",
          "minLength": 1
        },
        "description": {
          "type": "string",
          "minLength": 1
        },
        "xpath": {
          "type": "string",
          "minLength": 1
        },
        "xpathUsage": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "url",
        "name",
        "status",
        "experimental",
        "publisher",
        "contact",
        "date",
        "requirements",
        "_requirements",
        "code",
        "base",
        "type",
        "description",
        "xpath",
        "xpathUsage"
      ]
    },
    "Slot": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "type": {
          "type": "object",
          "properties": {
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "code",
                  "display"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "coding"
          ]
        },
        "schedule": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "freeBusyType": {
          "type": "string",
          "minLength": 1
        },
        "start": {
          "type": "string",
          "minLength": 1
        },
        "end": {
          "type": "string",
          "minLength": 1
        },
        "comment": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "type",
        "schedule",
        "freeBusyType",
        "start",
        "end",
        "comment"
      ]
    },
    "Specimen": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "fhir_comments",
            "status",
            "div"
          ]
        },
        "contained": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "resourceType",
              "id"
            ],
            "properties": {
              "resourceType": {
                "type": "string",
                "minLength": 1
              },
              "id": {
                "type": "string",
                "minLength": 1
              },
              "code": {
                "type": "object",
                "properties": {
                  "coding": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "system",
                        "code"
                      ],
                      "properties": {
                        "system": {
                          "type": "string",
                          "minLength": 1
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  }
                },
                "required": [
                  "coding"
                ]
              }
            }
          }
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "fhir_comments": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "_status": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "fhir_comments"
          ]
        },
        "type": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "coding": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "code",
                  "display"
                ],
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          },
          "required": [
            "fhir_comments",
            "coding"
          ]
        },
        "subject": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            },
            "display": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference",
            "display"
          ]
        },
        "accessionIdentifier": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "system": {
              "type": "string",
              "minLength": 1
            },
            "value": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "fhir_comments",
            "system",
            "value"
          ]
        },
        "receivedTime": {
          "type": "string",
          "minLength": 1
        },
        "collection": {
          "type": "object",
          "properties": {
            "collector": {
              "type": "object",
              "properties": {
                "reference": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "reference"
              ]
            },
            "comment": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "collectedDateTime": {
              "type": "string",
              "minLength": 1
            },
            "_collectedDateTime": {
              "type": "object",
              "properties": {
                "fhir_comments": {
                  "type": "array",
                  "items": {
                    "required": [],
                    "properties": {}
                  }
                }
              },
              "required": [
                "fhir_comments"
              ]
            },
            "quantity": {
              "type": "object",
              "properties": {
                "fhir_comments": {
                  "type": "array",
                  "items": {
                    "required": [],
                    "properties": {}
                  }
                },
                "value": {
                  "type": "number"
                },
                "unit": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "fhir_comments",
                "value",
                "unit"
              ]
            },
            "method": {
              "type": "object",
              "properties": {
                "fhir_comments": {
                  "type": "array",
                  "items": {
                    "required": [],
                    "properties": {}
                  }
                },
                "coding": {
                  "type": "array",
                  "uniqueItems": true,
                  "minItems": 1,
                  "items": {
                    "required": [
                      "system",
                      "code"
                    ],
                    "properties": {
                      "system": {
                        "type": "string",
                        "minLength": 1
                      },
                      "code": {
                        "type": "string",
                        "minLength": 1
                      }
                    }
                  }
                }
              },
              "required": [
                "fhir_comments",
                "coding"
              ]
            }
          },
          "required": [
            "collector",
            "comment",
            "collectedDateTime",
            "_collectedDateTime",
            "quantity",
            "method"
          ]
        },
        "container": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "description"
            ],
            "properties": {
              "identifier": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "value"
                  ],
                  "properties": {
                    "fhir_comments": {
                      "type": "array",
                      "items": {
                        "required": [],
                        "properties": {}
                      }
                    },
                    "value": {
                      "type": "string",
                      "minLength": 1
                    },
                    "_value": {
                      "type": "object",
                      "properties": {
                        "fhir_comments": {
                          "type": "array",
                          "items": {
                            "required": [],
                            "properties": {}
                          }
                        }
                      },
                      "required": [
                        "fhir_comments"
                      ]
                    }
                  }
                }
              },
              "description": {
                "type": "string",
                "minLength": 1
              },
              "type": {
                "type": "object",
                "properties": {
                  "text": {
                    "type": "string",
                    "minLength": 1
                  },
                  "_text": {
                    "type": "object",
                    "properties": {
                      "fhir_comments": {
                        "type": "array",
                        "items": {
                          "required": [],
                          "properties": {}
                        }
                      }
                    },
                    "required": [
                      "fhir_comments"
                    ]
                  }
                },
                "required": [
                  "text",
                  "_text"
                ]
              },
              "capacity": {
                "type": "object",
                "properties": {
                  "value": {
                    "type": "number"
                  },
                  "unit": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "value",
                  "unit"
                ]
              },
              "specimenQuantity": {
                "type": "object",
                "properties": {
                  "fhir_comments": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  },
                  "value": {
                    "type": "number"
                  },
                  "unit": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "fhir_comments",
                  "value",
                  "unit"
                ]
              },
              "additiveReference": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference"
                ]
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "contained",
        "identifier",
        "status",
        "_status",
        "type",
        "subject",
        "accessionIdentifier",
        "receivedTime",
        "collection",
        "container"
      ]
    },
    "StructureDefinition": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "url": {
          "type": "string",
          "minLength": 1
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "_system": {
                "type": "object",
                "properties": {
                  "fhir_comments": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  }
                },
                "required": [
                  "fhir_comments"
                ]
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "version": {
          "type": "string",
          "minLength": 1
        },
        "name": {
          "type": "string",
          "minLength": 1
        },
        "display": {
          "type": "string",
          "minLength": 1
        },
        "_display": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "fhir_comments"
          ]
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "experimental": {
          "type": "boolean"
        },
        "publisher": {
          "type": "string",
          "minLength": 1
        },
        "contact": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1
              },
              "telecom": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "value"
                  ],
                  "properties": {
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "value": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "date": {
          "type": "string",
          "minLength": 1
        },
        "description": {
          "type": "string",
          "minLength": 1
        },
        "useContext": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "coding": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "code"
                  ],
                  "properties": {
                    "fhir_comments": {
                      "type": "array",
                      "items": {
                        "required": [],
                        "properties": {}
                      }
                    },
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "code": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "requirements": {
          "type": "string",
          "minLength": 1
        },
        "copyright": {
          "type": "string",
          "minLength": 1
        },
        "_copyright": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "fhir_comments"
          ]
        },
        "code": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "code",
              "display"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "code": {
                "type": "string",
                "minLength": 1
              },
              "display": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "fhirVersion": {
          "type": "string",
          "minLength": 1
        },
        "mapping": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "identity",
              "uri",
              "name",
              "comments"
            ],
            "properties": {
              "fhir_comments": {
                "type": "array",
                "items": {
                  "required": [],
                  "properties": {}
                }
              },
              "identity": {
                "type": "string",
                "minLength": 1
              },
              "uri": {
                "type": "string",
                "minLength": 1
              },
              "name": {
                "type": "string",
                "minLength": 1
              },
              "comments": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "kind": {
          "type": "string",
          "minLength": 1
        },
        "constrainedType": {
          "type": "string",
          "minLength": 1
        },
        "abstract": {
          "type": "boolean"
        },
        "base": {
          "type": "string",
          "minLength": 1
        },
        "snapshot": {
          "type": "object",
          "properties": {
            "element": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "path",
                  "name",
                  "short",
                  "definition",
                  "comments",
                  "min",
                  "max",
                  "isModifier"
                ],
                "properties": {
                  "path": {
                    "type": "string",
                    "minLength": 1
                  },
                  "name": {
                    "type": "string",
                    "minLength": 1
                  },
                  "short": {
                    "type": "string",
                    "minLength": 1
                  },
                  "definition": {
                    "type": "string",
                    "minLength": 1
                  },
                  "comments": {
                    "type": "string",
                    "minLength": 1
                  },
                  "min": {
                    "type": "number"
                  },
                  "max": {
                    "type": "string",
                    "minLength": 1
                  },
                  "base": {
                    "type": "object",
                    "properties": {
                      "path": {
                        "type": "string",
                        "minLength": 1
                      },
                      "min": {
                        "type": "number"
                      },
                      "max": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "path",
                      "min",
                      "max"
                    ]
                  },
                  "type": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "code"
                      ],
                      "properties": {
                        "code": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  },
                  "isModifier": {
                    "type": "boolean"
                  }
                }
              }
            }
          },
          "required": [
            "element"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "url",
        "identifier",
        "version",
        "name",
        "display",
        "_display",
        "status",
        "experimental",
        "publisher",
        "contact",
        "date",
        "description",
        "useContext",
        "requirements",
        "copyright",
        "_copyright",
        "code",
        "fhirVersion",
        "mapping",
        "kind",
        "constrainedType",
        "abstract",
        "base",
        "snapshot"
      ]
    },
    "Subscription": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "criteria": {
          "type": "string",
          "minLength": 1
        },
        "contact": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "reason": {
          "type": "string",
          "minLength": 1
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "channel": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "minLength": 1
            },
            "endpoint": {
              "type": "string",
              "minLength": 1
            },
            "payload": {
              "type": "string",
              "minLength": 1
            },
            "header": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "type",
            "endpoint",
            "payload",
            "header"
          ]
        },
        "end": {
          "type": "string",
          "minLength": 1
        },
        "tag": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "code"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "code": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "criteria",
        "contact",
        "reason",
        "status",
        "channel",
        "end",
        "tag"
      ]
    },
    "Substance": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "fhir_comments",
            "status",
            "div"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "category": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "coding": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "code",
                    "display"
                  ],
                  "properties": {
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "code": {
                      "type": "string",
                      "minLength": 1
                    },
                    "display": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "code": {
          "type": "object",
          "properties": {
            "text": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "text"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "identifier",
        "category",
        "code"
      ]
    },
    "SupplyDelivery": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text"
      ]
    },
    "SupplyRequest": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "text"
      ]
    },
    "TestScript": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "url": {
          "type": "string",
          "minLength": 1
        },
        "version": {
          "type": "string",
          "minLength": 1
        },
        "name": {
          "type": "string",
          "minLength": 1
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "identifier": {
          "type": "object",
          "properties": {
            "system": {
              "type": "string",
              "minLength": 1
            },
            "value": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "system",
            "value"
          ]
        },
        "experimental": {
          "type": "boolean"
        },
        "publisher": {
          "type": "string",
          "minLength": 1
        },
        "contact": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1
              },
              "telecom": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "value",
                    "use"
                  ],
                  "properties": {
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "value": {
                      "type": "string",
                      "minLength": 1
                    },
                    "use": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "date": {
          "type": "string",
          "minLength": 1
        },
        "description": {
          "type": "string",
          "minLength": 1
        },
        "useContext": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [],
            "properties": {
              "coding": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "code",
                    "display"
                  ],
                  "properties": {
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "code": {
                      "type": "string",
                      "minLength": 1
                    },
                    "display": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "requirements": {
          "type": "string",
          "minLength": 1
        },
        "copyright": {
          "type": "string",
          "minLength": 1
        },
        "metadata": {
          "type": "object",
          "properties": {
            "capability": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "required",
                  "description",
                  "destination"
                ],
                "properties": {
                  "required": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "string",
                    "minLength": 1
                  },
                  "destination": {
                    "type": "number"
                  },
                  "link": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  },
                  "conformance": {
                    "type": "object",
                    "properties": {
                      "reference": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "reference"
                    ]
                  }
                }
              }
            }
          },
          "required": [
            "capability"
          ]
        },
        "fixture": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "id",
              "autocreate",
              "autodelete"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1
              },
              "autocreate": {
                "type": "boolean"
              },
              "autodelete": {
                "type": "boolean"
              },
              "resource": {
                "type": "object",
                "properties": {
                  "reference": {
                    "type": "string",
                    "minLength": 1
                  },
                  "display": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "reference",
                  "display"
                ]
              }
            }
          }
        },
        "profile": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "id",
              "reference"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1
              },
              "reference": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "setup": {
          "type": "object",
          "properties": {
            "action": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [],
                "properties": {
                  "fhir_comments": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  },
                  "operation": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "minLength": 1
                          }
                        },
                        "required": [
                          "code"
                        ]
                      },
                      "label": {
                        "type": "string",
                        "minLength": 1
                      },
                      "description": {
                        "type": "string",
                        "minLength": 1
                      },
                      "accept": {
                        "type": "string",
                        "minLength": 1
                      },
                      "responseId": {
                        "type": "string",
                        "minLength": 1
                      },
                      "sourceId": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "type",
                      "label",
                      "description",
                      "accept",
                      "responseId",
                      "sourceId"
                    ]
                  }
                }
              }
            }
          },
          "required": [
            "action"
          ]
        },
        "test": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "id",
              "name",
              "description"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1
              },
              "name": {
                "type": "string",
                "minLength": 1
              },
              "description": {
                "type": "string",
                "minLength": 1
              },
              "action": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [],
                  "properties": {
                    "operation": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "minLength": 1
                            }
                          },
                          "required": [
                            "code"
                          ]
                        },
                        "encodeRequestUrl": {
                          "type": "boolean"
                        },
                        "responseId": {
                          "type": "string",
                          "minLength": 1
                        },
                        "targetId": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "type",
                        "encodeRequestUrl",
                        "responseId",
                        "targetId"
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "url",
        "version",
        "name",
        "status",
        "identifier",
        "experimental",
        "publisher",
        "contact",
        "date",
        "description",
        "useContext",
        "requirements",
        "copyright",
        "metadata",
        "fixture",
        "profile",
        "setup",
        "test"
      ]
    },
    "ValueSet": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "meta": {
          "type": "object",
          "properties": {
            "profile": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "profile"
          ]
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "url": {
          "type": "string",
          "minLength": 1
        },
        "_url": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "fhir_comments"
          ]
        },
        "identifier": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            },
            "system": {
              "type": "string",
              "minLength": 1
            },
            "value": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "fhir_comments",
            "system",
            "value"
          ]
        },
        "version": {
          "type": "string",
          "minLength": 1
        },
        "_version": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "fhir_comments"
          ]
        },
        "name": {
          "type": "string",
          "minLength": 1
        },
        "_name": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "fhir_comments"
          ]
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "experimental": {
          "type": "boolean"
        },
        "publisher": {
          "type": "string",
          "minLength": 1
        },
        "contact": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1
              },
              "telecom": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "required": [
                    "system",
                    "value"
                  ],
                  "properties": {
                    "system": {
                      "type": "string",
                      "minLength": 1
                    },
                    "value": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                }
              }
            }
          }
        },
        "date": {
          "type": "string",
          "minLength": 1
        },
        "lockedDate": {
          "type": "string",
          "minLength": 1
        },
        "_lockedDate": {
          "type": "object",
          "properties": {
            "fhir_comments": {
              "type": "array",
              "items": {
                "required": [],
                "properties": {}
              }
            }
          },
          "required": [
            "fhir_comments"
          ]
        },
        "description": {
          "type": "string",
          "minLength": 1
        },
        "copyright": {
          "type": "string",
          "minLength": 1
        },
        "compose": {
          "type": "object",
          "properties": {
            "include": {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "required": [
                  "system",
                  "version"
                ],
                "properties": {
                  "fhir_comments": {
                    "type": "array",
                    "items": {
                      "required": [],
                      "properties": {}
                    }
                  },
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "version": {
                    "type": "string",
                    "minLength": 1
                  },
                  "concept": {
                    "type": "array",
                    "uniqueItems": true,
                    "minItems": 1,
                    "items": {
                      "required": [
                        "code",
                        "display"
                      ],
                      "properties": {
                        "fhir_comments": {
                          "type": "array",
                          "items": {
                            "required": [],
                            "properties": {}
                          }
                        },
                        "code": {
                          "type": "string",
                          "minLength": 1
                        },
                        "display": {
                          "type": "string",
                          "minLength": 1
                        },
                        "_display": {
                          "type": "object",
                          "properties": {
                            "fhir_comments": {
                              "type": "array",
                              "items": {
                                "required": [],
                                "properties": {}
                              }
                            }
                          },
                          "required": [
                            "fhir_comments"
                          ]
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "required": [
            "include"
          ]
        }
      },
      "required": [
        "resourceType",
        "id",
        "meta",
        "text",
        "url",
        "_url",
        "identifier",
        "version",
        "_version",
        "name",
        "_name",
        "status",
        "experimental",
        "publisher",
        "contact",
        "date",
        "lockedDate",
        "_lockedDate",
        "description",
        "copyright",
        "compose"
      ]
    },
    "VisionPrescription": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "",
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string",
          "minLength": 1
        },
        "id": {
          "type": "string",
          "minLength": 1
        },
        "text": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "minLength": 1
            },
            "div": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "status",
            "div"
          ]
        },
        "identifier": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "system",
              "value"
            ],
            "properties": {
              "system": {
                "type": "string",
                "minLength": 1
              },
              "value": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "dateWritten": {
          "type": "string",
          "minLength": 1
        },
        "patient": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "prescriber": {
          "type": "object",
          "properties": {
            "reference": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "reference"
          ]
        },
        "dispense": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "required": [
              "eye",
              "sphere",
              "cylinder",
              "axis",
              "prism",
              "base",
              "add"
            ],
            "properties": {
              "product": {
                "type": "object",
                "properties": {
                  "system": {
                    "type": "string",
                    "minLength": 1
                  },
                  "code": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "system",
                  "code"
                ]
              },
              "eye": {
                "type": "string",
                "minLength": 1
              },
              "sphere": {
                "type": "number"
              },
              "cylinder": {
                "type": "number"
              },
              "axis": {
                "type": "number"
              },
              "prism": {
                "type": "number"
              },
              "base": {
                "type": "string",
                "minLength": 1
              },
              "add": {
                "type": "number"
              }
            }
          }
        }
      },
      "required": [
        "resourceType",
        "id",
        "text",
        "identifier",
        "dateWritten",
        "patient",
        "prescriber",
        "dispense"
      ]
    }
  },
  "paths": {
    "/Account": {
      "post": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Account"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "balance",
            "type": "integer",
            "in": "query",
            "description": "How much is in account?"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Account number"
          },
          {
            "name": "name",
            "type": "string",
            "in": "query",
            "description": "Human-readable label"
          },
          {
            "name": "owner",
            "type": "reference",
            "in": "query",
            "description": "Who is responsible?"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "What is account tied to?"
          },
          {
            "name": "period",
            "type": "string",
            "in": "query",
            "description": "Transaction window",
            "format": "date"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "active | inactive"
          },
          {
            "name": "subject",
            "type": "reference",
            "in": "query",
            "description": "What is account tied to?"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "E.g. patient, expense, depreciation"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Account"
              }
            }
          }
        }
      }
    },
    "/Account/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Account"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Account"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Account"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Account"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Account/{id}/_history": {
      "get": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Account/_history": {
      "get": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Account/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Account"
            }
          }
        }
      }
    },
    "/AllergyIntolerance": {
      "post": {
        "tags": [
          "AllergyIntolerance"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/AllergyIntolerance"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "AllergyIntolerance"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "category",
            "type": "string",
            "in": "query",
            "description": "food | medication | environment | other - Category of Substance"
          },
          {
            "name": "criticality",
            "type": "string",
            "in": "query",
            "description": "CRITL | CRITH | CRITU"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "When recorded",
            "format": "date"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "External ids for this item"
          },
          {
            "name": "last-date",
            "type": "string",
            "in": "query",
            "description": "Date(/time) of last known occurrence of a reaction",
            "format": "date"
          },
          {
            "name": "manifestation",
            "type": "string",
            "in": "query",
            "description": "Clinical symptoms/signs associated with the Event"
          },
          {
            "name": "onset",
            "type": "string",
            "in": "query",
            "description": "Date(/time) when manifestations showed",
            "format": "date"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Who the sensitivity is for"
          },
          {
            "name": "recorder",
            "type": "reference",
            "in": "query",
            "description": "Who recorded the sensitivity"
          },
          {
            "name": "reporter",
            "type": "reference",
            "in": "query",
            "description": "Source of the information about the allergy"
          },
          {
            "name": "route",
            "type": "string",
            "in": "query",
            "description": "How the subject was exposed to the substance"
          },
          {
            "name": "severity",
            "type": "string",
            "in": "query",
            "description": "mild | moderate | severe (of event as a whole)"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "active | unconfirmed | confirmed | inactive | resolved | refuted | entered-in-error"
          },
          {
            "name": "substance",
            "type": "string",
            "in": "query",
            "description": "Substance, (or class) considered to be responsible for risk"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "allergy | intolerance - Underlying mechanism (if known)"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/AllergyIntolerance"
              }
            }
          }
        }
      }
    },
    "/AllergyIntolerance/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "AllergyIntolerance"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/AllergyIntolerance"
            }
          }
        }
      },
      "put": {
        "tags": [
          "AllergyIntolerance"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/AllergyIntolerance"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "AllergyIntolerance"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/AllergyIntolerance/{id}/_history": {
      "get": {
        "tags": [
          "AllergyIntolerance"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/AllergyIntolerance/_history": {
      "get": {
        "tags": [
          "AllergyIntolerance"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/AllergyIntolerance/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "AllergyIntolerance"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/AllergyIntolerance"
            }
          }
        }
      }
    },
    "/Appointment": {
      "post": {
        "tags": [
          "Appointment"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Appointment"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Appointment"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "actor",
            "type": "reference",
            "in": "query",
            "description": "Any one of the individuals participating in the appointment"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "Appointment date/time.",
            "format": "date"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "An Identifier of the Appointment"
          },
          {
            "name": "location",
            "type": "reference",
            "in": "query",
            "description": "This location is listed in the participants of the appointment"
          },
          {
            "name": "part-status",
            "type": "string",
            "in": "query",
            "description": "The Participation status of the subject, or other participant on the appointment. Can be used to locate participants that have not responded to meeting requests."
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "One of the individuals of the appointment is this patient"
          },
          {
            "name": "practitioner",
            "type": "reference",
            "in": "query",
            "description": "One of the individuals of the appointment is this practitioner"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "The overall status of the appointment"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Appointment"
              }
            }
          }
        }
      }
    },
    "/Appointment/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Appointment"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Appointment"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Appointment"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Appointment"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Appointment"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Appointment/{id}/_history": {
      "get": {
        "tags": [
          "Appointment"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Appointment/_history": {
      "get": {
        "tags": [
          "Appointment"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Appointment/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Appointment"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Appointment"
            }
          }
        }
      }
    },
    "/AppointmentResponse": {
      "post": {
        "tags": [
          "AppointmentResponse"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/AppointmentResponse"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "AppointmentResponse"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "actor",
            "type": "reference",
            "in": "query",
            "description": "The Person, Location/HealthcareService or Device that this appointment response replies for"
          },
          {
            "name": "appointment",
            "type": "reference",
            "in": "query",
            "description": "The appointment that the response is attached to"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "An Identifier in this appointment response"
          },
          {
            "name": "location",
            "type": "reference",
            "in": "query",
            "description": "This Response is for this Location"
          },
          {
            "name": "part-status",
            "type": "string",
            "in": "query",
            "description": "The participants acceptance status for this appointment"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "This Response is for this Patient"
          },
          {
            "name": "practitioner",
            "type": "reference",
            "in": "query",
            "description": "This Response is for this Practitioner"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/AppointmentResponse"
              }
            }
          }
        }
      }
    },
    "/AppointmentResponse/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "AppointmentResponse"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/AppointmentResponse"
            }
          }
        }
      },
      "put": {
        "tags": [
          "AppointmentResponse"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/AppointmentResponse"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "AppointmentResponse"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/AppointmentResponse/{id}/_history": {
      "get": {
        "tags": [
          "AppointmentResponse"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/AppointmentResponse/_history": {
      "get": {
        "tags": [
          "AppointmentResponse"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/AppointmentResponse/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "AppointmentResponse"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/AppointmentResponse"
            }
          }
        }
      }
    },
    "/AuditEvent": {
      "post": {
        "tags": [
          "AuditEvent"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/AuditEvent"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "AuditEvent"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "action",
            "type": "string",
            "in": "query",
            "description": "Type of action performed during the event"
          },
          {
            "name": "address",
            "type": "string",
            "in": "query",
            "description": "Identifier for the network access point of the user device"
          },
          {
            "name": "altid",
            "type": "string",
            "in": "query",
            "description": "Alternative User id e.g. authentication"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "Time when the event occurred on source",
            "format": "date"
          },
          {
            "name": "desc",
            "type": "string",
            "in": "query",
            "description": "Instance-specific descriptor for Object"
          },
          {
            "name": "identity",
            "type": "string",
            "in": "query",
            "description": "Specific instance of object (e.g. versioned)"
          },
          {
            "name": "name",
            "type": "string",
            "in": "query",
            "description": "Human-meaningful name for the user"
          },
          {
            "name": "object-type",
            "type": "string",
            "in": "query",
            "description": "Type of object involved"
          },
          {
            "name": "participant",
            "type": "reference",
            "in": "query",
            "description": "Direct reference to resource"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Direct reference to resource"
          },
          {
            "name": "policy",
            "type": "uri",
            "in": "query",
            "description": "Policy that authorized event"
          },
          {
            "name": "reference",
            "type": "reference",
            "in": "query",
            "description": "Specific instance of resource (e.g. versioned)"
          },
          {
            "name": "site",
            "type": "string",
            "in": "query",
            "description": "Logical source location within the enterprise"
          },
          {
            "name": "source",
            "type": "string",
            "in": "query",
            "description": "The identity of source detecting the event"
          },
          {
            "name": "subtype",
            "type": "string",
            "in": "query",
            "description": "More specific type/id for the event"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "Type/identifier of event"
          },
          {
            "name": "user",
            "type": "string",
            "in": "query",
            "description": "Unique identifier for the user"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/AuditEvent"
              }
            }
          }
        }
      }
    },
    "/AuditEvent/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "AuditEvent"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/AuditEvent"
            }
          }
        }
      },
      "put": {
        "tags": [
          "AuditEvent"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/AuditEvent"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "AuditEvent"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/AuditEvent/{id}/_history": {
      "get": {
        "tags": [
          "AuditEvent"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/AuditEvent/_history": {
      "get": {
        "tags": [
          "AuditEvent"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/AuditEvent/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "AuditEvent"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/AuditEvent"
            }
          }
        }
      }
    },
    "/Basic": {
      "post": {
        "tags": [
          "Basic"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Basic"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Basic"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "author",
            "type": "reference",
            "in": "query",
            "description": "Who created"
          },
          {
            "name": "code",
            "type": "string",
            "in": "query",
            "description": "Kind of Resource"
          },
          {
            "name": "created",
            "type": "string",
            "in": "query",
            "description": "When created",
            "format": "date"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Business identifier"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Identifies the focus of this resource"
          },
          {
            "name": "subject",
            "type": "reference",
            "in": "query",
            "description": "Identifies the focus of this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Basic"
              }
            }
          }
        }
      }
    },
    "/Basic/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Basic"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Basic"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Basic"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Basic"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Basic"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Basic/{id}/_history": {
      "get": {
        "tags": [
          "Basic"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Basic/_history": {
      "get": {
        "tags": [
          "Basic"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Basic/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Basic"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Basic"
            }
          }
        }
      }
    },
    "/Binary": {
      "post": {
        "tags": [
          "Binary"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Binary"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Binary"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "contenttype",
            "type": "string",
            "in": "query",
            "description": "MimeType of the binary content"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Binary"
              }
            }
          }
        }
      }
    },
    "/Binary/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Binary"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Binary"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Binary"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Binary"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Binary"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Binary/{id}/_history": {
      "get": {
        "tags": [
          "Binary"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Binary/_history": {
      "get": {
        "tags": [
          "Binary"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Binary/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Binary"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Binary"
            }
          }
        }
      }
    },
    "/BodySite": {
      "post": {
        "tags": [
          "BodySite"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/BodySite"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "BodySite"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "code",
            "type": "string",
            "in": "query",
            "description": "Named anatomical location"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Identifier for this instance of the anatomical location"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Patient to whom bodysite belongs"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/BodySite"
              }
            }
          }
        }
      }
    },
    "/BodySite/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "BodySite"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/BodySite"
            }
          }
        }
      },
      "put": {
        "tags": [
          "BodySite"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/BodySite"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "BodySite"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/BodySite/{id}/_history": {
      "get": {
        "tags": [
          "BodySite"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/BodySite/_history": {
      "get": {
        "tags": [
          "BodySite"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/BodySite/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "BodySite"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/BodySite"
            }
          }
        }
      }
    },
    "/Bundle": {
      "post": {
        "tags": [
          "Bundle"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Bundle"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Bundle"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "composition",
            "type": "reference",
            "in": "query",
            "description": "The first resource in the bundle, if the bundle type is \"document\" - this is a composition, and this parameter provides access to searches its contents"
          },
          {
            "name": "message",
            "type": "reference",
            "in": "query",
            "description": "The first resource in the bundle, if the bundle type is \"message\" - this is a message header, and this parameter provides access to search its contents"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Bundle"
              }
            }
          }
        }
      }
    },
    "/Bundle/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Bundle"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Bundle"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Bundle"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Bundle"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Bundle"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Bundle/{id}/_history": {
      "get": {
        "tags": [
          "Bundle"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Bundle/_history": {
      "get": {
        "tags": [
          "Bundle"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Bundle/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Bundle"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Bundle"
            }
          }
        }
      }
    },
    "/CarePlan": {
      "post": {
        "tags": [
          "CarePlan"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/CarePlan"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "CarePlan"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "activitycode",
            "type": "string",
            "in": "query",
            "description": "Detail type of activity"
          },
          {
            "name": "activitydate",
            "type": "string",
            "in": "query",
            "description": "Specified date occurs within period specified by CarePlan.activity.timingSchedule",
            "format": "date"
          },
          {
            "name": "activityreference",
            "type": "reference",
            "in": "query",
            "description": "Activity details defined in specific resource"
          },
          {
            "name": "condition",
            "type": "reference",
            "in": "query",
            "description": "Health issues this plan addresses"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "Time period plan covers",
            "format": "date"
          },
          {
            "name": "goal",
            "type": "reference",
            "in": "query",
            "description": "Desired outcome of plan"
          },
          {
            "name": "participant",
            "type": "reference",
            "in": "query",
            "description": "Who is involved"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Who care plan is for"
          },
          {
            "name": "performer",
            "type": "reference",
            "in": "query",
            "description": "Matches if the practitioner is listed as a performer in any of the \"simple\" activities.  (For performers of the detailed activities, chain through the activitydetail search parameter.)"
          },
          {
            "name": "related",
            "type": "composite",
            "in": "query",
            "description": "A combination of the type of relationship and the related plan"
          },
          {
            "name": "relatedcode",
            "type": "string",
            "in": "query",
            "description": "includes | replaces | fulfills"
          },
          {
            "name": "relatedplan",
            "type": "reference",
            "in": "query",
            "description": "Plan relationship exists with"
          },
          {
            "name": "subject",
            "type": "reference",
            "in": "query",
            "description": "Who care plan is for"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CarePlan"
              }
            }
          }
        }
      }
    },
    "/CarePlan/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "CarePlan"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/CarePlan"
            }
          }
        }
      },
      "put": {
        "tags": [
          "CarePlan"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/CarePlan"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "CarePlan"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/CarePlan/{id}/_history": {
      "get": {
        "tags": [
          "CarePlan"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/CarePlan/_history": {
      "get": {
        "tags": [
          "CarePlan"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/CarePlan/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "CarePlan"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/CarePlan"
            }
          }
        }
      }
    },
    "/Claim": {
      "post": {
        "tags": [
          "Claim"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Claim"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Claim"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "The primary identifier of the financial resource"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Patient"
          },
          {
            "name": "priority",
            "type": "string",
            "in": "query",
            "description": "Processing priority requested"
          },
          {
            "name": "provider",
            "type": "reference",
            "in": "query",
            "description": "Provider responsible for the claim"
          },
          {
            "name": "use",
            "type": "string",
            "in": "query",
            "description": "The kind of financial resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Claim"
              }
            }
          }
        }
      }
    },
    "/Claim/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Claim"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Claim"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Claim"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Claim"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Claim"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Claim/{id}/_history": {
      "get": {
        "tags": [
          "Claim"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Claim/_history": {
      "get": {
        "tags": [
          "Claim"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Claim/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Claim"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Claim"
            }
          }
        }
      }
    },
    "/ClaimResponse": {
      "post": {
        "tags": [
          "ClaimResponse"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/ClaimResponse"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "ClaimResponse"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "The identity of the insurer"
          },
          {
            "name": "request",
            "type": "reference",
            "in": "query",
            "description": "request claim link"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ClaimResponse"
              }
            }
          }
        }
      }
    },
    "/ClaimResponse/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "ClaimResponse"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ClaimResponse"
            }
          }
        }
      },
      "put": {
        "tags": [
          "ClaimResponse"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/ClaimResponse"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "ClaimResponse"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ClaimResponse/{id}/_history": {
      "get": {
        "tags": [
          "ClaimResponse"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ClaimResponse/_history": {
      "get": {
        "tags": [
          "ClaimResponse"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ClaimResponse/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "ClaimResponse"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ClaimResponse"
            }
          }
        }
      }
    },
    "/ClinicalImpression": {
      "post": {
        "tags": [
          "ClinicalImpression"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/ClinicalImpression"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "ClinicalImpression"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "action",
            "type": "reference",
            "in": "query",
            "description": "Actions taken during assessment"
          },
          {
            "name": "assessor",
            "type": "reference",
            "in": "query",
            "description": "The clinician performing the assessment"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "When the assessment occurred",
            "format": "date"
          },
          {
            "name": "finding",
            "type": "string",
            "in": "query",
            "description": "Specific text or code for finding"
          },
          {
            "name": "investigation",
            "type": "reference",
            "in": "query",
            "description": "Record of a specific investigation"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "The patient being assessed"
          },
          {
            "name": "plan",
            "type": "reference",
            "in": "query",
            "description": "Plan of action after assessment"
          },
          {
            "name": "previous",
            "type": "reference",
            "in": "query",
            "description": "Reference to last assessment"
          },
          {
            "name": "problem",
            "type": "reference",
            "in": "query",
            "description": "General assessment of patient state"
          },
          {
            "name": "resolved",
            "type": "string",
            "in": "query",
            "description": "Diagnoses/conditions resolved since previous assessment"
          },
          {
            "name": "ruledout",
            "type": "string",
            "in": "query",
            "description": "Specific text of code for diagnosis"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "in-progress | completed | entered-in-error"
          },
          {
            "name": "trigger",
            "type": "reference",
            "in": "query",
            "description": "Request or event that necessitated this assessment"
          },
          {
            "name": "trigger-code",
            "type": "string",
            "in": "query",
            "description": "Request or event that necessitated this assessment"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ClinicalImpression"
              }
            }
          }
        }
      }
    },
    "/ClinicalImpression/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "ClinicalImpression"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ClinicalImpression"
            }
          }
        }
      },
      "put": {
        "tags": [
          "ClinicalImpression"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/ClinicalImpression"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "ClinicalImpression"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ClinicalImpression/{id}/_history": {
      "get": {
        "tags": [
          "ClinicalImpression"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ClinicalImpression/_history": {
      "get": {
        "tags": [
          "ClinicalImpression"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ClinicalImpression/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "ClinicalImpression"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ClinicalImpression"
            }
          }
        }
      }
    },
    "/Communication": {
      "post": {
        "tags": [
          "Communication"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Communication"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Communication"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "category",
            "type": "string",
            "in": "query",
            "description": "Message category"
          },
          {
            "name": "encounter",
            "type": "reference",
            "in": "query",
            "description": "Encounter leading to message"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Unique identifier"
          },
          {
            "name": "medium",
            "type": "string",
            "in": "query",
            "description": "A channel of communication"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Focus of message"
          },
          {
            "name": "received",
            "type": "string",
            "in": "query",
            "description": "When received",
            "format": "date"
          },
          {
            "name": "recipient",
            "type": "reference",
            "in": "query",
            "description": "Message recipient"
          },
          {
            "name": "request",
            "type": "reference",
            "in": "query",
            "description": "CommunicationRequest producing this message"
          },
          {
            "name": "sender",
            "type": "reference",
            "in": "query",
            "description": "Message sender"
          },
          {
            "name": "sent",
            "type": "string",
            "in": "query",
            "description": "When sent",
            "format": "date"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "in-progress | completed | suspended | rejected | failed"
          },
          {
            "name": "subject",
            "type": "reference",
            "in": "query",
            "description": "Focus of message"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Communication"
              }
            }
          }
        }
      }
    },
    "/Communication/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Communication"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Communication"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Communication"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Communication"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Communication"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Communication/{id}/_history": {
      "get": {
        "tags": [
          "Communication"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Communication/_history": {
      "get": {
        "tags": [
          "Communication"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Communication/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Communication"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Communication"
            }
          }
        }
      }
    },
    "/CommunicationRequest": {
      "post": {
        "tags": [
          "CommunicationRequest"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/CommunicationRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "CommunicationRequest"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "category",
            "type": "string",
            "in": "query",
            "description": "Message category"
          },
          {
            "name": "encounter",
            "type": "reference",
            "in": "query",
            "description": "Encounter leading to message"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Unique identifier"
          },
          {
            "name": "medium",
            "type": "string",
            "in": "query",
            "description": "A channel of communication"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Focus of message"
          },
          {
            "name": "priority",
            "type": "string",
            "in": "query",
            "description": "Message urgency"
          },
          {
            "name": "recipient",
            "type": "reference",
            "in": "query",
            "description": "Message recipient"
          },
          {
            "name": "requested",
            "type": "string",
            "in": "query",
            "description": "When ordered or proposed",
            "format": "date"
          },
          {
            "name": "requester",
            "type": "reference",
            "in": "query",
            "description": "An individual who requested a communication"
          },
          {
            "name": "sender",
            "type": "reference",
            "in": "query",
            "description": "Message sender"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "proposed | planned | requested | received | accepted | in-progress | completed | suspended | rejected | failed"
          },
          {
            "name": "subject",
            "type": "reference",
            "in": "query",
            "description": "Focus of message"
          },
          {
            "name": "time",
            "type": "string",
            "in": "query",
            "description": "When scheduled",
            "format": "date"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CommunicationRequest"
              }
            }
          }
        }
      }
    },
    "/CommunicationRequest/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "CommunicationRequest"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/CommunicationRequest"
            }
          }
        }
      },
      "put": {
        "tags": [
          "CommunicationRequest"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/CommunicationRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "CommunicationRequest"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/CommunicationRequest/{id}/_history": {
      "get": {
        "tags": [
          "CommunicationRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/CommunicationRequest/_history": {
      "get": {
        "tags": [
          "CommunicationRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/CommunicationRequest/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "CommunicationRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/CommunicationRequest"
            }
          }
        }
      }
    },
    "/Composition": {
      "post": {
        "tags": [
          "Composition"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Composition"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Composition"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "attester",
            "type": "reference",
            "in": "query",
            "description": "Who attested the composition"
          },
          {
            "name": "author",
            "type": "reference",
            "in": "query",
            "description": "Who and/or what authored the composition"
          },
          {
            "name": "class",
            "type": "string",
            "in": "query",
            "description": "Categorization of Composition"
          },
          {
            "name": "confidentiality",
            "type": "string",
            "in": "query",
            "description": "As defined by affinity domain"
          },
          {
            "name": "context",
            "type": "string",
            "in": "query",
            "description": "Code(s) that apply to the event being documented"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "Composition editing time",
            "format": "date"
          },
          {
            "name": "encounter",
            "type": "reference",
            "in": "query",
            "description": "Context of the Composition"
          },
          {
            "name": "entry",
            "type": "reference",
            "in": "query",
            "description": "A reference to data that supports this section"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Logical identifier of composition (version-independent)"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Who and/or what the composition is about"
          },
          {
            "name": "period",
            "type": "string",
            "in": "query",
            "description": "The period covered by the documentation",
            "format": "date"
          },
          {
            "name": "section",
            "type": "string",
            "in": "query",
            "description": "Classification of section (recommended)"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "preliminary | final | amended | entered-in-error"
          },
          {
            "name": "subject",
            "type": "reference",
            "in": "query",
            "description": "Who and/or what the composition is about"
          },
          {
            "name": "title",
            "type": "string",
            "in": "query",
            "description": "Human Readable name/title"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "Kind of composition (LOINC if possible)"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Composition"
              }
            }
          }
        }
      }
    },
    "/Composition/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Composition"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Composition"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Composition"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Composition"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Composition"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Composition/{id}/_history": {
      "get": {
        "tags": [
          "Composition"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Composition/_history": {
      "get": {
        "tags": [
          "Composition"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Composition/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Composition"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Composition"
            }
          }
        }
      }
    },
    "/ConceptMap": {
      "post": {
        "tags": [
          "ConceptMap"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/ConceptMap"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "ConceptMap"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "context",
            "type": "string",
            "in": "query",
            "description": "A use context assigned to the concept map"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "The concept map publication date",
            "format": "date"
          },
          {
            "name": "dependson",
            "type": "uri",
            "in": "query",
            "description": "Reference to element/field/ValueSet mapping depends on"
          },
          {
            "name": "description",
            "type": "string",
            "in": "query",
            "description": "Text search in the description of the concept map"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Additional identifier for the concept map"
          },
          {
            "name": "name",
            "type": "string",
            "in": "query",
            "description": "Name of the concept map"
          },
          {
            "name": "product",
            "type": "uri",
            "in": "query",
            "description": "Reference to element/field/ValueSet mapping depends on"
          },
          {
            "name": "publisher",
            "type": "string",
            "in": "query",
            "description": "Name of the publisher of the concept map"
          },
          {
            "name": "source",
            "type": "reference",
            "in": "query",
            "description": "Identifies the source of the concepts which are being mapped"
          },
          {
            "name": "sourcecode",
            "type": "string",
            "in": "query",
            "description": "Identifies element being mapped"
          },
          {
            "name": "sourcesystem",
            "type": "uri",
            "in": "query",
            "description": "Code System (if value set crosses code systems)"
          },
          {
            "name": "sourceuri",
            "type": "reference",
            "in": "query",
            "description": "Identifies the source of the concepts which are being mapped"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "Status of the concept map"
          },
          {
            "name": "target",
            "type": "reference",
            "in": "query",
            "description": "Provides context to the mappings"
          },
          {
            "name": "targetcode",
            "type": "string",
            "in": "query",
            "description": "Code that identifies the target element"
          },
          {
            "name": "targetsystem",
            "type": "uri",
            "in": "query",
            "description": "System of the target (if necessary)"
          },
          {
            "name": "url",
            "type": "uri",
            "in": "query",
            "description": "The URL of the concept map"
          },
          {
            "name": "version",
            "type": "string",
            "in": "query",
            "description": "The version identifier of the concept map"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ConceptMap"
              }
            }
          }
        }
      }
    },
    "/ConceptMap/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "ConceptMap"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ConceptMap"
            }
          }
        }
      },
      "put": {
        "tags": [
          "ConceptMap"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/ConceptMap"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "ConceptMap"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ConceptMap/{id}/_history": {
      "get": {
        "tags": [
          "ConceptMap"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ConceptMap/_history": {
      "get": {
        "tags": [
          "ConceptMap"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ConceptMap/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "ConceptMap"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ConceptMap"
            }
          }
        }
      }
    },
    "/Condition": {
      "post": {
        "tags": [
          "Condition"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Condition"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Condition"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "asserter",
            "type": "reference",
            "in": "query",
            "description": "Person who asserts this condition"
          },
          {
            "name": "body-site",
            "type": "string",
            "in": "query",
            "description": "Anatomical location, if relevant"
          },
          {
            "name": "category",
            "type": "string",
            "in": "query",
            "description": "The category of the condition"
          },
          {
            "name": "clinicalstatus",
            "type": "string",
            "in": "query",
            "description": "The clinical status of the condition"
          },
          {
            "name": "code",
            "type": "string",
            "in": "query",
            "description": "Code for the condition"
          },
          {
            "name": "date-recorded",
            "type": "string",
            "in": "query",
            "description": "A date, when the Condition statement was documented",
            "format": "date"
          },
          {
            "name": "encounter",
            "type": "reference",
            "in": "query",
            "description": "Encounter when condition first asserted"
          },
          {
            "name": "evidence",
            "type": "string",
            "in": "query",
            "description": "Manifestation/symptom"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "A unique identifier of the condition record"
          },
          {
            "name": "onset",
            "type": "string",
            "in": "query",
            "description": "Date related onsets (dateTime and Period)",
            "format": "date"
          },
          {
            "name": "onset-info",
            "type": "string",
            "in": "query",
            "description": "Other onsets (boolean, age, range, string)"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Who has the condition?"
          },
          {
            "name": "severity",
            "type": "string",
            "in": "query",
            "description": "The severity of the condition"
          },
          {
            "name": "stage",
            "type": "string",
            "in": "query",
            "description": "Simple summary (disease specific)"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "identifier"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Condition"
              }
            }
          }
        }
      }
    },
    "/Condition/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Condition"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Condition"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Condition"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Condition"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Condition"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Condition/{id}/_history": {
      "get": {
        "tags": [
          "Condition"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Condition/_history": {
      "get": {
        "tags": [
          "Condition"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Condition/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Condition"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Condition"
            }
          }
        }
      }
    },
    "/Conformance": {
      "post": {
        "tags": [
          "Conformance"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Conformance"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Conformance"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "The conformance statement publication date",
            "format": "date"
          },
          {
            "name": "description",
            "type": "string",
            "in": "query",
            "description": "Text search in the description of the conformance statement"
          },
          {
            "name": "event",
            "type": "string",
            "in": "query",
            "description": "Event code in a conformance statement"
          },
          {
            "name": "fhirversion",
            "type": "string",
            "in": "query",
            "description": "The version of FHIR"
          },
          {
            "name": "format",
            "type": "string",
            "in": "query",
            "description": "formats supported (xml | json | mime type)"
          },
          {
            "name": "mode",
            "type": "string",
            "in": "query",
            "description": "Mode - restful (server/client) or messaging (sender/receiver)"
          },
          {
            "name": "name",
            "type": "string",
            "in": "query",
            "description": "Name of the conformance statement"
          },
          {
            "name": "profile",
            "type": "reference",
            "in": "query",
            "description": "A profile id invoked in a conformance statement"
          },
          {
            "name": "publisher",
            "type": "string",
            "in": "query",
            "description": "Name of the publisher of the conformance statement"
          },
          {
            "name": "resource",
            "type": "string",
            "in": "query",
            "description": "Name of a resource mentioned in a conformance statement"
          },
          {
            "name": "security",
            "type": "string",
            "in": "query",
            "description": "OAuth | SMART-on-FHIR | NTLM | Basic | Kerberos | Certificates"
          },
          {
            "name": "software",
            "type": "string",
            "in": "query",
            "description": "Part of a the name of a software application"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "The current status of the conformance statement"
          },
          {
            "name": "supported-profile",
            "type": "reference",
            "in": "query",
            "description": "Profiles for use cases supported"
          },
          {
            "name": "url",
            "type": "uri",
            "in": "query",
            "description": "The uri that identifies the conformance statement"
          },
          {
            "name": "version",
            "type": "string",
            "in": "query",
            "description": "The version identifier of the conformance statement"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Conformance"
              }
            }
          }
        }
      }
    },
    "/Conformance/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Conformance"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Conformance"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Conformance"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Conformance"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Conformance"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Conformance/{id}/_history": {
      "get": {
        "tags": [
          "Conformance"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Conformance/_history": {
      "get": {
        "tags": [
          "Conformance"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Conformance/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Conformance"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Conformance"
            }
          }
        }
      }
    },
    "/Contract": {
      "post": {
        "tags": [
          "Contract"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Contract"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Contract"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "actor",
            "type": "reference",
            "in": "query",
            "description": "Contract Actor Type"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "The identity of the contract"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "The identity of the target of the contract (if a patient)"
          },
          {
            "name": "signer",
            "type": "reference",
            "in": "query",
            "description": "Contract Signatory Party"
          },
          {
            "name": "subject",
            "type": "reference",
            "in": "query",
            "description": "The identity of the target of the contract"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Contract"
              }
            }
          }
        }
      }
    },
    "/Contract/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Contract"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Contract"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Contract"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Contract"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Contract"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Contract/{id}/_history": {
      "get": {
        "tags": [
          "Contract"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Contract/_history": {
      "get": {
        "tags": [
          "Contract"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Contract/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Contract"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Contract"
            }
          }
        }
      }
    },
    "/Coverage": {
      "post": {
        "tags": [
          "Coverage"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Coverage"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Coverage"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "dependent",
            "type": "string",
            "in": "query",
            "description": "Dependent number"
          },
          {
            "name": "group",
            "type": "string",
            "in": "query",
            "description": "Group identifier"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "The primary identifier of the insured"
          },
          {
            "name": "issuer",
            "type": "reference",
            "in": "query",
            "description": "The identity of the insurer"
          },
          {
            "name": "plan",
            "type": "string",
            "in": "query",
            "description": "A plan or policy identifier"
          },
          {
            "name": "sequence",
            "type": "string",
            "in": "query",
            "description": "Sequence number"
          },
          {
            "name": "subplan",
            "type": "string",
            "in": "query",
            "description": "Sub-plan identifier"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "The kind of coverage"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Coverage"
              }
            }
          }
        }
      }
    },
    "/Coverage/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Coverage"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Coverage"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Coverage"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Coverage"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Coverage"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Coverage/{id}/_history": {
      "get": {
        "tags": [
          "Coverage"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Coverage/_history": {
      "get": {
        "tags": [
          "Coverage"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Coverage/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Coverage"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Coverage"
            }
          }
        }
      }
    },
    "/DataElement": {
      "post": {
        "tags": [
          "DataElement"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/DataElement"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "DataElement"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "code",
            "type": "string",
            "in": "query",
            "description": "A code for the data element (server may choose to do subsumption)"
          },
          {
            "name": "context",
            "type": "string",
            "in": "query",
            "description": "A use context assigned to the data element"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "The data element publication date",
            "format": "date"
          },
          {
            "name": "description",
            "type": "string",
            "in": "query",
            "description": "Text search in the description of the data element.  This corresponds to the definition of the first DataElement.element."
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "The identifier of the data element"
          },
          {
            "name": "name",
            "type": "string",
            "in": "query",
            "description": "Name of the data element"
          },
          {
            "name": "publisher",
            "type": "string",
            "in": "query",
            "description": "Name of the publisher of the data element"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "The current status of the data element"
          },
          {
            "name": "stringency",
            "type": "string",
            "in": "query",
            "description": "The stringency of the data element definition"
          },
          {
            "name": "url",
            "type": "uri",
            "in": "query",
            "description": "The official URL for the data element"
          },
          {
            "name": "version",
            "type": "string",
            "in": "query",
            "description": "The version identifier of the data element"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/DataElement"
              }
            }
          }
        }
      }
    },
    "/DataElement/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "DataElement"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/DataElement"
            }
          }
        }
      },
      "put": {
        "tags": [
          "DataElement"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/DataElement"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "DataElement"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DataElement/{id}/_history": {
      "get": {
        "tags": [
          "DataElement"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DataElement/_history": {
      "get": {
        "tags": [
          "DataElement"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DataElement/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "DataElement"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/DataElement"
            }
          }
        }
      }
    },
    "/DetectedIssue": {
      "post": {
        "tags": [
          "DetectedIssue"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/DetectedIssue"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "DetectedIssue"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "author",
            "type": "reference",
            "in": "query",
            "description": "The provider or device that identified the issue"
          },
          {
            "name": "category",
            "type": "string",
            "in": "query",
            "description": "Issue Category, e.g. drug-drug, duplicate therapy, etc."
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "When identified",
            "format": "date"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Unique id for the detected issue"
          },
          {
            "name": "implicated",
            "type": "reference",
            "in": "query",
            "description": "Problem resource"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Associated patient"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/DetectedIssue"
              }
            }
          }
        }
      }
    },
    "/DetectedIssue/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "DetectedIssue"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/DetectedIssue"
            }
          }
        }
      },
      "put": {
        "tags": [
          "DetectedIssue"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/DetectedIssue"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "DetectedIssue"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DetectedIssue/{id}/_history": {
      "get": {
        "tags": [
          "DetectedIssue"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DetectedIssue/_history": {
      "get": {
        "tags": [
          "DetectedIssue"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DetectedIssue/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "DetectedIssue"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/DetectedIssue"
            }
          }
        }
      }
    },
    "/Device": {
      "post": {
        "tags": [
          "Device"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Device"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Device"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Instance id from manufacturer, owner, and others"
          },
          {
            "name": "location",
            "type": "reference",
            "in": "query",
            "description": "A location, where the resource is found"
          },
          {
            "name": "manufacturer",
            "type": "string",
            "in": "query",
            "description": "The manufacturer of the device"
          },
          {
            "name": "model",
            "type": "string",
            "in": "query",
            "description": "The model of the device"
          },
          {
            "name": "organization",
            "type": "reference",
            "in": "query",
            "description": "The organization responsible for the device"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Patient information, if the resource is affixed to a person"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "The type of the device"
          },
          {
            "name": "udi",
            "type": "string",
            "in": "query",
            "description": "FDA mandated Unique Device Identifier"
          },
          {
            "name": "url",
            "type": "uri",
            "in": "query",
            "description": "Network address to contact device"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Device"
              }
            }
          }
        }
      }
    },
    "/Device/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Device"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Device"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Device"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Device"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Device"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Device/{id}/_history": {
      "get": {
        "tags": [
          "Device"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Device/_history": {
      "get": {
        "tags": [
          "Device"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Device/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Device"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Device"
            }
          }
        }
      }
    },
    "/DeviceComponent": {
      "post": {
        "tags": [
          "DeviceComponent"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/DeviceComponent"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "DeviceComponent"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "parent",
            "type": "reference",
            "in": "query",
            "description": "The parent DeviceComponent resource"
          },
          {
            "name": "source",
            "type": "reference",
            "in": "query",
            "description": "The device source"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "The device component type"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/DeviceComponent"
              }
            }
          }
        }
      }
    },
    "/DeviceComponent/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "DeviceComponent"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/DeviceComponent"
            }
          }
        }
      },
      "put": {
        "tags": [
          "DeviceComponent"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/DeviceComponent"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "DeviceComponent"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DeviceComponent/{id}/_history": {
      "get": {
        "tags": [
          "DeviceComponent"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DeviceComponent/_history": {
      "get": {
        "tags": [
          "DeviceComponent"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DeviceComponent/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "DeviceComponent"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/DeviceComponent"
            }
          }
        }
      }
    },
    "/DeviceMetric": {
      "post": {
        "tags": [
          "DeviceMetric"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/DeviceMetric"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "DeviceMetric"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "category",
            "type": "string",
            "in": "query",
            "description": "The category of the metric"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "The identifier of the metric"
          },
          {
            "name": "parent",
            "type": "reference",
            "in": "query",
            "description": "The parent DeviceMetric resource"
          },
          {
            "name": "source",
            "type": "reference",
            "in": "query",
            "description": "The device resource"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "The component type"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/DeviceMetric"
              }
            }
          }
        }
      }
    },
    "/DeviceMetric/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "DeviceMetric"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/DeviceMetric"
            }
          }
        }
      },
      "put": {
        "tags": [
          "DeviceMetric"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/DeviceMetric"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "DeviceMetric"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DeviceMetric/{id}/_history": {
      "get": {
        "tags": [
          "DeviceMetric"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DeviceMetric/_history": {
      "get": {
        "tags": [
          "DeviceMetric"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DeviceMetric/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "DeviceMetric"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/DeviceMetric"
            }
          }
        }
      }
    },
    "/DeviceUseRequest": {
      "post": {
        "tags": [
          "DeviceUseRequest"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/DeviceUseRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "DeviceUseRequest"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "device",
            "type": "reference",
            "in": "query",
            "description": "Device requested"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Search by subject - a patient"
          },
          {
            "name": "subject",
            "type": "reference",
            "in": "query",
            "description": "Search by subject"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/DeviceUseRequest"
              }
            }
          }
        }
      }
    },
    "/DeviceUseRequest/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "DeviceUseRequest"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/DeviceUseRequest"
            }
          }
        }
      },
      "put": {
        "tags": [
          "DeviceUseRequest"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/DeviceUseRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "DeviceUseRequest"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DeviceUseRequest/{id}/_history": {
      "get": {
        "tags": [
          "DeviceUseRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DeviceUseRequest/_history": {
      "get": {
        "tags": [
          "DeviceUseRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DeviceUseRequest/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "DeviceUseRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/DeviceUseRequest"
            }
          }
        }
      }
    },
    "/DeviceUseStatement": {
      "post": {
        "tags": [
          "DeviceUseStatement"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/DeviceUseStatement"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "DeviceUseStatement"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "device",
            "type": "reference",
            "in": "query",
            "description": "Search by device"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Search by subject - a patient"
          },
          {
            "name": "subject",
            "type": "reference",
            "in": "query",
            "description": "Search by subject"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/DeviceUseStatement"
              }
            }
          }
        }
      }
    },
    "/DeviceUseStatement/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "DeviceUseStatement"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/DeviceUseStatement"
            }
          }
        }
      },
      "put": {
        "tags": [
          "DeviceUseStatement"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/DeviceUseStatement"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "DeviceUseStatement"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DeviceUseStatement/{id}/_history": {
      "get": {
        "tags": [
          "DeviceUseStatement"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DeviceUseStatement/_history": {
      "get": {
        "tags": [
          "DeviceUseStatement"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DeviceUseStatement/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "DeviceUseStatement"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/DeviceUseStatement"
            }
          }
        }
      }
    },
    "/DiagnosticOrder": {
      "post": {
        "tags": [
          "DiagnosticOrder"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/DiagnosticOrder"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "DiagnosticOrder"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "actor",
            "type": "reference",
            "in": "query",
            "description": "Who recorded or did this"
          },
          {
            "name": "bodysite",
            "type": "string",
            "in": "query",
            "description": "Location of requested test (if applicable)"
          },
          {
            "name": "code",
            "type": "string",
            "in": "query",
            "description": "Code to indicate the item (test or panel) being ordered"
          },
          {
            "name": "encounter",
            "type": "reference",
            "in": "query",
            "description": "The encounter that this diagnostic order is associated with"
          },
          {
            "name": "event-date",
            "type": "string",
            "in": "query",
            "description": "The date at which the event happened",
            "format": "date"
          },
          {
            "name": "event-status",
            "type": "string",
            "in": "query",
            "description": "proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed"
          },
          {
            "name": "event-status-date",
            "type": "composite",
            "in": "query",
            "description": "A combination of past-status and date"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Identifiers assigned to this order"
          },
          {
            "name": "item-date",
            "type": "string",
            "in": "query",
            "description": "The date at which the event happened",
            "format": "date"
          },
          {
            "name": "item-past-status",
            "type": "string",
            "in": "query",
            "description": "proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed"
          },
          {
            "name": "item-status",
            "type": "string",
            "in": "query",
            "description": "proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed"
          },
          {
            "name": "item-status-date",
            "type": "composite",
            "in": "query",
            "description": "A combination of item-past-status and item-date"
          },
          {
            "name": "orderer",
            "type": "reference",
            "in": "query",
            "description": "Who ordered the test"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Who and/or what test is about"
          },
          {
            "name": "specimen",
            "type": "reference",
            "in": "query",
            "description": "If the whole order relates to specific specimens"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed"
          },
          {
            "name": "subject",
            "type": "reference",
            "in": "query",
            "description": "Who and/or what test is about"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/DiagnosticOrder"
              }
            }
          }
        }
      }
    },
    "/DiagnosticOrder/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "DiagnosticOrder"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/DiagnosticOrder"
            }
          }
        }
      },
      "put": {
        "tags": [
          "DiagnosticOrder"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/DiagnosticOrder"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "DiagnosticOrder"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DiagnosticOrder/{id}/_history": {
      "get": {
        "tags": [
          "DiagnosticOrder"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DiagnosticOrder/_history": {
      "get": {
        "tags": [
          "DiagnosticOrder"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DiagnosticOrder/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "DiagnosticOrder"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/DiagnosticOrder"
            }
          }
        }
      }
    },
    "/DiagnosticReport": {
      "post": {
        "tags": [
          "DiagnosticReport"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/DiagnosticReport"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "DiagnosticReport"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "category",
            "type": "string",
            "in": "query",
            "description": "Which diagnostic discipline/department created the report"
          },
          {
            "name": "code",
            "type": "string",
            "in": "query",
            "description": "The code for the report as a whole, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "The clinically relevant time of the report",
            "format": "date"
          },
          {
            "name": "diagnosis",
            "type": "string",
            "in": "query",
            "description": "A coded diagnosis on the report"
          },
          {
            "name": "encounter",
            "type": "reference",
            "in": "query",
            "description": "The Encounter when the order was made"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "An identifier for the report"
          },
          {
            "name": "image",
            "type": "reference",
            "in": "query",
            "description": "A reference to the image source."
          },
          {
            "name": "issued",
            "type": "string",
            "in": "query",
            "description": "When the report was issued",
            "format": "date"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "The subject of the report if a patient"
          },
          {
            "name": "performer",
            "type": "reference",
            "in": "query",
            "description": "Who was the source of the report (organization)"
          },
          {
            "name": "request",
            "type": "reference",
            "in": "query",
            "description": "Reference to the test or procedure request."
          },
          {
            "name": "result",
            "type": "reference",
            "in": "query",
            "description": "Link to an atomic result (observation resource)"
          },
          {
            "name": "specimen",
            "type": "reference",
            "in": "query",
            "description": "The specimen details"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "The status of the report"
          },
          {
            "name": "subject",
            "type": "reference",
            "in": "query",
            "description": "The subject of the report"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/DiagnosticReport"
              }
            }
          }
        }
      }
    },
    "/DiagnosticReport/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "DiagnosticReport"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/DiagnosticReport"
            }
          }
        }
      },
      "put": {
        "tags": [
          "DiagnosticReport"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/DiagnosticReport"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "DiagnosticReport"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DiagnosticReport/{id}/_history": {
      "get": {
        "tags": [
          "DiagnosticReport"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DiagnosticReport/_history": {
      "get": {
        "tags": [
          "DiagnosticReport"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DiagnosticReport/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "DiagnosticReport"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/DiagnosticReport"
            }
          }
        }
      }
    },
    "/DocumentManifest": {
      "post": {
        "tags": [
          "DocumentManifest"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/DocumentManifest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "DocumentManifest"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "author",
            "type": "reference",
            "in": "query",
            "description": "Who and/or what authored the manifest"
          },
          {
            "name": "content-ref",
            "type": "reference",
            "in": "query",
            "description": "Contents of this set of documents"
          },
          {
            "name": "created",
            "type": "string",
            "in": "query",
            "description": "When this document manifest created",
            "format": "date"
          },
          {
            "name": "description",
            "type": "string",
            "in": "query",
            "description": "Human-readable description (title)"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Unique Identifier for the set of documents"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "The subject of the set of documents"
          },
          {
            "name": "recipient",
            "type": "reference",
            "in": "query",
            "description": "Intended to get notified about this set of documents"
          },
          {
            "name": "related-id",
            "type": "string",
            "in": "query",
            "description": "Identifiers of things that are related"
          },
          {
            "name": "related-ref",
            "type": "reference",
            "in": "query",
            "description": "Related Resource"
          },
          {
            "name": "source",
            "type": "uri",
            "in": "query",
            "description": "The source system/application/software"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "current | superseded | entered-in-error"
          },
          {
            "name": "subject",
            "type": "reference",
            "in": "query",
            "description": "The subject of the set of documents"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "Kind of document set"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/DocumentManifest"
              }
            }
          }
        }
      }
    },
    "/DocumentManifest/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "DocumentManifest"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/DocumentManifest"
            }
          }
        }
      },
      "put": {
        "tags": [
          "DocumentManifest"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/DocumentManifest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "DocumentManifest"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DocumentManifest/{id}/_history": {
      "get": {
        "tags": [
          "DocumentManifest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DocumentManifest/_history": {
      "get": {
        "tags": [
          "DocumentManifest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DocumentManifest/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "DocumentManifest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/DocumentManifest"
            }
          }
        }
      }
    },
    "/DocumentReference": {
      "post": {
        "tags": [
          "DocumentReference"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/DocumentReference"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "DocumentReference"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "authenticator",
            "type": "reference",
            "in": "query",
            "description": "Who/what authenticated the document"
          },
          {
            "name": "author",
            "type": "reference",
            "in": "query",
            "description": "Who and/or what authored the document"
          },
          {
            "name": "class",
            "type": "string",
            "in": "query",
            "description": "Categorization of document"
          },
          {
            "name": "created",
            "type": "string",
            "in": "query",
            "description": "Document creation time",
            "format": "date"
          },
          {
            "name": "custodian",
            "type": "reference",
            "in": "query",
            "description": "Organization which maintains the document"
          },
          {
            "name": "description",
            "type": "string",
            "in": "query",
            "description": "Human-readable description (title)"
          },
          {
            "name": "encounter",
            "type": "reference",
            "in": "query",
            "description": "Context of the document  content"
          },
          {
            "name": "event",
            "type": "string",
            "in": "query",
            "description": "Main Clinical Acts Documented"
          },
          {
            "name": "facility",
            "type": "string",
            "in": "query",
            "description": "Kind of facility where patient was seen"
          },
          {
            "name": "format",
            "type": "string",
            "in": "query",
            "description": "Format/content rules for the document"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Master Version Specific Identifier"
          },
          {
            "name": "indexed",
            "type": "string",
            "in": "query",
            "description": "When this document reference created",
            "format": "date"
          },
          {
            "name": "language",
            "type": "string",
            "in": "query",
            "description": "Human language of the content (BCP-47)"
          },
          {
            "name": "location",
            "type": "uri",
            "in": "query",
            "description": "Uri where the data can be found"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Who/what is the subject of the document"
          },
          {
            "name": "period",
            "type": "string",
            "in": "query",
            "description": "Time of service that is being documented",
            "format": "date"
          },
          {
            "name": "related-id",
            "type": "string",
            "in": "query",
            "description": "Identifier of related objects or events"
          },
          {
            "name": "related-ref",
            "type": "reference",
            "in": "query",
            "description": "Related Resource"
          },
          {
            "name": "relatesto",
            "type": "reference",
            "in": "query",
            "description": "Target of the relationship"
          },
          {
            "name": "relation",
            "type": "string",
            "in": "query",
            "description": "replaces | transforms | signs | appends"
          },
          {
            "name": "relationship",
            "type": "composite",
            "in": "query",
            "description": "Combination of relation and relatesTo"
          },
          {
            "name": "securitylabel",
            "type": "string",
            "in": "query",
            "description": "Document security-tags"
          },
          {
            "name": "setting",
            "type": "string",
            "in": "query",
            "description": "Additional details about where the content was created (e.g. clinical specialty)"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "current | superseded | entered-in-error"
          },
          {
            "name": "subject",
            "type": "reference",
            "in": "query",
            "description": "Who/what is the subject of the document"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "Kind of document (LOINC if possible)"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/DocumentReference"
              }
            }
          }
        }
      }
    },
    "/DocumentReference/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "DocumentReference"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/DocumentReference"
            }
          }
        }
      },
      "put": {
        "tags": [
          "DocumentReference"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/DocumentReference"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "DocumentReference"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DocumentReference/{id}/_history": {
      "get": {
        "tags": [
          "DocumentReference"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DocumentReference/_history": {
      "get": {
        "tags": [
          "DocumentReference"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/DocumentReference/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "DocumentReference"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/DocumentReference"
            }
          }
        }
      }
    },
    "/EligibilityRequest": {
      "post": {
        "tags": [
          "EligibilityRequest"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/EligibilityRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "EligibilityRequest"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "The business identifier of the Eligibility"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EligibilityRequest"
              }
            }
          }
        }
      }
    },
    "/EligibilityRequest/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "EligibilityRequest"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/EligibilityRequest"
            }
          }
        }
      },
      "put": {
        "tags": [
          "EligibilityRequest"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/EligibilityRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "EligibilityRequest"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/EligibilityRequest/{id}/_history": {
      "get": {
        "tags": [
          "EligibilityRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/EligibilityRequest/_history": {
      "get": {
        "tags": [
          "EligibilityRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/EligibilityRequest/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "EligibilityRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/EligibilityRequest"
            }
          }
        }
      }
    },
    "/EligibilityResponse": {
      "post": {
        "tags": [
          "EligibilityResponse"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/EligibilityResponse"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "EligibilityResponse"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "The business identifier of the Explanation of Benefit"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EligibilityResponse"
              }
            }
          }
        }
      }
    },
    "/EligibilityResponse/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "EligibilityResponse"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/EligibilityResponse"
            }
          }
        }
      },
      "put": {
        "tags": [
          "EligibilityResponse"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/EligibilityResponse"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "EligibilityResponse"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/EligibilityResponse/{id}/_history": {
      "get": {
        "tags": [
          "EligibilityResponse"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/EligibilityResponse/_history": {
      "get": {
        "tags": [
          "EligibilityResponse"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/EligibilityResponse/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "EligibilityResponse"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/EligibilityResponse"
            }
          }
        }
      }
    },
    "/Encounter": {
      "post": {
        "tags": [
          "Encounter"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Encounter"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Encounter"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "appointment",
            "type": "reference",
            "in": "query",
            "description": "The appointment that scheduled this encounter"
          },
          {
            "name": "condition",
            "type": "reference",
            "in": "query",
            "description": "Reason the encounter takes place (resource)"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "A date within the period the Encounter lasted",
            "format": "date"
          },
          {
            "name": "episodeofcare",
            "type": "reference",
            "in": "query",
            "description": "Episode(s) of care that this encounter should be recorded against"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Identifier(s) by which this encounter is known"
          },
          {
            "name": "incomingreferral",
            "type": "reference",
            "in": "query",
            "description": "The ReferralRequest that initiated this encounter"
          },
          {
            "name": "indication",
            "type": "reference",
            "in": "query",
            "description": "Reason the encounter takes place (resource)"
          },
          {
            "name": "length",
            "type": "integer",
            "in": "query",
            "description": "Length of encounter in days"
          },
          {
            "name": "location",
            "type": "reference",
            "in": "query",
            "description": "Location the encounter takes place"
          },
          {
            "name": "location-period",
            "type": "string",
            "in": "query",
            "description": "Time period during which the patient was present at the location",
            "format": "date"
          },
          {
            "name": "part-of",
            "type": "reference",
            "in": "query",
            "description": "Another Encounter this encounter is part of"
          },
          {
            "name": "participant",
            "type": "reference",
            "in": "query",
            "description": "Persons involved in the encounter other than the patient"
          },
          {
            "name": "participant-type",
            "type": "string",
            "in": "query",
            "description": "Role of participant in encounter"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "The patient present at the encounter"
          },
          {
            "name": "practitioner",
            "type": "reference",
            "in": "query",
            "description": "Persons involved in the encounter other than the patient"
          },
          {
            "name": "procedure",
            "type": "reference",
            "in": "query",
            "description": "Reason the encounter takes place (resource)"
          },
          {
            "name": "reason",
            "type": "string",
            "in": "query",
            "description": "Reason the encounter takes place (code)"
          },
          {
            "name": "special-arrangement",
            "type": "string",
            "in": "query",
            "description": "Wheelchair, translator, stretcher, etc."
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "planned | arrived | in-progress | onleave | finished | cancelled"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "Specific type of encounter"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Encounter"
              }
            }
          }
        }
      }
    },
    "/Encounter/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Encounter"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Encounter"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Encounter"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Encounter"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Encounter"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Encounter/{id}/_history": {
      "get": {
        "tags": [
          "Encounter"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Encounter/_history": {
      "get": {
        "tags": [
          "Encounter"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Encounter/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Encounter"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Encounter"
            }
          }
        }
      }
    },
    "/EnrollmentRequest": {
      "post": {
        "tags": [
          "EnrollmentRequest"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/EnrollmentRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "EnrollmentRequest"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "The business identifier of the Enrollment"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "The party to be enrolled"
          },
          {
            "name": "subject",
            "type": "reference",
            "in": "query",
            "description": "The party to be enrolled"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EnrollmentRequest"
              }
            }
          }
        }
      }
    },
    "/EnrollmentRequest/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "EnrollmentRequest"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/EnrollmentRequest"
            }
          }
        }
      },
      "put": {
        "tags": [
          "EnrollmentRequest"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/EnrollmentRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "EnrollmentRequest"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/EnrollmentRequest/{id}/_history": {
      "get": {
        "tags": [
          "EnrollmentRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/EnrollmentRequest/_history": {
      "get": {
        "tags": [
          "EnrollmentRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/EnrollmentRequest/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "EnrollmentRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/EnrollmentRequest"
            }
          }
        }
      }
    },
    "/EnrollmentResponse": {
      "post": {
        "tags": [
          "EnrollmentResponse"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/EnrollmentResponse"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "EnrollmentResponse"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "The business identifier of the Explanation of Benefit"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EnrollmentResponse"
              }
            }
          }
        }
      }
    },
    "/EnrollmentResponse/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "EnrollmentResponse"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/EnrollmentResponse"
            }
          }
        }
      },
      "put": {
        "tags": [
          "EnrollmentResponse"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/EnrollmentResponse"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "EnrollmentResponse"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/EnrollmentResponse/{id}/_history": {
      "get": {
        "tags": [
          "EnrollmentResponse"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/EnrollmentResponse/_history": {
      "get": {
        "tags": [
          "EnrollmentResponse"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/EnrollmentResponse/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "EnrollmentResponse"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/EnrollmentResponse"
            }
          }
        }
      }
    },
    "/EpisodeOfCare": {
      "post": {
        "tags": [
          "EpisodeOfCare"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/EpisodeOfCare"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "EpisodeOfCare"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "care-manager",
            "type": "reference",
            "in": "query",
            "description": "Care manager/care co-ordinator for the patient"
          },
          {
            "name": "condition",
            "type": "reference",
            "in": "query",
            "description": "Conditions/problems/diagnoses this episode of care is for"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "The provided date search value falls within the episode of care's period",
            "format": "date"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Identifier(s) for the EpisodeOfCare"
          },
          {
            "name": "incomingreferral",
            "type": "reference",
            "in": "query",
            "description": "Incoming Referral Request"
          },
          {
            "name": "organization",
            "type": "reference",
            "in": "query",
            "description": "The organization that has assumed the specific responsibilities of this EpisodeOfCare"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Patient for this episode of care"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "The current status of the Episode of Care as provided (does not check the status history collection)"
          },
          {
            "name": "team-member",
            "type": "reference",
            "in": "query",
            "description": "A Practitioner or Organization allocated to the care team for this EpisodeOfCare"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "Type/class  - e.g. specialist referral, disease management"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EpisodeOfCare"
              }
            }
          }
        }
      }
    },
    "/EpisodeOfCare/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "EpisodeOfCare"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/EpisodeOfCare"
            }
          }
        }
      },
      "put": {
        "tags": [
          "EpisodeOfCare"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/EpisodeOfCare"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "EpisodeOfCare"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/EpisodeOfCare/{id}/_history": {
      "get": {
        "tags": [
          "EpisodeOfCare"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/EpisodeOfCare/_history": {
      "get": {
        "tags": [
          "EpisodeOfCare"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/EpisodeOfCare/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "EpisodeOfCare"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/EpisodeOfCare"
            }
          }
        }
      }
    },
    "/ExplanationOfBenefit": {
      "post": {
        "tags": [
          "ExplanationOfBenefit"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/ExplanationOfBenefit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "ExplanationOfBenefit"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "The business identifier of the Explanation of Benefit"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ExplanationOfBenefit"
              }
            }
          }
        }
      }
    },
    "/ExplanationOfBenefit/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "ExplanationOfBenefit"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ExplanationOfBenefit"
            }
          }
        }
      },
      "put": {
        "tags": [
          "ExplanationOfBenefit"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/ExplanationOfBenefit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "ExplanationOfBenefit"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ExplanationOfBenefit/{id}/_history": {
      "get": {
        "tags": [
          "ExplanationOfBenefit"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ExplanationOfBenefit/_history": {
      "get": {
        "tags": [
          "ExplanationOfBenefit"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ExplanationOfBenefit/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "ExplanationOfBenefit"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ExplanationOfBenefit"
            }
          }
        }
      }
    },
    "/FamilyMemberHistory": {
      "post": {
        "tags": [
          "FamilyMemberHistory"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/FamilyMemberHistory"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "FamilyMemberHistory"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "code",
            "type": "string",
            "in": "query",
            "description": "A search by a condition code"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "When history was captured/updated",
            "format": "date"
          },
          {
            "name": "gender",
            "type": "string",
            "in": "query",
            "description": "A search by a gender code of a family member"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "A search by a record identifier"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "The identity of a subject to list family member history items for"
          },
          {
            "name": "relationship",
            "type": "string",
            "in": "query",
            "description": "A search by a relationship type"
          },
          {
            "name": "familymemberhistorycondition",
            "type": "string",
            "in": "query",
            "description": "Search for a history of a particular condition within a patient's family"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/FamilyMemberHistory"
              }
            }
          }
        }
      }
    },
    "/FamilyMemberHistory/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "FamilyMemberHistory"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/FamilyMemberHistory"
            }
          }
        }
      },
      "put": {
        "tags": [
          "FamilyMemberHistory"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/FamilyMemberHistory"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "FamilyMemberHistory"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/FamilyMemberHistory/{id}/_history": {
      "get": {
        "tags": [
          "FamilyMemberHistory"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/FamilyMemberHistory/_history": {
      "get": {
        "tags": [
          "FamilyMemberHistory"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/FamilyMemberHistory/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "FamilyMemberHistory"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/FamilyMemberHistory"
            }
          }
        }
      }
    },
    "/Flag": {
      "post": {
        "tags": [
          "Flag"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Flag"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Flag"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "author",
            "type": "reference",
            "in": "query",
            "description": "Flag creator"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "Time period when flag is active",
            "format": "date"
          },
          {
            "name": "encounter",
            "type": "reference",
            "in": "query",
            "description": "Alert relevant during encounter"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "The identity of a subject to list flags for"
          },
          {
            "name": "subject",
            "type": "reference",
            "in": "query",
            "description": "The identity of a subject to list flags for"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Flag"
              }
            }
          }
        }
      }
    },
    "/Flag/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Flag"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Flag"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Flag"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Flag"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Flag"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Flag/{id}/_history": {
      "get": {
        "tags": [
          "Flag"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Flag/_history": {
      "get": {
        "tags": [
          "Flag"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Flag/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Flag"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Flag"
            }
          }
        }
      }
    },
    "/Goal": {
      "post": {
        "tags": [
          "Goal"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Goal"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Goal"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "category",
            "type": "string",
            "in": "query",
            "description": "E.g. Treatment, dietary, behavioral, etc."
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "External Ids for this goal"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Who this goal is intended for"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "proposed | planned | accepted | rejected | in-progress | achieved | sustaining | on-hold | cancelled"
          },
          {
            "name": "subject",
            "type": "reference",
            "in": "query",
            "description": "Who this goal is intended for"
          },
          {
            "name": "targetdate",
            "type": "string",
            "in": "query",
            "description": "Reach goal on or before",
            "format": "date"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Goal"
              }
            }
          }
        }
      }
    },
    "/Goal/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Goal"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Goal"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Goal"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Goal"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Goal"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Goal/{id}/_history": {
      "get": {
        "tags": [
          "Goal"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Goal/_history": {
      "get": {
        "tags": [
          "Goal"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Goal/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Goal"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Goal"
            }
          }
        }
      }
    },
    "/Group": {
      "post": {
        "tags": [
          "Group"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Group"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Group"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "actual",
            "type": "string",
            "in": "query",
            "description": "Descriptive or actual"
          },
          {
            "name": "characteristic",
            "type": "string",
            "in": "query",
            "description": "Kind of characteristic"
          },
          {
            "name": "characteristic-value",
            "type": "composite",
            "in": "query",
            "description": "A composite of both characteristic and value"
          },
          {
            "name": "code",
            "type": "string",
            "in": "query",
            "description": "The kind of resources contained"
          },
          {
            "name": "exclude",
            "type": "string",
            "in": "query",
            "description": "Group includes or excludes"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Unique id"
          },
          {
            "name": "member",
            "type": "reference",
            "in": "query",
            "description": "Reference to the group member"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "The type of resources the group contains"
          },
          {
            "name": "value",
            "type": "string",
            "in": "query",
            "description": "Value held by characteristic"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Group"
              }
            }
          }
        }
      }
    },
    "/Group/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Group"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Group"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Group"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Group"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Group"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Group/{id}/_history": {
      "get": {
        "tags": [
          "Group"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Group/_history": {
      "get": {
        "tags": [
          "Group"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Group/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Group"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Group"
            }
          }
        }
      }
    },
    "/HealthcareService": {
      "post": {
        "tags": [
          "HealthcareService"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/HealthcareService"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "HealthcareService"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "characteristic",
            "type": "string",
            "in": "query",
            "description": "One of the HealthcareService's characteristics"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "External identifiers for this item"
          },
          {
            "name": "location",
            "type": "reference",
            "in": "query",
            "description": "The location of the Healthcare Service"
          },
          {
            "name": "name",
            "type": "string",
            "in": "query",
            "description": "A portion of the Healthcare service name"
          },
          {
            "name": "organization",
            "type": "reference",
            "in": "query",
            "description": "The organization that provides this Healthcare Service"
          },
          {
            "name": "programname",
            "type": "string",
            "in": "query",
            "description": "One of the Program Names serviced by this HealthcareService"
          },
          {
            "name": "servicecategory",
            "type": "string",
            "in": "query",
            "description": "Service Category of the Healthcare Service"
          },
          {
            "name": "servicetype",
            "type": "string",
            "in": "query",
            "description": "The type of service provided by this healthcare service"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/HealthcareService"
              }
            }
          }
        }
      }
    },
    "/HealthcareService/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "HealthcareService"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/HealthcareService"
            }
          }
        }
      },
      "put": {
        "tags": [
          "HealthcareService"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/HealthcareService"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "HealthcareService"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/HealthcareService/{id}/_history": {
      "get": {
        "tags": [
          "HealthcareService"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/HealthcareService/_history": {
      "get": {
        "tags": [
          "HealthcareService"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/HealthcareService/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "HealthcareService"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/HealthcareService"
            }
          }
        }
      }
    },
    "/ImagingObjectSelection": {
      "post": {
        "tags": [
          "ImagingObjectSelection"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/ImagingObjectSelection"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "ImagingObjectSelection"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "author",
            "type": "reference",
            "in": "query",
            "description": "Author of key DICOM object selection"
          },
          {
            "name": "authoring-time",
            "type": "string",
            "in": "query",
            "description": "Time of key DICOM object selection authoring",
            "format": "date"
          },
          {
            "name": "identifier",
            "type": "uri",
            "in": "query",
            "description": "UID of key DICOM object selection"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Subject of key DICOM object selection"
          },
          {
            "name": "selected-study",
            "type": "uri",
            "in": "query",
            "description": "Study selected in key DICOM object selection"
          },
          {
            "name": "title",
            "type": "string",
            "in": "query",
            "description": "Title of key DICOM object selection"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ImagingObjectSelection"
              }
            }
          }
        }
      }
    },
    "/ImagingObjectSelection/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "ImagingObjectSelection"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ImagingObjectSelection"
            }
          }
        }
      },
      "put": {
        "tags": [
          "ImagingObjectSelection"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/ImagingObjectSelection"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "ImagingObjectSelection"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ImagingObjectSelection/{id}/_history": {
      "get": {
        "tags": [
          "ImagingObjectSelection"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ImagingObjectSelection/_history": {
      "get": {
        "tags": [
          "ImagingObjectSelection"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ImagingObjectSelection/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "ImagingObjectSelection"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ImagingObjectSelection"
            }
          }
        }
      }
    },
    "/ImagingStudy": {
      "post": {
        "tags": [
          "ImagingStudy"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/ImagingStudy"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "ImagingStudy"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "accession",
            "type": "string",
            "in": "query",
            "description": "The accession identifier for the study"
          },
          {
            "name": "bodysite",
            "type": "string",
            "in": "query",
            "description": "The body site studied"
          },
          {
            "name": "dicom-class",
            "type": "uri",
            "in": "query",
            "description": "The type of the instance"
          },
          {
            "name": "modality",
            "type": "string",
            "in": "query",
            "description": "The modality of the series"
          },
          {
            "name": "order",
            "type": "reference",
            "in": "query",
            "description": "The order for the image"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Who the study is about"
          },
          {
            "name": "series",
            "type": "uri",
            "in": "query",
            "description": "The identifier of the series of images"
          },
          {
            "name": "started",
            "type": "string",
            "in": "query",
            "description": "When the study was started",
            "format": "date"
          },
          {
            "name": "study",
            "type": "uri",
            "in": "query",
            "description": "The study identifier for the image"
          },
          {
            "name": "uid",
            "type": "uri",
            "in": "query",
            "description": "The instance unique identifier"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ImagingStudy"
              }
            }
          }
        }
      }
    },
    "/ImagingStudy/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "ImagingStudy"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ImagingStudy"
            }
          }
        }
      },
      "put": {
        "tags": [
          "ImagingStudy"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/ImagingStudy"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "ImagingStudy"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ImagingStudy/{id}/_history": {
      "get": {
        "tags": [
          "ImagingStudy"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ImagingStudy/_history": {
      "get": {
        "tags": [
          "ImagingStudy"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ImagingStudy/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "ImagingStudy"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ImagingStudy"
            }
          }
        }
      }
    },
    "/Immunization": {
      "post": {
        "tags": [
          "Immunization"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Immunization"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Immunization"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "Vaccination  (non)-Administration Date",
            "format": "date"
          },
          {
            "name": "dose-sequence",
            "type": "integer",
            "in": "query",
            "description": "Dose number within series"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Business identifier"
          },
          {
            "name": "location",
            "type": "reference",
            "in": "query",
            "description": "The service delivery location or facility in which the vaccine was / was to be administered"
          },
          {
            "name": "lot-number",
            "type": "string",
            "in": "query",
            "description": "Vaccine Lot Number"
          },
          {
            "name": "manufacturer",
            "type": "reference",
            "in": "query",
            "description": "Vaccine Manufacturer"
          },
          {
            "name": "notgiven",
            "type": "string",
            "in": "query",
            "description": "Administrations which were not given"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "The patient for the vaccination record"
          },
          {
            "name": "performer",
            "type": "reference",
            "in": "query",
            "description": "The practitioner who administered the vaccination"
          },
          {
            "name": "reaction",
            "type": "reference",
            "in": "query",
            "description": "Additional information on reaction"
          },
          {
            "name": "reaction-date",
            "type": "string",
            "in": "query",
            "description": "When reaction started",
            "format": "date"
          },
          {
            "name": "reason",
            "type": "string",
            "in": "query",
            "description": "Why immunization occurred"
          },
          {
            "name": "reason-not-given",
            "type": "string",
            "in": "query",
            "description": "Explanation of reason vaccination was not administered"
          },
          {
            "name": "requester",
            "type": "reference",
            "in": "query",
            "description": "The practitioner who ordered the vaccination"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "Immunization event status"
          },
          {
            "name": "vaccine-code",
            "type": "string",
            "in": "query",
            "description": "Vaccine Product Administered"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Immunization"
              }
            }
          }
        }
      }
    },
    "/Immunization/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Immunization"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Immunization"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Immunization"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Immunization"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Immunization"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Immunization/{id}/_history": {
      "get": {
        "tags": [
          "Immunization"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Immunization/_history": {
      "get": {
        "tags": [
          "Immunization"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Immunization/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Immunization"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Immunization"
            }
          }
        }
      }
    },
    "/ImmunizationRecommendation": {
      "post": {
        "tags": [
          "ImmunizationRecommendation"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/ImmunizationRecommendation"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "ImmunizationRecommendation"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "Date recommendation created",
            "format": "date"
          },
          {
            "name": "dose-number",
            "type": "integer",
            "in": "query",
            "description": "Recommended dose number"
          },
          {
            "name": "dose-sequence",
            "type": "integer",
            "in": "query",
            "description": "Dose number within sequence"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Business identifier"
          },
          {
            "name": "information",
            "type": "reference",
            "in": "query",
            "description": "Patient observations supporting recommendation"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Who this profile is for"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "Vaccine administration status"
          },
          {
            "name": "support",
            "type": "reference",
            "in": "query",
            "description": "Past immunizations supporting recommendation"
          },
          {
            "name": "vaccine-type",
            "type": "string",
            "in": "query",
            "description": "Vaccine recommendation applies to"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ImmunizationRecommendation"
              }
            }
          }
        }
      }
    },
    "/ImmunizationRecommendation/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "ImmunizationRecommendation"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ImmunizationRecommendation"
            }
          }
        }
      },
      "put": {
        "tags": [
          "ImmunizationRecommendation"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/ImmunizationRecommendation"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "ImmunizationRecommendation"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ImmunizationRecommendation/{id}/_history": {
      "get": {
        "tags": [
          "ImmunizationRecommendation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ImmunizationRecommendation/_history": {
      "get": {
        "tags": [
          "ImmunizationRecommendation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ImmunizationRecommendation/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "ImmunizationRecommendation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ImmunizationRecommendation"
            }
          }
        }
      }
    },
    "/ImplementationGuide": {
      "post": {
        "tags": [
          "ImplementationGuide"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/ImplementationGuide"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "ImplementationGuide"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "context",
            "type": "string",
            "in": "query",
            "description": "A use context assigned to the structure"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "The implementation guide publication date",
            "format": "date"
          },
          {
            "name": "dependency",
            "type": "uri",
            "in": "query",
            "description": "Where to find dependency"
          },
          {
            "name": "description",
            "type": "string",
            "in": "query",
            "description": "Text search in the description of the implementation guide"
          },
          {
            "name": "experimental",
            "type": "string",
            "in": "query",
            "description": "If for testing purposes, not real usage"
          },
          {
            "name": "name",
            "type": "string",
            "in": "query",
            "description": "Name of the implementation guide"
          },
          {
            "name": "publisher",
            "type": "string",
            "in": "query",
            "description": "Name of the publisher of the implementation guide"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "The current status of the implementation guide"
          },
          {
            "name": "url",
            "type": "uri",
            "in": "query",
            "description": "Absolute URL used to reference this Implementation Guide"
          },
          {
            "name": "version",
            "type": "string",
            "in": "query",
            "description": "The version identifier of the implementation guide"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ImplementationGuide"
              }
            }
          }
        }
      }
    },
    "/ImplementationGuide/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "ImplementationGuide"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ImplementationGuide"
            }
          }
        }
      },
      "put": {
        "tags": [
          "ImplementationGuide"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/ImplementationGuide"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "ImplementationGuide"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ImplementationGuide/{id}/_history": {
      "get": {
        "tags": [
          "ImplementationGuide"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ImplementationGuide/_history": {
      "get": {
        "tags": [
          "ImplementationGuide"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ImplementationGuide/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "ImplementationGuide"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ImplementationGuide"
            }
          }
        }
      }
    },
    "/List": {
      "post": {
        "tags": [
          "List"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/List"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "List"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "code",
            "type": "string",
            "in": "query",
            "description": "What the purpose of this list is"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "When the list was prepared",
            "format": "date"
          },
          {
            "name": "empty-reason",
            "type": "string",
            "in": "query",
            "description": "Why list is empty"
          },
          {
            "name": "encounter",
            "type": "reference",
            "in": "query",
            "description": "Context in which list created"
          },
          {
            "name": "item",
            "type": "reference",
            "in": "query",
            "description": "Actual entry"
          },
          {
            "name": "notes",
            "type": "string",
            "in": "query",
            "description": "Comments about the list"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "If all resources have the same subject"
          },
          {
            "name": "source",
            "type": "reference",
            "in": "query",
            "description": "Who and/or what defined the list contents (aka Author)"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "current | retired | entered-in-error"
          },
          {
            "name": "subject",
            "type": "reference",
            "in": "query",
            "description": "If all resources have the same subject"
          },
          {
            "name": "title",
            "type": "string",
            "in": "query",
            "description": "Descriptive name for the list"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "identifier"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/List"
              }
            }
          }
        }
      }
    },
    "/List/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "List"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/List"
            }
          }
        }
      },
      "put": {
        "tags": [
          "List"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/List"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "List"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/List/{id}/_history": {
      "get": {
        "tags": [
          "List"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/List/_history": {
      "get": {
        "tags": [
          "List"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/List/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "List"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/List"
            }
          }
        }
      }
    },
    "/Location": {
      "post": {
        "tags": [
          "Location"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Location"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Location"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "address",
            "type": "string",
            "in": "query",
            "description": "A (part of the) address of the location"
          },
          {
            "name": "address-city",
            "type": "string",
            "in": "query",
            "description": "A city specified in an address"
          },
          {
            "name": "address-country",
            "type": "string",
            "in": "query",
            "description": "A country specified in an address"
          },
          {
            "name": "address-postalcode",
            "type": "string",
            "in": "query",
            "description": "A postal code specified in an address"
          },
          {
            "name": "address-state",
            "type": "string",
            "in": "query",
            "description": "A state specified in an address"
          },
          {
            "name": "address-use",
            "type": "string",
            "in": "query",
            "description": "A use code specified in an address"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Unique code or number identifying the location to its users"
          },
          {
            "name": "name",
            "type": "string",
            "in": "query",
            "description": "A (portion of the) name of the location"
          },
          {
            "name": "near",
            "type": "string",
            "in": "query",
            "description": "The coordinates expressed as [lat],[long] (using the WGS84 datum, see notes) to find locations near to (servers may search using a square rather than a circle for efficiency)"
          },
          {
            "name": "near-distance",
            "type": "string",
            "in": "query",
            "description": "A distance quantity to limit the near search to locations within a specific distance"
          },
          {
            "name": "organization",
            "type": "reference",
            "in": "query",
            "description": "Searches for locations that are managed by the provided organization"
          },
          {
            "name": "partof",
            "type": "reference",
            "in": "query",
            "description": "The location of which this location is a part"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "Searches for locations with a specific kind of status"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "A code for the type of location"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Location"
              }
            }
          }
        }
      }
    },
    "/Location/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Location"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Location"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Location"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Location"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Location"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Location/{id}/_history": {
      "get": {
        "tags": [
          "Location"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Location/_history": {
      "get": {
        "tags": [
          "Location"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Location/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Location"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Location"
            }
          }
        }
      }
    },
    "/Media": {
      "post": {
        "tags": [
          "Media"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Media"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Media"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "created",
            "type": "string",
            "in": "query",
            "description": "Date attachment was first created",
            "format": "date"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Identifier(s) for the image"
          },
          {
            "name": "operator",
            "type": "reference",
            "in": "query",
            "description": "The person who generated the image"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Who/What this Media is a record of"
          },
          {
            "name": "subject",
            "type": "reference",
            "in": "query",
            "description": "Who/What this Media is a record of"
          },
          {
            "name": "subtype",
            "type": "string",
            "in": "query",
            "description": "The type of acquisition equipment/process"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "photo | video | audio"
          },
          {
            "name": "view",
            "type": "string",
            "in": "query",
            "description": "Imaging view, e.g. Lateral or Antero-posterior"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Media"
              }
            }
          }
        }
      }
    },
    "/Media/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Media"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Media"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Media"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Media"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Media"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Media/{id}/_history": {
      "get": {
        "tags": [
          "Media"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Media/_history": {
      "get": {
        "tags": [
          "Media"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Media/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Media"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Media"
            }
          }
        }
      }
    },
    "/Medication": {
      "post": {
        "tags": [
          "Medication"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Medication"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Medication"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "code",
            "type": "string",
            "in": "query",
            "description": "Codes that identify this medication"
          },
          {
            "name": "container",
            "type": "string",
            "in": "query",
            "description": "E.g. box, vial, blister-pack"
          },
          {
            "name": "content",
            "type": "reference",
            "in": "query",
            "description": "A product in the package"
          },
          {
            "name": "form",
            "type": "string",
            "in": "query",
            "description": "powder | tablets | carton +"
          },
          {
            "name": "ingredient",
            "type": "reference",
            "in": "query",
            "description": "The product contained"
          },
          {
            "name": "manufacturer",
            "type": "reference",
            "in": "query",
            "description": "Manufacturer of the item"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Medication"
              }
            }
          }
        }
      }
    },
    "/Medication/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Medication"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Medication"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Medication"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Medication"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Medication"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Medication/{id}/_history": {
      "get": {
        "tags": [
          "Medication"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Medication/_history": {
      "get": {
        "tags": [
          "Medication"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Medication/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Medication"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Medication"
            }
          }
        }
      }
    },
    "/MedicationAdministration": {
      "post": {
        "tags": [
          "MedicationAdministration"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/MedicationAdministration"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "MedicationAdministration"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "code",
            "type": "string",
            "in": "query",
            "description": "Return administrations of this medication code"
          },
          {
            "name": "device",
            "type": "reference",
            "in": "query",
            "description": "Return administrations with this administration device identity"
          },
          {
            "name": "effectivetime",
            "type": "string",
            "in": "query",
            "description": "Date administration happened (or did not happen)",
            "format": "date"
          },
          {
            "name": "encounter",
            "type": "reference",
            "in": "query",
            "description": "Return administrations that share this encounter"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Return administrations with this external identifier"
          },
          {
            "name": "medication",
            "type": "reference",
            "in": "query",
            "description": "Return administrations of this medication resource"
          },
          {
            "name": "notgiven",
            "type": "string",
            "in": "query",
            "description": "Administrations that were not made"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "The identity of a patient to list administrations  for"
          },
          {
            "name": "practitioner",
            "type": "reference",
            "in": "query",
            "description": "Who administered substance"
          },
          {
            "name": "prescription",
            "type": "reference",
            "in": "query",
            "description": "The identity of a prescription to list administrations from"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "MedicationAdministration event status (for example one of active/paused/completed/nullified)"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/MedicationAdministration"
              }
            }
          }
        }
      }
    },
    "/MedicationAdministration/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "MedicationAdministration"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/MedicationAdministration"
            }
          }
        }
      },
      "put": {
        "tags": [
          "MedicationAdministration"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/MedicationAdministration"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "MedicationAdministration"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/MedicationAdministration/{id}/_history": {
      "get": {
        "tags": [
          "MedicationAdministration"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/MedicationAdministration/_history": {
      "get": {
        "tags": [
          "MedicationAdministration"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/MedicationAdministration/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "MedicationAdministration"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/MedicationAdministration"
            }
          }
        }
      }
    },
    "/MedicationDispense": {
      "post": {
        "tags": [
          "MedicationDispense"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/MedicationDispense"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "MedicationDispense"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "code",
            "type": "string",
            "in": "query",
            "description": "Return dispenses of this medicine code"
          },
          {
            "name": "destination",
            "type": "reference",
            "in": "query",
            "description": "Return dispenses that should be sent to a specific destination"
          },
          {
            "name": "dispenser",
            "type": "reference",
            "in": "query",
            "description": "Return all dispenses performed by a specific individual"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Return dispenses with this external identifier"
          },
          {
            "name": "medication",
            "type": "reference",
            "in": "query",
            "description": "Return dispenses of this medicine resource"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "The identity of a patient to list dispenses  for"
          },
          {
            "name": "prescription",
            "type": "reference",
            "in": "query",
            "description": "The identity of a prescription to list dispenses from"
          },
          {
            "name": "receiver",
            "type": "reference",
            "in": "query",
            "description": "Who collected the medication"
          },
          {
            "name": "responsibleparty",
            "type": "reference",
            "in": "query",
            "description": "Return all dispenses with the specified responsible party"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "Status of the dispense"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "Return all dispenses of a specific type"
          },
          {
            "name": "whenhandedover",
            "type": "string",
            "in": "query",
            "description": "Date when medication handed over to patient (outpatient setting), or supplied to ward or clinic (inpatient setting)",
            "format": "date"
          },
          {
            "name": "whenprepared",
            "type": "string",
            "in": "query",
            "description": "Date when medication prepared",
            "format": "date"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/MedicationDispense"
              }
            }
          }
        }
      }
    },
    "/MedicationDispense/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "MedicationDispense"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/MedicationDispense"
            }
          }
        }
      },
      "put": {
        "tags": [
          "MedicationDispense"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/MedicationDispense"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "MedicationDispense"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/MedicationDispense/{id}/_history": {
      "get": {
        "tags": [
          "MedicationDispense"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/MedicationDispense/_history": {
      "get": {
        "tags": [
          "MedicationDispense"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/MedicationDispense/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "MedicationDispense"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/MedicationDispense"
            }
          }
        }
      }
    },
    "/MedicationOrder": {
      "post": {
        "tags": [
          "MedicationOrder"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/MedicationOrder"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "MedicationOrder"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "code",
            "type": "string",
            "in": "query",
            "description": "Return administrations of this medication code"
          },
          {
            "name": "datewritten",
            "type": "string",
            "in": "query",
            "description": "Return prescriptions written on this date",
            "format": "date"
          },
          {
            "name": "encounter",
            "type": "reference",
            "in": "query",
            "description": "Return prescriptions with this encounter identifier"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Return prescriptions with this external identifier"
          },
          {
            "name": "medication",
            "type": "reference",
            "in": "query",
            "description": "Return administrations of this medication reference"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "The identity of a patient to list orders  for"
          },
          {
            "name": "prescriber",
            "type": "reference",
            "in": "query",
            "description": "Who ordered the medication(s)"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "Status of the prescription"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/MedicationOrder"
              }
            }
          }
        }
      }
    },
    "/MedicationOrder/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "MedicationOrder"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/MedicationOrder"
            }
          }
        }
      },
      "put": {
        "tags": [
          "MedicationOrder"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/MedicationOrder"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "MedicationOrder"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/MedicationOrder/{id}/_history": {
      "get": {
        "tags": [
          "MedicationOrder"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/MedicationOrder/_history": {
      "get": {
        "tags": [
          "MedicationOrder"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/MedicationOrder/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "MedicationOrder"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/MedicationOrder"
            }
          }
        }
      }
    },
    "/MedicationStatement": {
      "post": {
        "tags": [
          "MedicationStatement"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/MedicationStatement"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "MedicationStatement"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "code",
            "type": "string",
            "in": "query",
            "description": "Return administrations of this medication code"
          },
          {
            "name": "effectivedate",
            "type": "string",
            "in": "query",
            "description": "Date when patient was taking (or not taking) the medication",
            "format": "date"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Return statements with this external identifier"
          },
          {
            "name": "medication",
            "type": "reference",
            "in": "query",
            "description": "Return administrations of this medication reference"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "The identity of a patient to list statements  for"
          },
          {
            "name": "source",
            "type": "reference",
            "in": "query",
            "description": "Who the information in the statement came from"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "Return statements that match the given status"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/MedicationStatement"
              }
            }
          }
        }
      }
    },
    "/MedicationStatement/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "MedicationStatement"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/MedicationStatement"
            }
          }
        }
      },
      "put": {
        "tags": [
          "MedicationStatement"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/MedicationStatement"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "MedicationStatement"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/MedicationStatement/{id}/_history": {
      "get": {
        "tags": [
          "MedicationStatement"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/MedicationStatement/_history": {
      "get": {
        "tags": [
          "MedicationStatement"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/MedicationStatement/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "MedicationStatement"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/MedicationStatement"
            }
          }
        }
      }
    },
    "/NamingSystem": {
      "post": {
        "tags": [
          "NamingSystem"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/NamingSystem"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "NamingSystem"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "contact",
            "type": "string",
            "in": "query",
            "description": "Name of a individual to contact"
          },
          {
            "name": "context",
            "type": "string",
            "in": "query",
            "description": "Content intends to support these contexts"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "Publication Date(/time)",
            "format": "date"
          },
          {
            "name": "id-type",
            "type": "string",
            "in": "query",
            "description": "oid | uuid | uri | other"
          },
          {
            "name": "kind",
            "type": "string",
            "in": "query",
            "description": "codesystem | identifier | root"
          },
          {
            "name": "name",
            "type": "string",
            "in": "query",
            "description": "Human-readable label"
          },
          {
            "name": "period",
            "type": "string",
            "in": "query",
            "description": "When is identifier valid?",
            "format": "date"
          },
          {
            "name": "publisher",
            "type": "string",
            "in": "query",
            "description": "Name of the publisher (Organization or individual)"
          },
          {
            "name": "replaced-by",
            "type": "reference",
            "in": "query",
            "description": "Use this instead"
          },
          {
            "name": "responsible",
            "type": "string",
            "in": "query",
            "description": "Who maintains system namespace?"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "draft | active | retired"
          },
          {
            "name": "telecom",
            "type": "string",
            "in": "query",
            "description": "Contact details for individual or publisher"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "e.g. driver,  provider,  patient, bank etc."
          },
          {
            "name": "value",
            "type": "string",
            "in": "query",
            "description": "The unique identifier"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/NamingSystem"
              }
            }
          }
        }
      }
    },
    "/NamingSystem/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "NamingSystem"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/NamingSystem"
            }
          }
        }
      },
      "put": {
        "tags": [
          "NamingSystem"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/NamingSystem"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "NamingSystem"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/NamingSystem/{id}/_history": {
      "get": {
        "tags": [
          "NamingSystem"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/NamingSystem/_history": {
      "get": {
        "tags": [
          "NamingSystem"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/NamingSystem/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "NamingSystem"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/NamingSystem"
            }
          }
        }
      }
    },
    "/NutritionOrder": {
      "post": {
        "tags": [
          "NutritionOrder"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/NutritionOrder"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "NutritionOrder"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "additive",
            "type": "string",
            "in": "query",
            "description": "Type of module component to add to the feeding"
          },
          {
            "name": "datetime",
            "type": "string",
            "in": "query",
            "description": "Return nutrition orders requested on this date",
            "format": "date"
          },
          {
            "name": "encounter",
            "type": "reference",
            "in": "query",
            "description": "Return nutrition orders with this encounter identifier"
          },
          {
            "name": "formula",
            "type": "string",
            "in": "query",
            "description": "Type of enteral or infant formula"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Return nutrition orders with this external identifier"
          },
          {
            "name": "oraldiet",
            "type": "string",
            "in": "query",
            "description": "Type of diet that can be consumed orally (i.e., take via the mouth)."
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "The identity of the person who requires the diet, formula or nutritional supplement"
          },
          {
            "name": "provider",
            "type": "reference",
            "in": "query",
            "description": "The identify of the provider who placed the nutrition order"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "Status of the nutrition order."
          },
          {
            "name": "supplement",
            "type": "string",
            "in": "query",
            "description": "Type of supplement product requested"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/NutritionOrder"
              }
            }
          }
        }
      }
    },
    "/NutritionOrder/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "NutritionOrder"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/NutritionOrder"
            }
          }
        }
      },
      "put": {
        "tags": [
          "NutritionOrder"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/NutritionOrder"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "NutritionOrder"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/NutritionOrder/{id}/_history": {
      "get": {
        "tags": [
          "NutritionOrder"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/NutritionOrder/_history": {
      "get": {
        "tags": [
          "NutritionOrder"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/NutritionOrder/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "NutritionOrder"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/NutritionOrder"
            }
          }
        }
      }
    },
    "/Observation": {
      "post": {
        "tags": [
          "Observation"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Observation"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Observation"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "category",
            "type": "string",
            "in": "query",
            "description": "The classification of the type of observation"
          },
          {
            "name": "code",
            "type": "string",
            "in": "query",
            "description": "The code of the observation type"
          },
          {
            "name": "code-value-[x]",
            "type": "composite",
            "in": "query",
            "description": "Both code and one of the value parameters"
          },
          {
            "name": "component-code",
            "type": "string",
            "in": "query",
            "description": "The component code of the observation type"
          },
          {
            "name": "component-code-value-[x]",
            "type": "composite",
            "in": "query",
            "description": "Both component code and one of the component value parameters"
          },
          {
            "name": "component-data-absent-reason",
            "type": "string",
            "in": "query",
            "description": "The reason why the expected value in the element Observation.component.value[x] is missing."
          },
          {
            "name": "component-value-concept",
            "type": "string",
            "in": "query",
            "description": "The value of the component observation, if the value is a CodeableConcept"
          },
          {
            "name": "component-value-quantity",
            "type": "integer",
            "in": "query",
            "description": "The value of the component observation, if the value is a Quantity, or a SampledData (just search on the bounds of the values in sampled data)"
          },
          {
            "name": "component-value-string",
            "type": "string",
            "in": "query",
            "description": "The value of the component observation, if the value is a string, and also searches in CodeableConcept.text"
          },
          {
            "name": "data-absent-reason",
            "type": "string",
            "in": "query",
            "description": "The reason why the expected value in the element Observation.value[x] is missing."
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "Obtained date/time. If the obtained element is a period, a date that falls in the period",
            "format": "date"
          },
          {
            "name": "device",
            "type": "reference",
            "in": "query",
            "description": "The Device that generated the observation data."
          },
          {
            "name": "encounter",
            "type": "reference",
            "in": "query",
            "description": "Healthcare event related to the observation"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "The unique id for a particular observation"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "The subject that the observation is about (if patient)"
          },
          {
            "name": "performer",
            "type": "reference",
            "in": "query",
            "description": "Who performed the observation"
          },
          {
            "name": "related",
            "type": "composite",
            "in": "query",
            "description": "Related Observations - search on related-type and related-target together"
          },
          {
            "name": "related-target",
            "type": "reference",
            "in": "query",
            "description": "Resource that is related to this one"
          },
          {
            "name": "related-type",
            "type": "string",
            "in": "query",
            "description": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by"
          },
          {
            "name": "specimen",
            "type": "reference",
            "in": "query",
            "description": "Specimen used for this observation"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "The status of the observation"
          },
          {
            "name": "subject",
            "type": "reference",
            "in": "query",
            "description": "The subject that the observation is about"
          },
          {
            "name": "value-concept",
            "type": "string",
            "in": "query",
            "description": "The value of the observation, if the value is a CodeableConcept"
          },
          {
            "name": "value-date",
            "type": "string",
            "in": "query",
            "description": "The value of the observation, if the value is a date or period of time",
            "format": "date"
          },
          {
            "name": "value-quantity",
            "type": "integer",
            "in": "query",
            "description": "The value of the observation, if the value is a Quantity, or a SampledData (just search on the bounds of the values in sampled data)"
          },
          {
            "name": "value-string",
            "type": "string",
            "in": "query",
            "description": "The value of the observation, if the value is a string, and also searches in CodeableConcept.text"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Observation"
              }
            }
          }
        }
      }
    },
    "/Observation/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Observation"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Observation"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Observation"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Observation"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Observation"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Observation/{id}/_history": {
      "get": {
        "tags": [
          "Observation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Observation/_history": {
      "get": {
        "tags": [
          "Observation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Observation/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Observation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Observation"
            }
          }
        }
      }
    },
    "/OperationDefinition": {
      "post": {
        "tags": [
          "OperationDefinition"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/OperationDefinition"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "OperationDefinition"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "base",
            "type": "reference",
            "in": "query",
            "description": "Marks this as a profile of the base"
          },
          {
            "name": "code",
            "type": "string",
            "in": "query",
            "description": "Name used to invoke the operation"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "Date for this version of the operation definition",
            "format": "date"
          },
          {
            "name": "instance",
            "type": "string",
            "in": "query",
            "description": "Invoke on an instance?"
          },
          {
            "name": "kind",
            "type": "string",
            "in": "query",
            "description": "operation | query"
          },
          {
            "name": "name",
            "type": "string",
            "in": "query",
            "description": "Informal name for this operation"
          },
          {
            "name": "profile",
            "type": "reference",
            "in": "query",
            "description": "Profile on the type"
          },
          {
            "name": "publisher",
            "type": "string",
            "in": "query",
            "description": "Name of the publisher (Organization or individual)"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "draft | active | retired"
          },
          {
            "name": "system",
            "type": "string",
            "in": "query",
            "description": "Invoke at the system level?"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "Invoke at resource level for these type"
          },
          {
            "name": "url",
            "type": "uri",
            "in": "query",
            "description": "Logical URL to reference this operation definition"
          },
          {
            "name": "version",
            "type": "string",
            "in": "query",
            "description": "Logical id for this version of the operation definition"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/OperationDefinition"
              }
            }
          }
        }
      }
    },
    "/OperationDefinition/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "OperationDefinition"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/OperationDefinition"
            }
          }
        }
      },
      "put": {
        "tags": [
          "OperationDefinition"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/OperationDefinition"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "OperationDefinition"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/OperationDefinition/{id}/_history": {
      "get": {
        "tags": [
          "OperationDefinition"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/OperationDefinition/_history": {
      "get": {
        "tags": [
          "OperationDefinition"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/OperationDefinition/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "OperationDefinition"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/OperationDefinition"
            }
          }
        }
      }
    },
    "/OperationOutcome": {
      "post": {
        "tags": [
          "OperationOutcome"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/OperationOutcome"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "OperationOutcome"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/OperationOutcome"
              }
            }
          }
        }
      }
    },
    "/OperationOutcome/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "OperationOutcome"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/OperationOutcome"
            }
          }
        }
      },
      "put": {
        "tags": [
          "OperationOutcome"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/OperationOutcome"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "OperationOutcome"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/OperationOutcome/{id}/_history": {
      "get": {
        "tags": [
          "OperationOutcome"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/OperationOutcome/_history": {
      "get": {
        "tags": [
          "OperationOutcome"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/OperationOutcome/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "OperationOutcome"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/OperationOutcome"
            }
          }
        }
      }
    },
    "/Order": {
      "post": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Order"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "When the order was made",
            "format": "date"
          },
          {
            "name": "detail",
            "type": "reference",
            "in": "query",
            "description": "What action is being ordered"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Instance id fromsource, target, and/or  others"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Patient this order is about"
          },
          {
            "name": "source",
            "type": "reference",
            "in": "query",
            "description": "Who initiated the order"
          },
          {
            "name": "subject",
            "type": "reference",
            "in": "query",
            "description": "Patient this order is about"
          },
          {
            "name": "target",
            "type": "reference",
            "in": "query",
            "description": "Who is intended to fulfill the order"
          },
          {
            "name": "when",
            "type": "string",
            "in": "query",
            "description": "A formal schedule",
            "format": "date"
          },
          {
            "name": "when_code",
            "type": "string",
            "in": "query",
            "description": "Code specifies when request should be done. The code may simply be a priority code"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Order"
              }
            }
          }
        }
      }
    },
    "/Order/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Order"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Order"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Order"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Order"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Order/{id}/_history": {
      "get": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Order/_history": {
      "get": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Order/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Order"
            }
          }
        }
      }
    },
    "/OrderResponse": {
      "post": {
        "tags": [
          "OrderResponse"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/OrderResponse"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "OrderResponse"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "code",
            "type": "string",
            "in": "query",
            "description": "pending | review | rejected | error | accepted | cancelled | replaced | aborted | completed"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "When the response was made",
            "format": "date"
          },
          {
            "name": "fulfillment",
            "type": "reference",
            "in": "query",
            "description": "Details of the outcome of performing the order"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Identifiers assigned to this order by the orderer or by the receiver"
          },
          {
            "name": "request",
            "type": "reference",
            "in": "query",
            "description": "The order that this is a response to"
          },
          {
            "name": "who",
            "type": "reference",
            "in": "query",
            "description": "Who made the response"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/OrderResponse"
              }
            }
          }
        }
      }
    },
    "/OrderResponse/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "OrderResponse"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/OrderResponse"
            }
          }
        }
      },
      "put": {
        "tags": [
          "OrderResponse"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/OrderResponse"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "OrderResponse"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/OrderResponse/{id}/_history": {
      "get": {
        "tags": [
          "OrderResponse"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/OrderResponse/_history": {
      "get": {
        "tags": [
          "OrderResponse"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/OrderResponse/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "OrderResponse"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/OrderResponse"
            }
          }
        }
      }
    },
    "/Organization": {
      "post": {
        "tags": [
          "Organization"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Organization"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Organization"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "active",
            "type": "string",
            "in": "query",
            "description": "Whether the organization's record is active"
          },
          {
            "name": "address",
            "type": "string",
            "in": "query",
            "description": "A (part of the) address of the Organization"
          },
          {
            "name": "address-city",
            "type": "string",
            "in": "query",
            "description": "A city specified in an address"
          },
          {
            "name": "address-country",
            "type": "string",
            "in": "query",
            "description": "A country specified in an address"
          },
          {
            "name": "address-postalcode",
            "type": "string",
            "in": "query",
            "description": "A postal code specified in an address"
          },
          {
            "name": "address-state",
            "type": "string",
            "in": "query",
            "description": "A state specified in an address"
          },
          {
            "name": "address-use",
            "type": "string",
            "in": "query",
            "description": "A use code specified in an address"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Any identifier for the organization (not the accreditation issuer's identifier)"
          },
          {
            "name": "name",
            "type": "string",
            "in": "query",
            "description": "A portion of the organization's name"
          },
          {
            "name": "partof",
            "type": "reference",
            "in": "query",
            "description": "Search all organizations that are part of the given organization"
          },
          {
            "name": "phonetic",
            "type": "string",
            "in": "query",
            "description": "A portion of the organization's name using some kind of phonetic matching algorithm"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "A code for the type of organization"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Organization"
              }
            }
          }
        }
      }
    },
    "/Organization/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Organization"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Organization"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Organization"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Organization"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Organization"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Organization/{id}/_history": {
      "get": {
        "tags": [
          "Organization"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Organization/_history": {
      "get": {
        "tags": [
          "Organization"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Organization/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Organization"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Organization"
            }
          }
        }
      }
    },
    "/Patient": {
      "post": {
        "tags": [
          "Patient"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Patient"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Patient"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "active",
            "type": "string",
            "in": "query",
            "description": "Whether the patient record is active"
          },
          {
            "name": "address",
            "type": "string",
            "in": "query",
            "description": "An address in any kind of address/part of the patient"
          },
          {
            "name": "address-city",
            "type": "string",
            "in": "query",
            "description": "A city specified in an address"
          },
          {
            "name": "address-country",
            "type": "string",
            "in": "query",
            "description": "A country specified in an address"
          },
          {
            "name": "address-postalcode",
            "type": "string",
            "in": "query",
            "description": "A postalCode specified in an address"
          },
          {
            "name": "address-state",
            "type": "string",
            "in": "query",
            "description": "A state specified in an address"
          },
          {
            "name": "address-use",
            "type": "string",
            "in": "query",
            "description": "A use code specified in an address"
          },
          {
            "name": "animal-breed",
            "type": "string",
            "in": "query",
            "description": "The breed for animal patients"
          },
          {
            "name": "animal-species",
            "type": "string",
            "in": "query",
            "description": "The species for animal patients"
          },
          {
            "name": "birthdate",
            "type": "string",
            "in": "query",
            "description": "The patient's date of birth",
            "format": "date"
          },
          {
            "name": "careprovider",
            "type": "reference",
            "in": "query",
            "description": "Patient's nominated care provider, could be a care manager, not the organization that manages the record"
          },
          {
            "name": "deathdate",
            "type": "string",
            "in": "query",
            "description": "The date of death has been provided and satisfies this search value",
            "format": "date"
          },
          {
            "name": "deceased",
            "type": "string",
            "in": "query",
            "description": "This patient has been marked as deceased, or as a death date entered"
          },
          {
            "name": "email",
            "type": "string",
            "in": "query",
            "description": "A value in an email contact"
          },
          {
            "name": "family",
            "type": "string",
            "in": "query",
            "description": "A portion of the family name of the patient"
          },
          {
            "name": "gender",
            "type": "string",
            "in": "query",
            "description": "Gender of the patient"
          },
          {
            "name": "given",
            "type": "string",
            "in": "query",
            "description": "A portion of the given name of the patient"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "A patient identifier"
          },
          {
            "name": "language",
            "type": "string",
            "in": "query",
            "description": "Language code (irrespective of use value)"
          },
          {
            "name": "link",
            "type": "reference",
            "in": "query",
            "description": "All patients linked to the given patient"
          },
          {
            "name": "name",
            "type": "string",
            "in": "query",
            "description": "A portion of either family or given name of the patient"
          },
          {
            "name": "organization",
            "type": "reference",
            "in": "query",
            "description": "The organization at which this person is a patient"
          },
          {
            "name": "phone",
            "type": "string",
            "in": "query",
            "description": "A value in a phone contact"
          },
          {
            "name": "phonetic",
            "type": "string",
            "in": "query",
            "description": "A portion of either family or given name using some kind of phonetic matching algorithm"
          },
          {
            "name": "telecom",
            "type": "string",
            "in": "query",
            "description": "The value in any kind of telecom details of the patient"
          },
          {
            "name": "city",
            "type": "string",
            "in": "query",
            "description": "Search based on City"
          },
          {
            "name": "postalCode",
            "type": "string",
            "in": "query",
            "description": "Search based on zip code"
          },
          {
            "name": "state",
            "type": "string",
            "in": "query",
            "description": "Search based on state"
          },
          {
            "name": "mothersMaidenName",
            "type": "string",
            "in": "query",
            "description": "Search based on Patient mother's Maiden Name"
          },
          {
            "name": "age",
            "type": "integer",
            "in": "query",
            "description": "Search based on Patient's age"
          },
          {
            "name": "race",
            "type": "string",
            "in": "query",
            "description": "Search based on patient's race (US Realm)"
          },
          {
            "name": "ethnicity",
            "type": "string",
            "in": "query",
            "description": "Search based on Patient mother's Maiden Name"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Patient"
              }
            }
          }
        }
      }
    },
    "/Patient/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Patient"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Patient"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Patient"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Patient"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Patient"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Patient/{id}/_history": {
      "get": {
        "tags": [
          "Patient"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Patient/_history": {
      "get": {
        "tags": [
          "Patient"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Patient/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Patient"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Patient"
            }
          }
        }
      }
    },
    "/PaymentNotice": {
      "post": {
        "tags": [
          "PaymentNotice"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/PaymentNotice"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "PaymentNotice"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "The business identifier of the Eligibility"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/PaymentNotice"
              }
            }
          }
        }
      }
    },
    "/PaymentNotice/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "PaymentNotice"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/PaymentNotice"
            }
          }
        }
      },
      "put": {
        "tags": [
          "PaymentNotice"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/PaymentNotice"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "PaymentNotice"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/PaymentNotice/{id}/_history": {
      "get": {
        "tags": [
          "PaymentNotice"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/PaymentNotice/_history": {
      "get": {
        "tags": [
          "PaymentNotice"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/PaymentNotice/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "PaymentNotice"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/PaymentNotice"
            }
          }
        }
      }
    },
    "/PaymentReconciliation": {
      "post": {
        "tags": [
          "PaymentReconciliation"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/PaymentReconciliation"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "PaymentReconciliation"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "The business identifier of the Explanation of Benefit"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/PaymentReconciliation"
              }
            }
          }
        }
      }
    },
    "/PaymentReconciliation/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "PaymentReconciliation"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/PaymentReconciliation"
            }
          }
        }
      },
      "put": {
        "tags": [
          "PaymentReconciliation"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/PaymentReconciliation"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "PaymentReconciliation"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/PaymentReconciliation/{id}/_history": {
      "get": {
        "tags": [
          "PaymentReconciliation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/PaymentReconciliation/_history": {
      "get": {
        "tags": [
          "PaymentReconciliation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/PaymentReconciliation/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "PaymentReconciliation"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/PaymentReconciliation"
            }
          }
        }
      }
    },
    "/Person": {
      "post": {
        "tags": [
          "Person"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Person"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Person"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "address",
            "type": "string",
            "in": "query",
            "description": "An address in any kind of address/part"
          },
          {
            "name": "address-city",
            "type": "string",
            "in": "query",
            "description": "A city specified in an address"
          },
          {
            "name": "address-country",
            "type": "string",
            "in": "query",
            "description": "A country specified in an address"
          },
          {
            "name": "address-postalcode",
            "type": "string",
            "in": "query",
            "description": "A postal code specified in an address"
          },
          {
            "name": "address-state",
            "type": "string",
            "in": "query",
            "description": "A state specified in an address"
          },
          {
            "name": "address-use",
            "type": "string",
            "in": "query",
            "description": "A use code specified in an address"
          },
          {
            "name": "birthdate",
            "type": "string",
            "in": "query",
            "description": "The person's date of birth",
            "format": "date"
          },
          {
            "name": "email",
            "type": "string",
            "in": "query",
            "description": "A value in an email contact"
          },
          {
            "name": "gender",
            "type": "string",
            "in": "query",
            "description": "The gender of the person"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "A person Identifier"
          },
          {
            "name": "link",
            "type": "reference",
            "in": "query",
            "description": "Any link has this Patient, Person, RelatedPerson or Practitioner reference"
          },
          {
            "name": "name",
            "type": "string",
            "in": "query",
            "description": "A portion of name in any name part"
          },
          {
            "name": "organization",
            "type": "reference",
            "in": "query",
            "description": "The organization at which this person record is being managed"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "The Person links to this Patient"
          },
          {
            "name": "phone",
            "type": "string",
            "in": "query",
            "description": "A value in a phone contact"
          },
          {
            "name": "phonetic",
            "type": "string",
            "in": "query",
            "description": "A portion of name using some kind of phonetic matching algorithm"
          },
          {
            "name": "practitioner",
            "type": "reference",
            "in": "query",
            "description": "The Person links to this Practitioner"
          },
          {
            "name": "relatedperson",
            "type": "reference",
            "in": "query",
            "description": "The Person links to this RelatedPerson"
          },
          {
            "name": "telecom",
            "type": "string",
            "in": "query",
            "description": "The value in any kind of contact"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Person"
              }
            }
          }
        }
      }
    },
    "/Person/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Person"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Person"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Person"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Person"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Person"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Person/{id}/_history": {
      "get": {
        "tags": [
          "Person"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Person/_history": {
      "get": {
        "tags": [
          "Person"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Person/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Person"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Person"
            }
          }
        }
      }
    },
    "/Practitioner": {
      "post": {
        "tags": [
          "Practitioner"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Practitioner"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Practitioner"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "address",
            "type": "string",
            "in": "query",
            "description": "An address in any kind of address/part"
          },
          {
            "name": "address-city",
            "type": "string",
            "in": "query",
            "description": "A city specified in an address"
          },
          {
            "name": "address-country",
            "type": "string",
            "in": "query",
            "description": "A country specified in an address"
          },
          {
            "name": "address-postalcode",
            "type": "string",
            "in": "query",
            "description": "A postalCode specified in an address"
          },
          {
            "name": "address-state",
            "type": "string",
            "in": "query",
            "description": "A state specified in an address"
          },
          {
            "name": "address-use",
            "type": "string",
            "in": "query",
            "description": "A use code specified in an address"
          },
          {
            "name": "communication",
            "type": "string",
            "in": "query",
            "description": "One of the languages that the practitioner can communicate with"
          },
          {
            "name": "email",
            "type": "string",
            "in": "query",
            "description": "A value in an email contact"
          },
          {
            "name": "family",
            "type": "string",
            "in": "query",
            "description": "A portion of the family name"
          },
          {
            "name": "gender",
            "type": "string",
            "in": "query",
            "description": "Gender of the practitioner"
          },
          {
            "name": "given",
            "type": "string",
            "in": "query",
            "description": "A portion of the given name"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "A practitioner's Identifier"
          },
          {
            "name": "location",
            "type": "reference",
            "in": "query",
            "description": "One of the locations at which this practitioner provides care"
          },
          {
            "name": "name",
            "type": "string",
            "in": "query",
            "description": "A portion of either family or given name"
          },
          {
            "name": "organization",
            "type": "reference",
            "in": "query",
            "description": "The identity of the organization the practitioner represents / acts on behalf of"
          },
          {
            "name": "phone",
            "type": "string",
            "in": "query",
            "description": "A value in a phone contact"
          },
          {
            "name": "phonetic",
            "type": "string",
            "in": "query",
            "description": "A portion of either family or given name using some kind of phonetic matching algorithm"
          },
          {
            "name": "role",
            "type": "string",
            "in": "query",
            "description": "The practitioner can perform this role at for the organization"
          },
          {
            "name": "specialty",
            "type": "string",
            "in": "query",
            "description": "The practitioner has this specialty at an organization"
          },
          {
            "name": "telecom",
            "type": "string",
            "in": "query",
            "description": "The value in any kind of contact"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Practitioner"
              }
            }
          }
        }
      }
    },
    "/Practitioner/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Practitioner"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Practitioner"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Practitioner"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Practitioner"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Practitioner"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Practitioner/{id}/_history": {
      "get": {
        "tags": [
          "Practitioner"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Practitioner/_history": {
      "get": {
        "tags": [
          "Practitioner"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Practitioner/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Practitioner"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Practitioner"
            }
          }
        }
      }
    },
    "/Procedure": {
      "post": {
        "tags": [
          "Procedure"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Procedure"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Procedure"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "code",
            "type": "string",
            "in": "query",
            "description": "A code to identify a  procedure"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "Date/Period the procedure was performed",
            "format": "date"
          },
          {
            "name": "encounter",
            "type": "reference",
            "in": "query",
            "description": "The encounter associated with the procedure"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "A unique identifier for a procedure"
          },
          {
            "name": "location",
            "type": "reference",
            "in": "query",
            "description": "Where the procedure happened"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Search by subject - a patient"
          },
          {
            "name": "performer",
            "type": "reference",
            "in": "query",
            "description": "The reference to the practitioner"
          },
          {
            "name": "subject",
            "type": "reference",
            "in": "query",
            "description": "Search by subject"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Procedure"
              }
            }
          }
        }
      }
    },
    "/Procedure/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Procedure"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Procedure"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Procedure"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Procedure"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Procedure"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Procedure/{id}/_history": {
      "get": {
        "tags": [
          "Procedure"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Procedure/_history": {
      "get": {
        "tags": [
          "Procedure"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Procedure/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Procedure"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Procedure"
            }
          }
        }
      }
    },
    "/ProcedureRequest": {
      "post": {
        "tags": [
          "ProcedureRequest"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/ProcedureRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "ProcedureRequest"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "encounter",
            "type": "reference",
            "in": "query",
            "description": "Encounter request created during"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "A unique identifier of the Procedure Request"
          },
          {
            "name": "orderer",
            "type": "reference",
            "in": "query",
            "description": "Who made request"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Search by subject - a patient"
          },
          {
            "name": "performer",
            "type": "reference",
            "in": "query",
            "description": "Who should perform the procedure"
          },
          {
            "name": "subject",
            "type": "reference",
            "in": "query",
            "description": "Search by subject"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ProcedureRequest"
              }
            }
          }
        }
      }
    },
    "/ProcedureRequest/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "ProcedureRequest"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ProcedureRequest"
            }
          }
        }
      },
      "put": {
        "tags": [
          "ProcedureRequest"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/ProcedureRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "ProcedureRequest"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ProcedureRequest/{id}/_history": {
      "get": {
        "tags": [
          "ProcedureRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ProcedureRequest/_history": {
      "get": {
        "tags": [
          "ProcedureRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ProcedureRequest/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "ProcedureRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ProcedureRequest"
            }
          }
        }
      }
    },
    "/ProcessRequest": {
      "post": {
        "tags": [
          "ProcessRequest"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/ProcessRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "ProcessRequest"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "action",
            "type": "string",
            "in": "query",
            "description": "The action requested by this resource"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "The business identifier of the ProcessRequest"
          },
          {
            "name": "organization",
            "type": "reference",
            "in": "query",
            "description": "The organization who generated this request"
          },
          {
            "name": "provider",
            "type": "reference",
            "in": "query",
            "description": "The provider who regenerated this request"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ProcessRequest"
              }
            }
          }
        }
      }
    },
    "/ProcessRequest/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "ProcessRequest"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ProcessRequest"
            }
          }
        }
      },
      "put": {
        "tags": [
          "ProcessRequest"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/ProcessRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "ProcessRequest"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ProcessRequest/{id}/_history": {
      "get": {
        "tags": [
          "ProcessRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ProcessRequest/_history": {
      "get": {
        "tags": [
          "ProcessRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ProcessRequest/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "ProcessRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ProcessRequest"
            }
          }
        }
      }
    },
    "/ProcessResponse": {
      "post": {
        "tags": [
          "ProcessResponse"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/ProcessResponse"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "ProcessResponse"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "The business identifier of the Explanation of Benefit"
          },
          {
            "name": "organization",
            "type": "reference",
            "in": "query",
            "description": "The organization who generated this resource"
          },
          {
            "name": "request",
            "type": "reference",
            "in": "query",
            "description": "The reference to the claim"
          },
          {
            "name": "requestorganization",
            "type": "reference",
            "in": "query",
            "description": "The Organization who is responsible the request transaction"
          },
          {
            "name": "requestprovider",
            "type": "reference",
            "in": "query",
            "description": "The Provider who is responsible the request transaction"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ProcessResponse"
              }
            }
          }
        }
      }
    },
    "/ProcessResponse/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "ProcessResponse"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ProcessResponse"
            }
          }
        }
      },
      "put": {
        "tags": [
          "ProcessResponse"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/ProcessResponse"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "ProcessResponse"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ProcessResponse/{id}/_history": {
      "get": {
        "tags": [
          "ProcessResponse"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ProcessResponse/_history": {
      "get": {
        "tags": [
          "ProcessResponse"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ProcessResponse/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "ProcessResponse"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ProcessResponse"
            }
          }
        }
      }
    },
    "/Provenance": {
      "post": {
        "tags": [
          "Provenance"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Provenance"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Provenance"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "agent",
            "type": "reference",
            "in": "query",
            "description": "Individual, device or organization playing role"
          },
          {
            "name": "end",
            "type": "string",
            "in": "query",
            "description": "End time with inclusive boundary, if not ongoing",
            "format": "date"
          },
          {
            "name": "entity",
            "type": "uri",
            "in": "query",
            "description": "Identity of entity"
          },
          {
            "name": "entitytype",
            "type": "string",
            "in": "query",
            "description": "The type of resource in this entity"
          },
          {
            "name": "location",
            "type": "reference",
            "in": "query",
            "description": "Where the activity occurred, if relevant"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Target Reference(s) (usually version specific)"
          },
          {
            "name": "sigtype",
            "type": "string",
            "in": "query",
            "description": "Indication of the reason the entity signed the object(s)"
          },
          {
            "name": "start",
            "type": "string",
            "in": "query",
            "description": "Starting time with inclusive boundary",
            "format": "date"
          },
          {
            "name": "target",
            "type": "reference",
            "in": "query",
            "description": "Target Reference(s) (usually version specific)"
          },
          {
            "name": "userid",
            "type": "string",
            "in": "query",
            "description": "Authorization-system identifier for the agent"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Provenance"
              }
            }
          }
        }
      }
    },
    "/Provenance/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Provenance"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Provenance"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Provenance"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Provenance"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Provenance"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Provenance/{id}/_history": {
      "get": {
        "tags": [
          "Provenance"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Provenance/_history": {
      "get": {
        "tags": [
          "Provenance"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Provenance/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Provenance"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Provenance"
            }
          }
        }
      }
    },
    "/Questionnaire": {
      "post": {
        "tags": [
          "Questionnaire"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Questionnaire"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Questionnaire"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "code",
            "type": "string",
            "in": "query",
            "description": "A code that corresponds to the questionnaire or one of its groups"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "When the questionnaire was last changed",
            "format": "date"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "An identifier for the questionnaire"
          },
          {
            "name": "publisher",
            "type": "string",
            "in": "query",
            "description": "The author of the questionnaire"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "The status of the questionnaire"
          },
          {
            "name": "title",
            "type": "string",
            "in": "query",
            "description": "All or part of the name of the questionnaire (title for the root group of the questionnaire)"
          },
          {
            "name": "version",
            "type": "string",
            "in": "query",
            "description": "The business version of the questionnaire"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Questionnaire"
              }
            }
          }
        }
      }
    },
    "/Questionnaire/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Questionnaire"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Questionnaire"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Questionnaire"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Questionnaire"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Questionnaire"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Questionnaire/{id}/_history": {
      "get": {
        "tags": [
          "Questionnaire"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Questionnaire/_history": {
      "get": {
        "tags": [
          "Questionnaire"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Questionnaire/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Questionnaire"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Questionnaire"
            }
          }
        }
      }
    },
    "/QuestionnaireResponse": {
      "post": {
        "tags": [
          "QuestionnaireResponse"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/QuestionnaireResponse"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "QuestionnaireResponse"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "author",
            "type": "reference",
            "in": "query",
            "description": "The author of the questionnaire"
          },
          {
            "name": "authored",
            "type": "string",
            "in": "query",
            "description": "When the questionnaire was authored",
            "format": "date"
          },
          {
            "name": "encounter",
            "type": "reference",
            "in": "query",
            "description": "Encounter during which questionnaire was authored"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "The patient that is the subject of the questionnaire"
          },
          {
            "name": "questionnaire",
            "type": "reference",
            "in": "query",
            "description": "The questionnaire the answers are provided for"
          },
          {
            "name": "source",
            "type": "reference",
            "in": "query",
            "description": "The person who answered the questions"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "The status of the questionnaire response"
          },
          {
            "name": "subject",
            "type": "reference",
            "in": "query",
            "description": "The subject of the questionnaire"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/QuestionnaireResponse"
              }
            }
          }
        }
      }
    },
    "/QuestionnaireResponse/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "QuestionnaireResponse"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/QuestionnaireResponse"
            }
          }
        }
      },
      "put": {
        "tags": [
          "QuestionnaireResponse"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/QuestionnaireResponse"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "QuestionnaireResponse"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/QuestionnaireResponse/{id}/_history": {
      "get": {
        "tags": [
          "QuestionnaireResponse"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/QuestionnaireResponse/_history": {
      "get": {
        "tags": [
          "QuestionnaireResponse"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/QuestionnaireResponse/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "QuestionnaireResponse"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/QuestionnaireResponse"
            }
          }
        }
      }
    },
    "/ReferralRequest": {
      "post": {
        "tags": [
          "ReferralRequest"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/ReferralRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "ReferralRequest"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "Creation or activation date",
            "format": "date"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Who the referral is about"
          },
          {
            "name": "priority",
            "type": "string",
            "in": "query",
            "description": "The priority assigned to the referral"
          },
          {
            "name": "recipient",
            "type": "reference",
            "in": "query",
            "description": "The person that the referral was sent to"
          },
          {
            "name": "requester",
            "type": "reference",
            "in": "query",
            "description": "Requester of referral / transfer of care"
          },
          {
            "name": "specialty",
            "type": "string",
            "in": "query",
            "description": "The specialty that the referral is for"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "The status of the referral"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "The type of the referral"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ReferralRequest"
              }
            }
          }
        }
      }
    },
    "/ReferralRequest/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "ReferralRequest"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ReferralRequest"
            }
          }
        }
      },
      "put": {
        "tags": [
          "ReferralRequest"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/ReferralRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "ReferralRequest"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ReferralRequest/{id}/_history": {
      "get": {
        "tags": [
          "ReferralRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ReferralRequest/_history": {
      "get": {
        "tags": [
          "ReferralRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ReferralRequest/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "ReferralRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ReferralRequest"
            }
          }
        }
      }
    },
    "/RelatedPerson": {
      "post": {
        "tags": [
          "RelatedPerson"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/RelatedPerson"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "RelatedPerson"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "address",
            "type": "string",
            "in": "query",
            "description": "An address in any kind of address/part"
          },
          {
            "name": "address-city",
            "type": "string",
            "in": "query",
            "description": "A city specified in an address"
          },
          {
            "name": "address-country",
            "type": "string",
            "in": "query",
            "description": "A country specified in an address"
          },
          {
            "name": "address-postalcode",
            "type": "string",
            "in": "query",
            "description": "A postal code specified in an address"
          },
          {
            "name": "address-state",
            "type": "string",
            "in": "query",
            "description": "A state specified in an address"
          },
          {
            "name": "address-use",
            "type": "string",
            "in": "query",
            "description": "A use code specified in an address"
          },
          {
            "name": "birthdate",
            "type": "string",
            "in": "query",
            "description": "The Related Person's date of birth",
            "format": "date"
          },
          {
            "name": "email",
            "type": "string",
            "in": "query",
            "description": "A value in an email contact"
          },
          {
            "name": "gender",
            "type": "string",
            "in": "query",
            "description": "Gender of the person"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "A patient Identifier"
          },
          {
            "name": "name",
            "type": "string",
            "in": "query",
            "description": "A portion of name in any name part"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "The patient this person is related to"
          },
          {
            "name": "phone",
            "type": "string",
            "in": "query",
            "description": "A value in a phone contact"
          },
          {
            "name": "phonetic",
            "type": "string",
            "in": "query",
            "description": "A portion of name using some kind of phonetic matching algorithm"
          },
          {
            "name": "telecom",
            "type": "string",
            "in": "query",
            "description": "The value in any kind of contact"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/RelatedPerson"
              }
            }
          }
        }
      }
    },
    "/RelatedPerson/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "RelatedPerson"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/RelatedPerson"
            }
          }
        }
      },
      "put": {
        "tags": [
          "RelatedPerson"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/RelatedPerson"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "RelatedPerson"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/RelatedPerson/{id}/_history": {
      "get": {
        "tags": [
          "RelatedPerson"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/RelatedPerson/_history": {
      "get": {
        "tags": [
          "RelatedPerson"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/RelatedPerson/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "RelatedPerson"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/RelatedPerson"
            }
          }
        }
      }
    },
    "/RiskAssessment": {
      "post": {
        "tags": [
          "RiskAssessment"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/RiskAssessment"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "RiskAssessment"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "condition",
            "type": "reference",
            "in": "query",
            "description": "Condition assessed"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "When was assessment made?",
            "format": "date"
          },
          {
            "name": "encounter",
            "type": "reference",
            "in": "query",
            "description": "Where was assessment performed?"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Unique identifier for the assessment"
          },
          {
            "name": "method",
            "type": "string",
            "in": "query",
            "description": "Evaluation mechanism"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Who/what does assessment apply to?"
          },
          {
            "name": "performer",
            "type": "reference",
            "in": "query",
            "description": "Who did assessment?"
          },
          {
            "name": "subject",
            "type": "reference",
            "in": "query",
            "description": "Who/what does assessment apply to?"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/RiskAssessment"
              }
            }
          }
        }
      }
    },
    "/RiskAssessment/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "RiskAssessment"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/RiskAssessment"
            }
          }
        }
      },
      "put": {
        "tags": [
          "RiskAssessment"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/RiskAssessment"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "RiskAssessment"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/RiskAssessment/{id}/_history": {
      "get": {
        "tags": [
          "RiskAssessment"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/RiskAssessment/_history": {
      "get": {
        "tags": [
          "RiskAssessment"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/RiskAssessment/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "RiskAssessment"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/RiskAssessment"
            }
          }
        }
      }
    },
    "/Schedule": {
      "post": {
        "tags": [
          "Schedule"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Schedule"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Schedule"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "actor",
            "type": "reference",
            "in": "query",
            "description": "The individual(HealthcareService, Practitioner, Location, ...) to find a Schedule for"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "Search for Schedule resources that have a period that contains this date specified",
            "format": "date"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "A Schedule Identifier"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "The type of appointments that can be booked into associated slot(s)"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Schedule"
              }
            }
          }
        }
      }
    },
    "/Schedule/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Schedule"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Schedule"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Schedule"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Schedule"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Schedule"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Schedule/{id}/_history": {
      "get": {
        "tags": [
          "Schedule"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Schedule/_history": {
      "get": {
        "tags": [
          "Schedule"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Schedule/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Schedule"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Schedule"
            }
          }
        }
      }
    },
    "/SearchParameter": {
      "post": {
        "tags": [
          "SearchParameter"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/SearchParameter"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "SearchParameter"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "base",
            "type": "string",
            "in": "query",
            "description": "The resource type this search parameter applies to"
          },
          {
            "name": "code",
            "type": "string",
            "in": "query",
            "description": "Code used in URL"
          },
          {
            "name": "description",
            "type": "string",
            "in": "query",
            "description": "Documentation for  search parameter"
          },
          {
            "name": "name",
            "type": "string",
            "in": "query",
            "description": "Informal name for this search parameter"
          },
          {
            "name": "target",
            "type": "string",
            "in": "query",
            "description": "Types of resource (if a resource reference)"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "number | date | string | token | reference | composite | quantity | uri"
          },
          {
            "name": "url",
            "type": "uri",
            "in": "query",
            "description": "Absolute URL used to reference this search parameter"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/SearchParameter"
              }
            }
          }
        }
      }
    },
    "/SearchParameter/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "SearchParameter"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/SearchParameter"
            }
          }
        }
      },
      "put": {
        "tags": [
          "SearchParameter"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/SearchParameter"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "SearchParameter"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/SearchParameter/{id}/_history": {
      "get": {
        "tags": [
          "SearchParameter"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/SearchParameter/_history": {
      "get": {
        "tags": [
          "SearchParameter"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/SearchParameter/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "SearchParameter"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/SearchParameter"
            }
          }
        }
      }
    },
    "/Slot": {
      "post": {
        "tags": [
          "Slot"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Slot"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Slot"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "fb-type",
            "type": "string",
            "in": "query",
            "description": "The free/busy status of the appointment"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "A Slot Identifier"
          },
          {
            "name": "schedule",
            "type": "reference",
            "in": "query",
            "description": "The Schedule Resource that we are seeking a slot within"
          },
          {
            "name": "slot-type",
            "type": "string",
            "in": "query",
            "description": "The type of appointments that can be booked into the slot"
          },
          {
            "name": "start",
            "type": "string",
            "in": "query",
            "description": "Appointment date/time.",
            "format": "date"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Slot"
              }
            }
          }
        }
      }
    },
    "/Slot/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Slot"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Slot"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Slot"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Slot"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Slot"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Slot/{id}/_history": {
      "get": {
        "tags": [
          "Slot"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Slot/_history": {
      "get": {
        "tags": [
          "Slot"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Slot/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Slot"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Slot"
            }
          }
        }
      }
    },
    "/Specimen": {
      "post": {
        "tags": [
          "Specimen"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Specimen"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Specimen"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "accession",
            "type": "string",
            "in": "query",
            "description": "The accession number associated with the specimen"
          },
          {
            "name": "bodysite",
            "type": "string",
            "in": "query",
            "description": "The code for the body site from where the specimen originated"
          },
          {
            "name": "collected",
            "type": "string",
            "in": "query",
            "description": "The date the specimen was collected",
            "format": "date"
          },
          {
            "name": "collector",
            "type": "reference",
            "in": "query",
            "description": "Who collected the specimen"
          },
          {
            "name": "container",
            "type": "string",
            "in": "query",
            "description": "The kind of specimen container"
          },
          {
            "name": "container-id",
            "type": "string",
            "in": "query",
            "description": "The unique identifier associated with the specimen container"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "The unique identifier associated with the specimen"
          },
          {
            "name": "parent",
            "type": "reference",
            "in": "query",
            "description": "The parent of the specimen"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "The patient the specimen comes from"
          },
          {
            "name": "subject",
            "type": "reference",
            "in": "query",
            "description": "The subject of the specimen"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "The specimen type"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Specimen"
              }
            }
          }
        }
      }
    },
    "/Specimen/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Specimen"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Specimen"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Specimen"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Specimen"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Specimen"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Specimen/{id}/_history": {
      "get": {
        "tags": [
          "Specimen"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Specimen/_history": {
      "get": {
        "tags": [
          "Specimen"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Specimen/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Specimen"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Specimen"
            }
          }
        }
      }
    },
    "/StructureDefinition": {
      "post": {
        "tags": [
          "StructureDefinition"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/StructureDefinition"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "StructureDefinition"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "abstract",
            "type": "string",
            "in": "query",
            "description": "Whether the structure is abstract"
          },
          {
            "name": "base",
            "type": "uri",
            "in": "query",
            "description": "Structure that this set of constraints applies to"
          },
          {
            "name": "base-path",
            "type": "string",
            "in": "query",
            "description": "Path that identifies the base element"
          },
          {
            "name": "code",
            "type": "string",
            "in": "query",
            "description": "A code for the profile"
          },
          {
            "name": "context",
            "type": "string",
            "in": "query",
            "description": "A use context assigned to the structure"
          },
          {
            "name": "context-type",
            "type": "string",
            "in": "query",
            "description": "resource | datatype | mapping | extension"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "The profile publication date",
            "format": "date"
          },
          {
            "name": "description",
            "type": "string",
            "in": "query",
            "description": "Text search in the description of the profile"
          },
          {
            "name": "display",
            "type": "string",
            "in": "query",
            "description": "Use this name when displaying the value"
          },
          {
            "name": "experimental",
            "type": "string",
            "in": "query",
            "description": "If for testing purposes, not real usage"
          },
          {
            "name": "ext-context",
            "type": "string",
            "in": "query",
            "description": "Where the extension can be used in instances"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "The identifier of the profile"
          },
          {
            "name": "kind",
            "type": "string",
            "in": "query",
            "description": "datatype | resource | logical"
          },
          {
            "name": "name",
            "type": "string",
            "in": "query",
            "description": "Name of the profile"
          },
          {
            "name": "path",
            "type": "string",
            "in": "query",
            "description": "A path that is constrained in the profile"
          },
          {
            "name": "publisher",
            "type": "string",
            "in": "query",
            "description": "Name of the publisher of the profile"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "The current status of the profile"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "Any datatype or resource, including abstract ones"
          },
          {
            "name": "url",
            "type": "uri",
            "in": "query",
            "description": "Absolute URL used to reference this StructureDefinition"
          },
          {
            "name": "valueset",
            "type": "reference",
            "in": "query",
            "description": "A vocabulary binding reference"
          },
          {
            "name": "version",
            "type": "string",
            "in": "query",
            "description": "The version identifier of the profile"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/StructureDefinition"
              }
            }
          }
        }
      }
    },
    "/StructureDefinition/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "StructureDefinition"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/StructureDefinition"
            }
          }
        }
      },
      "put": {
        "tags": [
          "StructureDefinition"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/StructureDefinition"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "StructureDefinition"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/StructureDefinition/{id}/_history": {
      "get": {
        "tags": [
          "StructureDefinition"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/StructureDefinition/_history": {
      "get": {
        "tags": [
          "StructureDefinition"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/StructureDefinition/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "StructureDefinition"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/StructureDefinition"
            }
          }
        }
      }
    },
    "/Subscription": {
      "post": {
        "tags": [
          "Subscription"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Subscription"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Subscription"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "contact",
            "type": "string",
            "in": "query",
            "description": "Contact details for source (e.g. troubleshooting)"
          },
          {
            "name": "criteria",
            "type": "string",
            "in": "query",
            "description": "Rule for server push criteria"
          },
          {
            "name": "payload",
            "type": "string",
            "in": "query",
            "description": "Mimetype to send, or blank for no payload"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "requested | active | error | off"
          },
          {
            "name": "tag",
            "type": "string",
            "in": "query",
            "description": "A tag to add to matching resources"
          },
          {
            "name": "type",
            "type": "string",
            "in": "query",
            "description": "rest-hook | websocket | email | sms | message"
          },
          {
            "name": "url",
            "type": "uri",
            "in": "query",
            "description": "Where the channel points to"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Subscription"
              }
            }
          }
        }
      }
    },
    "/Subscription/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Subscription"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Subscription"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Subscription"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Subscription"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Subscription"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Subscription/{id}/_history": {
      "get": {
        "tags": [
          "Subscription"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Subscription/_history": {
      "get": {
        "tags": [
          "Subscription"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Subscription/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Subscription"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Subscription"
            }
          }
        }
      }
    },
    "/Substance": {
      "post": {
        "tags": [
          "Substance"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Substance"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Substance"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "category",
            "type": "string",
            "in": "query",
            "description": "The category of the substance"
          },
          {
            "name": "code",
            "type": "string",
            "in": "query",
            "description": "The code of the substance"
          },
          {
            "name": "container-identifier",
            "type": "string",
            "in": "query",
            "description": "Identifier of the package/container"
          },
          {
            "name": "expiry",
            "type": "string",
            "in": "query",
            "description": "Expiry date of package or container of substance",
            "format": "date"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Unique identifier for the substance"
          },
          {
            "name": "quantity",
            "type": "integer",
            "in": "query",
            "description": "Amount of substance in the package"
          },
          {
            "name": "substance",
            "type": "reference",
            "in": "query",
            "description": "A component of the substance"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Substance"
              }
            }
          }
        }
      }
    },
    "/Substance/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "Substance"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Substance"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Substance"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/Substance"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Substance"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Substance/{id}/_history": {
      "get": {
        "tags": [
          "Substance"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Substance/_history": {
      "get": {
        "tags": [
          "Substance"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/Substance/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "Substance"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/Substance"
            }
          }
        }
      }
    },
    "/SupplyDelivery": {
      "post": {
        "tags": [
          "SupplyDelivery"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/SupplyDelivery"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "SupplyDelivery"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "External identifier"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Patient for whom the item is supplied"
          },
          {
            "name": "receiver",
            "type": "reference",
            "in": "query",
            "description": "Who collected the Supply"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "in-progress | completed | abandoned"
          },
          {
            "name": "supplier",
            "type": "reference",
            "in": "query",
            "description": "Dispenser"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/SupplyDelivery"
              }
            }
          }
        }
      }
    },
    "/SupplyDelivery/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "SupplyDelivery"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/SupplyDelivery"
            }
          }
        }
      },
      "put": {
        "tags": [
          "SupplyDelivery"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/SupplyDelivery"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "SupplyDelivery"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/SupplyDelivery/{id}/_history": {
      "get": {
        "tags": [
          "SupplyDelivery"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/SupplyDelivery/_history": {
      "get": {
        "tags": [
          "SupplyDelivery"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/SupplyDelivery/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "SupplyDelivery"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/SupplyDelivery"
            }
          }
        }
      }
    },
    "/SupplyRequest": {
      "post": {
        "tags": [
          "SupplyRequest"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/SupplyRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "SupplyRequest"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "When the request was made",
            "format": "date"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Unique identifier"
          },
          {
            "name": "kind",
            "type": "string",
            "in": "query",
            "description": "The kind of supply (central, non-stock, etc.)"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "Patient for whom the item is supplied"
          },
          {
            "name": "source",
            "type": "reference",
            "in": "query",
            "description": "Who initiated this order"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "requested | completed | failed | cancelled"
          },
          {
            "name": "supplier",
            "type": "reference",
            "in": "query",
            "description": "Who is intended to fulfill the request"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/SupplyRequest"
              }
            }
          }
        }
      }
    },
    "/SupplyRequest/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "SupplyRequest"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/SupplyRequest"
            }
          }
        }
      },
      "put": {
        "tags": [
          "SupplyRequest"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/SupplyRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "SupplyRequest"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/SupplyRequest/{id}/_history": {
      "get": {
        "tags": [
          "SupplyRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/SupplyRequest/_history": {
      "get": {
        "tags": [
          "SupplyRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/SupplyRequest/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "SupplyRequest"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/SupplyRequest"
            }
          }
        }
      }
    },
    "/TestScript": {
      "post": {
        "tags": [
          "TestScript"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/TestScript"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "TestScript"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "description",
            "type": "string",
            "in": "query",
            "description": "Natural language description of the TestScript"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "External identifier"
          },
          {
            "name": "name",
            "type": "string",
            "in": "query",
            "description": "Informal name for this TestScript"
          },
          {
            "name": "testscript-capability",
            "type": "string",
            "in": "query",
            "description": "TestScript required and validated capability"
          },
          {
            "name": "testscript-setup-capability",
            "type": "string",
            "in": "query",
            "description": "TestScript setup required and validated capability"
          },
          {
            "name": "testscript-test-capability",
            "type": "string",
            "in": "query",
            "description": "TestScript test required and validated capability"
          },
          {
            "name": "url",
            "type": "uri",
            "in": "query",
            "description": "Absolute URL used to reference this TestScript"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/TestScript"
              }
            }
          }
        }
      }
    },
    "/TestScript/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "TestScript"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/TestScript"
            }
          }
        }
      },
      "put": {
        "tags": [
          "TestScript"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/TestScript"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "TestScript"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/TestScript/{id}/_history": {
      "get": {
        "tags": [
          "TestScript"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/TestScript/_history": {
      "get": {
        "tags": [
          "TestScript"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/TestScript/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "TestScript"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/TestScript"
            }
          }
        }
      }
    },
    "/ValueSet": {
      "post": {
        "tags": [
          "ValueSet"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/ValueSet"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "ValueSet"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "code",
            "type": "string",
            "in": "query",
            "description": "A code defined in the value set"
          },
          {
            "name": "context",
            "type": "string",
            "in": "query",
            "description": "A use context assigned to the value set"
          },
          {
            "name": "date",
            "type": "string",
            "in": "query",
            "description": "The value set publication date",
            "format": "date"
          },
          {
            "name": "description",
            "type": "string",
            "in": "query",
            "description": "Text search in the description of the value set"
          },
          {
            "name": "expansion",
            "type": "uri",
            "in": "query",
            "description": "Uniquely identifies this expansion"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "The identifier for the value set"
          },
          {
            "name": "name",
            "type": "string",
            "in": "query",
            "description": "The name of the value set"
          },
          {
            "name": "publisher",
            "type": "string",
            "in": "query",
            "description": "Name of the publisher of the value set"
          },
          {
            "name": "reference",
            "type": "uri",
            "in": "query",
            "description": "A code system included or excluded in the value set or an imported value set"
          },
          {
            "name": "status",
            "type": "string",
            "in": "query",
            "description": "The status of the value set"
          },
          {
            "name": "system",
            "type": "uri",
            "in": "query",
            "description": "The system for any codes defined by this value set"
          },
          {
            "name": "url",
            "type": "uri",
            "in": "query",
            "description": "The logical URL for the value set"
          },
          {
            "name": "version",
            "type": "string",
            "in": "query",
            "description": "The version identifier of the value set"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ValueSet"
              }
            }
          }
        }
      }
    },
    "/ValueSet/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "ValueSet"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ValueSet"
            }
          }
        }
      },
      "put": {
        "tags": [
          "ValueSet"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/ValueSet"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "ValueSet"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ValueSet/{id}/_history": {
      "get": {
        "tags": [
          "ValueSet"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ValueSet/_history": {
      "get": {
        "tags": [
          "ValueSet"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/ValueSet/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "ValueSet"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/ValueSet"
            }
          }
        }
      }
    },
    "/VisionPrescription": {
      "post": {
        "tags": [
          "VisionPrescription"
        ],
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/VisionPrescription"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "VisionPrescription"
        ],
        "parameters": [
          {
            "name": "_content",
            "type": "string",
            "in": "query",
            "description": "Search on the entire content of the resource"
          },
          {
            "name": "_id",
            "type": "string",
            "in": "query",
            "description": "Logical id of this artifact"
          },
          {
            "name": "_lastUpdated",
            "type": "string",
            "in": "query",
            "description": "When the resource version last changed",
            "format": "date"
          },
          {
            "name": "_profile",
            "type": "uri",
            "in": "query",
            "description": "Profiles this resource claims to conform to"
          },
          {
            "name": "_query",
            "type": "string",
            "in": "query",
            "description": "A custom search profile that describes a specific defined query operation"
          },
          {
            "name": "_security",
            "type": "string",
            "in": "query",
            "description": "Security Labels applied to this resource"
          },
          {
            "name": "_tag",
            "type": "string",
            "in": "query",
            "description": "Tags applied to this resource"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "Search on the narrative of the resource"
          },
          {
            "name": "datewritten",
            "type": "string",
            "in": "query",
            "description": "Return prescriptions written on this date",
            "format": "date"
          },
          {
            "name": "encounter",
            "type": "reference",
            "in": "query",
            "description": "Return prescriptions with this encounter identifier"
          },
          {
            "name": "identifier",
            "type": "string",
            "in": "query",
            "description": "Return prescriptions with this external identifier"
          },
          {
            "name": "patient",
            "type": "reference",
            "in": "query",
            "description": "The identity of a patient to list dispenses  for"
          },
          {
            "name": "prescriber",
            "type": "reference",
            "in": "query",
            "description": "Who authorizes the vision product"
          },
          {
            "name": "_text",
            "type": "string",
            "in": "query",
            "description": "General Text Search of the narrative portion"
          },
          {
            "name": "_profile",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that conform to a profile"
          },
          {
            "name": "_security",
            "type": "reference",
            "in": "query",
            "description": "Search for resources that have a particular security tag"
          },
          {
            "name": "_sort",
            "type": "string",
            "in": "query",
            "description": "Specify one or more other parameters to use as the sort order"
          },
          {
            "name": "_count",
            "type": "integer",
            "in": "query",
            "description": "Number of records to return"
          },
          {
            "name": "_summary",
            "type": "integer",
            "in": "query",
            "description": "Return just a summary for resources that define a summary view"
          },
          {
            "name": "_include",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that matching resources refer to"
          },
          {
            "name": "_reverseInclude",
            "type": "string",
            "in": "query",
            "description": "Additional resources to return - other resources that refer to matching resources (this is trialing an extension to the specification)"
          },
          {
            "name": "_filter",
            "type": "string",
            "in": "query",
            "description": "filter parameter as documented in the specification"
          },
          {
            "name": "_format",
            "in": "query",
            "type": "string",
            "x-consoleDefault": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/VisionPrescription"
              }
            }
          }
        }
      }
    },
    "/VisionPrescription/{id}": {
      "parameters": [
        {
          "in": "path",
          "name": "id",
          "type": "string"
        }
      ],
      "get": {
        "tags": [
          "VisionPrescription"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/VisionPrescription"
            }
          }
        }
      },
      "put": {
        "tags": [
          "VisionPrescription"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/VisionPrescription"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "VisionPrescription"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/VisionPrescription/{id}/_history": {
      "get": {
        "tags": [
          "VisionPrescription"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/VisionPrescription/_history": {
      "get": {
        "tags": [
          "VisionPrescription"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "_count",
            "in": "query",
            "type": "string"
          },
          {
            "name": "_since",
            "in": "query",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/VisionPrescription/{id}/_history/{vid}": {
      "get": {
        "tags": [
          "VisionPrescription"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "type": "string"
          },
          {
            "name": "vid",
            "in": "path",
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/VisionPrescription"
            }
          }
        }
      }
    }
  },
  "info": {
    "description": "Fast Healthcare Interoperability Resources (FHIR, pronounced \"Fire\") defines a set of \"Resources\" that represent granular clinical concepts. The resources can be managed in isolation, or aggregated into complex documents. Technically, FHIR is designed for the web; the resources are based on simple XML or JSON structures, with an http-based RESTful protocol where each resource has predictable URL. Where possible, open internet standards are used for data representation. \n",
    "title": "FhirServer"
  },
  "host": "argonaut.healthintersections.com.au",
  "schemes": [
    "http"
  ],
  "basePath": "/open",
  "tags": [
    {
      "name": "Account"
    },
    {
      "name": "AllergyIntolerance"
    },
    {
      "name": "Appointment"
    },
    {
      "name": "AppointmentResponse"
    },
    {
      "name": "AuditEvent"
    },
    {
      "name": "Basic"
    },
    {
      "name": "Binary"
    },
    {
      "name": "BodySite"
    },
    {
      "name": "Bundle"
    },
    {
      "name": "CarePlan"
    },
    {
      "name": "Claim"
    },
    {
      "name": "ClaimResponse"
    },
    {
      "name": "ClinicalImpression"
    },
    {
      "name": "Communication"
    },
    {
      "name": "CommunicationRequest"
    },
    {
      "name": "Composition"
    },
    {
      "name": "ConceptMap"
    },
    {
      "name": "Condition"
    },
    {
      "name": "Conformance"
    },
    {
      "name": "Contract"
    },
    {
      "name": "Coverage"
    },
    {
      "name": "DataElement"
    },
    {
      "name": "DetectedIssue"
    },
    {
      "name": "Device"
    },
    {
      "name": "DeviceComponent"
    },
    {
      "name": "DeviceMetric"
    },
    {
      "name": "DeviceUseRequest"
    },
    {
      "name": "DeviceUseStatement"
    },
    {
      "name": "DiagnosticOrder"
    },
    {
      "name": "DiagnosticReport"
    },
    {
      "name": "DocumentManifest"
    },
    {
      "name": "DocumentReference"
    },
    {
      "name": "EligibilityRequest"
    },
    {
      "name": "EligibilityResponse"
    },
    {
      "name": "Encounter"
    },
    {
      "name": "EnrollmentRequest"
    },
    {
      "name": "EnrollmentResponse"
    },
    {
      "name": "EpisodeOfCare"
    },
    {
      "name": "ExplanationOfBenefit"
    },
    {
      "name": "FamilyMemberHistory"
    },
    {
      "name": "Flag"
    },
    {
      "name": "Goal"
    },
    {
      "name": "Group"
    },
    {
      "name": "HealthcareService"
    },
    {
      "name": "ImagingObjectSelection"
    },
    {
      "name": "ImagingStudy"
    },
    {
      "name": "Immunization"
    },
    {
      "name": "ImmunizationRecommendation"
    },
    {
      "name": "ImplementationGuide"
    },
    {
      "name": "List"
    },
    {
      "name": "Location"
    },
    {
      "name": "Media"
    },
    {
      "name": "Medication"
    },
    {
      "name": "MedicationAdministration"
    },
    {
      "name": "MedicationDispense"
    },
    {
      "name": "MedicationOrder"
    },
    {
      "name": "MedicationStatement"
    },
    {
      "name": "NamingSystem"
    },
    {
      "name": "NutritionOrder"
    },
    {
      "name": "Observation"
    },
    {
      "name": "OperationDefinition"
    },
    {
      "name": "OperationOutcome"
    },
    {
      "name": "Order"
    },
    {
      "name": "OrderResponse"
    },
    {
      "name": "Organization"
    },
    {
      "name": "Parameters"
    },
    {
      "name": "Patient"
    },
    {
      "name": "PaymentNotice"
    },
    {
      "name": "PaymentReconciliation"
    },
    {
      "name": "Person"
    },
    {
      "name": "Practitioner"
    },
    {
      "name": "Procedure"
    },
    {
      "name": "ProcedureRequest"
    },
    {
      "name": "ProcessRequest"
    },
    {
      "name": "ProcessResponse"
    },
    {
      "name": "Provenance"
    },
    {
      "name": "Questionnaire"
    },
    {
      "name": "QuestionnaireResponse"
    },
    {
      "name": "ReferralRequest"
    },
    {
      "name": "RelatedPerson"
    },
    {
      "name": "RiskAssessment"
    },
    {
      "name": "Schedule"
    },
    {
      "name": "SearchParameter"
    },
    {
      "name": "Slot"
    },
    {
      "name": "Specimen"
    },
    {
      "name": "StructureDefinition"
    },
    {
      "name": "Subscription"
    },
    {
      "name": "Substance"
    },
    {
      "name": "SupplyDelivery"
    },
    {
      "name": "SupplyRequest"
    },
    {
      "name": "TestScript"
    },
    {
      "name": "ValueSet"
    },
    {
      "name": "VisionPrescription"
    }
  ]
}