FHIR Chat · rendered-value extension example? · implementers

Stream: implementers

Topic: rendered-value extension example?


view this post on Zulip Bob Milius (Dec 03 2020 at 19:43):

Can someone post example of how to use the rendered-value extension with an identifier.value? I looked at https://www.hl7.org/fhir/extension-rendered-value.html but i would love to see an example of its actual use with identifier.

view this post on Zulip Eric Haas (Dec 03 2020 at 21:03):

{
  "identifier": [
    {
      "system": "http://hl7.org/fhir/sid/us-ssn",
      "value": "555-55-5555",
      "_value": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/rendered-value",
            "valueString": "nnnn-nn-5555"
          }
        ]
      }
    }
  ],
  "status": "final",
  "category": [
    {
      "text": "Social History",
      "coding": [
        {
          "code": "social-history",
          "system": "http://terminology.hl7.org/CodeSystem/observation-category",
          "display": "Social History"
        }
      ]
    }
  ],
  "code": {
    "text": "Tobacco smoking status",
    "coding": [
      {
        "code": "72166-2",
        "system": "http://loinc.org",
        "display": "Tobacco smoking status"
      }
    ]
  },
  "resourceType": "Observation",
  "effectiveDateTime": "2016-03-18T05:27:04Z",
  "meta": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/StructureDefinition/instance-name",
        "valueString": "FOO"
      },
      {
        "url": "http://hl7.org/fhir/StructureDefinition/instance-description",
        "valueMarkdown": "###FOO\n- bar"
      }
    ],
    "profile": [
      "http://www.fhir.org/guides/sushi-sandbox/StructureDefinition/test-obs"
    ]
  },
  "valueCodeableConcept": {
    "text": "Current some day smoker",
    "coding": [
      {
        "code": "428041000124106",
        "system": "http://snomed.info/sct"
      }
    ]
  },
  "id": "test",
  "subject": {
    "display": "Amy Shaw",
    "reference": "Patient/example"
  }
}

view this post on Zulip Eric Haas (Dec 03 2020 at 21:04):

assuming you want to see a rendered output though

view this post on Zulip Bob Milius (Dec 04 2020 at 14:40):

Thank you! The underscored element was a blind spot for me.


Last updated: Apr 12 2022 at 19:14 UTC