{
  "resourceType": "Bundle",
  "id": "publicschema-reference-example",
  "meta": {
    "profile": [
      "http://hl7.org/fhir/StructureDefinition/Bundle|5.0.0"
    ]
  },
  "type": "collection",
  "entry": [
    {
      "fullUrl": "https://example.org/fhir/Organization/clinic-provider",
      "resource": {
        "resourceType": "Organization",
        "id": "clinic-provider",
        "meta": {
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Organization|5.0.0"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example clinical provider. Synthetic integration fixture; not for clinical use.</div>"
        },
        "identifier": [
          {
            "system": "https://example.org/identifiers/Organization",
            "value": "BUS-CLINIC-PROVIDER"
          }
        ],
        "active": true,
        "name": "Example clinical provider",
        "qualification": [
          {
            "identifier": [
              {
                "system": "https://example.org/accreditations",
                "value": "ACC-001"
              }
            ],
            "code": {
              "text": "Synthetic accreditation of the provider organization"
            },
            "period": {
              "start": "2026-01-01",
              "end": "2026-12-31"
            },
            "issuer": {
              "reference": "Organization/accreditor",
              "type": "Organization"
            }
          }
        ]
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Organization/premises-upkeep",
      "resource": {
        "resourceType": "Organization",
        "id": "premises-upkeep",
        "meta": {
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Organization|5.0.0"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example premises upkeep organization. Synthetic integration fixture; not for clinical use.</div>"
        },
        "identifier": [
          {
            "system": "https://example.org/identifiers/Organization",
            "value": "BUS-PREMISES-UPKEEP"
          }
        ],
        "active": true,
        "name": "Example premises upkeep organization"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Organization/accreditor",
      "resource": {
        "resourceType": "Organization",
        "id": "accreditor",
        "meta": {
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Organization|5.0.0"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example organization accreditor. Synthetic integration fixture; not for clinical use.</div>"
        },
        "identifier": [
          {
            "system": "https://example.org/identifiers/Organization",
            "value": "BUS-ACCREDITOR"
          }
        ],
        "active": true,
        "name": "Example organization accreditor"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Organization/medicines-regulator",
      "resource": {
        "resourceType": "Organization",
        "id": "medicines-regulator",
        "meta": {
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Organization|5.0.0"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example medicines regulator. Synthetic integration fixture; not for clinical use.</div>"
        },
        "identifier": [
          {
            "system": "https://example.org/identifiers/Organization",
            "value": "BUS-MEDICINES-REGULATOR"
          }
        ],
        "active": true,
        "name": "Example medicines regulator"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Organization/manufacturer",
      "resource": {
        "resourceType": "Organization",
        "id": "manufacturer",
        "meta": {
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Organization|5.0.0"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example medicinal product manufacturer. Synthetic integration fixture; not for clinical use.</div>"
        },
        "identifier": [
          {
            "system": "https://example.org/identifiers/Organization",
            "value": "BUS-MANUFACTURER"
          }
        ],
        "active": true,
        "name": "Example medicinal product manufacturer"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/SubstanceDefinition/example-substance",
      "resource": {
        "resourceType": "SubstanceDefinition",
        "id": "example-substance",
        "meta": {
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/SubstanceDefinition|5.0.0"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example substance definition. Synthetic integration fixture; not for clinical use.</div>"
        },
        "identifier": [
          {
            "system": "https://example.org/identifiers/SubstanceDefinition",
            "value": "BUS-EXAMPLE-SUBSTANCE"
          }
        ],
        "name": [
          {
            "name": "Synthetic substance A",
            "preferred": true
          }
        ],
        "description": "An invented definitional substance for the reference integration."
      }
    },
    {
      "fullUrl": "https://example.org/fhir/MedicinalProductDefinition/human-product",
      "resource": {
        "resourceType": "MedicinalProductDefinition",
        "id": "human-product",
        "meta": {
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition|5.0.0"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example human product definition. Synthetic integration fixture; not for clinical use.</div>"
        },
        "identifier": [
          {
            "system": "https://example.org/identifiers/MedicinalProductDefinition",
            "value": "BUS-HUMAN-PRODUCT"
          }
        ],
        "domain": {
          "text": "Human use"
        },
        "name": [
          {
            "productName": "Synthetic human medicinal product"
          }
        ],
        "combinedPharmaceuticalDoseForm": {
          "text": "Synthetic oral powder"
        },
        "description": "Synthetic product definition, not a manufactured batch or treatment recommendation."
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Ingredient/human-ingredient",
      "resource": {
        "resourceType": "Ingredient",
        "id": "human-ingredient",
        "meta": {
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Ingredient|5.0.0"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example human ingredient role. Synthetic integration fixture; not for clinical use.</div>"
        },
        "identifier": {
          "system": "https://example.org/identifiers/Ingredient",
          "value": "BUS-HUMAN-INGREDIENT"
        },
        "status": "active",
        "role": {
          "text": "Active ingredient"
        },
        "for": [
          {
            "reference": "MedicinalProductDefinition/human-product",
            "type": "MedicinalProductDefinition"
          }
        ],
        "substance": {
          "code": {
            "reference": {
              "reference": "SubstanceDefinition/example-substance",
              "type": "SubstanceDefinition"
            }
          },
          "strength": [
            {
              "presentationRatio": {
                "numerator": {
                  "value": 10,
                  "unit": "mg",
                  "system": "http://unitsofmeasure.org",
                  "code": "mg"
                },
                "denominator": {
                  "value": 1,
                  "unit": "g",
                  "system": "http://unitsofmeasure.org",
                  "code": "g"
                }
              }
            }
          ]
        }
      }
    },
    {
      "fullUrl": "https://example.org/fhir/AdministrableProductDefinition/human-form",
      "resource": {
        "resourceType": "AdministrableProductDefinition",
        "id": "human-form",
        "meta": {
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/AdministrableProductDefinition|5.0.0"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example human administrable form. Synthetic integration fixture; not for clinical use.</div>"
        },
        "identifier": [
          {
            "system": "https://example.org/identifiers/AdministrableProductDefinition",
            "value": "BUS-HUMAN-FORM"
          }
        ],
        "status": "active",
        "formOf": [
          {
            "reference": "MedicinalProductDefinition/human-product",
            "type": "MedicinalProductDefinition"
          }
        ],
        "administrableDoseForm": {
          "text": "Synthetic prepared oral suspension"
        },
        "routeOfAdministration": [
          {
            "code": {
              "text": "Oral use"
            }
          }
        ]
      }
    },
    {
      "fullUrl": "https://example.org/fhir/PackagedProductDefinition/human-package",
      "resource": {
        "resourceType": "PackagedProductDefinition",
        "id": "human-package",
        "meta": {
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/PackagedProductDefinition|5.0.0"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example human package definition. Synthetic integration fixture; not for clinical use.</div>"
        },
        "identifier": [
          {
            "system": "https://example.org/identifiers/PackagedProductDefinition",
            "value": "BUS-HUMAN-PACKAGE"
          }
        ],
        "name": "Synthetic human 100 g container",
        "packageFor": [
          {
            "reference": "MedicinalProductDefinition/human-product",
            "type": "MedicinalProductDefinition"
          }
        ],
        "description": "A package configuration, not a batch. Detailed manufactured contents are outside this fixture.",
        "packaging": {
          "type": {
            "text": "Container"
          },
          "quantity": 1
        },
        "containedItemQuantity": [
          {
            "value": 100,
            "unit": "g",
            "system": "http://unitsofmeasure.org",
            "code": "g"
          }
        ]
      }
    },
    {
      "fullUrl": "https://example.org/fhir/RegulatedAuthorization/human-authorization",
      "resource": {
        "resourceType": "RegulatedAuthorization",
        "id": "human-authorization",
        "meta": {
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/RegulatedAuthorization|5.0.0"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example human marketing authorization. Synthetic integration fixture; not for clinical use.</div>"
        },
        "identifier": [
          {
            "system": "https://example.org/identifiers/RegulatedAuthorization",
            "value": "BUS-HUMAN-AUTHORIZATION"
          }
        ],
        "subject": [
          {
            "reference": "MedicinalProductDefinition/human-product",
            "type": "MedicinalProductDefinition"
          }
        ],
        "type": {
          "text": "Synthetic marketing authorization"
        },
        "region": [
          {
            "text": "Example jurisdiction"
          }
        ],
        "validityPeriod": {
          "start": "2026-01-01",
          "end": "2026-12-31"
        },
        "holder": {
          "reference": "Organization/manufacturer",
          "type": "Organization"
        },
        "regulator": {
          "reference": "Organization/medicines-regulator",
          "type": "Organization"
        }
      }
    },
    {
      "fullUrl": "https://example.org/fhir/MedicinalProductDefinition/veterinary-product",
      "resource": {
        "resourceType": "MedicinalProductDefinition",
        "id": "veterinary-product",
        "meta": {
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition|5.0.0"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example veterinary product definition. Synthetic integration fixture; not for clinical use.</div>"
        },
        "identifier": [
          {
            "system": "https://example.org/identifiers/MedicinalProductDefinition",
            "value": "BUS-VETERINARY-PRODUCT"
          }
        ],
        "domain": {
          "text": "Veterinary use"
        },
        "name": [
          {
            "productName": "Synthetic veterinary medicinal product"
          }
        ],
        "combinedPharmaceuticalDoseForm": {
          "text": "Synthetic oral powder"
        },
        "description": "Synthetic product definition, not a manufactured batch or treatment recommendation."
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Ingredient/veterinary-ingredient",
      "resource": {
        "resourceType": "Ingredient",
        "id": "veterinary-ingredient",
        "meta": {
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Ingredient|5.0.0"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example veterinary ingredient role. Synthetic integration fixture; not for clinical use.</div>"
        },
        "identifier": {
          "system": "https://example.org/identifiers/Ingredient",
          "value": "BUS-VETERINARY-INGREDIENT"
        },
        "status": "active",
        "role": {
          "text": "Active ingredient"
        },
        "for": [
          {
            "reference": "MedicinalProductDefinition/veterinary-product",
            "type": "MedicinalProductDefinition"
          }
        ],
        "substance": {
          "code": {
            "reference": {
              "reference": "SubstanceDefinition/example-substance",
              "type": "SubstanceDefinition"
            }
          },
          "strength": [
            {
              "presentationRatio": {
                "numerator": {
                  "value": 10,
                  "unit": "mg",
                  "system": "http://unitsofmeasure.org",
                  "code": "mg"
                },
                "denominator": {
                  "value": 1,
                  "unit": "g",
                  "system": "http://unitsofmeasure.org",
                  "code": "g"
                }
              }
            }
          ]
        }
      }
    },
    {
      "fullUrl": "https://example.org/fhir/AdministrableProductDefinition/veterinary-form",
      "resource": {
        "resourceType": "AdministrableProductDefinition",
        "id": "veterinary-form",
        "meta": {
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/AdministrableProductDefinition|5.0.0"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example veterinary administrable form. Synthetic integration fixture; not for clinical use.</div>"
        },
        "identifier": [
          {
            "system": "https://example.org/identifiers/AdministrableProductDefinition",
            "value": "BUS-VETERINARY-FORM"
          }
        ],
        "status": "active",
        "formOf": [
          {
            "reference": "MedicinalProductDefinition/veterinary-product",
            "type": "MedicinalProductDefinition"
          }
        ],
        "administrableDoseForm": {
          "text": "Synthetic prepared oral suspension"
        },
        "routeOfAdministration": [
          {
            "code": {
              "text": "Oral use"
            },
            "targetSpecies": [
              {
                "code": {
                  "text": "Cattle"
                },
                "withdrawalPeriod": [
                  {
                    "tissue": {
                      "text": "Meat"
                    },
                    "value": {
                      "value": 7,
                      "unit": "days",
                      "system": "http://unitsofmeasure.org",
                      "code": "d"
                    },
                    "supportingInformation": "Synthetic positive withdrawal interval for this species and tissue only."
                  },
                  {
                    "tissue": {
                      "text": "Milk"
                    },
                    "value": {
                      "value": 0,
                      "unit": "days",
                      "system": "http://unitsofmeasure.org",
                      "code": "d"
                    },
                    "supportingInformation": "Synthetic explicit zero interval. It never encodes a use that is not authorized."
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl": "https://example.org/fhir/PackagedProductDefinition/veterinary-package",
      "resource": {
        "resourceType": "PackagedProductDefinition",
        "id": "veterinary-package",
        "meta": {
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/PackagedProductDefinition|5.0.0"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example veterinary package definition. Synthetic integration fixture; not for clinical use.</div>"
        },
        "identifier": [
          {
            "system": "https://example.org/identifiers/PackagedProductDefinition",
            "value": "BUS-VETERINARY-PACKAGE"
          }
        ],
        "name": "Synthetic veterinary 100 g container",
        "packageFor": [
          {
            "reference": "MedicinalProductDefinition/veterinary-product",
            "type": "MedicinalProductDefinition"
          }
        ],
        "description": "A package configuration, not a batch. Detailed manufactured contents are outside this fixture.",
        "packaging": {
          "type": {
            "text": "Container"
          },
          "quantity": 1
        },
        "containedItemQuantity": [
          {
            "value": 100,
            "unit": "g",
            "system": "http://unitsofmeasure.org",
            "code": "g"
          }
        ]
      }
    },
    {
      "fullUrl": "https://example.org/fhir/RegulatedAuthorization/veterinary-authorization",
      "resource": {
        "resourceType": "RegulatedAuthorization",
        "id": "veterinary-authorization",
        "meta": {
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/RegulatedAuthorization|5.0.0"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example veterinary marketing authorization. Synthetic integration fixture; not for clinical use.</div>"
        },
        "identifier": [
          {
            "system": "https://example.org/identifiers/RegulatedAuthorization",
            "value": "BUS-VETERINARY-AUTHORIZATION"
          }
        ],
        "subject": [
          {
            "reference": "MedicinalProductDefinition/veterinary-product",
            "type": "MedicinalProductDefinition"
          }
        ],
        "type": {
          "text": "Synthetic marketing authorization"
        },
        "region": [
          {
            "text": "Example jurisdiction"
          }
        ],
        "validityPeriod": {
          "start": "2026-01-01",
          "end": "2026-12-31"
        },
        "holder": {
          "reference": "Organization/manufacturer",
          "type": "Organization"
        },
        "regulator": {
          "reference": "Organization/medicines-regulator",
          "type": "Organization"
        }
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Location/clinic-site",
      "resource": {
        "resourceType": "Location",
        "id": "clinic-site",
        "meta": {
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Location|5.0.0"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example clinic premises. Synthetic integration fixture; not for clinical use.</div>"
        },
        "identifier": [
          {
            "system": "https://example.org/identifiers/Location",
            "value": "BUS-CLINIC-SITE"
          }
        ],
        "status": "active",
        "mode": "instance",
        "name": "Synthetic clinic premises",
        "address": {
          "use": "work",
          "type": "physical",
          "line": [
            "12 Example Street"
          ],
          "city": "Example City",
          "period": {
            "start": "2026-01-01"
          }
        },
        "position": {
          "longitude": 100.5,
          "latitude": 13.75
        },
        "managingOrganization": {
          "reference": "Organization/premises-upkeep",
          "type": "Organization"
        },
        "form": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
              "version": "2.0.1",
              "code": "si",
              "display": "Site"
            }
          ]
        }
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Endpoint/clinic-endpoint",
      "resource": {
        "resourceType": "Endpoint",
        "id": "clinic-endpoint",
        "meta": {
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Endpoint|5.0.0"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example clinical service endpoint. Synthetic integration fixture; not for clinical use.</div>"
        },
        "identifier": [
          {
            "system": "https://example.org/identifiers/Endpoint",
            "value": "BUS-CLINIC-ENDPOINT"
          }
        ],
        "status": "active",
        "name": "Synthetic clinical FHIR endpoint",
        "connectionType": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/endpoint-connection-type",
                "code": "hl7-fhir-rest"
              }
            ]
          }
        ],
        "managingOrganization": {
          "reference": "Organization/clinic-provider",
          "type": "Organization"
        },
        "payload": [
          {
            "type": [
              {
                "text": "Synthetic service directory payload"
              }
            ],
            "mimeType": [
              "application/fhir+json"
            ]
          }
        ],
        "address": "https://example.org/clinical-api/fhir"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/HealthcareService/outpatient-service",
      "resource": {
        "resourceType": "HealthcareService",
        "id": "outpatient-service",
        "meta": {
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/HealthcareService|5.0.0"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example outpatient service. Synthetic integration fixture; not for clinical use.</div>"
        },
        "identifier": [
          {
            "system": "https://example.org/identifiers/HealthcareService",
            "value": "BUS-OUTPATIENT-SERVICE"
          }
        ],
        "active": true,
        "name": "Synthetic outpatient service",
        "providedBy": {
          "reference": "Organization/clinic-provider",
          "type": "Organization"
        },
        "location": [
          {
            "reference": "Location/clinic-site",
            "type": "Location"
          }
        ],
        "type": [
          {
            "text": "Synthetic general outpatient service"
          }
        ],
        "endpoint": [
          {
            "reference": "Endpoint/clinic-endpoint",
            "type": "Endpoint"
          }
        ]
      }
    }
  ]
}
