PackagesCanonicalsLogsProblems
    Packages
    ca.qc.sq.sgrdv@1.1.0
    http://sante.quebec/fhir/StructureDefinition/sgrdv-base-book-request-provenance
{
  "description": "Provenance de la demande $book. Multi-agents : le portail source (toujours présent, porte la tuile REO et le lieu Clinique d'origine via Device.owner) et l'agent de réorientation REO (cas de réorientation : l'organisation d'origine — clinique, institution hospitalière ou CIUSS — est portée par agent[professionnelREO].onBehalfOf, en logical reference vers une ressource Organization — jamais matérialisée dans le payload). La région administrative du Québec (codes 01 à 17) 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.0",
  "status": "draft",
  "id": "f481d533-ef6a-4f29-9342-95e632c97dd9",
  "kind": "resource",
  "url": "http://sante.quebec/fhir/StructureDefinition/sgrdv-base-book-request-provenance",
  "version": "1.1.0",
  "differential": {
    "element": [ {
      "id": "Provenance.contained",
      "min": 1,
      "path": "Provenance.contained",
      "slicing": {
        "rules": "open",
        "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.contained:orienteur",
      "max": "1",
      "min": 0,
      "path": "Provenance.contained",
      "type": [ {
        "code": "RelatedPerson",
        "profile": [ "http://sante.quebec/fhir/StructureDefinition/sgrdv-base-book-orienteur-related-person" ]
      } ],
      "sliceName": "orienteur"
    }, {
      "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",
      "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",
      "path": "Provenance.agent",
      "slicing": {
        "rules": "open",
        "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:professionnelREO",
      "max": "1",
      "min": 0,
      "path": "Provenance.agent",
      "sliceName": "professionnelREO",
      "mustSupport": true
    }, {
      "id": "Provenance.agent:professionnelREO.who",
      "path": "Provenance.agent.who",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://sante.quebec/fhir/StructureDefinition/sgrdv-base-book-orienteur-related-person" ]
      } ],
      "mustSupport": true
    }, {
      "id": "Provenance.agent:professionnelREO.who.reference",
      "path": "Provenance.agent.who.reference",
      "fixedString": "#orienteur"
    }, {
      "id": "Provenance.agent:professionnelREO.who.type",
      "min": 1,
      "path": "Provenance.agent.who.type",
      "fixedUri": "RelatedPerson"
    }, {
      "id": "Provenance.agent:professionnelREO.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:professionnelREO.onBehalfOf.reference",
      "max": "0",
      "path": "Provenance.agent.onBehalfOf.reference"
    }, {
      "id": "Provenance.agent:professionnelREO.onBehalfOf.type",
      "path": "Provenance.agent.onBehalfOf.type",
      "fixedUri": "Organization"
    }, {
      "id": "Provenance.agent:professionnelREO.onBehalfOf.identifier",
      "min": 1,
      "path": "Provenance.agent.onBehalfOf.identifier"
    }, {
      "id": "Provenance.agent:professionnelREO.onBehalfOf.identifier.type",
      "min": 1,
      "path": "Provenance.agent.onBehalfOf.identifier.type"
    }, {
      "id": "Provenance.agent:professionnelREO.onBehalfOf.identifier.type.coding",
      "max": "1",
      "min": 1,
      "path": "Provenance.agent.onBehalfOf.identifier.type.coding"
    }, {
      "id": "Provenance.agent:professionnelREO.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:professionnelREO.onBehalfOf.identifier.type.coding.code",
      "min": 1,
      "path": "Provenance.agent.onBehalfOf.identifier.type.coding.code"
    }, {
      "id": "Provenance.agent:professionnelREO.onBehalfOf.identifier.system",
      "min": 1,
      "path": "Provenance.agent.onBehalfOf.identifier.system"
    }, {
      "id": "Provenance.agent:professionnelREO.onBehalfOf.identifier.value",
      "min": 1,
      "path": "Provenance.agent.onBehalfOf.identifier.value"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Provenance"
}