{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2020-10-21T09:00:00+00:00"
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>\n\t\t\t\tThese is a FHIR profile which expresses EMA ePI API business rules and constraints, specific to resource List in mode \"Create\"\n\t\t\t\tThis is the List of documents in a ePI Create bundle\n\t\t\t</p></div>"
  },
  "url": "http://ema.europa.eu/fhir/definition/epi/List-create",
  "version": "1",
  "name": "List-epi-create",
  "title": "EMA ePI profile for List in mode Create",
  "status": "draft",
  "date": "2021-06-21T09:00:00+00:00",
  "description": "This profile expresses the ePI API user guidance in a computable FHIR manner",
  "purpose": "This enables automatic checking of the ePI API business rules and constraints, that go beyond the basic FHIR constraints",
  "fhirVersion": "4.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "List",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/List",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "List.id",
        "path": "List.id",
        "min": 0,
        "max": "0"
      },
      {
        "id": "List.identifier",
        "path": "List.identifier",
        "max": "0"
      },
      {
        "id": "List.status",
        "path": "List.status",
        "fixedCode": "current"
      },
      {
        "id": "List.mode",
        "path": "List.mode",
        "fixedCode": "working"
      },
      {
        "id": "List.title",
        "path": "List.title",
        "max": "0"
      },
      {
        "id": "List.code",
        "path": "List.code",
        "max": "0"
      },
      {
        "id": "List.subject",
        "path": "List.subject",
        "max": "0"
      },
      {
        "id": "List.encounter",
        "path": "List.encounter",
        "max": "0"
      },
      {
        "id": "List.date",
        "path": "List.date",
        "max": "0"
      },
      {
        "id": "List.source",
        "path": "List.source",
        "max": "0"
      },
      {
        "id": "List.orderedBy",
        "path": "List.orderedBy",
        "max": "0"
      },
      {
        "id": "List.note",
        "path": "List.note",
        "max": "0"
      },
      {
        "id": "List.entry",
        "path": "List.entry",
        "min": 1
      },
      {
        "id": "List.entry.item",
        "path": "List.entry.item",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://ema.europa.eu/fhir/definition/epi/Bundle-document-create"
            ]
          }
        ]
      },
      {
        "id": "List.emptyReason",
        "path": "List.emptyReason",
        "max": "0"
      }
    ]
  }
}