Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example CodeSystem/safety-entries (Turtle)

Vocabulary Work GroupMaturity Level: N/AStandards Status: Informative

Raw Turtle (+ also see Turtle/RDF Format Specification)

Definition for Code SystemFHIRSafetyCheckListEntries

@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:CodeSystem;
  fhir:Resource.id [ fhir:value "safety-entries"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2022-09-07T10:58:29.429+10:00" ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/codesystem-use-markdown" ];
     fhir:Extension.value [ fhir:value "true" ]
  ];
  fhir:CanonicalResource.url [ fhir:value "http://hl7.org/fhir/safety-entries"];
  fhir:CanonicalResource.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.4.1819" ]
  ];
  fhir:CanonicalResource.version [ fhir:value "5.0.0-ballot"];
  fhir:CanonicalResource.name [ fhir:value "FHIRSafetyCheckListEntries"];
  fhir:CanonicalResource.title [ fhir:value "FHIR Safety CheckList Entries"];
  fhir:CanonicalResource.status [ fhir:value "draft"];
  fhir:CanonicalResource.experimental [ fhir:value "false"];
  fhir:CanonicalResource.publisher [ fhir:value "FHIR Project"];
  fhir:CanonicalResource.description [ fhir:value "The [check list items](http://hl7.org/fhir/safety.html) defined as part of the FHIR specification."];
  fhir:CodeSystem.url [ fhir:value "http://hl7.org/fhir/safety-entries"];
  fhir:CodeSystem.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.4.1819" ]
  ];
  fhir:CodeSystem.version [ fhir:value "5.0.0-ballot"];
  fhir:CodeSystem.name [ fhir:value "FHIRSafetyCheckListEntries"];
  fhir:CodeSystem.title [ fhir:value "FHIR Safety CheckList Entries"];
  fhir:CodeSystem.status [ fhir:value "draft"];
  fhir:CodeSystem.experimental [ fhir:value "false"];
  fhir:CodeSystem.publisher [ fhir:value "FHIR Project"];
  fhir:CodeSystem.description [ fhir:value "The [check list items](http://hl7.org/fhir/safety.html) defined as part of the FHIR specification."];
  fhir:CodeSystem.caseSensitive [ fhir:value "true"];
  fhir:CodeSystem.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/safety-entries"];
  fhir:CodeSystem.hierarchyMeaning [ fhir:value "is-a"];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.concept [
     fhir:ConceptDefinitionComponent.code [ fhir:value "life-cycle" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "For each resource that my system handles, my system handles the full [Life cycle](lifecycle.html) (status codes, currency issues, and erroneous entry status)" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "modifiers" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "For each resource that my system handles, I've reviewed the [Modifier elements](conformance-rules.html#isModifier)" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "modifier-extensions" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "My system checks for [modifierExtension](extensibility.html#modifierExtension) elements" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "must-support" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "My system supports [elements labeled as 'MustSupport'](conformance-rules.html#mustSupport) in the [profiles](profiling.html) that apply to my system" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "identity" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "My system has documented how [distributed resource identification](managing.html#distributed) works in its relevant contexts of use, and where (and why) [contained](references.html#contained) resources are used" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "current" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "My system manages lists of [current resources](lifecycle.html#current) correctly" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "error-checks" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "When other systems [return http errors from the RESTful API](http.html#summary) and [Operations](operations.html) (perhaps using [Operation Outcome](operationoutcome.html)), my system checks for them and handles them appropriately " ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "link-merge" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "My system ensures checks for patient links (and/or merges) and handles data that is linked to patients accordingly" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "cs-declare" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "My system publishes a [Capability Statement](capabilitystatement.html) with [StructureDefinitions](structuredefinition.html), [ValueSets](valueset.html), and [OperationDefinitions](operationdefinition.html), etc., so other implementers know how the system functions" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "valid-checked" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "All resources in use are [valid](validation.html) against the base specification and the [profiles](profiling.html) that apply to my system (see note about the [correct run-time use of validation](validation.html#correct-use))" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "obs-focus" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "I've reviewed the [Observation](observation.html) resource, and understand how ```focus``` is a mechanism for observations to be about someone or something other than the patient or subject of record." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "time-zone" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "My system checks for time zones and adjusts times appropriately. (note: time zones are extremely difficult to get correct - see [W3C Timezone Advice](https://www.w3.org/TR/timezone/), and note that some fields should be timezone corrected, and others should not be)" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "date-rendering" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "My system renders dates safely for changes in culture and language (the date formats D-M-Y and M-D-Y are not differentiated for many dates, and this is a well-known source of confusion. Systems should use the month name, or otherwise be specific for each date when rendering, unless there is solid confidence that such confusion cannot arise, even in the future when information/narrative from resources will be shared much more widely)" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "cross-resource" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "My system takes care to ensure that clients can (for servers) or will (for clients) find the information they need when content that might reasonably be exposed using more than one FHIR resource. Possible patterns: Support a single search across the applicable resources, or expose data through each applicable resource. See discussion on [Wiki Page](https://confluence.hl7.org/display/FHIR/Managing+Overlap+Between+Resources) for further information" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "display-warnings" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "My system will display warnings returned by the server to the user" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "search-parameters" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "My system checks whether the server processed all the requested search parameter, and is safe if servers ignore parameters (typically, either filters locally or warns the user)" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "missing-values" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "My system caters for [parameters that have missing values](search.html#missing) when doing search operations, and responds correctly to the client with regard to [erroneous search parameters](search.html#errors)" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "default-filters" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "My system includes appropriate default filters when searching based on patient context - e.g. filtering out entered-in-error records, filtering to only include active, living patients if appropriate, and clearly documents these (preferably including them in the self link for a search" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "deletion-check" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "For each resource, I have checked whether resources can be deleted, and/or how records are marked as incorrect/no longer relevant" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "deletion-replication" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "Deletion of records (or equivalent updates in status) flow through the system so any replicated copies are deleted/updated" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "deletion-support" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "(If a server) my documentation about deleted resources is clear, and my test sandbox (if exists) has deleted/error record cases in the test data" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "check-consent" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "My system checks that the right [Patient consent](consent.html) has been granted (where applicable)" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "distribute-aod" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "My system sends an [Accounting of Disclosure](secpriv-module.html#AoD) to the consenter as requested when permitted actions on resources are performed using an [AuditEvent](auditevent.html) Resource" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "check-clocks" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "My system ensures that system clocks are synchronized using a protocol like NTP or SNTP, or my server is robust against clients that have the wrong clock set" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "check-dns-responses" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "My system uses security methods for an API to authenticate where Domain Name System (DNS) responses are coming from and ensure that they are valid" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "use-encryption" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "Production exchange of patient or other sensitive data will always use some form of [encryption on the wire](security.html#http)" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "use-tls" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "Where resources are exchanged using [HTTP](security.html#http), [TLS](https://en.wikipedia.org/wiki/Transport_Layer_Security) should be utilized to protect the communications channel" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "use-smime" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "Where resources are exchanged using email, [S/MIME](https://en.wikipedia.org/wiki/S/MIME) should be used to protect the end-to-end communication" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "use-tls-per-bcp195" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "Production exchange should utilize recommendations for [Best-Current-Practice on TLS in BCP 195](https://tools.ietf.org/html/bcp195)" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "use-ouath" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "My system utilizes a risk and use case [appropriate OAuth profile](security.html#oauth) (preferably [Smart App Launch](http://hl7.org/fhir/smart-app-launch)), with a [clear policy on authentication strength](security.html#authentication)" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "use-openidconnect" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "My system uses [OpenID Connect](https://openid.net/connect/) (or other suitable authentication protocol) to verify identity of end user, where it is necessary that end-users be identified to the client application, and has a clear policy on [identity proofing](secpriv-module.html#user)" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "use-rbac" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "My system applies appropriate access control to every request, using a combination of requester’s clearance (ABAC) and/or roles (RBAC)" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "use-labels" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "My system considers [security labels](security-labels.html) on the affected resources when making access control decisions " ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "render-narratives" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "My system can [render narratives properly](narrative.html#css) and [securely](security.html#narrative)(where they are used)" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "check=validation" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "My system [validates all input received](validation.html) (whether in resource format or other) from other actors so that it data is well-formed and does not contain content that would cause unwanted system behavior" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "use-provenance" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "My system makes the right [Provenance](provenance.html) statements and [AuditEvent](auditevent.html) logs, and uses the right [security labels](security-labels.html#core) where appropriate" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "enable-cors" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "Server: CORS ([cross-origin resource sharing](http://enable-cors.org/)) is appropriately enabled (many clients are Javascript apps running in a browser)" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "use-json" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "JSON is supported (many clients are Javascript apps running in a browser; XML is inconvenient at best)" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "json-for-errors" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "JSON is returned correctly when errors happen (clients often don't handle HTML errors well)" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "use-format-header" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The _format header is supported correctly" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "use-operation-outcome" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "Errors are trapped and an OperationOutcome returned" ]
  ] .

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.