{
  "resourceType": "CodeSystem",
  "status": "retired",
  "content": "complete",
  "name": "ReportingExportStampCS",
  "id": "reporting-export-stamp",
  "title": "Reporting Export Stamp CodeSystem",
  "description": "**Retired.** Superseded by the Reporting Export Stamp extension\n(`https://fhir.apps.health/StructureDefinition/reporting-export-stamp`), which carries the same\nfields as typed values on `Bundle.meta`. Do not bind to this code system and do not write it.\n\nThese codes are the FIELD NAMES of the disclosure stamp an identified reporting extract carries: an\nextract is a FHIR collection Bundle of patient stubs handed to a requester as a file rather than\nstored on a server, and the stamp is how the file can still be answered for once it has left.\n\n**Why a code system was the wrong home for them.** The codes name fields, and each field has a\nvalue. A `Coding` has no element that can hold one: R4 defines `Coding.display` as a representation\nof the meaning of the code, fixed by the system that declares it, so it is the code's label and a\nterminology service is entitled to check it against the declared one. An element with a `value[x]`\nis where a value belongs, which is what the successor gives each field -- and with it a datatype, so\nthe anchor is an `instant` and the declared purpose a `CodeableConcept` bound to HL7's PurposeOfUse.\n\n**One field does not survive the move.** `run` is already carried as `Bundle.identifier` under the\nreporting-run naming system, which is where a consumer reads it from; the successor does not repeat\nit.\n\n**Nothing binds to this and nothing clinical carries it.** It described an artefact's provenance, so\nit belonged on the Bundle of an extract and never on a patient's chart.\n\n**MIGRATION.** Write the successor extension. Stamps already written in the earlier carriage are not\npart of this specification, are not produced going forward, and moving them is outstanding work that\nis not described here. The pre-migration address `https://well.company/reporting/export` (tracked as\nFHIR-381) is also written as `Bundle.identifier.system` on the same extract, which is a second\nartifact under one address; its destination is `NamingSystem/reporting-run`.",
  "url": "https://fhir.apps.health/CodeSystem/reporting-export-stamp",
  "concept": [
    {
      "code": "hic",
      "display": "Custodian",
      "definition": "The health information custodian the extract was stamped for. Superseded by the `hic` sub-extension of the Reporting Export Stamp extension."
    },
    {
      "code": "purpose",
      "display": "Declared purpose",
      "definition": "The purpose declared for the disclosure. Superseded by the `purpose` sub-extension of the Reporting Export Stamp extension, which is a `CodeableConcept` bound to HL7's PurposeOfUse."
    },
    {
      "code": "as-of",
      "display": "Anchor",
      "definition": "The instant the run was anchored at -- not the moment the file was produced. Superseded by the `asOf` sub-extension of the Reporting Export Stamp extension, which is an `instant`."
    },
    {
      "code": "watermark-position",
      "display": "Ingest position",
      "definition": "The run's stored ingest position, carried verbatim. Superseded by the `watermarkPosition` sub-extension of the Reporting Export Stamp extension."
    },
    {
      "code": "run",
      "display": "Report run",
      "definition": "The report run the membership came from. Not carried by the successor extension: the same value is `Bundle.identifier` under `NamingSystem/reporting-run`, which is where a consumer reads it from."
    }
  ],
  "experimental": true,
  "caseSensitive": true,
  "count": 5
}
