PackagesCanonicalsLogsProblems
    Packages
    ca.qc.sq.sgrdv@1.1.5
    http://sante.quebec/fhir/StructureDefinition/sgrdv-base-book-request-provenance
{
  "description": "Provenance de la demande $book. Agent unique : le portail source (toujours présent, porte la tuile REO et le lieu Clinique d'origine via Device.owner). Le nom du professionnel REO (cas de réorientation) est porté par l'extension nomProfessionnelREO (0..1). L'organisation d'origine de la réorientation est portée par agent[portail].onBehalfOf en logical reference vers une ressource Organization — jamais matérialisée dans le payload. La région administrative du Québec (codes 01 à 18) est portée par Provenance.location en logical reference vers une Location identifiée par son code de région. Règle métier : la région administrative DOIT être fournie lorsque la tuile du portail (Device.property[tuilePortail].valueCode) est `811`, `911` ou `MAGROSSESSE` ; pour les autres tuiles, elle reste optionnelle.",
  "_filename": "StructureDefinition-sgrdv-base-book-request-provenance.json",
  "package_name": "ca.qc.sq.sgrdv",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "SGRDVBaseBookRequestProvenance",
  "abstract": false,
  "type": "Provenance",
  "experimental": "true",
  "resourceType": "StructureDefinition",
  "title": "Provenance de la demande de réservation (Base)",
  "package_version": "1.1.5",
  "status": "draft",
  "id": "9954db38-470f-45e3-9060-1247d2caa471",
  "kind": "resource",
  "url": "http://sante.quebec/fhir/StructureDefinition/sgrdv-base-book-request-provenance",
  "version": "1.1.5",
  "differential": {
    "element": [ {
      "id": "Provenance.contained",
      "max": "1",
      "min": 1,
      "path": "Provenance.contained",
      "slicing": {
        "rules": "closed",
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      }
    }, {
      "id": "Provenance.contained:portail",
      "max": "1",
      "min": 1,
      "path": "Provenance.contained",
      "type": [ {
        "code": "Device",
        "profile": [ "http://sante.quebec/fhir/StructureDefinition/sgrdv-base-book-source-device" ]
      } ],
      "sliceName": "portail"
    }, {
      "id": "Provenance.extension",
      "path": "Provenance.extension",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Provenance.extension:nomProfessionnelREO",
      "max": "1",
      "min": 0,
      "path": "Provenance.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://sante.quebec/fhir/StructureDefinition/sgrdv-provenance-nom-professionnel-reo" ]
      } ],
      "sliceName": "nomProfessionnelREO",
      "mustSupport": true
    }, {
      "id": "Provenance.target",
      "path": "Provenance.target",
      "mustSupport": true
    }, {
      "id": "Provenance.recorded",
      "path": "Provenance.recorded",
      "mustSupport": true
    }, {
      "id": "Provenance.location",
      "path": "Provenance.location",
      "mustSupport": true
    }, {
      "id": "Provenance.location.reference",
      "max": "0",
      "path": "Provenance.location.reference"
    }, {
      "id": "Provenance.location.type",
      "path": "Provenance.location.type",
      "fixedUri": "Location"
    }, {
      "id": "Provenance.location.identifier",
      "min": 1,
      "path": "Provenance.location.identifier"
    }, {
      "id": "Provenance.location.identifier.type",
      "min": 1,
      "path": "Provenance.location.identifier.type"
    }, {
      "id": "Provenance.location.identifier.type.coding",
      "max": "1",
      "min": 1,
      "path": "Provenance.location.identifier.type.coding"
    }, {
      "id": "Provenance.location.identifier.type.coding.system",
      "path": "Provenance.location.identifier.type.coding.system",
      "fixedUri": "http://sante.quebec/fhir/CodeSystem/sgrdv-identifier-type"
    }, {
      "id": "Provenance.location.identifier.type.coding.code",
      "path": "Provenance.location.identifier.type.coding.code",
      "fixedCode": "regionAdmin"
    }, {
      "id": "Provenance.location.identifier.system",
      "min": 1,
      "path": "Provenance.location.identifier.system",
      "fixedUri": "http://sante.quebec/fhir/NamingSystem/REGIONADMIN"
    }, {
      "id": "Provenance.location.identifier.value",
      "min": 1,
      "path": "Provenance.location.identifier.value"
    }, {
      "id": "Provenance.agent",
      "max": "1",
      "path": "Provenance.agent",
      "slicing": {
        "rules": "closed",
        "discriminator": [ {
          "path": "who.type",
          "type": "value"
        } ]
      }
    }, {
      "id": "Provenance.agent:portail",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent",
      "sliceName": "portail",
      "mustSupport": true
    }, {
      "id": "Provenance.agent:portail.who",
      "path": "Provenance.agent.who",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://sante.quebec/fhir/StructureDefinition/sgrdv-base-book-source-device" ]
      } ],
      "mustSupport": true
    }, {
      "id": "Provenance.agent:portail.who.reference",
      "path": "Provenance.agent.who.reference",
      "fixedString": "#portail"
    }, {
      "id": "Provenance.agent:portail.who.type",
      "min": 1,
      "path": "Provenance.agent.who.type",
      "fixedUri": "Device"
    }, {
      "id": "Provenance.agent:portail.onBehalfOf",
      "path": "Provenance.agent.onBehalfOf",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://sante.quebec/fhir/StructureDefinition/sgrdv-base-find-organization", "http://sante.quebec/fhir/StructureDefinition/sgrdv-base-book-organization-institution", "http://sante.quebec/fhir/StructureDefinition/sgrdv-base-book-organization-ciuss" ]
      } ],
      "mustSupport": true
    }, {
      "id": "Provenance.agent:portail.onBehalfOf.reference",
      "max": "0",
      "path": "Provenance.agent.onBehalfOf.reference"
    }, {
      "id": "Provenance.agent:portail.onBehalfOf.type",
      "path": "Provenance.agent.onBehalfOf.type",
      "fixedUri": "Organization"
    }, {
      "id": "Provenance.agent:portail.onBehalfOf.identifier",
      "min": 1,
      "path": "Provenance.agent.onBehalfOf.identifier"
    }, {
      "id": "Provenance.agent:portail.onBehalfOf.identifier.type",
      "min": 1,
      "path": "Provenance.agent.onBehalfOf.identifier.type"
    }, {
      "id": "Provenance.agent:portail.onBehalfOf.identifier.type.coding",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.onBehalfOf.identifier.type.coding"
    }, {
      "id": "Provenance.agent:portail.onBehalfOf.identifier.type.coding.system",
      "path": "Provenance.agent.onBehalfOf.identifier.type.coding.system",
      "fixedUri": "http://sante.quebec/fhir/CodeSystem/sgrdv-identifier-type"
    }, {
      "id": "Provenance.agent:portail.onBehalfOf.identifier.type.coding.code",
      "min": 1,
      "path": "Provenance.agent.onBehalfOf.identifier.type.coding.code"
    }, {
      "id": "Provenance.agent:portail.onBehalfOf.identifier.system",
      "min": 1,
      "path": "Provenance.agent.onBehalfOf.identifier.system"
    }, {
      "id": "Provenance.agent:portail.onBehalfOf.identifier.value",
      "min": 1,
      "path": "Provenance.agent.onBehalfOf.identifier.value"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Provenance"
}