Giter Club home page Giter Club logo

Comments (2)

jamesagnew avatar jamesagnew commented on May 21, 2024

I'm leaving this open for now, to track the fix we discussed on skype:

[2014-10-28, 10:52:29 AM] Bill de Beaubien: normally you'd say something like profile="http://myfhirserver.profile.net/fhir/Profile/Observation" or something
[2014-10-28, 10:52:44 AM] Bill de Beaubien: but what if i want to say "my profile lives at the same url as the place you got the observation from"
[2014-10-28, 10:54:04 AM] Bill de Beaubien: maybe if i just specified "Profile/Observation" it could infer the url
[2014-10-28, 10:54:07 AM] James Agnew: this whole thing is confusing i’d agree, and could stand to be cleaned up… the root of the problem is that for now, a profile’s URL is dependent on where the server gets hosted. So like if you define a custom type as a profile, that profile would have a different URL on each server you deploy it to
[2014-10-28, 10:54:34 AM] Bill de Beaubien: if i don't specify the profile tag and "it just works" i'm fine with that :)
[2014-10-28, 10:55:26 AM] James Agnew: yeah, it occured to me that really, @ResourceDef should probably only allow you to specify either profile=“http://whatever” or id=“foo”
[2014-10-28, 10:56:00 AM] James Agnew: So, if you’re consuming someone else’s profile and have generated a class to model it (i.e. the profile is hosted elsewhere), you put the full URL in “profile=“
[2014-10-28, 10:56:35 AM] James Agnew: If you’re the one who defined the profile (and you want it hosted and served from your own server) you just put an ID and the server turns that into a URL at runtimne
[2014-10-28, 10:57:07 AM] James Agnew: For option A, profile searches to your local server don’t return it.. but for option B they do
[2014-10-28, 10:57:14 AM] James Agnew: Does that make sense?

from hapi-fhir.

stale avatar stale commented on May 21, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from hapi-fhir.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.